views:

156

answers:

5

Hello again,

I've run into a problem with an application I'm developing in C#/.NET. A problem I can't trace down because it causes my system to crash with a BSOD. Here's the minidump:

060310-27066-01.dmp 03.06.2010 19:47:39 SYSTEM_SERVICE_EXCEPTION 0x0000003b 00000000c0000005 fffff8000306d4d0 fffff8800b107640 0000000000000000 ntoskrnl.exe ntoskrnl.exe+70600 NT Kernel & System Microsoft® Windows® Operating System Microsoft Corporation 6.1.7600.16539 (win7_gdr.100226-1909) x64 C:\Windows\Minidump\060310-27066-01.dmp 4 15 7600

It's not related specifically to DownloadFileAsync. Other methods of the System.Net assembly classes related to HTTP download also make my system crash. I really hope someone can help me with this.

Just for info: other apps (browsers etc.) that download files work like a charm.

If you need further information don't hesitate to ask!

Thanks!

// Update 06.06.2010 - 02:58: Just for info: I ran memtest86+ to check my memory modules a few days ago. There were some errors when all four 2GB modules were installed. I removed 3 of them and checked all 4 modules again one by one without any errors. The BSOD occurs solely when my app is run in the debugger and downloads something from the web.

// Update 04.06.2010 - 18'53: I figured out after testing several things that the BSOD occurs whenever I run my own application inside the Visual Studio 2010 debugger and start a download. Running the app with no debugger attached to it isn't causing the BSOD.

I suppose that the BSOD is somehow related to the debugger.

+1  A: 

Update your network card drivers.

SLaks
I have. Sadly to no avail.
SeveQ
+1  A: 

There's probably something wrong with your network drivers. Try reinstalling the network drivers.

Philippe Leybaert
SLaks has already suggested to do so. But that didn't help.
SeveQ
+1  A: 

Check to see if there are any updates available for your mobo BIOS and chipset. Debugging exercises much of the same task-switching logic as the core OS thread scheduler to save the state of the process / state of the CPU, but the timing is very different from the thread scheduler.

Check the manufacturer's web site, don't rely solely on Windows Update.

It wouldn't hurt to see if there are updates for your graphics card and other hardware, too.

dthorpe
I have already updated my BIOS to the newest revision. I'll take a look if updates of chipset drivers etc. are available, install them and keep you informed.
SeveQ
A: 

Unfortuantely no specific cause can be gleened from the mini dump, at least there is not much I could see (possibly others would know better).

If you look in your windows folder you should find a memory.dmp file. That will be larger, but hopefully contain some piece of information that can be used to idntify the possible source of the problem.

Some things you can try in the meantime

  1. Run a tool like Memtest86+ to check the system memory for any possible problems.

  2. Check the windows eventlog for any error messages relating to the harddisk, maybe you are seeing the first signs of HDD loss and the problem is presenting here. You can also run a chkdsk.

Chris Taylor
Thanks for looking at the mini dump!I checked my memory last night with some weird results. First there were some errors that I could reproduce while all 4 modules (4x 2GB) were installed. Next I checked every module on its own. But, as mentioned above, without any error. So I can't tell which of the modules might be broken. If any... Next I thought that might be caused by a hard disk defect. But it also occurs when I download a file to another location on a totally different drive.
SeveQ
Just because you don't get errors with 1 stick doesn't mean it's fine. This test can show false negatives, just never false positives. I'd scrap all the ram and get some new sticks because bsod's are NOT related to downloading files, your ram is broken.
Blindy
A: 

Open an admin console, then execute 'sfc /scannow'. This will possibly fix any corrupted files in your Windows install.

See http://support.microsoft.com/kb/310747 for more details.

Chris Dennett
Thanks. It ran through without any results. There are no corrupted system files.
SeveQ
It normally doesn't give results afaik :) Is the problem still there? I remember that I had a problem with downloads once, mainly that they would completely freeze up firefox occasionally and make it non-closable. sfc sorted that out :)
Chris Dennett
Okay, in that case I have to double check if the problem persists... just a moment. Might take some minutes to boot my PC in case of another BSOD. Well, at least I don't have to shut it down before rebooting. ;-) I'll be back in a minute or two...
SeveQ
Yepp... just as I expected. BSOD problem persists.
SeveQ