Steam version crashes on launch #1059

Closed
bitinn opened this Issue Apr 12, 2016 · 4 comments

Comments

Projects
None yet
2 participants

bitinn commented Apr 12, 2016

I have an iMac and a Macbook Air (both with 10.11.4 El Capitan), the Steam version crashes consistently on Air, but seems to work fine with iMac.

Process:               aseprite [1070]
Path:                  /Users/USER/Library/Application Support/Steam/*/Aseprite.app/Contents/MacOS/aseprite
Identifier:            org.aseprite.Aseprite
Version:               1.1.4 (1.1.4)
Code Type:             X86-64 (Native)
Parent Process:        steam_osx [1042]
Responsible:           aseprite [1070]
User ID:               501

Date/Time:             2016-04-13 06:06:07.986 +0800
OS Version:            Mac OS X 10.11.4 (15E65)
Report Version:        11
Anonymous UUID:        1D632F7B-67EE-A4A5-8B4E-0E823E56BFD3

Sleep/Wake UUID:       8BBD8BC3-86B4-4A30-B435-13C9557E7549

Time Awake Since Boot: 6200 seconds
Time Since Wake:       2800 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

VM Regions Near 0:
--> 
    __TEXT                 00000001054bf000-0000000105bd3000 [ 7248K] r-x/rwx SM=COW  /Users/USER/Library/Application Support/Steam/*/Aseprite.app/Contents/MacOS/aseprite

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   org.aseprite.Aseprite           0x0000000105732516 she::SkiaDisplay::resize(gfx::SizeT<int> const&) + 150
1   org.aseprite.Aseprite           0x00000001057391e7 -[OSXView setFrameSize:] + 215
2   com.apple.AppKit                0x00007fff984bfa11 -[NSView setFrame:] + 476
3   com.apple.AppKit                0x00007fff984cc321 -[NSView resizeWithOldSuperviewSize:] + 1185
4   com.apple.AppKit                0x00007fff984cb9ad -[NSView resizeSubviewsWithOldSize:] + 318
5   com.apple.AppKit                0x00007fff984a761b -[NSView setFrameSize:] + 1755
6   com.apple.AppKit                0x00007fff985543cd -[NSThemeFrame setFrameSize:] + 496
7   com.apple.AppKit                0x00007fff9853aa0a -[NSWindow _setFrame:updateBorderViewSize:] + 1088
8   com.apple.AppKit                0x00007fff9855347d -[NSWindow _oldPlaceWindow:] + 1075
9   com.apple.AppKit                0x00007fff98552852 -[NSWindow _setFrameCommon:display:stashSize:] + 2743
10  com.apple.AppKit                0x00007fff98551d8c -[NSWindow _setFrame:display:allowImplicitAnimation:stashSize:] + 222
11  com.apple.AppKit                0x00007fff98551ca7 -[NSWindow setFrame:display:] + 67
12  com.apple.AppKit                0x00007fff985c4605 -[NSWindow _reallyDoOrderWindow:relativeTo:findKey:forCounter:force:isModal:] + 1168
13  com.apple.AppKit                0x00007fff985c3063 -[NSWindow _doOrderWindow:relativeTo:findKey:forCounter:force:isModal:] + 894
14  com.apple.AppKit                0x00007fff985c2c87 -[NSWindow orderWindow:relativeTo:] + 159
15  com.apple.AppKit                0x00007fff986820ca -[NSWindow makeKeyAndOrderFront:] + 106
16  org.aseprite.Aseprite           0x0000000105739c30 -[OSXWindow initWithImpl:width:height:scale:] + 480
17  org.aseprite.Aseprite           0x000000010573a330 she::SkiaWindow::SkiaWindow(she::EventQueue*, she::SkiaDisplay*, int, int, int) + 128
18  org.aseprite.Aseprite           0x0000000105732235 she::SkiaDisplay::SkiaDisplay(int, int, int) + 85
19  org.aseprite.Aseprite           0x0000000105732d58 she::SkiaSystem::createDisplay(int, int, int) + 56
20  org.aseprite.Aseprite           0x0000000105560ce8 app::create_main_display(bool, bool&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) + 408
21  org.aseprite.Aseprite           0x00000001055608ee app::init_module_gui() + 78
22  org.aseprite.Aseprite           0x00000001055601c4 app::LegacyModules::LegacyModules(int) + 100
23  org.aseprite.Aseprite           0x00000001054c431e app::App::initialize(app::AppOptions const&) + 238
24  org.aseprite.Aseprite           0x00000001054c3bff app_main(int, char**) + 191
25  org.aseprite.Aseprite           0x0000000105732968 main + 56
26  org.aseprite.Aseprite           0x00000001054c3b34 start + 52

