Skip to content

0.30.6 - Crash when closing dev tools #2808

Closed

Description

@maxbrunsfeld

I was running specs in Atom, and then closed the dev tools. The main process crashed.

Full output: https://gist.github.com/maxbrunsfeld/5bf32427e37ec67fec23

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

  1. added a commit that references this issue on Sep 17, 2015
  2. maxbrunsfeld commented on Sep 17, 2015

    @maxbrunsfeld
    ContributorAuthor

    🐎 Amazing! Thanks @zcbenz

  3. added a commit that references this issue on May 9, 2017
    ca9a54a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions