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.

jabrown85 03-16-2012 01:33 PM

This is a major annoyance that we've run into here as well. We've had to stop using the USB devices and uninstall the drivers to make it stop. Have you been able to replicate it yet? I would love to know if/when there is a fix coming, otherwise we may have to find an alternative as we work on WPF apps commonly. It doesn't only happen when debugging either, just running them can cause it.

kaiken 03-17-2012 06:23 AM

DL software bug!
 
It seems that this is a D3D bug of the newest DL software.
My application contains some WPF 3D scenes.
Hope this help.

Usacad 03-17-2012 06:26 PM

Problem with dlumd32.dll even with other apps
 
Hi guys,

I think this is really a problem with DisplayLink software. I have an application called Street Atlas USA 2011, running since late 2010 and a Diamond BVU195 USB adapter. Windows update recently updated the DisplayLink software and Street Atlas stopped working. I've done a bit of testing, this is the outcome...


With driver version 6.1.36490:

Faulting application name: SA2011.exe, version: 977.0.54.8415, time stamp: 0x4c62e4ac
Faulting module name: dlumd32.dll, version: 8.6.1.36484, time stamp: 0x4f327be9
Exception code: 0xc0000005
Fault offset: 0x00033c88
Faulting process id: 0x177c
Faulting application start time: 0x01cd046973a0f340
Faulting application path: C:\Program Files (x86)\DeLorme\Street Atlas USA 2011\SA2011.exe
Faulting module path: C:\Windows\system32\dlumd32.dll
Report Id: b2f00f01-705c-11e1-aa12-db443f95c14b


With driver version 6.0.34621:

Faulting application name: SA2011.exe, version: 977.0.54.8415, time stamp: 0x4c62e4ac
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc0000005
Fault offset: 0xffffffff
Faulting process id: 0x9cc
Faulting application start time: 0x01cd046b78b41956
Faulting application path: C:\Program Files (x86)\DeLorme\Street Atlas USA 2011\SA2011.exe
Faulting module path: unknown
Report Id: b9070c64-705e-11e1-896a-9bf8c95de176


There's no error at all with driver version 5.6.31870, the one I went back to. Street Atlas works just fine (and my PC too, so I'll stick to this, for the time being).

I did not try simply replacing the DLLs from different versions (I can try that if you want).

Regards,

btsui 03-20-2012 06:53 PM

Any update to this thread?
 
Hi DisplayLink team - any update to this thread? I too have a WPF application that is causing the dlumd dll to die - something about a pure virtual function call.

Thx.

Dan 03-21-2012 08:09 AM

Hi Guys,

Can you quickly give our 6.2M1 release a try? It's on http://www.displaylink.com/support/downloads.php

I've not been able to reproduce the problem using this (using the sample code) if you find it's still happening we'll dive deeper.

thanks!

btsui 03-21-2012 03:46 PM

Good news!
 
Hi Dan, great news, I tried the new driver 6.2M1 - and my dlumd64.dll crashing issue seems to be gone.

Our WPF app is running, we've done about 5 hrs of testing so far - many weeks to go - but so far all seems well.

Our app would crash within the first hour, so I think we are looking stable.

A quick question - The 6.2M1 release - was there a specific fix to address this WPF virtual Address pointer crash within the user mode driver? If you could answer "yes" to that, it would make me feel a lot better than a "maybe" - since we are going into a production environment with the HIS hardware.

Thx.
Ben.

Dan 03-22-2012 07:43 PM

Sorry - we didn't address this issue directly between 6.1 and 6.2, but we did fix a large number of bugs, so it looks like we fixed the one you're worried about. We'll try and use the test app in regression, or at least identify what fixed it, but I can't promise anything.

If any others can chip in with their testing that would be great.

Dan.

Usacad 03-23-2012 03:21 PM

Hi Dan,

The problem with Street Atlas 2011 is also gone, so it's probably the same issue. As a side note, my PC is much faster in shutting down. I do not recall having seen such speed.

Thanks

btsui 03-24-2012 11:03 PM

WPF animations and crashing
 
Hi Dan, so far so good. We've gone through about 3 days of testing now and haven't seen our WPF crashing anymore. We have a full compliement of animations, SWF videos, WPF shaders, and all seems well.

For a little background, we are using the HIS MultiView device.


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

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