Skip to content
This repository has been archived by the owner. It is now read-only.

repeated crasher #11604

Closed
tbates opened this issue Oct 19, 2017 · 28 comments
Closed

repeated crasher #11604

tbates opened this issue Oct 19, 2017 · 28 comments

Comments

@tbates
Copy link

@tbates tbates commented Oct 19, 2017

Test plan

Ensure browser doesn't crash after launch and doesn't crash while using

Description

repeated crashes

Steps to Reproduce

seems several events can cause it

Actual result:
app crashes unexpectedly

Expected result:
works :-)

Reproduces how often: [What percentage of the time does it reproduce?]
3 crashes in 1-hour

Brave Version

about:brave info:

Brave: 0.19.58
rev: fe749c5
Muon: 4.5.4
libchromiumcontent: 62.0.3202.38
V8: 6.2.414.23
Node.js: 7.9.0
Update Channel: Beta
OS Platform: macOS
OS Release: 17.2.0
OS Architecture: x64

Reproducible on current live release:
imagine not

Additional Information

none: can forward a crash log on request

@NejcZdovc
Copy link
Member

@NejcZdovc NejcZdovc commented Oct 19, 2017

another report from rocketchat

image

@NejcZdovc
Copy link
Member

@NejcZdovc NejcZdovc commented Oct 19, 2017

+1 from #3106 (comment)

@LaurenWags
Copy link

@LaurenWags LaurenWags commented Oct 19, 2017

@tbates do you recall any specific actions you were taking? detaching/reattaching tabs, clicking on notifications, anything like that?

@tbates
Copy link
Author

@tbates tbates commented Oct 19, 2017

@LaurenWags
Copy link

@LaurenWags LaurenWags commented Oct 19, 2017

Thanks for the information @tbates - continuing to investigate.

@capouch
Copy link

@capouch capouch commented Oct 19, 2017

I have had many crashes the past several days, and haven't been able to detect a pattern. Just 'poof" and the browser is gone.

@LaurenWags
Copy link

@LaurenWags LaurenWags commented Oct 19, 2017

what is your version @capouch ?

@capouch
Copy link

@capouch capouch commented Oct 19, 2017

Currently on 0.19.58, and comically, it crashed two seconds after I posted the comment, as I stared idly at the screen. The first one happened with the recent release with the "developer" tag in the name, and has continued with each version since then.

@srirambv
Copy link
Collaborator

@srirambv srirambv commented Oct 19, 2017

Just a note. Haven't seen any crash on Windows with 0.19.58

@alexwykoff
Copy link
Contributor

@alexwykoff alexwykoff commented Oct 19, 2017

I've had 2 on macOS Sierra 10.12.6