Thread 1:
0   libsystem_kernel.dylib          0x00007fff93f455e2 __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00007fff93b19578 _pthread_wqthread + 1283
2   libsystem_pthread.dylib         0x00007fff93b17341 start_wqthread + 13

Thread 2:: Dispatch queue: com.apple.libdispatch-manager
0   libsystem_kernel.dylib          0x00007fff93f45efa kevent_qos + 10
1   libdispatch.dylib               0x00007fff92069165 _dispatch_mgr_invoke + 216
2   libdispatch.dylib               0x00007fff92068dcd _dispatch_mgr_thread + 52

Thread 3:
0   libsystem_kernel.dylib          0x00007fff93f455e2 __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00007fff93b19578 _pthread_wqthread + 1283
2   libsystem_pthread.dylib         0x00007fff93b17341 start_wqthread + 13

Thread 4:
0   libsystem_kernel.dylib          0x00007fff93f455e2 __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00007fff93b19578 _pthread_wqthread + 1283
2   libsystem_pthread.dylib         0x00007fff93b17341 start_wqthread + 13

Thread 5:
0   libsystem_kernel.dylib          0x00007fff93f455e2 __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00007fff93b19578 _pthread_wqthread + 1283
2   libsystem_pthread.dylib         0x00007fff93b17341 start_wqthread + 13

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x00007f8bab78b580  rcx: 0x0000010000000000  rdx: 0x00007f8bab508d20
  rdi: 0x0000000000000000  rsi: 0x0000010000000100  rbp: 0x00007fff5a73e680  rsp: 0x00007fff5a73e600
   r8: 0x00000000fffffffc   r9: 0x00007f8bab508d18  r10: 0x00000000ffffffff  r11: 0x00007fff93b177e1
  r12: 0x00007fff9a0354c0  r13: 0x00007fff9a0354c0  r14: 0x00007fff5a73e6a8  r15: 0x00007f8bab544ca0
  rip: 0x0000000105732516  rfl: 0x0000000000010246  cr2: 0x0000000000000000

Logical CPU:     2
Error Code:      0x00000004
Trap Number:     14

bitinn commented Apr 12, 2016

Obviously tried the usual re-install trick, no luck. On a side note, my iMac might still be on 10.11.3 El Capitan, no sure it's related at all, as I haven't seen anyone reporting issue on this topic...

@dacap dacap added this to the v1.1 milestone Apr 12, 2016

Owner

dacap commented Apr 12, 2016

Hi @bitinn, thanks for reporting this! please contact me at support@aseprite.org and I'll see if I can send you some special build tomorrow so we can find the problem.

bitinn commented Apr 13, 2016

I reboot my machine today, and now Aseprite works. I have seen a few games on Steam / OS X with similar issues, ie. only able to launch on 1 of my machine but not the other, and reboot usually fixes it...

@dacap dacap self-assigned this Apr 13, 2016

dacap added a commit that referenced this issue Apr 13, 2016

Avoid using an uninitialized m_surface pointer in SkiaDisplay
This should fix problems launching Aseprite on OS X (e.g. #1059).
Owner

dacap commented Apr 13, 2016

I've just updated the Steam version. This issue should be fixed now.

@dacap dacap closed this Apr 13, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment