Thanks, I'll try it or to find the variable

But the strange thing is, that it would work when I don't use the "codesign" 
utility (which is required to submit to the Mac App Store).

-----Ursprüngliche Nachricht-----
Von: Bo Thorsen [mailto:b...@sonofthor.dk] Im Auftrag von Bo Thorsen
Gesendet: Dienstag, 29. November 2011 11:43
An: noru...@me.com
Cc: Harri Pasanen; Qt Project MailingList
Betreff: Re: [Interest] [Qt-interest] Fwd: Application crashes on Mac OS X when 
loading a pixmap

Hi all,

I don't know if this is the same problem on Mac as I hit a few weeks ago on 
Linux at a customer. I also saw some completely weird crashes in png loading 
that I have never seen before. I finally traced this, but it took a while.

If you have any variable called crc32, you might cause a crash because png also 
has a symbol with this name in the library. On some, not all, of the Linux 
boxes the linker chose to link the global crc32 from the customer code to the 
function pointer in png, so when the png libary uses the function pointer, it 
crashes.

If you do have a crc32 symbol in your code, try renaming it.

Bo Thorsen,
Fionia Software.

-- 

Expert Qt and C++ developer for hire
Contact me if you need expert Qt help
http://www.fioniasoftware.dk

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to