0.19.58 (fe749c5)
Process: Brave [70608]
Path: /Users/USER/*/Brave.app/Contents/MacOS/Brave
Identifier: com.electron.brave
Version: 0.19.58 (4.5.4)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Brave [70608]
User ID: 501

Date/Time: 2017-10-19 15:08:59.557 -0500
OS Version: Mac OS X 10.12.6 (16G29)
Report Version: 12
Anonymous UUID: 8BB0C4CB-F19C-37F5-DD78-14582475FF2A

Sleep/Wake UUID: B90279CA-CB16-4B9B-9C85-2DE3B58F69F8

Time Awake Since Boot: 600000 seconds
Time Since Wake: 19000 seconds

System Integrity Protection: enabled

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

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

Edited out by @bridiver for easier scrolling :)

@nwilson1412
Copy link

@nwilson1412 nwilson1412 commented Oct 20, 2017

Hi, I'm on Windows 10, currently having the same issue. Seems to be random.

@capouch
Copy link

@capouch capouch commented Oct 20, 2017

I downgraded to 0.19.53 and have been running without a crash for hours.
Environment is Linux Slackware-current (14.2) 64bit running on an i7 as a VirtualBox guest.

@luixxiul luixxiul added the crash label Oct 20, 2017
@higzac
Copy link

@higzac higzac commented Oct 20, 2017

Have been having this issue all day. Currently experiencing crashes every few minutes using https://bittrex.com/ - https://www.coinigy.com/main/marketwatch

Im on the preview build, have metamask plugin enabled.

0.19.58
rev | fe749c5

Never had crashes before

@srirambv
Copy link
Collaborator

@srirambv srirambv commented Oct 20, 2017

@higzac is that on mac or Windows?

@higzac
Copy link

@higzac higzac commented Oct 20, 2017

@srirambv Windows 10

@rotational467
Copy link

@rotational467 rotational467 commented Oct 20, 2017

I am seeing this as well on Windows 10. In my case, the browser is crashing while idle. I thought I was losing my mind because I'd go back to the browser after some time and see it closed, so it's crashing silently and unnoticed while I'm working in another application. Nothing in the Windows event logs. Accepted update to 0.19.58 yesterday when prompted. Beta branch has been (relatively) crash-free for me until now.

I've also noticed an annoying behavior sometimes when restarting from the crash - my pinned tabs will never load and are not selectable. Also if I open a new tab, it opens with no tab label and is not selectable. Closing and re-opening Brave only works if I try to open a new tab first...if it's just the pinned tabs not loading, closing/re-opening does not help. Using an existing functional tab to navigate to Preferences and turning off "Show my tabs/etc from last time" also works but is far more annoying.

@LaurenWags
Copy link

@LaurenWags LaurenWags commented Oct 20, 2017

Reproduced a Crash on 0.19.58 - Left Brave open all night while my MacOS was asleep. Came back in the morning, opened a twitter link from Slack (App). The twitter link did open in a new window (not tab) within Brave. It was when I closed that new window that Brave crashed.
Update: Crash 2 occurred when Brave was idle for a bit. I wasn't using it when it crashed on me.

@higzac
Copy link

@higzac higzac commented Oct 20, 2017

I'm getting this crash constantly now. If I run https://bittrex.com/ it happens within minutes.
Running on windows 10
Tried disabling metamask. had no effect. The crash still happens.

@bridiver
Copy link
Collaborator

@bridiver bridiver commented Oct 20, 2017

fyi @alexwykoff the crash reports aren't useful if they don't have symbols. They are in stats, but @aekeus is updating now for the symbols

@rotational467
Copy link

@rotational467 rotational467 commented Oct 20, 2017

I can supply the debug.log file from my Win10 machine where this is happening regularly if that would be of any value....it's definitely recording these events.

@darkdh
Copy link
Member

@darkdh darkdh commented Oct 20, 2017

Operating system: Mac OS X
                  10.12.6 16G29
CPU: amd64
     family 6 model 94 stepping 3
     8 CPUs

GPU: UNKNOWN

Crash reason:  EXC_BAD_ACCESS / KERN_INVALID_ADDRESS
Crash address: 0x0
Process uptime: 458 seconds

Thread 0 (crashed)
 0  Brave Framework!ukm::UkmInterface::AddEntry(mojo::StructPtr<ukm::mojom::UkmEntry>) [ukm_interface.cc : 34 + 0x0]
    rax = 0x0000000000000065   rdx = 0x0000000000000005
    rcx = 0x0000610001441530   rbx = 0x00007fff5756f478
    rsi = 0x0000000000000065   rdi = 0x0000000000000000
    rbp = 0x00007fff5756f420   rsp = 0x00007fff5756f400
     r8 = 0x00007fba711f5078    r9 = 0x0000000000000001
    r10 = 0x0000000000000000   r11 = 0x00007fff5756f460
    r12 = 0x00007fff5756f430   r13 = 0x0000000000000000
    r14 = 0x0000600000a21360   r15 = 0x00007fba711f5070
    rip = 0x000000010c689aaa
    Found by: given as instruction pointer in context
 1  Brave Framework!ukm::mojom::UkmRecorderInterfaceStubDispatch::Accept(ukm::mojom::UkmRecorderInterface*, mojo::Message*) [ukm_interface.mojom.cc : 176 + 0x5]
    rbp = 0x00007fff5756f4c0   rsp = 0x00007fff5756f430
    rip = 0x000000010b603938
    Found by: previous frame's frame pointer
 2  Brave Framework!mojo::internal::MultiplexRouter::ProcessIncomingMessage(mojo::internal::MultiplexRouter::MessageWrapper*, mojo::internal::MultiplexRouter::ClientCallBehavior, base::SequencedTaskRunner*) [multiplex_router.cc : 872 + 0x8]
    rbp = 0x00007fff5756f560   rsp = 0x00007fff5756f4d0
    rip = 0x000000010cae1599
    Found by: previous frame's frame pointer
 3  Brave Framework!mojo::internal::MultiplexRouter::Accept(mojo::Message*) [multiplex_router.cc : 599 + 0xb]
    rbp = 0x00007fff5756f6e0   rsp = 0x00007fff5756f570
    rip = 0x000000010cae0ef7
    Found by: previous frame's frame pointer
 4  Brave Framework!mojo::Connector::ReadSingleMessage(unsigned int*) [connector.cc : 440 + 0xd]
    rbp = 0x00007fff5756f7f0   rsp = 0x00007fff5756f6f0
    rip = 0x000000010cad99dd
    Found by: previous frame's frame pointer
 5  Brave Framework!mojo::Connector::ReadAllAvailableMessages() [connector.cc : 469 + 0xb]
    rbp = 0x00007fff5756f840   rsp = 0x00007fff5756f800
    rip = 0x000000010cada011
    Found by: previous frame's frame pointer
 6  Brave Framework!mojo::SimpleWatcher::DiscardReadyState(base::RepeatingCallback<void (unsigned int)> const&, unsigned int, mojo::HandleSignalsState const&) [callback.h : 92 + 0x3]
    rbp = 0x00007fff5756f860   rsp = 0x00007fff5756f850
    rip = 0x000000010b603405
    Found by: previous frame's frame pointer
 7  Brave Framework!<name omitted> [callback.h : 92 + 0x6]
    rbp = 0x00007fff5756f8c0   rsp = 0x00007fff5756f870
    rip = 0x000000010cae8507
    Found by: previous frame's frame pointer
 8  Brave Framework!<name omitted> [callback.h : 64 + 0x3]
    rbp = 0x00007fff5756fa10   rsp = 0x00007fff5756f8d0
    rip = 0x000000010c9ab964
    Found by: previous frame's frame pointer
 9  Brave Framework!base::MessageLoop::RunTask(base::PendingTask*) [message_loop.cc : 406 + 0xf]
    rbp = 0x00007fff5756fad0   rsp = 0x00007fff5756fa20
    rip = 0x000000010c9cf13b
    Found by: previous frame's frame pointer
10  Brave Framework!base::MessageLoop::DoWork() [message_loop.cc : 417 + 0xb]
    rbp = 0x00007fff5756fc70   rsp = 0x00007fff5756fae0
    rip = 0x000000010c9cf7eb
    Found by: previous frame's frame pointer
11  Brave Framework!base::MessagePumpCFRunLoopBase::RunWork() [message_pump_mac.mm : 421 + 0x6]
    rbp = 0x00007fff5756fca0   rsp = 0x00007fff5756fc80
    rip = 0x000000010c9d20ba
    Found by: previous frame's frame pointer
12  Brave Framework!base::mac::CallWithEHFrame(void () block_pointer) + 0xa
    rbp = 0x00007fff5756fcb0   rsp = 0x00007fff5756fcb0
    rip = 0x000000010c9c3cea
    Found by: previous frame's frame pointer
13  Brave Framework!base::MessagePumpCFRunLoopBase::RunWorkSource(void*) [message_pump_mac.mm : 397 + 0x5]
    rbp = 0x00007fff5756fcf0   rsp = 0x00007fff5756fcc0
    rip = 0x000000010c9d19af
    Found by: previous frame's frame pointer
14  CoreFoundation + 0xa7321
    rbp = 0x00007fff5756fd00   rsp = 0x00007fff5756fd00
    rip = 0x00007fff9bd0e321
    Found by: previous frame's frame pointer
15  CoreFoundation + 0x8821d
    rbp = 0x00007fff5756fd60   rsp = 0x00007fff5756fd10
    rip = 0x00007fff9bcef21d
    Found by: previous frame's frame pointer
16  CoreFoundation + 0x87716
    rbp = 0x00007fff57570a50   rsp = 0x00007fff5756fd70
    rip = 0x00007fff9bcee716
    Found by: previous frame's frame pointer
17  CoreFoundation + 0x87114
    rbp = 0x00007fff57570ae0   rsp = 0x00007fff57570a60
    rip = 0x00007fff9bcee114
    Found by: previous frame's frame pointer
18  HIToolbox + 0x30ebc
    rbp = 0x00007fff57570b20   rsp = 0x00007fff57570af0
    rip = 0x00007fff9b24eebc
    Found by: previous frame's frame pointer
19  HIToolbox + 0x30cf1
    rbp = 0x00007fff57570ba0   rsp = 0x00007fff57570b30
    rip = 0x00007fff9b24ecf1
    Found by: previous frame's frame pointer
20  HIToolbox + 0x30b26
    rbp = 0x00007fff57570bc0   rsp = 0x00007fff57570bb0
    rip = 0x00007fff9b24eb26
    Found by: previous frame's frame pointer
21  AppKit + 0x46a54
    rbp = 0x00007fff57570fe0   rsp = 0x00007fff57570bd0
    rip = 0x00007fff997e7a54
    Found by: previous frame's frame pointer
22  AppKit + 0x7c27ee
    rbp = 0x00007fff57571290   rsp = 0x00007fff57570ff0
    rip = 0x00007fff99f637ee
    Found by: previous frame's frame pointer
23  AppKit + 0x3b3db
    rbp = 0x00007fff57571380   rsp = 0x00007fff575712a0
    rip = 0x00007fff997dc3db
    Found by: previous frame's frame pointer
24  Brave Framework!base::MessagePumpNSApplication::DoRun(base::MessagePump::Delegate*) [message_pump_mac.mm : 749 + 0xd]
    rbp = 0x00007fff575713e0   rsp = 0x00007fff57571390
    rip = 0x000000010c9d28ee
    Found by: previous frame's frame pointer
25  Brave Framework!base::MessagePumpCFRunLoopBase::Run(base::MessagePump::Delegate*) [message_pump_mac.mm : 141 + 0xc]
    rbp = 0x00007fff57571410   rsp = 0x00007fff575713f0
    rip = 0x000000010c9d128c
    Found by: previous frame's frame pointer
26  Brave Framework!<name omitted> [run_loop.cc : 123 + 0x5]
    rbp = 0x00007fff575714a0   rsp = 0x00007fff57571420
    rip = 0x000000010c9edd23
    Found by: previous frame's frame pointer
27  Brave Framework!content::BrowserMainLoop::MainMessageLoopRun() [browser_main_loop.cc : 1739 + 0x8]
    rbp = 0x00007fff57571510   rsp = 0x00007fff575714b0
    rip = 0x000000010c0ad4a1
    Found by: previous frame's frame pointer
28  Brave Framework!content::BrowserMainLoop::RunMainMessageLoopParts() [browser_main_loop.cc : 1199 + 0x8]
    rbp = 0x00007fff57571540   rsp = 0x00007fff57571520
    rip = 0x000000010c0ad2c0
    Found by: previous frame's frame pointer
29  Brave Framework!content::BrowserMainRunnerImpl::Run() [browser_main_runner.cc : 152 + 0x5]
    rbp = 0x00007fff57571560   rsp = 0x00007fff57571550
    rip = 0x000000010c0af8a2
    Found by: previous frame's frame pointer
30  Brave Framework!content::BrowserMain(content::MainFunctionParams const&) [browser_main.cc : 46 + 0x9]
    rbp = 0x00007fff57571590   rsp = 0x00007fff57571570
    rip = 0x000000010c0a920c
    Found by: previous frame's frame pointer
31  Brave Framework!content::ContentMainRunnerImpl::Run() [content_main_runner.cc : 709 + 0x8]
    rbp = 0x00007fff57571610   rsp = 0x00007fff575715a0
    rip = 0x000000010c9a317e
    Found by: previous frame's frame pointer
32  Brave Framework!service_manager::Main(service_manager::MainParams const&) [main.cc : 469 + 0xa]
    rbp = 0x00007fff57571ab0   rsp = 0x00007fff57571620
    rip = 0x000000010de5e730
    Found by: previous frame's frame pointer
33  Brave Framework!content::ContentMain(content::ContentMainParams const&) [content_main.cc : 19 + 0x8]
    rbp = 0x00007fff57571b30   rsp = 0x00007fff57571ac0
    rip = 0x000000010c9a2734
    Found by: previous frame's frame pointer
34  Brave Framework!ChromeMain [atom_main.cc : 200 + 0x5]
    rbp = 0x00007fff57571c30   rsp = 0x00007fff57571b40
    rip = 0x000000010b260ccd
    Found by: previous frame's frame pointer
35  Brave!main [chrome_exe_main_mac.c : 85 + 0x8]
    rbp = 0x00007fff57571c80   rsp = 0x00007fff57571c40
    rip = 0x000000010868edba
    Found by: previous frame's frame pointer
36  libdyld.dylib + 0x5235
    rbp = 0x00007fff57571c98   rsp = 0x00007fff57571c90
    rip = 0x00007fffb1476235
    Found by: previous frame's frame pointer
37  libdyld.dylib + 0x5235
    rbp = 0x00007fff57571c98   rsp = 0x00007fff57571c98
    rip = 0x00007fffb1476235
    Found by: stack scanning

This is what I saw. @bsclifton has the same stack either

@garyschulte
Copy link

@garyschulte garyschulte commented Oct 21, 2017

same. it is segfaulting so much now that I am having to switch back to firefox for now.

crash details on osx:

Process:               Brave [64014]
Path:                  /Applications/Brave.app/Contents/MacOS/Brave
Identifier:            com.electron.brave
Version:               0.19.58 (4.5.4)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Brave [64014]
User ID:               501

Date/Time:             2017-10-20 20:51:29.833 -0700
OS Version:            Mac OS X 10.12.6 (16G29)
Report Version:        12
Anonymous UUID:        8A7F31C8-6E93-3BAC-789E-5A20D8BC60A7

Sleep/Wake UUID:       92B77952-2791-475D-B30F-D164A4B78004

Time Awake Since Boot: 26000 seconds
Time Since Wake:       1000 seconds

System Integrity Protection: enabled

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

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

(Edited out stack non-symbolized stack trace)
@luixxiul
Copy link
Contributor

@luixxiul luixxiul commented Oct 21, 2017

bridiver added a commit to brave/muon that referenced this issue Oct 21, 2017
@bridiver bridiver mentioned this issue Oct 21, 2017
@darkdh
Copy link
Member

@darkdh darkdh commented Oct 21, 2017

fixed by brave/muon#351

@srirambv
Copy link
Collaborator

@srirambv srirambv commented Oct 22, 2017

Seeing crash on Windows when any extension is enabled. Disabling it stops the crash for a while but shows similar error when launching browser again.
Console log when launching the browser

$ An uncaught exception occurred in the main process Uncaught Exception:
undefined: undefined
[1022/155152.627:ERROR:process_info.cc(632)] range at 0xeaa5492c00000000, size 0x1af fully unreadable
[1022/155152.627:ERROR:process_info.cc(632)] range at 0xeaa5494c00000000, size 0x1af fully unreadable
[1022/155152.627:ERROR:process_info.cc(632)] range at 0x0, size 0x1af fully unreadable
Waiting 60 seconds for process to load
Error: unrecognized flag --icu_case_mapping
Try --help for options
[1022/155908.499:ERROR:process_info.cc(632)] range at 0xeaa5492c00000000, size 0x1af fully unreadable
[1022/155908.499:ERROR:process_info.cc(632)] range at 0xeaa5494c00000000, size 0x1af fully unreadable
[1022/155908.499:ERROR:process_info.cc(632)] range at 0x0, size 0x1af fully unreadable

@jamesray1
Copy link

@jamesray1 jamesray1 commented Oct 22, 2017

+1 has happened twice since updated to the latest release on Windows 10 minutes ago.

Brave: 0.19.58
rev: fe749c5
Muon: 4.5.4
libchromiumcontent: 62.0.3202.38
V8: 6.2.414.23
Node.js: 7.9.0
Update Channel: Beta
OS Platform: Microsoft Windows
OS Release: 10.0.15063
OS Architecture: x64

Lastpass is enabled.

Crashes still occurred after disabling it.

For the last crash I was just scrolling down a page on Github when it crashed. It seems to be pretty random.

@hugobuddel
Copy link
Contributor

@hugobuddel hugobuddel commented Oct 23, 2017

How can we create crash logs to debug such crashes ourselves? Currently on Windows, brave 0.19.58.

"AppData\Local\Temp\Brave Developer Crashes" only had old information and is now removed entirely.

@BrendanEich
Copy link
Member

@BrendanEich BrendanEich commented Oct 23, 2017

Cc: @aekeus to help answer q in last comment. Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
You can’t perform that action at this time.