Repository navigation
Closed
Description
I was running specs in Atom, and then closed the dev tools. The main process crashed.
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
Thread 0 Crashed:: CrBrowserMain Dispatch queue: com.apple.main-thread
0 Electron Framework 0x000000010e109d11 brightray::InspectableWebContentsImpl::CallClientFunction(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::Value const*, base::Value const*, base::Value const*) + 305
1 Electron Framework 0x000000010e10c48c base::internal::RunnableAdapter<void (brightray::InspectableWebContentsImpl::*)(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::Value const*, base::Value const*, base::Value const*)>::Run(brightray::InspectableWebContentsImpl*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::Value const* const&, base::Value const* const&, base::Value const* const&) + 108
2 Electron Framework 0x000000010e10c353 base::internal::InvokeHelper<true, void, base::internal::RunnableAdapter<void (brightray::InspectableWebContentsImpl::*)(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::Value const*, base::Value const*, base::Value const*)>, base::internal::TypeList<base::WeakPtr<brightray::InspectableWebContentsImpl> const&, char const* const&, base::FundamentalValue*, base::StringValue*, std::nullptr_t const&> >::MakeItSo(base::internal::RunnableAdapter<void (brightray::InspectableWebContentsImpl::*)(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::Value const*, base::Value const*, base::Value const*)>, base::WeakPtr<brightray::InspectableWebContentsImpl> const&, char const* const&, base::FundamentalValue*, base::StringValue*, std::nullptr_t const&) + 163
3 Electron Framework 0x000000010e10c295 base::internal::Invoker<IndexSequence<0ul, 1ul, 2ul, 3ul, 4ul>, base::internal::BindState<base::internal::RunnableAdapter<void (brightray::InspectableWebContentsImpl::*)(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::Value const*, base::Value const*, base::Value const*)>, void (brightray::InspectableWebContentsImpl*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::Value const*, base::Value const*, base::Value const*), base::internal::TypeList<base::WeakPtr<brightray::InspectableWebContentsImpl>, char const*, base::internal::OwnedWrapper<base::FundamentalValue>, base::internal::OwnedWrapper<base::StringValue>, std::nullptr_t> >, base::internal::TypeList<base::internal::UnwrapTraits<base::WeakPtr<brightray::InspectableWebContentsImpl> >, base::internal::UnwrapTraits<char const*>, base::internal::UnwrapTraits<base::internal::OwnedWrapper<base::FundamentalValue> >, base::internal::UnwrapTraits<base::internal::OwnedWrapper<base::StringValue> >, base::internal::UnwrapTraits<std::nullptr_t> >, base::internal::InvokeHelper<true, void, base::internal::RunnableAdapter<void (brightray::InspectableWebContentsImpl::*)(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::Value const*, base::Value const*, base::Value const*)>, base::internal::TypeList<base::WeakPtr<brightray::InspectableWebContentsImpl> const&, char const* const&, base::FundamentalValue*, base::StringValue*, std::nullptr_t const&> >, void ()>::Run(base::internal::BindStateBase*) + 165
4 Electron Framework 0x000000010e16b8b8 base::internal::DstRangeRelationToSrcRangeImpl<int, long, (base::internal::IntegerRepresentation)1, (base::internal::IntegerRepresentation)1, (base::internal::NumericRangeRepresentation)0>::Check(long) + 315976
5 Electron Framework 0x000000010e18794f base::internal::DstRangeRelationToSrcRangeImpl<int, long, (base::internal::IntegerRepresentation)1, (base::internal::IntegerRepresentation)1, (base::internal::NumericRangeRepresentation)0>::Check(long) + 430815
6 Electron Framework 0x000000010e187d36 base::internal::DstRangeRelationToSrcRangeImpl<int, long, (base::internal::IntegerRepresentation)1, (base::internal::IntegerRepresentation)1, (base::internal::NumericRangeRepresentation)0>::Check(long) + 431814
7 Electron Framework 0x000000010e164381 base::internal::DstRangeRelationToSrcRangeImpl<int, long, (base::internal::IntegerRepresentation)1, (base::internal::IntegerRepresentation)1, (base::internal::NumericRangeRepresentation)0>::Check(long) + 285969
8 com.apple.CoreFoundation 0x00007fff8da85a01 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
9 com.apple.CoreFoundation 0x00007fff8da77b8d __CFRunLoopDoSources0 + 269
10 com.apple.CoreFoundation 0x00007fff8da771bf __CFRunLoopRun + 927
11 com.apple.CoreFoundation 0x00007fff8da76bd8 CFRunLoopRunSpecific + 296
12 com.apple.HIToolbox 0x00007fff9b37756f RunCurrentEventLoopInMode + 235
13 com.apple.HIToolbox 0x00007fff9b3772ea ReceiveNextEventCommon + 431
14 com.apple.HIToolbox 0x00007fff9b37712b _BlockUntilNextEventMatchingListInModeWithFilter + 71
15 com.apple.AppKit 0x00007fff8f4a38ab _DPSNextEvent + 978
16 com.apple.AppKit 0x00007fff8f4a2e58 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346
17 com.apple.AppKit 0x00007fff8f498af3 -[NSApplication run] + 594
18 Electron Framework 0x000000010e164a11 base::internal::DstRangeRelationToSrcRangeImpl<int, long, (base::internal::IntegerRepresentation)1, (base::internal::IntegerRepresentation)1, (base::internal::NumericRangeRepresentation)0>::Check(long) + 287649
19 Electron Framework 0x000000010e1641ec base::internal::DstRangeRelationToSrcRangeImpl<int, long, (base::internal::IntegerRepresentation)1, (base::internal::IntegerRepresentation)1, (base::internal::NumericRangeRepresentation)0>::Check(long) + 285564
20 Electron Framework 0x000000010e1960f3 base::internal::DstRangeRelationToSrcRangeImpl<int, long, (base::internal::IntegerRepresentation)1, (base::internal::IntegerRepresentation)1, (base::internal::NumericRangeRepresentation)0>::Check(long) + 490115
21 Electron Framework 0x000000010e6043c1 base::internal::DstRangeRelationToSrcRangeImpl<int, long, (base::internal::IntegerRepresentation)1, (base::internal::IntegerRepresentation)1, (base::internal::NumericRangeRepresentation)0>::Check(long) + 5135697
22 Electron Framework 0x000000010e604325 base::internal::DstRangeRelationToSrcRangeImpl<int, long, (base::internal::IntegerRepresentation)1, (base::internal::IntegerRepresentation)1, (base::internal::NumericRangeRepresentation)0>::Check(long) + 5135541
23 Electron Framework 0x000000010e606922 base::internal::DstRangeRelationToSrcRangeImpl<int, long, (base::internal::IntegerRepresentation)1, (base::internal::IntegerRepresentation)1, (base::internal::NumericRangeRepresentation)0>::Check(long) + 5145266
24 Electron Framework 0x000000010e600a2f base::internal::DstRangeRelationToSrcRangeImpl<int, long, (base::internal::IntegerRepresentation)1, (base::internal::IntegerRepresentation)1, (base::internal::NumericRangeRepresentation)0>::Check(long) + 5120959
25 Electron Framework 0x000000010e59ff52 base::internal::DstRangeRelationToSrcRangeImpl<int, long, (base::internal::IntegerRepresentation)1, (base::internal::IntegerRepresentation)1, (base::internal::NumericRangeRepresentation)0>::Check(long) + 4724962
26 Electron Framework 0x000000010e59f5f6 base::internal::DstRangeRelationToSrcRangeImpl<int, long, (base::internal::IntegerRepresentation)1, (base::internal::IntegerRepresentation)1, (base::internal::NumericRangeRepresentation)0>::Check(long) + 4722566
27 Electron Framework 0x000000010e01e40d AtomMain + 77
28 com.github.atom 0x000000010e015f2a main + 58
29 libdyld.dylib 0x00007fff9b2f25c9 start + 1
Activity
Update brightray for #2808
maxbrunsfeld commentedon Sep 17, 2015
🐎 Amazing! Thanks @zcbenz
Check whether devtools is opened when executing js code