Mac OS X device crash

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
Auria
Competition winner
Posts: 120
Joined: Wed Feb 18, 2009 1:11 am
Contact:

Mac OS X device crash

Post by Auria »

I believe this is a bug because we only get reports of this crash from Mac OS X users.

This seems to happen only for some users, others never notice such crashes. We have not found what makes this crash happen and what makes it not happen.
Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 ??? 0x0000009b 0 + 155
1 com.apple.AppKit 0x92450799 -[NSWindow _confirmSize:force:] + 284
2 com.apple.AppKit 0x922da7fb _NXMakeWindowVisible + 1634
3 com.apple.AppKit 0x922da153 -[NSWindow constrainFrameRect:toScreen:] + 148
4 com.apple.AppKit 0x922c6033 -[NSWindow _reallyDoOrderWindow:relativeTo:findKey:forCounter:force:isModal:] + 745
5 com.apple.AppKit 0x922c5ce9 -[NSWindow orderWindow:relativeTo:] + 105
6 com.apple.AppKit 0x922c34a7 -[NSWindow makeKeyAndOrderFront:] + 73
7 supertuxkart 0x003a44af irr::CIrrDeviceMacOSX::createWindow() + 1375
8 supertuxkart 0x003a8862 irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&) + 466
9 supertuxkart 0x0032b76a createDeviceEx + 90
10 supertuxkart 0x0032b89b createDevice + 123
11 supertuxkart 0x0010d9e3 IrrDriver::initDevice() + 429 (irr_driver.cpp:155)
12 supertuxkart 0x0010dbb0 IrrDriver::IrrDriver() + 92 (irr_driver.cpp:56)
13 supertuxkart 0x000a883d initRest() + 31 (main.cpp:515)
14 supertuxkart 0x000aa7f7 main + 43 (main.cpp:594)
15 supertuxkart 0x0002d969 start + 53
(gdb) bt
#0 0x003aa060 in -[AppDelegate windowWillResize:toSize:] ()
#1 0x92450799 in -[NSWindow _confirmSize:force:] ()
#2 0x922da7fb in _NXMakeWindowVisible ()
#3 0x922da153 in -[NSWindow constrainFrameRect:toScreen:] ()
#4 0x922c6033 in -[NSWindow _reallyDoOrderWindow:relativeTo:findKey:forCounter:force:isModal:] ()
#5 0x922c5ce9 in -[NSWindow orderWindow:relativeTo:] ()
#6 0x922c34a7 in -[NSWindow makeKeyAndOrderFront:] ()
#7 0x003a43ef in irr::CIrrDeviceMacOSX::createWindow ()
#8 0x003a87a2 in irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX ()
#9 0x0032b6aa in createDeviceEx ()
#10 0x0032b7db in createDevice ()
#11 0x0010d593 in IrrDriver::initDevice (this=0x20136a0) at /Users/ryanlei/code/supertuxkart/src/ide/Xcode/../../graphics/irr_driver.cpp:154
#12 0x0010d760 in IrrDriver::IrrDriver (this=0x20136a0) at /Users/ryanlei/code/supertuxkart/src/ide/Xcode/../../graphics/irr_driver.cpp:56
#13 0x000a83b7 in initRest () at /Users/ryanlei/code/supertuxkart/src/ide/Xcode/../../main.cpp:515
#14 0x000aa371 in main (argc=1, argv=0xbffff708) at /Users/ryanlei/code/supertuxkart/src/ide/Xcode/../../main.cpp:592
#15 0x0002d4b9 in start () at input.hpp:155
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

IIRC, there are some bug tickets about OSX windows size and screen size problems. Does this happen when a wrong/too large window size is chosen, or on manual resize?
Auria
Competition winner
Posts: 120
Joined: Wed Feb 18, 2009 1:11 am
Contact:

Post by Auria »

Our reports mention that it happens upon trying to open SuperTuxKart; it therefore seems to me like this crashed just by trying to open the default 800x600 frame (though I didn't reproduce this myself)

EDIT: the backtraces seem consistent with this too, as the crash occurrs in "createDevice", so I really don't think it's a user resizing the frame
Post Reply