> My app crashed when resizing. And below is the gdb dump stack. > > Anyone can have a suggestion on that? It only crashed on > Macosx . And it works fine on Windows.
Working fine on one platform (particularly Windows) and not on another is not a robust proof that your app is OK (as I have learned the hard way myself.) Different systems will lay things out in memory very differently, so if you have bad pointers or buffer over-runs the effects will vary greatly from machine to machine. I've found OSX to be much more sensitive than Windows to those sort of memory miss-allocations, so I'd guess that's the reason, particularly since gdb says you tried to access address 0x01, which is not in user space. As to where you app is actually wrong... That's a harder one. I don't think there's enough info here to say one way or the other. 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

