DisplayLink Forum

DisplayLink Forum (https://displaylink.org/forum/index.php)
-   Windows Software (https://displaylink.org/forum/forumdisplay.php?f=28)
-   -   dlumd32.dll crash in Visual Studio 2010 when debugging WPF programs (https://displaylink.org/forum/showthread.php?t=1467)

UltraDef 02-04-2012 04:41 AM

dlumd32.dll crash in Visual Studio 2010 when debugging WPF programs
 
3 Attachment(s)
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:

http://i.imgur.com/Wjjqh.png

http://i.imgur.com/sMIQv.png

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.

UltraDef 02-18-2012 05:05 AM

Nobody??

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

http://i.imgur.com/upVo3.png

http://i.imgur.com/L7vY3.png

http://i.imgur.com/BIECl.png

Dan 02-26-2012 08:38 PM

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.

lg543t 03-09-2012 04:35 PM

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.

Dan 03-09-2012 11:59 PM

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

Thanks!

lg543t 03-10-2012 05:11 PM

1 Attachment(s)
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.

Dan 03-12-2012 09:13 AM

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!

lg543t 03-12-2012 03:21 PM

Sorry about that, please remove the referenced ResourceCommon.xaml line from the ...\WPFTester\WpfPrototype\App.xaml file, and it should work.

kaiken 03-13-2012 12:25 AM

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.

Dan 03-14-2012 12:20 PM

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


All times are GMT. The time now is 09:05 PM.

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