MantisBT - Zandronum
View Issue Details
0000683Zandronum[All Projects] Bugpublic2012-02-26 02:132012-04-30 04:08
TIHan 
TIHan 
immediatecrashalways
closedunable to reproduce 
 
 
0000683: Hexen crashes at startup
It gets a stack overflow right when you start booting up Hexen. The cause of it is FMOD 4.24.16. You can temporarily fix it by using a newer FMOD but will give warnings about Skulltag being compiled under old. Newer FMOD revisions start at ZDoom r1709 through 1750 I believe.

We should start upgraded skulltag to newer zdoom revisions.

No tags attached.
Issue History
2012-02-26 02:13TIHanNew Issue
2012-02-26 13:07Torr SamahoNote Added: 0002686
2012-02-26 19:55TIHanNote Added: 0002689
2012-02-26 23:24Torr SamahoNote Added: 0002701
2012-02-26 23:24Torr SamahoStatusnew => feedback
2012-02-26 23:50TIHanNote Added: 0002703
2012-02-26 23:50TIHanStatusfeedback => new
2012-02-26 23:51TIHanNote Edited: 0002703bug_revision_view_page.php?bugnote_id=2703#r1371
2012-02-26 23:54TIHanNote Edited: 0002703bug_revision_view_page.php?bugnote_id=2703#r1372
2012-02-27 03:09TIHanNote Edited: 0002703bug_revision_view_page.php?bugnote_id=2703#r1373
2012-02-27 12:47Torr SamahoNote Added: 0002705
2012-02-27 16:48TIHanNote Added: 0002706
2012-02-28 12:23Torr SamahoNote Added: 0002710
2012-02-28 12:23Torr SamahoStatusnew => feedback
2012-02-28 14:26TIHanNote Added: 0002714
2012-02-28 14:26TIHanStatusfeedback => new
2012-02-29 01:02Torr SamahoNote Added: 0002719
2012-02-29 01:02Torr SamahoStatusnew => feedback
2012-02-29 08:38TIHanNote Added: 0002721
2012-02-29 08:38TIHanStatusfeedback => new
2012-02-29 08:40TIHanNote Edited: 0002721bug_revision_view_page.php?bugnote_id=2721#r1388
2012-02-29 09:16TIHanNote Edited: 0002721bug_revision_view_page.php?bugnote_id=2721#r1389
2012-02-29 09:18TIHanNote Edited: 0002721bug_revision_view_page.php?bugnote_id=2721#r1390
2012-03-11 03:09TIHanNote Added: 0002783
2012-04-30 04:08TIHanNote Added: 0003507
2012-04-30 04:08TIHanStatusnew => closed
2012-04-30 04:08TIHanAssigned To => TIHan
2012-04-30 04:08TIHanResolutionopen => unable to reproduce
2012-06-09 13:22Torr SamahoCategoryGeneral => Bug

Notes
(0002686)
Torr Samaho   
2012-02-26 13:07   
Currently Skulltag only supports FMod Ex 4.24.XX. With that version you should have no problems.

> We should start upgraded skulltag to newer zdoom revisions.

I will definitely not upgrade the whole ZDoom base before the final release of 98e (selected backports aside). Once 98e is out, we can resume updating.
(0002689)
TIHan   
2012-02-26 19:55   
> Currently Skulltag only supports FMod Ex 4.24.XX. With that version you should have no problems.

Well, I do have problems. I get a stack overflow on this function: FMOD_RESULT F_CALLBACK SPC_Open(FMOD_CODEC_STATE *codec, FMOD_MODE usermode, FMOD_CREATESOUNDEXINFO *userexinfo).

I tried using 4.24.39 as well.
(0002701)
Torr Samaho   
2012-02-26 23:24   
Does is happen in the beta builds I uploaded? I'm using FMOD Ex 4.24.16.
(0002703)
TIHan   
2012-02-26 23:50   
(edited on: 2012-02-27 03:09)
This is happening in your current builds in your repository.

I guess let me backtrace to where it worked before.

Edit: The Beta Build 3299 works. I'll do some more testing. I'll let you know.

(0002705)
Torr Samaho   
2012-02-27 12:47   
> This is happening in your current builds in your repository.

Can you elaborate how to make it crash? I just started a single player Hexen game with my build of revision 3392 and it didn't crash.
(0002706)
TIHan   
2012-02-27 16:48   
> Can you elaborate how to make it crash? I just started a single player Hexen game with my build of revision 3392 and it didn't crash.

I just try to start up Hexen. It crashes at the splash screen. Perhaps I could be building improperly?
(0002710)
Torr Samaho   
2012-02-28 12:23   
> This is happening in your current builds in your repository.

> Perhaps I could be building improperly?

Probably my question wasn't precise enough. Do the binaries I built crash for you, e.g. the latest one? If not, this is possibly an FMOD Ex bug (wouldn't be the first I encounter...).
(0002714)
TIHan   
2012-02-28 14:26   
> Probably my question wasn't precise enough. Do the binaries I built crash for you, e.g. the latest one? If not, this is possibly an FMOD Ex bug (wouldn't be the first I encounter...).

Your binary works. Then that confirms there is something on my end. Any ideas? I guess I could try building under VC++ 2005 instead of 2010 to see if that makes a difference.
(0002719)
Torr Samaho   
2012-02-29 01:02   
> Then that confirms there is something on my end. Any ideas?

Could be the fault of FMOD Ex. Did you try building with the FMOD Ex version I'm using, i.e. 4.24.16?

> I guess I could try building under VC++ 2005 instead of 2010 to see if that makes a difference.

It should also work with VC++ 2010 (I never tested this though). The only reason I'm still using VC++ 2005 is that binaries built with later versions don't support Win98 anymore.
(0002721)
TIHan   
2012-02-29 08:38   
(edited on: 2012-02-29 09:18)
> Did you try building with the FMOD Ex version I'm using, i.e. 4.24.16?

Yes.

Edit: I just compiled it with VC++ 2005, and I don't get a crash. I'm glad we found the problem, I'm disappointed I will not be able to use 2010.

(0002783)
TIHan   
2012-03-11 03:09   
I would say this has been resolved. This is a problem with FMOD Ex 4.24.xx being compiled under VS2010. Newer versions of FMOD Ex in newer ZDoom revisions "should" compile in VS2010 and run fine.
(0003507)
TIHan   
2012-04-30 04:08   
Seems Hexen is not crashing for me anymore when I build in VS2010. Not sure if it was fixed in code or it was my machine. But no matter, it's not happening to me anymore.