Crash in `webtorrent::OnHeadersReceived_TorrentRedirectWork` (0.70.x and older)
See original GitHub issueDescription
Seeing these occasionally and have received some reports via Twitter/reddit.
Seems to be present in 0.68.138 and newer (ex: Chromium 77)
A few examples here: https://stats.brave.com/dashboard#crash/5d8d07059557ce001f950f58 https://stats.brave.com/dashboard#crash/5d8cbe577d65f2001fe6642a https://stats.brave.com/dashboard#crash/5d8d13425b062b001f078863
Call stack looks like this:
0 Brave Browser Framework! [iterator : 1437 + 0x0]
rax = 0xa00007fe5bc4445e rdx = 0x0000000000000004
rcx = 0x000070000d0ba720 rbx = 0x0000000000000008
rsi = 0x000070000d0ba738 rdi = 0x00007fe5b8e8bcc0
rbp = 0x000070000d0ba710 rsp = 0x000070000d0ba6d0
r8 = 0x0000000000000004 r9 = 0x000070000d0baa30
r10 = 0x00007fe5ba200000 r11 = 0xfffff01a4fb205e0
r12 = 0x000070000d0ba740 r13 = 0x00007fe5b8e8bcc0
r14 = 0x0000000000000000 r15 = 0x000070000d0ba738
rip = 0x0000000107c10816
Found by: given as instruction pointer in context
1 Brave Browser Framework! [http_response_headers.cc : 888 + 0x8]
rbp = 0x000070000d0ba7a0 rsp = 0x000070000d0ba720
rip = 0x0000000107c10fac
Found by: previous frame's frame pointer
2 Brave Browser Framework! [http_response_headers.cc : 895 + 0x5]
rbp = 0x000070000d0ba7e0 rsp = 0x000070000d0ba7b0
rip = 0x0000000107c11066
Found by: previous frame's frame pointer
3 Brave Browser Framework!webtorrent::OnHeadersReceived_TorrentRedirectWork(net::HttpResponseHeaders const*, scoped_refptr*, GURL*, base::RepeatingCallback const&, std::__1::shared_ptr) [brave_torrent_redirect_network_delegate_helper.cc : 46 + 0x8]
rbp = 0x000070000d0ba950 rsp = 0x000070000d0ba7f0
rip = 0x000000010609f182
Found by: previous frame's frame pointer
4 Brave Browser Framework!base::internal::Invoker*, GURL*, base::RepeatingCallback const&, std::__1::shared_ptr)>, int (net::HttpResponseHeaders const*, scoped_refptr*, GURL*, base::RepeatingCallback const&, std::__1::shared_ptr)>::Run(base::internal::BindStateBase*, net::HttpResponseHeaders const*, scoped_refptr*, GURL*, base::RepeatingCallback const&, std::__1::shared_ptr&&) [bind_internal.h : 399 + 0xe]
rbp = 0x000070000d0ba980 rsp = 0x000070000d0ba960
rip = 0x0000000106097a0b
Found by: previous frame's frame pointer
5 Brave Browser Framework! [callback.h : 132 + 0xa]
rbp = 0x000070000d0baa90 rsp = 0x000070000d0ba990
rip = 0x0000000106096665
Found by: previous frame's frame pointer
6 Brave Browser Framework!base::internal::Invoker), base::WeakPtr, std::__1::shared_ptr >, void ()>::Run(base::internal::BindStateBase*) [bind_internal.h : 499 + 0x3]
rbp = 0x000070000d0baad0 rsp = 0x000070000d0baaa0
rip = 0x0000000106097deb
Found by: previous frame's frame pointer
7 Brave Browser Framework! [callback.h : 98 + 0x3]
rbp = 0x000070000d0bab80 rsp = 0x000070000d0baae0
rip = 0x00000001075c7aaf
Found by: previous frame's frame pointer
8 Brave Browser Framework!base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) [thread_controller_with_message_pump_impl.cc : 365 + 0x13]
rbp = 0x000070000d0bace0 rsp = 0x000070000d0bab90
rip = 0x00000001075d769d
Found by: previous frame's frame pointer
<SNIP>
Steps to Reproduce
?
Brave version (brave://version info)
0.68.138 and newer for sure. Possibly before that. I am suspecting network service related changes
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Older Adult Drivers | Transportation Safety | Injury Center - CDC
But the risk of being injured or killed in a traffic crash increases as people age. Thankfully, older adults can take steps to...
Read more >Use Crash Detection on iPhone or Apple Watch to call for help ...
If your iPhone or Apple Watch detects a severe car crash, your device can help connect you to emergency services.
Read more >Older people - IIHS
Per mile traveled, fatal crash rates increase noticeably starting at age 70-74 and are highest among drivers 85 and older. The increased fatal...
Read more >On the Fatal Crash Experience of Older Drivers - PMC - NCBI
Several witnesses stated that the driver then backed up and struck the house two more times, and died 6 days later from unknown...
Read more >Crash reports and records - Texas Department of Transportation
TxDOT collects crash reports from Texas law enforcement agencies for crashes occurring on public roadways and the state highway system. The state retention ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed in 0.70.x with https://github.com/brave/brave-core/pull/3632
Fixed in 0.69.x with https://github.com/brave/brave-core/pull/3614