> I have developped a freeware program that is used already by > tens of people (in the field of particle physics). The > software is working like a charm on both windows and linux. > But it is crashing on MacOs with a "Bus Error" message.
I'd suggest going back to linux and firing up Valgrind and see what it says. I had something similar in the past, the OSX version crashed but other versions were fine. Only, they were not fine, they were just "lucky" - the OSX memory management strategy highlighted a genuine bug in my code. Valgrind also saw it. > I suspect there is a problem in my ./configure script. (I > add to completely rewrite the autotools script in order to > minimize package size and to compile in one step all the > library needed by my app). I notice you have shipped what look liked modified versions of quite a lot of libs in your bundle, so I'm not quite sure what your configure script hopes to achieve... Since you have the libs "built in" can you not just have a Makefile that recursively calls each libs own configure? Why do you need your own. And you have source code in the /include folder? That's just confusing. Also, I suspect that you are (technically) violating the licensing requirements for some of those libs. > I am completely desesperate since I am frozen by this since a month. > So, if one of you have few minutes to have a look on what I > did, it would help me a lot. What have you tried? OSX's own memory debug tools are quite capable, and gdb will usually help trace a segfault, or Valgrind on linux or... Many other things. You need to figure out where the segfault is and why. I am not convinced that the configuration of your build is necessarily at fault. SELEX Sensors and Airborne Systems Limited Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

