Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Crash when resizing an Atom window after closing the dev tools #198

Open
maxbrunsfeld opened this issue Feb 17, 2016 · 0 comments
Open

Crash when resizing an Atom window after closing the dev tools #198

maxbrunsfeld opened this issue Feb 17, 2016 · 0 comments

Comments

@maxbrunsfeld
Copy link

I think this happened right as I was resizing the browser window after closing the dev tools.

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

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000

Application Specific Information:
*** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayM objectAtIndex:]: index 1 beyond bounds [0 .. 0]'
terminating with uncaught exception of type NSException
abort() called

Application Specific Backtrace 1:
0   CoreFoundation                      0x00007fff9f6f5ae2 __exceptionPreprocess + 178
1   libobjc.A.dylib                     0x00007fff8ee92f7e objc_exception_throw + 48
2   CoreFoundation                      0x00007fff9f5b46f5 -[__NSArrayM objectAtIndex:] + 245
3   Electron Framework                  0x000000010718da20 _ZN4base17scoped_nsprotocolIP29BRYInspectableWebContentsViewEC2ES2_ + 2480
4   Electron Framework                  0x000000010718d2c1 _ZN4base17scoped_nsprotocolIP29BRYInspectableWebContentsViewEC2ES2_ + 593
5   AppKit                              0x00007fff8d9534ff -[NSView setFrameSize:] + 1755
6   AppKit                              0x00007fff8d952619 -[NSView setFrame:] + 476
7   AppKit                              0x00007fff8d9b9395 -[NSView resizeWithOldSuperviewSize:] + 1185
8   AppKit                              0x00007fff8d9b7b4d -[NSView resizeSubviewsWithOldSize:] + 318
9   AppKit                              0x00007fff8d9534ff -[NSView setFrameSize:] + 1755
10  AppKit                              0x00007fff8d9c2332 -[NSWindow _oldPlaceWindow:] + 1600
11  AppKit                              0x00007fff8d9c1552 -[NSWindow _setFrameCommon:display:stashSize:] + 2743
12  AppKit                              0x00007fff8d9c0a8c -[NSWindow _setFrame:display:allowImplicitAnimation:stashSize:] + 222
13  AppKit                              0x00007fff8da77212 -[NSWindow setFrame:display:animate:] + 633
14  Electron Framework                  0x00000001070e243e _ZN4atom15NativeWindowMac9SetBoundsERKN3gfx4RectEb + 350
15  Electron Framework                  0x00000001070dca61 _ZN4atom12NativeWindow7SetSizeERKN3gfx4SizeEb + 81
16  Electron Framework                  0x00000001070befd2 _ZN4atom3api6Window7SetSizeEiiPN4mate9ArgumentsE + 98
17  Electron Framework                  0x00000001070c7499 _ZN4base8internal15RunnableAdapterIMN4atom3api6WindowEFviiPN4mate9ArgumentsEEE3RunEPS4_RKiSD_RKS7_ + 89
18  Electron Framework                  0x00000001070c7430 _ZN4base8internal12InvokeHelperILb0EvNS0_15RunnableAdapterIMN4atom3api6WindowEFviiPN4mate9ArgumentsEEEENS0_8TypeListIJRKPS5_RKiSH_RKS8_EEEE8MakeItSoESB_SF_SH_SH_SJ_ + 96
19  Electron Framework                  0x00000001070c73b9 _ZN4base8internal7InvokerINS_13IndexSequenceIJEEENS0_9BindStateINS0_15RunnableAdapterIMN4atom3api6WindowEFviiPN4mate9ArgumentsEEEEFvPS8_iiSB_ENS0_8TypeListIJEEEEESI_NS0_12InvokeHelperILb0EvSE_NSH_IJRKSF_RKiSO_RKSB_EEEEEFvSM_SO_SO_SQ_EE3RunEPNS0_13BindStateBaseESM_SO_SO_SQ_ + 105
20  Electron Framework                  0x00000001070c726a _ZNK4base8CallbackIFvPN4atom3api6WindowEiiPN4mate9ArgumentsEEE3RunERKS4_RKiSD_RKS7_ + 106
21  Electron Framework                  0x00000001070c712e _ZN4mate8internal7InvokerINS0_13IndicesHolderIJLm0ELm1ELm2ELm3EEEEJPN4atom3api6WindowEiiPNS_9ArgumentsEEE18DispatchToCallbackEN4base8CallbackIFvS7_iiS9_EEE + 30
22  Electron Framework                  0x00000001070c6fe5 _ZN4mate8internal10DispatcherIFvPN4atom3api6WindowEiiPNS_9ArgumentsEEE18DispatchToCallbackERKN2v820FunctionCallbackInfoINSA_5ValueEEE + 181
23  libnode.dylib                       0x000000010b58d9f3 _ZN2v88internal25FunctionCallbackArguments4CallEPFvRKNS_20FunctionCallbackInfoINS_5ValueEEEE + 163
24  libnode.dylib                       0x000000010b5b6f3c _ZN2v88internal8Builtins17InvokeApiFunctionENS0_6HandleINS0_10JSFunctionEEENS2_INS0_6ObjectEEEiPS6_ + 1644
25  libnode.dylib                       0x000000010b5bb001 _ZN2v88internal8BuiltinsD1Ev + 16177
26  ???                                 0x00002ec323d08b3b 0x0 + 51415654370107
27  ???                                 0x00002ec32407d076 0x0 + 51415657992310

