Opened 12 years ago

Closed 11 years ago

Last modified 11 years ago

#1660 closed defect (fixed)

Crash in CStreamItem::IdleTask() after resigning a match

Reported by: Vaikash Owned by: stwf
Priority: Should Have Milestone: Alpha 12
Component: Core engine Keywords: crash sound
Cc: vaikash@…, stwf Patch:

Description

It happened when i played 1vs1 with aegis bot on acropolis map... Crash occurred when i resigned the match.

Attachments (1)

crashlog.zip (26.7 KB ) - added by Vaikash 12 years ago.

Download all attachments as: .zip

Change History (8)

by Vaikash, 12 years ago

Attachment: crashlog.zip added

comment:1 by historic_bruno, 11 years ago

Cc: stwf added

There have been some sound fixes for Alpha 12, which should be released soon (within weeks).

Call stack for reference:

>	pyrogenesis.exe!CStreamItem::IdleTask()  Line 71	C++
 	pyrogenesis.exe!CSoundManager::IdleTask()  Line 224 + 0x9 bytes	C++
 	pyrogenesis.exe!CSoundManager::SetMusicItem(ISoundItem * anItem=0x33a9bf28)  Line 319	C++
 	pyrogenesis.exe!CSoundBase::PlayAsMusic()  Line 261	C++
 	pyrogenesis.exe!JMusicSound::Loop(JSContext * __formal=0x027b5828, JSContext * __formal=0x027b5828, JSContext * __formal=0x027b5828)  Line 43	C++
 	pyrogenesis.exe!CNativeFunction<JMusicSound,0,bool,{JMusicSound::Loop,0,0,0}>::JSFunction(JSContext * cx=0x027b5828, unsigned int argc=0, unsigned __int64 * vp=0x10ad01a8)  Line 188 + 0x11 bytes	C++
 	mozjs185-ps-release-1.0.dll!680d0d10() 	
 	[Frames below may be incorrect and/or missing, no symbols loaded for mozjs185-ps-release-1.0.dll]	
 	mozjs185-ps-release-1.0.dll!6808df68() 	
 	msvcr90.dll!___set_flsgetvalue()  + 0xf bytes	
 	mozjs185-ps-release-1.0.dll!6810766b() 	
 	mozjs185-ps-release-1.0.dll!68107a4e() 	
 	mozjs185-ps-release-1.0.dll!680c68b6() 	
 	mozjs185-ps-release-1.0.dll!680c73b3() 	
 	mozjs185-ps-release-1.0.dll!68085d2a() 	
 	pyrogenesis.exe!IGUIObject::ScriptEvent(const CStr8 & Action={...})  Line 496 + 0x7b bytes	C++
 	pyrogenesis.exe!IGUIObject::SendEvent(EGUIMessageType type=GUIM_PRESSED, const CStr8 & EventName={...})  Line 477	C++
 	pyrogenesis.exe!IGUIButtonBehavior::HandleMessage(SGUIMessage & Message={...})  Line 68 + 0x32 bytes	C++
 	pyrogenesis.exe!CButton::HandleMessage(SGUIMessage & Message={...})  Line 86	C++
 	pyrogenesis.exe!IGUIObject::SendEvent(EGUIMessageType type=GUIM_MOUSE_RELEASE_LEFT, const CStr8 & EventName={...})  Line 475	C++
 	pyrogenesis.exe!CGUI::HandleEvent(const SDL_Event_ * ev=0x0086f640)  Line 214 + 0x20 bytes	C++
 	pyrogenesis.exe!CGUIManager::HandleEvent(const SDL_Event_ * ev=0x0086f640)  Line 214 + 0x24 bytes	C++
 	pyrogenesis.exe!gui_handler(const SDL_Event_ * ev=0x0086f640)  Line 48 + 0x18 bytes	C++
 	pyrogenesis.exe!in_dispatch_event(const SDL_Event_ * ev=0x0086f640)  Line 60 + 0xa bytes	C++
 	pyrogenesis.exe!PumpEvents()  Line 193	C++
 	pyrogenesis.exe!Frame()  Line 356	C++
 	pyrogenesis.exe!RunGameOrAtlas(int argc=1, const char * * argv=0x020ee570)  Line 507 + 0x5 bytes	C++
 	pyrogenesis.exe!main(int argc=1, char * * argv=0x020ee570)  Line 550 + 0xf bytes	C++
 	pyrogenesis.exe!wmain(int argc=1, wchar_t * * argv=0x020eeac8)  Line 380 + 0xb bytes	C++
 	pyrogenesis.exe!__tmainCRTStartup()  Line 583 + 0x17 bytes	C
 	pyrogenesis.exe!CallStartupWithinTryBlock()  Line 397	C++
 	kernel32.dll!@BaseThreadInitThunk@12()  + 0x12 bytes	
 	ntdll.dll!___RtlUserThreadStart@8()  + 0x27 bytes	
 	ntdll.dll!__RtlUserThreadStart@8()  + 0x1b bytes	
Last edited 11 years ago by historic_bruno (previous) (diff)

comment:2 by historic_bruno, 11 years ago

Keywords: sound added

comment:3 by historic_bruno, 11 years ago

Summary: Crash after resigning a matchCrash in CStreamItem::IdleTask() after resigning a match

comment:4 by stwf, 11 years ago

Owner: set to stwf
Status: newassigned

comment:5 by stwf, 11 years ago

I can't recreate this, but I did put in some code to double check the pointer before using it. Hard to say what caused it without being able to recreate it.

comment:6 by stwf, 11 years ago

Resolution: fixed
Status: assignedclosed

comment:7 by leper, 11 years ago

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