Game Development Community

Corrupt PNGs in 1.4 RC1 crash

by ArmaDuck · in Torque Game Engine · 04/09/2005 (5:06 am) · 16 replies

These images from the latest CVS crash Torque when loading up the example demo missions:

torque/example/demo/data/environment/lightning1frame1.png (2.2)
torque/example/demo/data/environment/lightning1frame2.png (2.2)
torque/example/demo/data/environment/lightning1frame3.png (2.2)

It looks like they were corrupted from the initial checkin. The image code should probably handle bad image data better than just crashing.

Crash dialog:

---------------------------
Fatal-ISV: (\Dev\torque\engine\dgl\bitmapPng.cc @ 80)
---------------------------
Error reading PNG file:
 IHDR: CRC error
---------------------------
OK   
---------------------------

About the author

Recent Threads


#1
04/09/2005 (7:26 am)
I can't comment as to the files themselves, but just to clarify: that isn't a "crash", that is a developer assigned Assert. They only apply in DEBUG builds, are are placed to provide obvious points of debugging while using an integrated debugging tool.
#2
04/09/2005 (1:27 pm)
I ran it in Release and Debug mode and it brought down the application both times.
#3
04/09/2005 (2:16 pm)
Yea that would make it crash in release builds... Fatal-ISV basicly means crash the app "In Shipping Version".
#4
04/09/2005 (2:29 pm)
Yes. The lightning png's are bad. Copy in the ones from 1.3 and you'll be fine.
#5
04/09/2005 (2:48 pm)
Gack, I'll fix this soon. Sorry guys.
#6
04/09/2005 (4:16 pm)
Thanks for the clarification Tom...I didn't know what the ISV difference meant, thanks!
#7
06/06/2005 (5:07 pm)
I have downloaded Torque 1.4 from CVS today, and the PNGs still are corrupted.
#8
06/07/2005 (12:20 am)
The make files haven't had the control changes either, I don't think its been updated from SVN for a while now :(
#9
06/07/2005 (8:34 am)
Updating 1.4's RC1 is absolutely zero priority in the big scheme of things! Ben has the issue(s) noted, and when the next update comes up on his task list you'll see the changes!

I'm not saying don't report issues/bugs at all--simply don't expect them fixed in a quick manner in CVS until RC2.
#10
06/07/2005 (9:10 am)
I have seen this problem for a while now and all I do is remove/rename the files so tha torque does not find them and I can load the mission just fine. Granted that if the images are required, I will be breaking something else, but it loads nonetheless.


mc
#11
06/07/2005 (9:19 am)
@Miquel: IIRC, The corrupt files are the lightening images. Just copy them over from the 1.3 base and all will be well ;) I think they got corrupted when they were checked into cvs and there hasn't been an update since.
#12
06/24/2005 (11:26 pm)
BUMP

these pngs are still corrupted in HEAD
#13
06/25/2005 (12:40 am)
The bug is already noted, and will be fixed for RC2. Bumping the thread or making further posts (except to clarify the nature of the problem) will not make it get fixed faster. Thanks.
#14
06/25/2005 (1:14 am)
Sorry about that Ben :-)
#15
08/02/2005 (5:03 pm)
Quote:I'm not saying don't report issues/bugs at all--simply don't expect them fixed in a quick manner in CVS until RC2.

or even a very slow manner. Apr...may....june....july.....aug.....

I think you aren't fixing it just to spite them :)

sorry I couldn't resist, just had a minute to finally downloaded and test 1.4 and saw this problem.

no worries, just having fun, nothing to see here, move along...
#16
08/03/2005 (4:46 pm)
Love you, too, Clint. :)