S
Steel City Phantom
i am building a content distribution system using the filesystemwatcher
to catch people moving files in and out of the system and update a
database. what happens is when a process runs that moves hundreds of
files (happens every day) i get all kinds of debug errors and an
unhandled exception. here is the debug log
First-chance exception at 0x7c342eee (msvcr71.dll) in VoiceScanner.exe:
0xC0000005: Access violation reading location 0x00233000.
An unhandled exception of type 'System.NullReferenceException' occurred
in system.dll
Additional information: Object reference not set to an instance of an
object.
First-chance exception at 0x791bcf3e in VoiceScanner.exe: 0xC0000005:
Access violation reading location 0x00e61ba4.
An unhandled exception of type 'System.ExecutionEngineException'
occurred in mscorlib.dll
The thread 'Win32 Thread' (0x980) has exited with code -2146233082
(0x80131506).
The thread 'Win32 Thread' (0x8a4) has exited with code -2146233082
(0x80131506).
The thread 'Win32 Thread' (0xb24) has exited with code -2146233082
(0x80131506).
The thread 'Win32 Thread' (0x510) has exited with code -2146233082
(0x80131506).
The thread 'Win32 Thread' (0xb0c) has exited with code -2146233082
(0x80131506).
The thread 'Win32 Thread' (0xaf8) has exited with code -2146233082
(0x80131506).
The thread 'Win32 Thread' (0x26c) has exited with code -2146233082
(0x80131506).
The thread 'Win32 Thread' (0xe0) has exited with code -2146233082
(0x80131506).
The thread 'Win32 Thread' (0xb10) has exited with code -2146233082
(0x80131506).
The thread 'Win32 Thread' (0x41c) has exited with code -2146233082
(0x80131506).
The thread 'Win32 Thread' (0x60c) has exited with code -2146233082
(0x80131506).
The thread 'Win32 Thread' (0x5a0) has exited with code -2146233082
(0x80131506).
HEAP[voicescanner.exe]: Dedicated (0004) free list element 18df90 is
wrong size (0036)
Unhandled exception at 0x77f813b1 in VoiceScanner.exe: User breakpoint.
when i try to capture the unhanded exception, the app gets stuck in an
infinate loop on the first chance exception line, the exception is never
captured. the exception seems random, its only triggered by large file
moves. my buffer on the filesystemwatcher is set to 256k so i know im
not overrunning the buffer, besides, if that happened, the
filesystemwatcher.error event would be fired.
any ideas? i have been working on this all day and the more and more i
look, the more and more it looks like a bug in the framework.
to catch people moving files in and out of the system and update a
database. what happens is when a process runs that moves hundreds of
files (happens every day) i get all kinds of debug errors and an
unhandled exception. here is the debug log
First-chance exception at 0x7c342eee (msvcr71.dll) in VoiceScanner.exe:
0xC0000005: Access violation reading location 0x00233000.
An unhandled exception of type 'System.NullReferenceException' occurred
in system.dll
Additional information: Object reference not set to an instance of an
object.
First-chance exception at 0x791bcf3e in VoiceScanner.exe: 0xC0000005:
Access violation reading location 0x00e61ba4.
An unhandled exception of type 'System.ExecutionEngineException'
occurred in mscorlib.dll
The thread 'Win32 Thread' (0x980) has exited with code -2146233082
(0x80131506).
The thread 'Win32 Thread' (0x8a4) has exited with code -2146233082
(0x80131506).
The thread 'Win32 Thread' (0xb24) has exited with code -2146233082
(0x80131506).
The thread 'Win32 Thread' (0x510) has exited with code -2146233082
(0x80131506).
The thread 'Win32 Thread' (0xb0c) has exited with code -2146233082
(0x80131506).
The thread 'Win32 Thread' (0xaf8) has exited with code -2146233082
(0x80131506).
The thread 'Win32 Thread' (0x26c) has exited with code -2146233082
(0x80131506).
The thread 'Win32 Thread' (0xe0) has exited with code -2146233082
(0x80131506).
The thread 'Win32 Thread' (0xb10) has exited with code -2146233082
(0x80131506).
The thread 'Win32 Thread' (0x41c) has exited with code -2146233082
(0x80131506).
The thread 'Win32 Thread' (0x60c) has exited with code -2146233082
(0x80131506).
The thread 'Win32 Thread' (0x5a0) has exited with code -2146233082
(0x80131506).
HEAP[voicescanner.exe]: Dedicated (0004) free list element 18df90 is
wrong size (0036)
Unhandled exception at 0x77f813b1 in VoiceScanner.exe: User breakpoint.
when i try to capture the unhanded exception, the app gets stuck in an
infinate loop on the first chance exception line, the exception is never
captured. the exception seems random, its only triggered by large file
moves. my buffer on the filesystemwatcher is set to 256k so i know im
not overrunning the buffer, besides, if that happened, the
filesystemwatcher.error event would be fired.
any ideas? i have been working on this all day and the more and more i
look, the more and more it looks like a bug in the framework.