Hard Light Productions Forums

Hosted Projects - Standalone => Wings of Dawn => WoD Archive => Topic started by: kir2yar on September 03, 2011, 05:25:23 pm

Title: Crash
Post by: kir2yar on September 03, 2011, 05:25:23 pm
Got crash in M09-1 Enter Dawn

Game just [random]crashed. :(
In console: ASSERTION FAILED: "(bm_bitmaps[n].handle == bitmapnum)" at bmpman/bmpman.cpp:2052  bitmapnum = 603945368, n = 1868, bm_bitmaps[n].handle = 291618

My system:
RFRemix release 15.1 (Lovelock) (x64)
Intel(R) Core(TM)2 Duo CPU  E6850  @ 3.00GHz
GeForce GTX 480 (NV driver 280.13)
Linux yar.home 2.6.38.8-35.fc15.x86_64 #1 SMP Wed Jul 6 13:58:54 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux


[attachment deleted by ninja]
Title: Re: Crash
Post by: Spoon on September 04, 2011, 09:03:21 am
That's not an error I can do much about.
Does it happen every time you start the mission?
Title: Re: Crash
Post by: kir2yar on September 05, 2011, 06:28:14 am
That's not an error I can do much about.
Does it happen every time you start the mission?

No. Random. Can occur at any time. BP1&2 - work fine.
Title: Re: Crash
Post by: niffiwan on September 06, 2011, 08:00:55 am
I've had the very same issue  ;)

Code: [Select]
ASSERTION FAILED: "(bm_bitmaps[n].handle == bitmapnum)" at bmpman/bmpman.cpp:2039  bitmapnum = 1061491798, n = 4548, bm_bitmaps[n].handle = 0

My PC is:
SVN 7648 Debug build (hacked to get around a jpeg library mismatch)
AMD Phenom(tm) II X2 550 Processor
GeForce GTS 450 (275.09.07)
Linux skywalker 2.6.32-33-generic #72-Ubuntu SMP Fri Jul 29 21:07:13 UTC 2011 x86_64 GNU/Linux

BP 1&2 also work fine for me.

It's actually prevented me from playing WoD at all, I think the 1st mission started successfully for me once, and it's crashed about 5-10 other times.  I've been meaning to dig through the code to see what is triggering the assertion, but I haven't got round to it yet (too busy with PVS studio stuff). 
Title: Re: Crash
Post by: niffiwan on September 10, 2011, 06:48:25 am
kir2yar - I think I've found an issue in the code which could cause this crash.  I've created a new build (based off 3.6.12 rather than the most recent nightly builds) - can you try it and let me know if it resolves the issue for you?  If it does, I'll see if I can get the patch added to SVN.

http://www.mediafire.com/?rcrgud87ezi7gaf (http://www.mediafire.com/?rcrgud87ezi7gaf)

Spoon - I think there may also be an issue in the Ray.pof.  I've run fs2_open through the debugger and it seems that the glowpoint on the Ray doesn't have a valid texture defined?  Could you check this at your end to see if this is really a problem, or if I've got a dud download? (if it's my download then my patch may not work for kir2yar)
Title: Re: Crash
Post by: kir2yar on September 25, 2011, 02:37:55 pm
Eay! Fixed! All work now!  :yes:
Many thanks!
Title: Re: Crash
Post by: niffiwan on September 25, 2011, 04:34:02 pm
Good news - thanks for testing my fix  :)
Title: Re: Crash
Post by: kir2yar on September 26, 2011, 07:52:51 am
Can you post debug build? I got another crash, this time - no "ASSERT" in console. :( May be unrelated...
Title: Re: Crash
Post by: niffiwan on September 26, 2011, 08:54:07 am
OK - try this: http://www.mediafire.com/?uezjt211f4kas18

However, it might also be a good idea to grab a recent nightly (except the Linux nightlies tend to be a bit behind), or get the code from SVN and build your own exec from trunk.  The reason I say this is that a number of Linux related issues have been fixed since 3.6.12, e.g. BP:AoA & BP:WIH crashed a number of times for me on 3.6.12.
Title: Re: Crash
Post by: kir2yar on September 26, 2011, 09:33:17 am
However, it might also be a good idea to grab a recent nightly (except the Linux nightlies tend to be a bit behind), or get the code from SVN and build your own exec from trunk.  The reason I say this is that a number of Linux related issues have been fixed since 3.6.12, e.g. BP:AoA & BP:WIH crashed a number of times for me on 3.6.12.

I often play from SVN. Tomorrow try your build and svn.