JPEG's

Previous topic - Next topic

MrTAToad

Was testing to see whether the JPEG problem had been solved (which it hasn't).  However, I did receive a somewhat more useful error message than the standard crash (obviously added in V9) :

Quote*** Unhandled exception ***
   EXCEPTION_INVALID_HANDLE

Hopefully that'll help  =D

Kitty Hello

On Windows?
Can you send me such a JPEG that crashes on Windows? Maybe I can find the bug then.

spicypixel

If you LOADBMP from a function with a jpeg initially before your game loop and then from within the loop call the function to LOADBMP (the same jpeg) it crashes. Well for me anyway. Hope that helps. Win7 x64 here.
http://www.spicypixel.net | http://www.facebook.com/SpicyPixel.NET

Comps Owned - ZX.81, ZX.48K, ZX.128K+2, Vic20, C64, Atari-ST, A500.600.1200, PC, Apple Mini-Mac.

ampos

Please, sent him the jpg file and a tiny example code. We need jpeg bug fixed, it has been evading the fix for a long time.

MrTAToad

Gernot thinks he may have found the problem and is hoping that is the cause across all platforms :)

Ian Price

Quote from: MrTAToad on 2011-May-10
Gernot thinks he may have found the problem and is hoping that is the cause across all platforms :)
Yay!!! Let's Parteeeeeeeee!! =D
I came. I saw. I played.

MrTAToad

Not quite time for that yet :)

Ian Price

Oh well. I'll just start warming the Vol-au-vents. :P
I came. I saw. I played.

MrTAToad

Dont eat too many!

Ian Price

Can't stand 'em myself! :P
I came. I saw. I played.

MrTAToad

All the more for us then!

ampos

Has been "fixed"? I would love to test this jpeg fix ASAP...  :enc:

MrTAToad

Give it a go anyway - seems okay on Windows and Linux, but with problems on webOS, Windows CE (possibly) and Android.

Dont know about any other platform.

Kitty Hello

If it works on iOS, I think the bug is about the optimization. I set that to -O0 for Windows and iOS now.

MrTAToad

Hope someone will be able to try it on an iPhone - at least its getting there!