Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ZCash] Detected dangling raw_ptr crash when create ZCash account #42967

Closed
6 tasks
cypt4 opened this issue Dec 18, 2024 · 0 comments · Fixed by brave/brave-core#27062
Closed
6 tasks

[ZCash] Detected dangling raw_ptr crash when create ZCash account #42967

cypt4 opened this issue Dec 18, 2024 · 0 comments · Fixed by brave/brave-core#27062

Comments

@cypt4
Copy link

cypt4 commented Dec 18, 2024

Description

[DanglingSignature]	base::debug::CollectStackTrace()	brave_wallet::(anonymous namespace)::IsKnownAddressTxStreamHandler::OnComplete()	network::(anonymous namespace)::DownloadAsStreamBodyHandler::~DownloadAsStreamBodyHandler()	brave_wallet::(anonymous namespace)::IsKnownAddressTxStreamHandler::OnComplete()

The memory was freed at:
#0 0x7f7525e86ea2 base::debug::CollectStackTrace()
#1 0x7f7525e6388a base::debug::StackTrace::StackTrace()
#2 0x7f7525e8fb66 base::allocator::(anonymous namespace)::DanglingRawPtrDetected()
#3 0x7f7525a9d9a5 partition_alloc::PartitionRoot::FreeInUnknownRoot<>()
#4 0x556fbe854abb brave_wallet::ZCashRpc::OnGetAddressTxResponse()
#5 0x556fbe855bae base::internal::DecayedFunctorTraits<>::Invoke<>()
#6 0x556fbe855b1a base::internal::Invoker<>::RunOnce()
#7 0x556fba129da8 base::OnceCallback<>::Run()
#8 0x556fbe8564a9 base::internal::DecayedFunctorTraits<>::Invoke<>()
#9 0x7f7525d04ff0 base::OnceCallback<>::Run()
#10 0x7f7525dba19d base::TaskAnnotator::RunTaskImpl()
#11 0x7f7525df6f97 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl()
#12 0x7f7525df6464 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork()
#13 0x7f7525df79a5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork()
#14 0x7f7525eaafa4 base::MessagePumpGlib::HandleDispatch()
#15 0x7f7525ead15e base::(anonymous namespace)::WorkSourceDispatch()
#16 0x7f750d02c17d g_main_context_dispatch
#17 0x7f750d02c400 (/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6400.6+0x523ff)
#18 0x7f750d02c4a3 g_main_context_iteration
#19 0x7f7525eab2c1 base::MessagePumpGlib::Run()
#20 0x7f7525df82ef base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run()
#21 0x7f7525d8a13b base::RunLoop::Run()
#22 0x7f751dc68627 content::BrowserMainLoop::RunMainMessageLoop()
#23 0x7f751dc6acf5 content::BrowserMainRunnerImpl::Run()
#24 0x7f751dc644f6 content::BrowserMain()
#25 0x7f751ecf12cb content::RunBrowserProcessMain()
#26 0x7f751ecf3cd8 content::ContentMainRunnerImpl::RunBrowser()
#27 0x7f751ecf33f6 content::ContentMainRunnerImpl::Run()
#28 0x7f751ecefc87 content::RunContentProcess()
#29 0x7f751ecefed2 content::ContentMain()
#30 0x556fba123935 ChromeMain
#31 0x7f750c811083 __libc_start_main
#32 0x556fba12355a _start

Steps to reproduce

Actual result

Expected result

Reproduces how often

Easily reproduced

Brave version (brave://version info)

Channel information

  • release (stable)
  • beta
  • nightly

Reproducibility

  • with Brave Shields disabled
  • with Brave Rewards disabled
  • in the latest version of Chrome

Miscellaneous information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants