Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#2333 closed defect (fixed)

unhandled exception (Access violation reading 0x00000000) in CSoundManagerWorker::Run

Reported by: Wololo Owned by: ben
Priority: Should Have Milestone: Alpha 17
Component: Core engine Keywords:
Cc: stwf Patch:

Description

While I was starting the game, I got this error message:

Much to our regret we must report the program has encountered an error.

Please let us know at http://trac.wildfiregames.com/ and attach the crashlog.txt and crashlog.dmp files.

Details: unhandled exception (Access violation reading 0x00000000)

Location: unknown:0 (?)

Call stack:

(error while dumping stack: No stack frames found)
errno = 0 (No error reported here)
OS error = 0 (no error code was set)

Attachments (2)

crashlog.dmp (40.9 KB ) - added by Wololo 10 years ago.
crashlog.txt (11.3 KB ) - added by Wololo 10 years ago.

Download all attachments as: .zip

Change History (5)

by Wololo, 10 years ago

Attachment: crashlog.dmp added

by Wololo, 10 years ago

Attachment: crashlog.txt added

comment:1 by historic_bruno, 10 years ago

Cc: stwf added
Summary: unhandled exception (Access violation reading 0x00000000)unhandled exception (Access violation reading 0x00000000) in CSoundManagerWorker::Run

Sorry, forgot to paste the call stack:

>	pyrogenesis.exe!CSoundManagerWorker::Run()  Line 141 + 0x6 bytes	C++
 	pyrogenesis.exe!CSoundManagerWorker::RunThread(void * data=0x02130b50)  Line 123	C++
 	pyrogenesis.exe!thread_start(void * param=0x0076e1d8)  Line 624 + 0x3 bytes	C++
 	msvcr90.dll!_callthreadstartex()  Line 348 + 0x6 bytes	C
 	msvcr90.dll!_threadstartex(void * ptd=0x108ff348)  Line 326 + 0x5 bytes	C
 	kernel32.dll!@BaseThreadInitThunk@12()  + 0x12 bytes	
 	ntdll.dll!___RtlUserThreadStart@8()  + 0x27 bytes	
 	ntdll.dll!__RtlUserThreadStart@8()  + 0x1b bytes	

#2387 duplicated this.

comment:2 by ben, 10 years ago

Owner: set to ben
Resolution: fixed
Status: newclosed

In 15269:

Fixes rare crash in sound manager, due to worker thread dereferencing global pointer before it had been assigned. Fixes #2333, refs #2387, #2317.
Fixes potential infinite loop if worker thread was running but not enabled.
Fixes apparent bug in fading sound smoothness.
Cleans up worker class slightly.
Cleans up weird and inconsistent whitespace.

comment:3 by historic_bruno, 10 years ago

Milestone: BacklogAlpha 17
Note: See TracTickets for help on using tickets.