Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-11

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

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Žilvinas Ledas

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
-----

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?

Thanks,
?ilvinas

Reply by email

Mattias Gaertner
to Žilvinas Ledas
Show quoted text 16 lines
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

Show quoted text 5 lines
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

Reply by email

Žilvinas Ledas
to Mattias Gaertner
Mattias Gaertner wrote 23 lines
On Thu, 10 Nov 2011 19:11:20 +0200 ?ilvinas Ledas 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/

No, I didn't.

Thank you Mattias! It's embarrassing as it looks quite obvious now when you pointed it out :) I'll try it and hope it will solve the issues.

Thanks again,
?ilvinas

Reply by email