'bus error'

rick99

Registered
Maybe not really X11, but I think something for the 'geek section' here:
I'm trying to use some custom built software on my Apple (OS X Tiger). The stuff work fine on a number of linux distributions (including Ubuntu and Gentoo). After some 'tweaking' I got it to compile on my Mac, but often get 'Bus error' in response to a command.
What does this message mean? What are the common causes for it?
 
In unix and unix-like operating systems this means the code is attempting to access memory outside it's allocated address space. It normally indicates a pointer problem. The obvious first places to look are the changes you have made to the code - but quite often these errors are tricky to track down:(
 
hmm... I haven't adapted the code exactly, only the makefile and references to headers etc. Anyhow, thanks for the info! I'll see what I can find.
 
Back
Top