Jpegs 1024x1024 and Bus error
by Thomas Huehn · in Torque Game Engine · 10/02/2008 (7:20 am) · 2 replies
Yesterday i got my first mac (mac mini intel, OS X 10.5.5) :)
Tried compiling stock TGE and all works fine.
After some work getting my modified files into xcode my project did also compile fine and program starts up.
But when loading a mission it crashes allways with Bus error.
In debugger I found out it crashes from readJPEG and only if the jpeg is 1024x1024 (maybe also larger).
Does anyone have experience with that ?
Tried compiling stock TGE and all works fine.
After some work getting my modified files into xcode my project did also compile fine and program starts up.
But when loading a mission it crashes allways with Bus error.
In debugger I found out it crashes from readJPEG and only if the jpeg is 1024x1024 (maybe also larger).
Does anyone have experience with that ?
About the author
Contact: torque [AT] ohmtal [DOT] com
#2
With ImageMagick's identify i found out some jpgs have: "Interlace: Plane"
I'll write a shell script to convert all jpg's hope that will fix it :)
10/02/2008 (8:27 am)
Thanks for fast replay david. With ImageMagick's identify i found out some jpgs have: "Interlace: Plane"
I'll write a shell script to convert all jpg's hope that will fix it :)
Associate David Montgomery-Blake
David MontgomeryBlake