Go Back   DisplayLink Forum > DisplayLink Graphics Technology > Windows Software
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 02-04-2012, 04:41 AM   #1
UltraDef
Junior Member
 
Join Date: Feb 2012
Posts: 2
Default dlumd32.dll crash in Visual Studio 2010 when debugging WPF programs

My WPF applications frequently crash while being debugged in Visual Studio 2010. Fault module always points to dlumd32.dll, a DisplayLink library.

Frequent crash dialog #1:

Quote:
---------------------------
Microsoft Visual C++ Runtime Library
---------------------------
Runtime Error!

Program: C:\Program File...

R6025

- pure virtual function call


---------------------------
OK
---------------------------
Frequent crash dialog #2:

Quote:
Problem signature:
Problem Event Name: APPCRASH
Application Name: <my_app_name>.vshost.exe
Application Version: 10.0.30319.1
Application Timestamp: 4ba2084b
Fault Module Name: dlumd32.dll
Fault Module Version: 8.6.1.35912
Fault Module Timestamp: 4ee813d4
Exception Code: c0000005
Exception Offset: 000247e4
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 1033

Read our privacy statement online:
http://go.microsoft.com/fwlink/?link...8&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt
Checking "Enable unmanaged code debugging" would sometimes give the following errors:





Sometimes it freezes up the whole computer including the mouse pointer. The screen would update "ever so slightly" every 3-5 minutes so it isn't a complete freeze... but it's ultimately unusable and needs a hard reboot.

EDIT: Tried the following; didn't help.
- No monitor connected to USB adapter.
- USB adapter not plugged in (drivers including dlumd32.dll still loaded).
- Disabled switchable graphics; use dedicated ATI graphics.
- Disabled switchable graphics; use onboard Intel graphics.
Attached Files
File Type: zip TOR44649_20120203_223248.zip (274.4 KB, 3 views)
File Type: zip TOR44649_20120204_000539.zip (443.5 KB, 1 views)
File Type: zip TOR44649_20120204_001551.zip (521.9 KB, 3 views)

Last edited by UltraDef; 02-15-2012 at 05:20 PM.
UltraDef is offline   Reply With Quote
Old 02-18-2012, 05:05 AM   #2
UltraDef
Junior Member
 
Join Date: Feb 2012
Posts: 2
Default

Nobody??

Happened again today when debugging my .NET 4 program. Something is wrong with your DLL:





UltraDef is offline   Reply With Quote
Old 02-26-2012, 08:38 PM   #3
Dan
Banned
 
Join Date: Nov 2009
Posts: 104
Default

Hi UltraDef,

Having our DLL on the stack doesn't really narrow it down much, we are often just passing things onto the OS that came from somewhere else, and even if we could validate every element of the structure passed on, it would probably slow things down an awful lot. I.e. it would not be hard to generate a stack backtrace with our DLL on the list, like the ones you reported in your first entry. I admit that the second one is harder to understand, since our dll seems to be the only culprit to point at.

Have you tried running without our software installed?

If you could share the .dmp file with us we would be able to progress this further.
Dan is offline   Reply With Quote
Old 03-09-2012, 04:35 PM   #4
lg543t
Junior Member
 
Join Date: Mar 2012
Posts: 3
Default

Hi,

i have the exact same problem, vs 2010, vshost crashes when WPF animation is in progress. It's not happens immediately, the animation needs to run a few times.
If i stop the DisplayLinkManager service everything is fine. (but i loose my third display )

The same problem happens when i run the app directly, without debugging.

The previous driver was downloaded on 2011-04-03 which worked fine, i had no such problems, a week ago i had a few upgrades, and that driver crashed, so i've installed the latest, since than i'm having difficulties.
lg543t is offline   Reply With Quote
Old 03-09-2012, 11:59 PM   #5
Dan
Banned
 
Join Date: Nov 2009
Posts: 104
Default

If you can share a sample program that provokes the problem it would really help.

Thanks!
Dan is offline   Reply With Quote
Old 03-10-2012, 05:11 PM   #6
lg543t
Junior Member
 
Join Date: Mar 2012
Posts: 3
Default

Hi,

i've attached a test app with source code, and the repro steps.

PS: I've played around, downloaded, and installed the latest 5.6.xx version (5.6.31870) and that works fine too.
Attached Files
File Type: zip WPFTester.zip (21.80 MB, 2 views)
lg543t is offline   Reply With Quote
Old 03-12-2012, 09:13 AM   #7
Dan
Banned
 
Join Date: Nov 2009
Posts: 104
Default

Hi,

Could you supply "D:\Projektek\Sajat\SimpleReader\SurfacePrototypes \Wpf.UI.Controls\ResourcesCommon.xaml"? There is no 'ResourcesCommon.xaml' in that directory, so even if I patch it to use my local path it doesn't work. If it's meant to be generated somehow, please let me know how.

thanks!
Dan is offline   Reply With Quote
Old 03-12-2012, 03:21 PM   #8
lg543t
Junior Member
 
Join Date: Mar 2012
Posts: 3
Default

Sorry about that, please remove the referenced ResourceCommon.xaml line from the ...\WPFTester\WpfPrototype\App.xaml file, and it should work.
lg543t is offline   Reply With Quote
Old 03-13-2012, 12:25 AM   #9
kaiken
Junior Member
 
Join Date: Mar 2012
Posts: 5
Default

I met the same problem with my WPF application.
The displaylink software 5.6.31870 work fine but
system alerts me update to the new software when
I attach a USB monitor each time.
kaiken is offline   Reply With Quote
Old 03-14-2012, 12:20 PM   #10
Dan
Banned
 
Join Date: Nov 2009
Posts: 104
Default

Ok, that runs up now. I've not made it crash yet, but we'll look into it. Thanks again for th e help.
Dan is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:52 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.