The International Simutrans Forum
September 06, 2010, 04:32:05 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
Files.Simutrans.US
New place to upload your attachments, large or small. For images, you can put IMG tags in your posts!
 
   Home   Help Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: r3495 Mac pak128 - crash when scrolling  (Read 295 times)
0 Members and 1 Guest are viewing this topic.
ArthurDenture
*
Offline Offline

Posts: 6


« on: July 05, 2010, 03: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:

Quote
2010-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.
Logged
Dwachs
Devotee, DevTeam, Coder/patcher
Moderator
*
Offline Offline

Posts: 1270


« Reply #1 on: July 26, 2010, 08: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 :/
Logged
jamespetts
Devotee
*
Offline Offline

Posts: 3413


Cake baker


WWW
« Reply #2 on: July 26, 2010, 09: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.
Logged

James E. Petts

Download the experimental version of Simutrans and help to test lots of new features here.

Download Pak128.Britain here.
ArthurDenture
*
Offline Offline

Posts: 6


« Reply #3 on: September 04, 2010, 09: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.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.179 seconds with 23 queries.