Thread 0 Crashed:: CrBrowserMain  Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib          0x00007fff95391002 __pthread_kill + 10
1   libsystem_pthread.dylib         0x00007fffa105c5c5 pthread_kill + 90
2   libsystem_c.dylib               0x00007fff95c506e7 abort + 129
3   libc++abi.dylib                 0x00007fff9dde0f81 abort_message + 257
4   libc++abi.dylib                 0x00007fff9de06a47 default_terminate_handler() + 267
5   libobjc.A.dylib                 0x00007fff8ee956ae _objc_terminate() + 103
6   libc++abi.dylib                 0x00007fff9de0419e std::__terminate(void (*)()) + 8
7   libc++abi.dylib                 0x00007fff9de03e27 __cxa_rethrow + 99
8   libobjc.A.dylib                 0x00007fff8ee9341c objc_exception_rethrow + 40
9   com.apple.AppKit                0x00007fff8d9c1b6f -[NSWindow _setFrameCommon:display:stashSize:] + 4308
10  com.apple.AppKit                0x00007fff8d9c0a8c -[NSWindow _setFrame:display:allowImplicitAnimation:stashSize:] + 222
11  com.apple.AppKit                0x00007fff8da77212 -[NSWindow setFrame:display:animate:] + 633
12  com.github.electron.framework   0x00000001070e243e atom::NativeWindowMac::SetBounds(gfx::Rect const&, bool) + 350
13  com.github.electron.framework   0x00000001070dca61 atom::NativeWindow::SetSize(gfx::Size const&, bool) + 81
14  com.github.electron.framework   0x00000001070befd2 atom::api::Window::SetSize(int, int, mate::Arguments*) + 98
15  com.github.electron.framework   0x00000001070c7499 base::internal::RunnableAdapter<void (atom::api::Window::*)(int, int, mate::Arguments*)>::Run(atom::api::Window*, int const&, int const&, mate::Arguments* const&) + 89
16  com.github.electron.framework   0x00000001070c7430 base::internal::InvokeHelper<false, void, base::internal::RunnableAdapter<void (atom::api::Window::*)(int, int, mate::Arguments*)>, base::internal::TypeList<atom::api::Window* const&, int const&, int const&, mate::Arguments* const&> >::MakeItSo(base::internal::RunnableAdapter<void (atom::api::Window::*)(int, int, mate::Arguments*)>, atom::api::Window* const&, int const&, int const&, mate::Arguments* const&) + 96
17  com.github.electron.framework   0x00000001070c73b9 base::internal::Invoker<base::IndexSequence<>, base::internal::BindState<base::internal::RunnableAdapter<void (atom::api::Window::*)(int, int, mate::Arguments*)>, void (atom::api::Window*, int, int, mate::Arguments*), base::internal::TypeList<> >, base::internal::TypeList<>, base::internal::InvokeHelper<false, void, base::internal::RunnableAdapter<void (atom::api::Window::*)(int, int, mate::Arguments*)>, base::internal::TypeList<atom::api::Window* const&, int const&, int const&, mate::Arguments* const&> >, void (atom::api::Window* const&, int const&, int const&, mate::Arguments* const&)>::Run(base::internal::BindStateBase*, atom::api::Window* const&, int const&, int const&, mate::Arguments* const&) + 105
18  com.github.electron.framework   0x00000001070c726a base::Callback<void (atom::api::Window*, int, int, mate::Arguments*)>::Run(atom::api::Window* const&, int const&, int const&, mate::Arguments* const&) const + 106
19  com.github.electron.framework   0x00000001070c712e mate::internal::Invoker<mate::internal::IndicesHolder<0ul, 1ul, 2ul, 3ul>, atom::api::Window*, int, int, mate::Arguments*>::DispatchToCallback(base::Callback<void (atom::api::Window*, int, int, mate::Arguments*)>) + 30
20  com.github.electron.framework   0x00000001070c6fe5 mate::internal::Dispatcher<void (atom::api::Window*, int, int, mate::Arguments*)>::DispatchToCallback(v8::FunctionCallbackInfo<v8::Value> const&) + 181
21  libnode.dylib                   0x000000010b58d9f3 v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&)) + 163
22  libnode.dylib                   0x000000010b5b6f3c 0x10b207000 + 3866428
23  libnode.dylib                   0x000000010b5bb001 0x10b207000 + 3883009
  libsystem_pthread.dylib           0x00007fffa1058375 thread_start + 13
@zcbenz zcbenz added the bug label Feb 17, 2016
@stale stale bot added the wontfix label Mar 15, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants