OSX 10.7.5 Segment Fault 11

Mac OSX specific forum
coder14
Enthusiast
Enthusiast
Posts: 327
Joined: Tue Jun 21, 2011 10:39 am

OSX 10.7.5 Segment Fault 11

Post by coder14 »

My program links a static library and works on OSX 10.9 but it crashes on OSX 10.7.5 with this error:

Code: Select all

segmentation fault: 11
It is a command line application. Anyone know what this error means?
wilbert
PureBasic Expert
PureBasic Expert
Posts: 3870
Joined: Sun Aug 08, 2004 5:21 am
Location: Netherlands

Re: OSX 10.7.5 Segment Fault 11

Post by wilbert »

When I searched using Google, I came across this remark
"segmentation fault", means that the program accessed a memory location that was not assigned
Does that help ?
Windows (x64)
Raspberry Pi OS (Arm64)
coder14
Enthusiast
Enthusiast
Posts: 327
Joined: Tue Jun 21, 2011 10:39 am

Re: OSX 10.7.5 Segment Fault 11

Post by coder14 »

wilbert wrote:When I searched using Google, I came across this remark
"segmentation fault", means that the program accessed a memory location that was not assigned
Does that help ?
Sorry but I don't know. How come it works on 10.9 and not 10.7.5? I downloaded CodeBlocks onto the 10.7.5 machine and compiled the static library again but still the same error.
wilbert
PureBasic Expert
PureBasic Expert
Posts: 3870
Joined: Sun Aug 08, 2004 5:21 am
Location: Netherlands

Re: OSX 10.7.5 Segment Fault 11

Post by wilbert »

coder14 wrote:How come it works on 10.9 and not 10.7.5? I downloaded CodeBlocks onto the 10.7.5 machine and compiled the static library again but still the same error.
I don't know. Hard to tell with this little information.
Maybe you can use some debug tool to find out what is causing it.
Windows (x64)
Raspberry Pi OS (Arm64)
coder14
Enthusiast
Enthusiast
Posts: 327
Joined: Tue Jun 21, 2011 10:39 am

Re: OSX 10.7.5 Segment Fault 11

Post by coder14 »

wilbert wrote:
coder14 wrote:How come it works on 10.9 and not 10.7.5? I downloaded CodeBlocks onto the 10.7.5 machine and compiled the static library again but still the same error.
I don't know. Hard to tell with this little information.
Maybe you can use some debug tool to find out what is causing it.
I will try. Thanks for your help.

Do you know if there is any problem with PureBasic's Linux downloads? I can't extract the 32bit 5.40 - getting unexpected EOF error. When I install the 32bit 5.31 it does not launch. :?

I am using Ubuntu Mate 15.10.
wilbert
PureBasic Expert
PureBasic Expert
Posts: 3870
Joined: Sun Aug 08, 2004 5:21 am
Location: Netherlands

Re: OSX 10.7.5 Segment Fault 11

Post by wilbert »

coder14 wrote:Do you know if there is any problem with PureBasic's Linux downloads?
Sorry, can't help you there.
I'm only using the OSX and Windows versions of PureBasic.

As for the OSX debugging, you might consider looking at Instruments that comes with XCode.
Windows (x64)
Raspberry Pi OS (Arm64)
Post Reply