Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#1917 closed bug (fixed (in master))

OS X crash when main window gets resized to 0 height

Reported by: myshkin Owned by:
Milestone: 4.0 Keywords: mac
Cc:

Description

Reported on oook; I can reproduce the problem. Fixed by deleting or editing $HOME/Library/Preferences/org.rephial.angband.plist. A stack trace from commit be2a114:

0   libsystem_c.dylib             	0x00007fff95eb0cf8 bzero$VARIANT$sse42 + 24
1   libsystem_c.dylib             	0x00007fff95eca7b1 __memset_chk + 26
2   org.rephial.angband           	0x000000010010790d __inline_memset_chk + 45 (_string.h:83)
3   org.rephial.angband           	0x000000010010877a -[AngbandContext clearOverdrawCache] + 186 (main-cocoa.m:789)
4   org.rephial.angband           	0x000000010011109e Term_xtra_cocoa + 510 (main-cocoa.m:2074)
5   org.rephial.angband           	0x00000001000f0d88 Term_xtra + 72
6   org.rephial.angband           	0x00000001000f170f Term_fresh + 559
7   org.rephial.angband           	0x00000001000f36e8 Term_redraw + 24
8   org.rephial.angband           	0x000000010010c86e -[AngbandContext resizeTerminalWithContentRect:saveToDefaults:] + 1086 (main-cocoa.m:1403)
9   org.rephial.angband           	0x000000010010cdab -[AngbandContext windowDidEndLiveResize:] + 315 (main-cocoa.m:1464)
10  com.apple.CoreFoundation      	0x00007fff90657eda _CFXNotificationPost + 2554
11  com.apple.Foundation          	0x00007fff8d2d9796 -[NSNotificationCenter postNotificationName:object:userInfo:] + 64
12  com.apple.AppKit              	0x00007fff974917ec -[NSWindow _endLiveResize] + 131
13  com.apple.AppKit              	0x00007fff97aee851 -[NSWindow(NSWindowResizing) _resizeWithEvent:] + 1035
14  com.apple.AppKit              	0x00007fff978f4df9 -[NSTitledFrame mouseDown:] + 189
15  com.apple.AppKit              	0x00007fff978f280e -[NSThemeFrame mouseDown:] + 281
16  com.apple.AppKit              	0x00007fff9745b50e -[NSWindow sendEvent:] + 6853
17  com.apple.AppKit              	0x00007fff97457644 -[NSApplication sendEvent:] + 5761
18  org.rephial.angband           	0x0000000100109863 +[AngbandContext beginGame] + 819 (main-cocoa.m:1116)

Change History (6)

comment:1 Changed 3 years ago by nckmccnnll

  • Status changed from new to confirmed

comment:2 Changed 3 years ago by myshkin

Note that Apple added a preferences caching system in Mavericks (10.9). Users will need to run defaults delete org.rephial.angband in addition to deleting their plist files.

comment:3 Changed 3 years ago by myshkin

Probably fixed with commit f4e2605.

comment:4 Changed 3 years ago by nckmccnnll

I've cherry-picked, so that's now 388c48f

comment:5 Changed 3 years ago by nckmccnnll

  • Resolution set to fixed (in master)
  • Status changed from confirmed to closed

comment:6 Changed 3 years ago by nckmccnnll

Fix commit has changed again to 42ff318

Note: See TracTickets for help on using tickets.