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

Tauri crashes sometimes in uri scheme handler #4464

Open
Simon-Laux opened this issue Jan 9, 2025 · 1 comment
Open

Tauri crashes sometimes in uri scheme handler #4464

Simon-Laux opened this issue Jan 9, 2025 · 1 comment
Labels
bug Something isn't working Runtime: Tauri Issue affecting the tauri runtime specifically
Milestone

Comments

@Simon-Laux
Copy link
Member

custom uri scheme (blobs or webxdc) causes crashs sometimes (i suspect blobs, because device messages contain no webxdc and I didn't notice any webxdc icon mention in log)

OS: MacOS
Steps to reproduce: unknown

Thread 8 Crashed:: tokio-runtime-worker
0   libsystem_kernel.dylib        	       0x1804bf720 __pthread_kill + 8
1   libsystem_pthread.dylib       	       0x1804f7f70 pthread_kill + 288
2   libsystem_c.dylib             	       0x180404908 abort + 128
3   deltachat-tauri               	       0x1091cb9a4 std::sys::pal::unix::abort_internal::h857d2ad66020786f + 12
4   deltachat-tauri               	       0x1091c62c4 std::panicking::rust_panic_with_hook::h7d795911432661cb + 772
5   deltachat-tauri               	       0x1091c5eb4 std::panicking::begin_panic_handler::_$u7b$$u7b$closure$u7d$$u7d$::h36f15310ecbde379 + 104
6   deltachat-tauri               	       0x1091c4fc4 std::sys::backtrace::__rust_end_short_backtrace::heed121414170e0c7 + 12
7   deltachat-tauri               	       0x1091c5b94 rust_begin_unwind + 32
8   deltachat-tauri               	       0x10927a4bc core::panicking::panic_nounwind_fmt::h5d86a478a9d7437c + 52
9   deltachat-tauri               	       0x10927a534 core::panicking::panic_nounwind::he171ad52d328e60b + 60
10  deltachat-tauri               	       0x10927a6ac core::panicking::panic_cannot_unwind::h2dd8cd735765e065 + 24
11  deltachat-tauri               	       0x1059cd854 objc2::exception::try_no_ret::try_objc_execute_closure::hb34f95eee1dc73c7 + 36
12  deltachat-tauri               	       0x105a0a0e4 rust_objc_sys_0_3_try_catch_exception + 36
13  deltachat-tauri               	       0x1059cb5e0 objc2::exception::try_no_ret::hbc7d359c5d05c873 + 164
14  deltachat-tauri               	       0x1059cde8c objc2::exception::catch::h0e9b6a12faad5230 + 80
15  deltachat-tauri               	       0x1059d6368 objc2::runtime::message_receiver::MessageReceiver::send_message::h29b49e000128b712 + 192
16  deltachat-tauri               	       0x1058adb84 objc2::__macro_helpers::msg_send::MsgSend::send_message::ha0cfaed26e9a50a4 + 172
17  deltachat-tauri               	       0x1058ad168 objc2_web_kit::generated::__WKURLSchemeTask::WKURLSchemeTask::didFinish::h71be61789680e3da + 68
18  deltachat-tauri               	       0x1058b67bc wry::wkwebview::class::url_scheme_handler::start_task::_$u7b$$u7b$closure$u7d$$u7d$::response::_$u7b$$u7b$closure$u7d$$u7d$::h7f32235b7f23c95e + 28
19  deltachat-tauri               	       0x1058992a8 core::ops::function::FnOnce::call_once::hf2d668de21e91dbe + 28
20  deltachat-tauri               	       0x105889598 _$LT$core..panic..unwind_safe..AssertUnwindSafe$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$$LP$$RP$$GT$$GT$::call_once::h06f1f4bcb3e57806 + 24
21  deltachat-tauri               	       0x105895114 objc2::exception::catch::_$u7b$$u7b$closure$u7d$$u7d$::hb8984e332e7d1bdf + 28
22  deltachat-tauri               	       0x105892b7c objc2::exception::try_no_ret::try_objc_execute_closure::hbd268f2d63e24063 + 136
23  deltachat-tauri               	       0x105a0a0e4 rust_objc_sys_0_3_try_catch_exception + 36
24  deltachat-tauri               	       0x105891aac objc2::exception::try_no_ret::hcd4defde0b3a100f + 156
25  deltachat-tauri               	       0x105893760 objc2::exception::catch::h647b5b470c9ff7c8 + 72
26  deltachat-tauri               	       0x1058b641c wry::wkwebview::class::url_scheme_handler::start_task::_$u7b$$u7b$closure$u7d$$u7d$::response::ha3c9b122d1115816 + 3504
27  deltachat-tauri               	       0x1058b52d0 wry::wkwebview::class::url_scheme_handler::start_task::_$u7b$$u7b$closure$u7d$$u7d$::h48ae56626f8e47d3 + 208
28  deltachat-tauri               	       0x10589862c core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h7d6231baed138872 + 56
29  deltachat-tauri               	       0x1054f90ec _$LT$alloc..boxed..Box$LT$F$C$A$GT$$u20$as$u20$core..ops..function..FnOnce$LT$Args$GT$$GT$::call_once::h15cc5b43c541c9d8 + 96
30  deltachat-tauri               	       0x104bcbc84 wry::RequestAsyncResponder::respond::h4a85f9813023924b + 356
31  deltachat-tauri               	       0x1054c3948 tauri_runtime_wry::create_webview::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::hfaf8d7e01fcfcfd3 + 32
32  deltachat-tauri               	       0x1051d3718 core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hed8875f916eac0e2 + 64
33  deltachat-tauri               	       0x1054f96f4 _$LT$alloc..boxed..Box$LT$F$C$A$GT$$u20$as$u20$core..ops..function..FnOnce$LT$Args$GT$$GT$::call_once::hccd3aeba0a48c26c + 96
34  deltachat-tauri               	       0x104fe4a18 tauri::app::UriSchemeResponder::respond::ha48cc873c13efeb4 + 356
35  deltachat-tauri               	       0x104ee7c28 deltachat_tauri_lib::blobs::delta_blobs_protocol::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h8f32670101e52671 + 2608
36  deltachat-tauri               	       0x104ee6e9c deltachat_tauri_lib::blobs::delta_blobs_protocol::_$u7b$$u7b$closure$u7d$$u7d$::h020168fe90b353a5 + 352
37  deltachat-tauri               	       0x104db7050 tokio::runtime::task::core::Core$LT$T$C$S$GT$::poll::_$u7b$$u7b$closure$u7d$$u7d$::he0c2530754f8a506 + 108
38  deltachat-tauri               	       0x104d8f510 tokio::runtime::task::core::Core$LT$T$C$S$GT$::poll::h8f903defb19f4e9b + 72
39  deltachat-tauri               	       0x105075c0c tokio::runtime::task::harness::poll_future::_$u7b$$u7b$closure$u7d$$u7d$::h176fe4ae8b838e05 + 64
40  deltachat-tauri               	       0x104cc2030 _$LT$core..panic..unwind_safe..AssertUnwindSafe$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$$LP$$RP$$GT$$GT$::call_once::hae2be8aa3377f1f5 + 44
41  deltachat-tauri               	       0x10564d010 std::panicking::try::do_call::hfe453ee4f27554df + 80
42  deltachat-tauri               	       0x104e9f170 __rust_try + 32
43  deltachat-tauri               	       0x104e36b38 std::panic::catch_unwind::h1b3737fda8531042 + 96
44  deltachat-tauri               	       0x105059dcc tokio::runtime::task::harness::poll_future::ha05ac00445fd000a + 96
45  deltachat-tauri               	       0x1050a3abc tokio::runtime::task::harness::Harness$LT$T$C$S$GT$::poll_inner::h466cb2ff80b9a473 + 160
46  deltachat-tauri               	       0x10510aa98 tokio::runtime::task::harness::Harness$LT$T$C$S$GT$::poll::h13de90e5d0943419 + 28
47  deltachat-tauri               	       0x104f9b300 tokio::runtime::task::raw::poll::hda8aedff160203ee + 36
48  deltachat-tauri               	       0x108e33394 tokio::runtime::task::raw::RawTask::poll::hbd6216656f81b029 + 52
49  deltachat-tauri               	       0x108dde6bc tokio::runtime::task::LocalNotified$LT$S$GT$::run::h979f79c7d5b4c643 + 44
50  deltachat-tauri               	       0x108e0b7d8 tokio::runtime::scheduler::multi_thread::worker::Context::run_task::_$u7b$$u7b$closure$u7d$$u7d$::hb87ac4c061d5e3f5 + 52
51  deltachat-tauri               	       0x108e0b6bc tokio::runtime::scheduler::multi_thread::worker::Context::run_task::h9dc35f9bcb33f4cd + 724
52  deltachat-tauri               	       0x108e0b018 tokio::runtime::scheduler::multi_thread::worker::Context::run::hd7c54e15cb48fbd6 + 544
53  deltachat-tauri               	       0x108e0ad3c tokio::runtime::scheduler::multi_thread::worker::run::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h59c066574cecdcf6 + 104
54  deltachat-tauri               	       0x108e2f900 tokio::runtime::context::scoped::Scoped$LT$T$GT$::set::h45cf7490cc70e0c1 + 148
55  deltachat-tauri               	       0x108df9a90 tokio::runtime::context::set_scheduler::_$u7b$$u7b$closure$u7d$$u7d$::h739334b76e7f1985 + 40
56  deltachat-tauri               	       0x108df4fd0 std::thread::local::LocalKey$LT$T$GT$::try_with::h9dbf57b714d82c09 + 200
57  deltachat-tauri               	       0x108df3f24 std::thread::local::LocalKey$LT$T$GT$::with::hb876d1843c44b895 + 24
58  deltachat-tauri               	       0x108df9a5c tokio::runtime::context::set_scheduler::hec1b2b6b7936c5b0 + 68
59  deltachat-tauri               	       0x108e0ac60 tokio::runtime::scheduler::multi_thread::worker::run::_$u7b$$u7b$closure$u7d$$u7d$::h32e75aa6c534c831 + 264
60  deltachat-tauri               	       0x108e2f4ec tokio::runtime::context::runtime::enter_runtime::ha8dcd96112b477d5 + 208
61  deltachat-tauri               	       0x108e0aab0 tokio::runtime::scheduler::multi_thread::worker::run::h758f0ab0beb0a758 + 564
62  deltachat-tauri               	       0x106616b9c tokio::runtime::scheduler::multi_thread::worker::block_in_place::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h015a553b76577bd3 + 24
63  deltachat-tauri               	       0x10694b030 _$LT$tokio..runtime..blocking..task..BlockingTask$LT$T$GT$$u20$as$u20$core..future..future..Future$GT$::poll::h68dd425e85052d2e + 136
64  deltachat-tauri               	       0x105fca544 tokio::runtime::task::core::Core$LT$T$C$S$GT$::poll::_$u7b$$u7b$closure$u7d$$u7d$::h00530b2b324baaaa + 108
65  deltachat-tauri               	       0x105fb3fa8 tokio::runtime::task::core::Core$LT$T$C$S$GT$::poll::h79a064386a3f8ba5 + 72
66  deltachat-tauri               	       0x105cb8428 tokio::runtime::task::harness::poll_future::_$u7b$$u7b$closure$u7d$$u7d$::ha77868c8417c7263 + 64
67  deltachat-tauri               	       0x1061fe034 _$LT$core..panic..unwind_safe..AssertUnwindSafe$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$$LP$$RP$$GT$$GT$::call_once::h3958797a029d0831 + 44
68  deltachat-tauri               	       0x1064764d8 std::panicking::try::do_call::h859fc470c24c47bb + 80
69  deltachat-tauri               	       0x105edb0fc __rust_try + 32
70  deltachat-tauri               	       0x105ea8360 std::panic::catch_unwind::hac297f8a1849e5fa + 96
71  deltachat-tauri               	       0x105c7d26c tokio::runtime::task::harness::poll_future::h96ecf22bab7b205e + 96
72  deltachat-tauri               	       0x105cefd40 tokio::runtime::task::harness::Harness$LT$T$C$S$GT$::poll_inner::h93f52f40245fa2e9 + 160
73  deltachat-tauri               	       0x105d78d38 tokio::runtime::task::harness::Harness$LT$T$C$S$GT$::poll::hc07fb3bfdb7c34e2 + 28
74  deltachat-tauri               	       0x1069bb8f4 tokio::runtime::task::raw::poll::hb5b4da8e422c0f7a + 36
75  deltachat-tauri               	       0x108e33394 tokio::runtime::task::raw::RawTask::poll::hbd6216656f81b029 + 52
76  deltachat-tauri               	       0x108dde780 tokio::runtime::task::UnownedTask$LT$S$GT$::run::h30c7de2fba621245 + 64
77  deltachat-tauri               	       0x108e34bb0 tokio::runtime::blocking::pool::Task::run::ha7e4e0abdbbfa35f + 28
78  deltachat-tauri               	       0x108e39aa0 tokio::runtime::blocking::pool::Inner::run::hb94110e58ea71a3a + 516
79  deltachat-tauri               	       0x108e39808 tokio::runtime::blocking::pool::Spawner::spawn_thread::_$u7b$$u7b$closure$u7d$$u7d$::h102e5ff6a237db94 + 144
80  deltachat-tauri               	       0x108dfd604 std::sys::backtrace::__rust_begin_short_backtrace::hb1d038cb1d1a7d3a + 16
81  deltachat-tauri               	       0x108dfea30 std::thread::Builder::spawn_unchecked_::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::he3fc905071ff48cc + 40
82  deltachat-tauri               	       0x108dd8960 _$LT$core..panic..unwind_safe..AssertUnwindSafe$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$$LP$$RP$$GT$$GT$::call_once::hf64bcd19e4e006aa + 40
83  deltachat-tauri               	       0x108db740c std::panicking::try::do_call::h3657d8d4d15ed712 + 72
84  deltachat-tauri               	       0x108e043fc __rust_try + 32
85  deltachat-tauri               	       0x108dfe708 std::thread::Builder::spawn_unchecked_::_$u7b$$u7b$closure$u7d$$u7d$::h9ed85b6556f39b2e + 760
86  deltachat-tauri               	       0x108dc7fb4 core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hd1d6a16f86539b71 + 24
87  deltachat-tauri               	       0x1091cb5a0 std::sys::pal::unix::thread::Thread::new::thread_start::h44ebc83f14222f58 + 52
88  libsystem_pthread.dylib       	       0x1804f82e4 _pthread_start + 136
89  libsystem_pthread.dylib       	       0x1804f30fc thread_start + 8
@Simon-Laux
Copy link
Member Author

hasn't happened to me since some time now, if it doesn't happen for a month we will close this issue, if you have the issue please post a comment with your operating system and what you found out (ideally also a stack trace)

@Simon-Laux Simon-Laux changed the title Tauri crashes sometimes Tauri crashes sometimes in uri scheme handler Jan 9, 2025
@Simon-Laux Simon-Laux added bug Something isn't working Runtime: Tauri Issue affecting the tauri runtime specifically labels Jan 9, 2025
@Simon-Laux Simon-Laux added this to the Tauri Project milestone Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Runtime: Tauri Issue affecting the tauri runtime specifically
Projects
None yet
Development

No branches or pull requests

1 participant