r3495 Mac pak128 - crash when scrolling July 05, 2010, 02:40:25 am I'm running into a crash on the Mac version of Simutrans. This occurs when I'm scrolling the map by holding down the arrow keys. It happens frequently enough, but unfortunately, I haven't figured out the exact circumstances of the crash to reproduce it reliably. Here's the message printed out:Quote2010-07-04 15:26:35.720 sim-macintel[6357:10b] Exception raised during posting of notification. Ignored. exception: '*** -[NSLayoutManager glyphRangeForTextContainer:]: given container does not appear in the list of containers for this NSLayoutManager.' invoked observer method: '*** -[SDLMain applicationDidFinishLaunching:]' observer: 0x426500 notification name: 'NSApplicationDidFinishLaunchingNotification'At this point, the game stops responding, and it segfaults a few seconds later.This is on OS X 10.5.8 (Leopard) on a Macbook Pro, with the latest nightlies (tested with r3495). I tried running with "-log 1", but all that seems to do is create an empty file at ~/simutrans/simu.log.Let me know if there's anything else that would help debug. Quote Selected Last Edit: September 18, 2010, 01:59:05 pm by IgorEliezer
Re: r3495 Mac pak128 - crash when scrolling Reply #1 – July 26, 2010, 07:59:00 am could you please try to run the program in a debugger and provide a backtrace when it crashes? Dont know how to do that on MAC though :/ Quote Selected
Re: r3495 Mac pak128 - crash when scrolling Reply #2 – July 26, 2010, 08:46:25 am I remember somebody reporting in another thread a problem with using the arrow keys to scroll on the Macintosh platform, and suspecting the cause to be related to SDL. Quote Selected
Re: r3495 Mac pak128 - crash when scrolling Reply #3 – September 04, 2010, 08:16:07 pm I can run simutrans under gdb. But... I can't get it to crash anymore! I guess that's good, all things considered. I'll follow up if it crashes again and I have a backtrace to show. Quote Selected