[Lazarus] LCL program crashes on OS X 10.5.8 with EXC_BREAKPOINT (SIGTRAP)

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Nov 10 18:37:30 CET 2011


On Thu, 10 Nov 2011 19:11:20 +0200
Žilvinas Ledas <zilvinas.ledas at dict.lt> wrote:

> Hello all,
> 
> what is the lowest version of OSX that LCL application should work with?
> 
> I got feedback that my program works with OS X 10.7.2 but fails with OS 
> X 10.5.8.
> I got some info, but as I'm not very familiar with OSX development, I 
> don't know if this is useful:
> -----
> Exception Type:  EXC_BREAKPOINT (SIGTRAP)
> Exception Codes: 0x0000000000000002, 0x0000000000000000
> Crashed Thread:  0
> 
> Dyld Error Message:
>    unknown required load command 0x80000022
> -----

Have you compiled with 

-k-macosx_version_min -k10.5
-XR/Developer/SDKs/MacOSX10.5.sdk/

?
See
http://wiki.lazarus.freepascal.org/OS_X_Programming_Tips#Deploying_an_executable.2C_Compiling_under_10.6_for_10.5_and_above

 
> I saw that there was simmilar problem reported in mailing list ( 
> http://comments.gmane.org/gmane.comp.ide.lazarus.general/50138 ) and it 
> says the program used TTrayIcon. Mine program also uses TTrayIcon - was 
> this behaviour fixed or investigated?
> Maybe I can I catch this type of exception or somehow work around it?

Mattias




More information about the Lazarus mailing list