Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Extra libraries, Code snippets, applications etc. » OS Problems etc., Win32, POSIX, MacOS, FreeBSD, X11 etc » armv5l/linux: apps crash from huge mmap2() calls
Re: armv5l/linux: apps crash from huge mmap2() calls [message #13157 is a reply to message #13123] Sun, 16 December 2007 23:23 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Anyway, even so, wrong endian seems to be the most likely cause.

The issue is that image loading code is "deserializing" certain 32 bit values to get the image dimension. If endianess is buggy, you are very likely to obtain some pretty big numbers....

If you have any means of debuging / logging, it would be interesting to inspect image dimensions, a result of Peek16le, ImageBlit.cpp 354. I bet they are wrong, because Peek16le does not work properly Smile

Mirek
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Testing OsX Leopard
Next Topic: Latest Linux distrib
Goto Forum:
  


Current Time: Tue May 07 22:59:04 CEST 2024

Total time taken to generate the page: 0.01330 seconds