[Interest] [Qt-interest] Fwd: Application crashes on Mac OS X when loading a pixmap

Bo Thorsen bo at fioniasoftware.dk
Tue Nov 29 14:55:20 CET 2011


Please read the message again, it's in your own code you have to check 
for crc32. If there is no such symbol, then this isn't the problem.

Bo.

Den 29-11-2011 12:34, NoRulez skrev:
> Could you remember in which file I has to rename what?
>
> Thank in advance
>
> -----Ursprüngliche Nachricht-----
> Von: Bo Thorsen [mailto:bo at sonofthor.dk] Im Auftrag von Bo Thorsen
> Gesendet: Dienstag, 29. November 2011 11:43
> An: norulez at 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.
>


Bo Thorsen,
Fionia Software.

-- 

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



More information about the Interest mailing list