rust-lang / rustc_codegen_cranelift

Cranelift based backend for rustc
Apache License 2.0
1.63k stars 101 forks source link

Veloren not working #779

Closed bjorn3 closed 4 years ago

bjorn3 commented 5 years ago

https://gitlab.com/veloren/veloren/

When built using the wip_tls_support branch of cg_clif multiple veloren binaries crash:

veloren-voxygen panics with calledResult::unwrap()on anErrvalue: \"Not a valid MagicaVoxel .vox file\" when starting:

``` (lldb) bt all * thread #1, name = 'veloren-voxygen', stop reason = signal SIGABRT * frame #0: 0x00007ffff700c7bb libc.so.6`__GI_raise(sig=6) at raise.c:51 frame #1: 0x00007ffff6ff7535 libc.so.6`__GI_abort at abort.c:79 frame #2: 0x000055555b61ee59 veloren-voxygen`std::sys::unix::abort_internal::h3c561e0f525306a1 at mod.rs:155 frame #3: 0x000055555b6e4710 veloren-voxygen`std::process::abort::h6e5abd3a96648309 at process.rs:1575 frame #4: 0x0000555557c583df veloren-voxygen`_$LT$glib..source..CallbackGuard$u20$as$u20$core..ops..drop..Drop$GT$::drop::h1e8ecbb4a36c4975 at source.rs:82 frame #5: 0x00005555566586fd veloren-voxygen`core::ptr::real_drop_in_place::h8a0703d3b8753957 at mod.rs:175 frame #6: 0x00005555566546fe veloren-voxygen`gtk::auto::dialog::response_trampoline::hb4992ed322c6a6a6 at dialog.rs:237 frame #7: 0x00007ffff7414e0e libgobject-2.0.so.0`g_cclosure_marshal_VOID__BOOLEANv + 94 frame #8: 0x00007ffff7412ec6 libgobject-2.0.so.0`___lldb_unnamed_symbol81$$libgobject-2.0.so.0 + 438 frame #9: 0x00007ffff742f38d libgobject-2.0.so.0`g_signal_emit_valist + 3677 frame #10: 0x00007ffff742f97f libgobject-2.0.so.0`g_signal_emit + 143 frame #11: 0x00007ffff7412ec6 libgobject-2.0.so.0`___lldb_unnamed_symbol81$$libgobject-2.0.so.0 + 438 frame #12: 0x00007ffff742f38d libgobject-2.0.so.0`g_signal_emit_valist + 3677 frame #13: 0x00007ffff742f97f libgobject-2.0.so.0`g_signal_emit + 143 frame #14: 0x00007ffff79d49dd libgtk-3.so.0`___lldb_unnamed_symbol2783$$libgtk-3.so.0 + 61 frame #15: 0x00007ffff79d4a45 libgtk-3.so.0`___lldb_unnamed_symbol2785$$libgtk-3.so.0 + 69 frame #16: 0x00007ffff7412ec6 libgobject-2.0.so.0`___lldb_unnamed_symbol81$$libgobject-2.0.so.0 + 438 frame #17: 0x00007ffff742f38d libgobject-2.0.so.0`g_signal_emit_valist + 3677 frame #18: 0x00007ffff742f97f libgobject-2.0.so.0`g_signal_emit + 143 frame #19: 0x00007ffff79d2f50 libgtk-3.so.0`___lldb_unnamed_symbol2753$$libgtk-3.so.0 + 32 frame #20: 0x00007ffff567c8ee libffi.so.6`ffi_call_unix64 + 76 frame #21: 0x00007ffff567c2bf libffi.so.6`ffi_call + 559 frame #22: 0x00007ffff7413906 libgobject-2.0.so.0`g_cclosure_marshal_generic_va + 790 frame #23: 0x00007ffff7412ec6 libgobject-2.0.so.0`___lldb_unnamed_symbol81$$libgobject-2.0.so.0 + 438 frame #24: 0x00007ffff742f38d libgobject-2.0.so.0`g_signal_emit_valist + 3677 frame #25: 0x00007ffff742f97f libgobject-2.0.so.0`g_signal_emit + 143 frame #26: 0x00007ffff7a972e4 libgtk-3.so.0`___lldb_unnamed_symbol5943$$libgtk-3.so.0 + 164 frame #27: 0x00007ffff7415d02 libgobject-2.0.so.0`g_cclosure_marshal_VOID__BOXEDv + 146 frame #28: 0x00007ffff7412ec6 libgobject-2.0.so.0`___lldb_unnamed_symbol81$$libgobject-2.0.so.0 + 438 frame #29: 0x00007ffff742f38d libgobject-2.0.so.0`g_signal_emit_valist + 3677 frame #30: 0x00007ffff742f97f libgobject-2.0.so.0`g_signal_emit + 143 frame #31: 0x00007ffff7a944c2 libgtk-3.so.0`___lldb_unnamed_symbol5903$$libgtk-3.so.0 + 130 frame #32: 0x00007ffff7a95a8b libgtk-3.so.0`___lldb_unnamed_symbol5910$$libgtk-3.so.0 + 667 frame #33: 0x00007ffff7a98886 libgtk-3.so.0`___lldb_unnamed_symbol5970$$libgtk-3.so.0 + 326 frame #34: 0x00007ffff7a6144c libgtk-3.so.0`gtk_event_controller_handle_event + 108 frame #35: 0x00007ffff7c1b07b libgtk-3.so.0`___lldb_unnamed_symbol10352$$libgtk-3.so.0 + 187 frame #36: 0x00007ffff7c6f274 libgtk-3.so.0`___lldb_unnamed_symbol11269$$libgtk-3.so.0 + 164 frame #37: 0x00007ffff7412ec6 libgobject-2.0.so.0`___lldb_unnamed_symbol81$$libgobject-2.0.so.0 + 438 frame #38: 0x00007ffff742ed74 libgobject-2.0.so.0`g_signal_emit_valist + 2116 frame #39: 0x00007ffff742f97f libgobject-2.0.so.0`g_signal_emit + 143 frame #40: 0x00007ffff7c1d324 libgtk-3.so.0`___lldb_unnamed_symbol10404$$libgtk-3.so.0 + 228 frame #41: 0x00007ffff7add976 libgtk-3.so.0`___lldb_unnamed_symbol6825$$libgtk-3.so.0 + 342 frame #42: 0x00007ffff7adfa83 libgtk-3.so.0`gtk_main_do_event + 2099 frame #43: 0x00007ffff77e1465 libgdk-3.so.0`___lldb_unnamed_symbol152$$libgdk-3.so.0 + 37 frame #44: 0x00007ffff7812112 libgdk-3.so.0`___lldb_unnamed_symbol664$$libgdk-3.so.0 + 34 frame #45: 0x00007ffff7330f2e libglib-2.0.so.0`g_main_context_dispatch + 686 frame #46: 0x00007ffff73311c8 libglib-2.0.so.0`___lldb_unnamed_symbol193$$libglib-2.0.so.0 + 520 frame #47: 0x00007ffff73314c2 libglib-2.0.so.0`g_main_loop_run + 178 frame #48: 0x00007ffff7adeb15 libgtk-3.so.0`gtk_main + 117 frame #49: 0x00005555566ce4ac veloren-voxygen`gtk::auto::functions::main::h232a6c8ee585e241 at functions.rs:273 frame #50: 0x000055555665411f veloren-voxygen`msgbox::linux::create::h3645048fd9dcbfe3 at linux.rs:36 frame #51: 0x000055555647f0e4 veloren-voxygen`veloren_voxygen::main::_$u7b$$u7b$closure$u7d$$u7d$::hf84c584f0dfddd93 at main.rs:201 frame #52: 0x000055555b5eb92c veloren-voxygen`std::panicking::rust_panic_with_hook::h249913043eb53ba0 at panicking.rs:468 frame #53: 0x000055555b7459b0 veloren-voxygen`std::panicking::continue_panic_fmt::hdb53a99664f4b94e at panicking.rs:373 frame #54: 0x000055555b675fa5 veloren-voxygen`rust_begin_unwind at panicking.rs:302 frame #55: 0x000055555b8682a7 veloren-voxygen`core::panicking::panic_fmt::hcd7bd0621cfdf6fe at panicking.rs:139 frame #56: 0x000055555b872a98 veloren-voxygen`core::result::unwrap_failed::h0d0f88cd211c6473 at macros.rs:52 frame #57: 0x000055555a43a391 veloren-voxygen`core::result::Result$LT$T$C$E$GT$::unwrap::h9173ec8e23e52ecf at result.rs:933 frame #58: 0x000055555a3f8258 veloren-voxygen`_$LT$dot_vox..dot_vox_data..DotVoxData$u20$as$u20$veloren_common..assets..Asset$GT$::parse::h134f289620ac9794 at mod.rs:120 frame #59: 0x0000555556099ad7 veloren-voxygen`veloren_common::assets::load_map::h97e660f7d8357686 at mod.rs:66 frame #60: 0x000055555599aa2e veloren-voxygen`veloren_common::assets::load::h6ee7d88052e65084 at mod.rs:83 frame #61: 0x000055555622225f veloren-voxygen`_$LT$veloren_voxygen..ui..img_ids..VoxelGraphic$u20$as$u20$veloren_voxygen..ui..img_ids..GraphicCreator$GT$::new_graphic::hdf8a0d3e36837d52 at img_ids.rs:34 frame #62: 0x0000555555a80ac6 veloren-voxygen`veloren_voxygen::menu::main::ui::Imgs::load::h92c1e3160298ee0f at img_ids.rs:90 frame #63: 0x00005555562bff2c veloren-voxygen`veloren_voxygen::menu::main::ui::MainMenuUi::new::ha80cd3d73f6eecf5 at ui.rs:128 frame #64: 0x00005555561e8146 veloren-voxygen`veloren_voxygen::menu::main::MainMenuState::new::hb02cc48ea8ecdd9c at mod.rs:22 frame #65: 0x0000555555db37ed veloren-voxygen`veloren_voxygen::main::h8b7bd253ee479155 at main.rs:216 frame #66: 0x0000555555dca81f veloren-voxygen`std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::h9f023f8685ea8f67 at rt.rs:61 frame #67: 0x000055555b6faffe veloren-voxygen`std::rt::lang_start_internal::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h4e8fb1799e2e78db at rt.rs:48 frame #68: 0x000055555b627f9a veloren-voxygen`std::sys_common::backtrace::__rust_begin_short_backtrace::h2e4c4543824a70ae at backtrace.rs:129 frame #69: 0x000055555b6304cb veloren-voxygen`std::rt::lang_start_internal::_$u7b$$u7b$closure$u7d$$u7d$::h9f1972261901f679 at rt.rs:48 frame #70: 0x000055555b608466 veloren-voxygen`std::panicking::try::do_call::h699d69d28d5f6d61 at panicking.rs:287 frame #71: 0x000055555b75a860 veloren-voxygen`__rust_maybe_catch_panic at lib.rs:28 frame #72: 0x000055555b5d8812 veloren-voxygen`std::panicking::try::hc8d2b275211e0075 at panicking.rs:265 frame #73: 0x000055555b71fdc3 veloren-voxygen`std::panic::catch_unwind::h6e70b63f02d95d44 at panic.rs:396 frame #74: 0x000055555b65197d veloren-voxygen`std::rt::lang_start_internal::hff1fe11dbcb15042 at rt.rs:47 frame #75: 0x00005555561a86ce veloren-voxygen`std::rt::lang_start::h9dfe29153a692c80 at rt.rs:61 frame #76: 0x00005555566506dd veloren-voxygen`main + 26 frame #77: 0x000055555b8cce10 veloren-voxygen frame #78: 0x00007ffff6ff909b libc.so.6`__libc_start_main(main=(veloren-voxygen`main), argc=1, argv=0x00007fffffffdfd8, init=, fini=, rtld_fini=, stack_end=0x00007fffffffdfc8) at libc-start.c:308 frame #79: 0x00005555558cafaa veloren-voxygen`_start + 42 thread #2, name = 'veloren-voxygen' frame #0: 0x00007ffff71c000c libpthread.so.0`__pthread_cond_wait at futex-internal.h:88 frame #1: 0x00007ffff71bfff1 libpthread.so.0`__pthread_cond_wait at pthread_cond_wait.c:502 frame #2: 0x00007ffff71bff30 libpthread.so.0`__pthread_cond_wait(cond=0x000055555e8bbbd0, mutex=0x000055555e8c2db0) at pthread_cond_wait.c:655 frame #3: 0x000055555664e4ad veloren-voxygen`std::sys::unix::condvar::Condvar::wait::h0222492bc9ab06d6 at condvar.rs:69 frame #4: 0x000055555632444a veloren-voxygen`std::sys_common::condvar::Condvar::wait::h904fd617872dd5d1 at condvar.rs:41 frame #5: 0x000055555604e141 veloren-voxygen`std::sync::condvar::Condvar::wait::h1e513bb17ae4fe66 at condvar.rs:204 frame #6: 0x00005555561ed655 veloren-voxygen`_$LT$veloren_voxygen..audio..base..AudioPlayer$u20$as$u20$veloren_voxygen..audio..base..MonoMode$GT$::set_mono::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::ha59806baf7177ff6 at base.rs:163 frame #7: 0x0000555555e1b0a0 veloren-voxygen`_$LT$veloren_voxygen..audio..base..AudioPlayer$u20$as$u20$veloren_voxygen..audio..base..MonoMode$GT$::set_mono::_$u7b$$u7b$closure$u7d$$u7d$::h3940062c10d2e09f at base.rs:183 frame #8: 0x00005555565957a3 veloren-voxygen`std::sys_common::backtrace::__rust_begin_short_backtrace::h789f8e766d4bb1d6 at backtrace.rs:129 frame #9: 0x0000555555eea1e3 veloren-voxygen`std::thread::Builder::spawn_unchecked::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::hb19db3b216af2e7e at mod.rs:469 frame #10: 0x0000555555a2bfc3 veloren-voxygen`_$LT$std..panic..AssertUnwindSafe$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$$LP$$RP$$GT$$GT$::call_once::h1125cfcffe9f07d7 at panic.rs:317 frame #11: 0x0000555555de2dc3 veloren-voxygen`std::panicking::try::do_call::h2393f225b3ff73ee at panicking.rs:287 frame #12: 0x000055555b75a860 veloren-voxygen`__rust_maybe_catch_panic at lib.rs:28 frame #13: 0x00005555558e3937 veloren-voxygen`std::panicking::try::hd7cba1bfb2b79c59 at panicking.rs:265 frame #14: 0x0000555555d0ad6e veloren-voxygen`std::panic::catch_unwind::h3cad91ed67d4fba4 at panic.rs:396 frame #15: 0x0000555555ade95c veloren-voxygen`std::thread::Builder::spawn_unchecked::_$u7b$$u7b$closure$u7d$$u7d$::h17116cc892fff9fa at mod.rs:468 frame #16: 0x0000555555e43c8f veloren-voxygen`_$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$::call_box::he68d09bd15ef352a at boxed.rs:1092 frame #17: 0x000055555b615df6 veloren-voxygen`std::sys_common::thread::start_thread::h84dad4223b7f47f0 at thread.rs:13 frame #18: 0x000055555b5d7556 veloren-voxygen`std::sys::unix::thread::Thread::new::thread_start::h2628107cc78e03a4 at thread.rs:81 frame #19: 0x00007ffff71b9fa3 libpthread.so.0`start_thread(arg=) at pthread_create.c:486 frame #20: 0x00007ffff70ce4cf libc.so.6`__GI___clone at clone.S:95 thread #4, name = 'rodio audio pro' frame #0: 0x00005555559359ed veloren-voxygen`core::slice::from_raw_parts::hca3517312d2fbf6c at mod.rs:5312 frame #1: 0x00007fffe75f1880 frame #2: 0x0000555555b111af veloren-voxygen`_$LT$rodio..conversions..sample_rate..SampleRateConverter$LT$I$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$::next::h29f34bf4f7b1baf8 at sample_rate.rs:166 frame #3: 0x0000555555d97bad veloren-voxygen`_$LT$rodio..conversions..channels..ChannelCountConverter$LT$I$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$::next::h898baebb115e0cf8 at channels.rs:58 frame #4: 0x0000555555fe6446 veloren-voxygen`_$LT$rodio..conversions..sample..DataConverter$LT$I$C$O$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$::next::h3610fc0e943d7da4 at sample.rs:38 frame #5: 0x00005555563bed6d veloren-voxygen`_$LT$rodio..source..uniform..UniformSourceIterator$LT$I$C$D$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$::next::h0f127eace738ed4c at uniform.rs:88 frame #6: 0x0000555559f1aa98 veloren-voxygen`_$LT$alloc..boxed..Box$LT$I$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$::next::hbe17268a05f66832 at boxed.rs:876 frame #7: 0x0000555559f4a6eb veloren-voxygen`_$LT$rodio..dynamic_mixer..DynamicMixer$LT$S$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$::next::h82c724555d149a8a at dynamic_mixer.rs:125 frame #8: 0x0000555559f150d1 veloren-voxygen`rodio::engine::audio_callback::h56f1e286d3336e01 at engine.rs:98 frame #9: 0x0000555559f3958a veloren-voxygen`_$LT$rodio..engine..play_raw..ENGINE$u20$as$u20$core..ops..deref..Deref$GT$::deref::__static_ref_initialize::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h04b50354a26b6344 at engine.rs:41 frame #10: 0x0000555559f373c0 veloren-voxygen`cpal::EventLoop::run::_$u7b$$u7b$closure$u7d$$u7d$::h8e9bd9c997d2be2f at lib.rs:500 frame #11: 0x000055555a06cdf2 veloren-voxygen`cpal::cpal_impl::EventLoop::run_inner::h6c6af07aac3e0e27 at mod.rs:614 frame #12: 0x0000555559f39933 veloren-voxygen`cpal::cpal_impl::EventLoop::run::hf190227cf4b342ca at mod.rs:424 frame #13: 0x0000555559f3f25b veloren-voxygen`cpal::EventLoop::run::hb97118580e432447 at lib.rs:500 frame #14: 0x0000555559f1e02c veloren-voxygen`_$LT$rodio..engine..play_raw..ENGINE$u20$as$u20$core..ops..deref..Deref$GT$::deref::__static_ref_initialize::_$u7b$$u7b$closure$u7d$$u7d$::h168412cd87305b81 at engine.rs:40 frame #15: 0x0000555559f0bcf9 veloren-voxygen`std::sys_common::backtrace::__rust_begin_short_backtrace::h80b4ac8b5acc5a21 at backtrace.rs:129 frame #16: 0x0000555559f235cc veloren-voxygen`std::thread::Builder::spawn_unchecked::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h95f08af381f1a500 at mod.rs:469 frame #17: 0x0000555559f29492 veloren-voxygen`_$LT$std..panic..AssertUnwindSafe$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$$LP$$RP$$GT$$GT$::call_once::h53622568b57259a8 at panic.rs:317 frame #18: 0x0000555559f1a916 veloren-voxygen`std::panicking::try::do_call::hdf32a7990308a044 at panicking.rs:287 frame #19: 0x000055555b75a860 veloren-voxygen`__rust_maybe_catch_panic at lib.rs:28 frame #20: 0x0000555559f44f02 veloren-voxygen`std::panicking::try::h9e056173e63391ab at panicking.rs:265 frame #21: 0x0000555559f19ae3 veloren-voxygen`std::panic::catch_unwind::h101df35a1d846c02 at panic.rs:396 frame #22: 0x0000555559f2cf62 veloren-voxygen`std::thread::Builder::spawn_unchecked::_$u7b$$u7b$closure$u7d$$u7d$::h47385d52450b5eba at mod.rs:468 frame #23: 0x0000555559f412f0 veloren-voxygen`_$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$::call_box::h7643b8056d53c2d0 at boxed.rs:1092 frame #24: 0x000055555b615df6 veloren-voxygen`std::sys_common::thread::start_thread::h84dad4223b7f47f0 at thread.rs:13 frame #25: 0x000055555b5d7556 veloren-voxygen`std::sys::unix::thread::Thread::new::thread_start::h2628107cc78e03a4 at thread.rs:81 frame #26: 0x00007ffff71b9fa3 libpthread.so.0`start_thread(arg=) at pthread_create.c:486 frame #27: 0x00007ffff70ce4cf libc.so.6`__GI___clone at clone.S:95 thread #5, name = 'threaded-ml' frame #0: 0x00007ffff70c3819 libc.so.6`__GI___poll(fds=0x00007fffdc004090, nfds=3, timeout=199) at poll.c:29 frame #1: 0x00007ffff4bf2131 libpulse.so.0`___lldb_unnamed_symbol112$$libpulse.so.0 + 49 frame #2: 0x00007ffff4be39a0 libpulse.so.0`pa_mainloop_poll + 224 frame #3: 0x00007ffff4be3fee libpulse.so.0`pa_mainloop_iterate + 46 frame #4: 0x00007ffff4be40a0 libpulse.so.0`pa_mainloop_run + 32 frame #5: 0x00007ffff4bf2079 libpulse.so.0`___lldb_unnamed_symbol111$$libpulse.so.0 + 105 frame #6: 0x00007ffff4b8f468 libpulsecommon-12.2.so`___lldb_unnamed_symbol136$$libpulsecommon-12.2.so + 88 frame #7: 0x00007ffff71b9fa3 libpthread.so.0`start_thread(arg=) at pthread_create.c:486 frame #8: 0x00007ffff70ce4cf libc.so.6`__GI___clone at clone.S:95 thread #6, name = 'veloren:disk$0' frame #0: 0x00007ffff71c000c libpthread.so.0`__pthread_cond_wait at futex-internal.h:88 frame #1: 0x00007ffff71bfff1 libpthread.so.0`__pthread_cond_wait at pthread_cond_wait.c:502 frame #2: 0x00007ffff71bff30 libpthread.so.0`__pthread_cond_wait(cond=0x000055555eac6730, mutex=0x000055555eac6708) at pthread_cond_wait.c:655 frame #3: 0x00007fffee04ce03 i965_dri.so`___lldb_unnamed_symbol3182$$i965_dri.so + 131 frame #4: 0x00007fffee04cb57 i965_dri.so`___lldb_unnamed_symbol3176$$i965_dri.so + 23 frame #5: 0x00007ffff71b9fa3 libpthread.so.0`start_thread(arg=) at pthread_create.c:486 frame #6: 0x00007ffff70ce4cf libc.so.6`__GI___clone at clone.S:95 thread #7, name = 'gmain' frame #0: 0x00007ffff70c3819 libc.so.6`__GI___poll(fds=0x000055555f0aa070, nfds=1, timeout=-1) at poll.c:29 frame #1: 0x00007ffff7331136 libglib-2.0.so.0`___lldb_unnamed_symbol193$$libglib-2.0.so.0 + 374 frame #2: 0x00007ffff733125c libglib-2.0.so.0`g_main_context_iteration + 44 frame #3: 0x00007ffff73312a1 libglib-2.0.so.0`___lldb_unnamed_symbol194$$libglib-2.0.so.0 + 33 frame #4: 0x00007ffff7359415 libglib-2.0.so.0`___lldb_unnamed_symbol327$$libglib-2.0.so.0 + 85 frame #5: 0x00007ffff71b9fa3 libpthread.so.0`start_thread(arg=) at pthread_create.c:486 frame #6: 0x00007ffff70ce4cf libc.so.6`__GI___clone at clone.S:95 thread #8, name = 'gdbus' frame #0: 0x00007ffff70c3819 libc.so.6`__GI___poll(fds=0x000055555f0ba640, nfds=2, timeout=-1) at poll.c:29 frame #1: 0x00007ffff7331136 libglib-2.0.so.0`___lldb_unnamed_symbol193$$libglib-2.0.so.0 + 374 frame #2: 0x00007ffff73314c2 libglib-2.0.so.0`g_main_loop_run + 178 frame #3: 0x00007ffff755f0d6 libgio-2.0.so.0`___lldb_unnamed_symbol2723$$libgio-2.0.so.0 + 22 frame #4: 0x00007ffff7359415 libglib-2.0.so.0`___lldb_unnamed_symbol327$$libglib-2.0.so.0 + 85 frame #5: 0x00007ffff71b9fa3 libpthread.so.0`start_thread(arg=) at pthread_create.c:486 frame #6: 0x00007ffff70ce4cf libc.so.6`__GI___clone at clone.S:95 ```

veloren-server-cli panics with Already borrowed mutably: InvalidBorrow when trying to connect using cg_llvm build client:

``` (lldb) bt all thread #1, name = 'veloren-server-' frame #0: 0x00007ffff7f7300c libpthread.so.0`__pthread_cond_wait at futex-internal.h:88 frame #1: 0x00007ffff7f72ff1 libpthread.so.0`__pthread_cond_wait at pthread_cond_wait.c:502 frame #2: 0x00007ffff7f72f30 libpthread.so.0`__pthread_cond_wait(cond=0x0000555558d5ac80, mutex=0x0000555558e88db0) at pthread_cond_wait.c:655 frame #3: 0x0000555557691652 veloren-server-cli`std::sys::unix::condvar::Condvar::wait::h0222492bc9ab06d6 at condvar.rs:69 frame #4: 0x0000555557690bb0 veloren-server-cli`std::sys_common::condvar::Condvar::wait::h904fd617872dd5d1 at condvar.rs:41 frame #5: 0x000055555769118c veloren-server-cli`std::sync::condvar::Condvar::wait::h579d37529a6de4ad at condvar.rs:204 frame #6: 0x000055555768d1df veloren-server-cli`rayon_core::latch::LockLatch::wait::h1bbd7710a1ed96c2 at latch.rs:93 frame #7: 0x0000555556d1cccf veloren-server-cli`rayon_core::registry::Registry::in_worker_cold::ha9e550ddc669246a at registry.rs:500 frame #8: 0x0000555556d1acbd veloren-server-cli`rayon_core::registry::Registry::in_worker::hc0f13a813ccab667 at registry.rs:471 frame #9: 0x0000555556d64284 veloren-server-cli`rayon_core::thread_pool::ThreadPool::install::he49de7194bc7b791 at mod.rs:132 frame #10: 0x0000555556d33a9c veloren-server-cli`shred::dispatch::dispatcher::Dispatcher::dispatch_par::h94a9b9e592ba7382 at dispatcher.rs:85 frame #11: 0x0000555556d152ad veloren-server-cli`shred::dispatch::dispatcher::Dispatcher::dispatch::hf732c8a52669bbb6 at dispatcher.rs:63 frame #12: 0x00005555568e7367 veloren-server-cli`veloren_common::state::State::tick::h3e3b12a13b370e07 at state.rs:305 frame #13: 0x0000555555b7b344 veloren-server-cli`veloren_server::Server::tick::h2ae8a2e749309204 at lib.rs:282 frame #14: 0x000055555569baae veloren-server-cli`veloren_server_cli::main::ha3bdb98a950bfe7b at main.rs:27 frame #15: 0x000055555569cc16 veloren-server-cli`std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::h3a90439bd31d9474 at rt.rs:61 frame #16: 0x0000555557977092 veloren-server-cli`std::rt::lang_start_internal::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h4e8fb1799e2e78db at rt.rs:48 frame #17: 0x00005555578a402e veloren-server-cli`std::sys_common::backtrace::__rust_begin_short_backtrace::h2e4c4543824a70ae at backtrace.rs:129 frame #18: 0x00005555578ac55f veloren-server-cli`std::rt::lang_start_internal::_$u7b$$u7b$closure$u7d$$u7d$::h9f1972261901f679 at rt.rs:48 frame #19: 0x00005555578844fa veloren-server-cli`std::panicking::try::do_call::h699d69d28d5f6d61 at panicking.rs:287 frame #20: 0x00005555579d68f4 veloren-server-cli`__rust_maybe_catch_panic at lib.rs:28 frame #21: 0x00005555578548a6 veloren-server-cli`std::panicking::try::hc8d2b275211e0075 at panicking.rs:265 frame #22: 0x000055555799be57 veloren-server-cli`std::panic::catch_unwind::h6e70b63f02d95d44 at panic.rs:396 frame #23: 0x00005555578cda11 veloren-server-cli`std::rt::lang_start_internal::hff1fe11dbcb15042 at rt.rs:47 frame #24: 0x0000555555697c65 veloren-server-cli`std::rt::lang_start::hb24a7e469aae622c at rt.rs:61 frame #25: 0x000055555569d292 veloren-server-cli`main + 26 frame #26: 0x0000555557b48eb0 veloren-server-cli frame #27: 0x00007ffff7dae09b libc.so.6`__libc_start_main(main=(veloren-server-cli`main), argc=1, argv=0x00007fffffffdfc8, init=, fini=, rtld_fini=, stack_end=0x00007fffffffdfb8) at libc-start.c:308 frame #28: 0x0000555555695c9a veloren-server-cli`_start + 42 * thread #2, name = 'veloren-server-', stop reason = signal SIGABRT * frame #0: 0x00007ffff7dc17bb libc.so.6`__GI_raise(sig=6) at raise.c:51 frame #1: 0x00007ffff7dac535 libc.so.6`__GI_abort at abort.c:79 frame #2: 0x00005555579d6907 veloren-server-cli`panic_abort::__rust_start_panic::abort::h174eadcbf30e2534 at lib.rs:48 frame #3: 0x00005555579d6922 veloren-server-cli`__rust_start_panic at lib.rs:44 frame #4: 0x00005555579081bf veloren-server-cli`rust_panic at panicking.rs:513 frame #5: 0x0000555557867a4b veloren-server-cli`std::panicking::rust_panic_with_hook::h249913043eb53ba0 at panicking.rs:484 frame #6: 0x00005555579c1a44 veloren-server-cli`std::panicking::continue_panic_fmt::hdb53a99664f4b94e at panicking.rs:373 frame #7: 0x00005555578f2039 veloren-server-cli`rust_begin_unwind at panicking.rs:302 frame #8: 0x0000555557ae433b veloren-server-cli`core::panicking::panic_fmt::hcd7bd0621cfdf6fe at panicking.rs:139 frame #9: 0x0000555557aeeb2c veloren-server-cli`core::result::unwrap_failed::h0d0f88cd211c6473 at macros.rs:52 frame #10: 0x0000555556862685 veloren-server-cli`core::result::Result$LT$T$C$E$GT$::expect::h33fbc56d953b35f2 at result.rs:960 frame #11: 0x000055555690e6ee veloren-server-cli`shred::cell::TrustCell$LT$T$GT$::borrow::h7b2e1d99abd9e2e0 at cell.rs:103 frame #12: 0x000055555698180e veloren-server-cli`shred::res::Resources::try_fetch::_$u7b$$u7b$closure$u7d$$u7d$::ha451f4eddf4c550c at mod.rs:198 frame #13: 0x000055555687efed veloren-server-cli`core::option::Option$LT$T$GT$::map::hfa90a6483ac99b59 at option.rs:447 frame #14: 0x0000555556a78238 veloren-server-cli`shred::res::Resources::try_fetch::h0ebd757309c9120b at mod.rs:197 frame #15: 0x00005555568802d7 veloren-server-cli`shred::res::Resources::fetch::hcdc5bc1afc4d6bd4 at mod.rs:186 frame #16: 0x0000555556a5d7bf veloren-server-cli`_$LT$shred..res..data..Read$LT$T$C$F$GT$$u20$as$u20$shred..system..SystemData$GT$::fetch::h25b80a04b5673e4f at data.rs:50 frame #17: 0x0000555556af4cbd veloren-server-cli`shred::system::impl_data::_$LT$impl$u20$shred..system..SystemData$u20$for$u20$$LP$A$C$$u20$B$C$$u20$C$C$$u20$D$C$$u20$E$C$$u20$F$C$$u20$G$C$$u20$H$C$$u20$I$C$$u20$J$C$$u20$K$C$$u20$L$C$$u20$M$RP$$GT$::fetch::hc9ec9cf0594cea59 at system.rs:344 frame #18: 0x00005555569519f9 veloren-server-cli`_$LT$T$u20$as$u20$shred..system..DynamicSystemData$GT$::fetch::he080b71caf3ca77f at system.rs:239 frame #19: 0x000055555697579d veloren-server-cli`_$LT$T$u20$as$u20$shred..system..RunNow$GT$::run_now::hf7bb0fe001e098b4 at system.rs:132 frame #20: 0x0000555556d15835 veloren-server-cli`shred::dispatch::stage::Stage::execute::_$u7b$$u7b$closure$u7d$$u7d$::h8d8f42ad7122190e at stage.rs:104 frame #21: 0x0000555556d5c27e veloren-server-cli`_$LT$rayon..iter..for_each..ForEachConsumer$LT$F$GT$$u20$as$u20$rayon..iter..plumbing..Folder$LT$T$GT$$GT$::consume_iter::_$u7b$$u7b$closure$u7d$$u7d$::hfb58877a98abd83b at for_each.rs:55 frame #22: 0x0000555556d42722 veloren-server-cli`core::iter::traits::iterator::Iterator::fold::ok::_$u7b$$u7b$closure$u7d$$u7d$::h7903cbbbbcfbe877 at iterator.rs:1828 frame #23: 0x0000555556d9de0c veloren-server-cli`core::iter::traits::iterator::Iterator::try_fold::h7c8789d2f2362244 at iterator.rs:1709 frame #24: 0x0000555556d8b14d veloren-server-cli`core::iter::traits::iterator::Iterator::fold::ha2ab4199ba2b8c0a at iterator.rs:1831 frame #25: 0x0000555556d9628d veloren-server-cli`_$LT$rayon..iter..for_each..ForEachConsumer$LT$F$GT$$u20$as$u20$rayon..iter..plumbing..Folder$LT$T$GT$$GT$::consume_iter::h42c6876882f821f3 at for_each.rs:55 frame #26: 0x0000555556d9c424 veloren-server-cli`rayon::iter::plumbing::Producer::fold_with::hcea0827719babcd9 at mod.rs:110 frame #27: 0x0000555556d8971b veloren-server-cli`rayon::iter::plumbing::bridge_producer_consumer::helper::h574091fb918fe945 at mod.rs:438 frame #28: 0x0000555556d8af47 veloren-server-cli`rayon::iter::plumbing::bridge_producer_consumer::h04cdabc65f0791b8 at mod.rs:397 frame #29: 0x0000555556d6febb veloren-server-cli`_$LT$rayon..iter..plumbing..bridge..Callback$LT$C$GT$$u20$as$u20$rayon..iter..plumbing..ProducerCallback$LT$I$GT$$GT$::callback::h4fd24e4562b10132 at mod.rs:373 frame #30: 0x0000555556d7d25f veloren-server-cli`_$LT$rayon..slice..IterMut$LT$T$GT$$u20$as$u20$rayon..iter..IndexedParallelIterator$GT$::with_producer::hff6d304766e82e29 at mod.rs:708 frame #31: 0x0000555556d7b884 veloren-server-cli`rayon::iter::plumbing::bridge::h8e38f82c1f90b94e at mod.rs:357 frame #32: 0x0000555556d966c2 veloren-server-cli`_$LT$rayon..slice..IterMut$LT$T$GT$$u20$as$u20$rayon..iter..ParallelIterator$GT$::drive_unindexed::hf5d504f8c5a592c7 at mod.rs:684 frame #33: 0x0000555556d5c0d9 veloren-server-cli`rayon::iter::for_each::for_each::hd8aa9e9f4bcdd91b at for_each.rs:12 frame #34: 0x0000555556d13e54 veloren-server-cli`rayon::iter::ParallelIterator::for_each::he1e43ff75307bd99 at mod.rs:349 frame #35: 0x0000555556d9229a veloren-server-cli`shred::dispatch::stage::Stage::execute::h16f9cf3693ae9381 at stage.rs:102 frame #36: 0x0000555556d8e5c8 veloren-server-cli`shred::dispatch::dispatcher::Dispatcher::dispatch_par::_$u7b$$u7b$closure$u7d$$u7d$::hd72aac6a24ee8eb9 at dispatcher.rs:87 frame #37: 0x0000555556d49c01 veloren-server-cli`rayon_core::thread_pool::ThreadPool::install::_$u7b$$u7b$closure$u7d$$u7d$::hbda95387f4bb54cf at mod.rs:132 frame #38: 0x0000555556d6c5b3 veloren-server-cli`rayon_core::registry::Registry::in_worker_cold::_$u7b$$u7b$closure$u7d$$u7d$::hab3478824156dd3b at registry.rs:495 frame #39: 0x0000555556d863ef veloren-server-cli`_$LT$rayon_core..job..StackJob$LT$L$C$F$C$R$GT$$u20$as$u20$rayon_core..job..Job$GT$::execute::_$u7b$$u7b$closure$u7d$$u7d$::hc82bd574c3a8b835 at job.rs:115 frame #40: 0x0000555556d2490b veloren-server-cli`_$LT$std..panic..AssertUnwindSafe$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$$LP$$RP$$GT$$GT$::call_once::h6f7aec62fa22ace7 at panic.rs:317 frame #41: 0x0000555556d59563 veloren-server-cli`std::panicking::try::do_call::h323756a69e44f877 at panicking.rs:287 frame #42: 0x00005555579d68f4 veloren-server-cli`__rust_maybe_catch_panic at lib.rs:28 frame #43: 0x0000555556d89e54 veloren-server-cli`std::panicking::try::hcb4eeb2ab104fd18 at panicking.rs:265 frame #44: 0x0000555556d8f679 veloren-server-cli`std::panic::catch_unwind::hb3a32103b8081e16 at panic.rs:396 frame #45: 0x0000555556d666e3 veloren-server-cli`rayon_core::unwind::halt_unwinding::h699610f63fcc462a at unwind.rs:17 frame #46: 0x0000555556d544fd veloren-server-cli`_$LT$rayon_core..job..StackJob$LT$L$C$F$C$R$GT$$u20$as$u20$rayon_core..job..Job$GT$::execute::h7c4677f0a4f2c922 at job.rs:115 frame #47: 0x000055555768d609 veloren-server-cli`rayon_core::job::JobRef::execute::h84cccdf914efff2d at job.rs:59 frame #48: 0x0000555557665492 veloren-server-cli`rayon_core::registry::WorkerThread::execute::h2cbb3a48f0985eb0 at registry.rs:734 frame #49: 0x000055555768238f veloren-server-cli`rayon_core::registry::WorkerThread::wait_until_cold::h6582ac34601aa23a at registry.rs:718 frame #50: 0x0000555557648631 veloren-server-cli`rayon_core::registry::WorkerThread::wait_until::h0f865f115bbe28d0 at registry.rs:692 frame #51: 0x0000555557641c3a veloren-server-cli`rayon_core::registry::main_loop::h5bd824580c806426 at registry.rs:812 frame #52: 0x00005555576893ba veloren-server-cli`rayon_core::registry::ThreadBuilder::run::hdc7473ecd73cd877 at registry.rs:58 frame #53: 0x0000555557679fde veloren-server-cli`_$LT$rayon_core..registry..DefaultSpawn$u20$as$u20$rayon_core..registry..ThreadSpawn$GT$::spawn::_$u7b$$u7b$closure$u7d$$u7d$::h6b19dcd1f45830e8 at registry.rs:103 frame #54: 0x00005555576743e8 veloren-server-cli`std::sys_common::backtrace::__rust_begin_short_backtrace::h9a8387bdd7d825e4 at backtrace.rs:129 frame #55: 0x0000555557665d57 veloren-server-cli`std::thread::Builder::spawn_unchecked::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::haeb1c1bdbb70d901 at mod.rs:469 frame #56: 0x0000555557633d33 veloren-server-cli`_$LT$std..panic..AssertUnwindSafe$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$$LP$$RP$$GT$$GT$::call_once::h4b3a2af314548864 at panic.rs:317 frame #57: 0x0000555557662a83 veloren-server-cli`std::panicking::try::do_call::h0aabb93e71e42827 at panicking.rs:287 frame #58: 0x00005555579d68f4 veloren-server-cli`__rust_maybe_catch_panic at lib.rs:28 frame #59: 0x0000555557643acc veloren-server-cli`std::panicking::try::h9f25183752fdd19d at panicking.rs:265 frame #60: 0x000055555764f58e veloren-server-cli`std::panic::catch_unwind::h31c05f24a8e8ad66 at panic.rs:396 frame #61: 0x0000555557673dab veloren-server-cli`std::thread::Builder::spawn_unchecked::_$u7b$$u7b$closure$u7d$$u7d$::he57a4ca1063243e4 at mod.rs:468 frame #62: 0x0000555557659cd5 veloren-server-cli`_$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$::call_box::heb5d35beeb7ae875 at boxed.rs:1092 frame #63: 0x0000555557891e8a veloren-server-cli`std::sys_common::thread::start_thread::h84dad4223b7f47f0 at thread.rs:13 frame #64: 0x00005555578535ea veloren-server-cli`std::sys::unix::thread::Thread::new::thread_start::h2628107cc78e03a4 at thread.rs:81 frame #65: 0x00007ffff7f6cfa3 libpthread.so.0`start_thread(arg=) at pthread_create.c:486 frame #66: 0x00007ffff7e834cf libc.so.6`__GI___clone at clone.S:95 thread #3, name = 'veloren-server-' frame #0: 0x00007ffff7f7300c libpthread.so.0`__pthread_cond_wait at futex-internal.h:88 frame #1: 0x00007ffff7f72ff1 libpthread.so.0`__pthread_cond_wait at pthread_cond_wait.c:502 frame #2: 0x00007ffff7f72f30 libpthread.so.0`__pthread_cond_wait(cond=0x0000555558d53a90, mutex=0x0000555558d53a60) at pthread_cond_wait.c:655 frame #3: 0x0000555557691652 veloren-server-cli`std::sys::unix::condvar::Condvar::wait::h0222492bc9ab06d6 at condvar.rs:69 frame #4: 0x0000555557690bb0 veloren-server-cli`std::sys_common::condvar::Condvar::wait::h904fd617872dd5d1 at condvar.rs:41 frame #5: 0x00005555576627bf veloren-server-cli`std::sync::condvar::Condvar::wait::he3e78e7ebb68cf77 at condvar.rs:204 frame #6: 0x000055555768a44f veloren-server-cli`rayon_core::sleep::Sleep::sleep::h395617d2bbecca51 at mod.rs:267 frame #7: 0x000055555765a3ba veloren-server-cli`rayon_core::sleep::Sleep::no_work_found::hc8d34fcbe4281d9e at mod.rs:91 frame #8: 0x00005555576823ce veloren-server-cli`rayon_core::registry::WorkerThread::wait_until_cold::h6582ac34601aa23a at registry.rs:720 frame #9: 0x0000555557648631 veloren-server-cli`rayon_core::registry::WorkerThread::wait_until::h0f865f115bbe28d0 at registry.rs:692 frame #10: 0x0000555557641c3a veloren-server-cli`rayon_core::registry::main_loop::h5bd824580c806426 at registry.rs:812 frame #11: 0x00005555576893ba veloren-server-cli`rayon_core::registry::ThreadBuilder::run::hdc7473ecd73cd877 at registry.rs:58 frame #12: 0x0000555557679fde veloren-server-cli`_$LT$rayon_core..registry..DefaultSpawn$u20$as$u20$rayon_core..registry..ThreadSpawn$GT$::spawn::_$u7b$$u7b$closure$u7d$$u7d$::h6b19dcd1f45830e8 at registry.rs:103 frame #13: 0x00005555576743e8 veloren-server-cli`std::sys_common::backtrace::__rust_begin_short_backtrace::h9a8387bdd7d825e4 at backtrace.rs:129 frame #14: 0x0000555557665d57 veloren-server-cli`std::thread::Builder::spawn_unchecked::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::haeb1c1bdbb70d901 at mod.rs:469 frame #15: 0x0000555557633d33 veloren-server-cli`_$LT$std..panic..AssertUnwindSafe$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$$LP$$RP$$GT$$GT$::call_once::h4b3a2af314548864 at panic.rs:317 frame #16: 0x0000555557662a83 veloren-server-cli`std::panicking::try::do_call::h0aabb93e71e42827 at panicking.rs:287 frame #17: 0x00005555579d68f4 veloren-server-cli`__rust_maybe_catch_panic at lib.rs:28 frame #18: 0x0000555557643acc veloren-server-cli`std::panicking::try::h9f25183752fdd19d at panicking.rs:265 frame #19: 0x000055555764f58e veloren-server-cli`std::panic::catch_unwind::h31c05f24a8e8ad66 at panic.rs:396 frame #20: 0x0000555557673dab veloren-server-cli`std::thread::Builder::spawn_unchecked::_$u7b$$u7b$closure$u7d$$u7d$::he57a4ca1063243e4 at mod.rs:468 frame #21: 0x0000555557659cd5 veloren-server-cli`_$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$::call_box::heb5d35beeb7ae875 at boxed.rs:1092 frame #22: 0x0000555557891e8a veloren-server-cli`std::sys_common::thread::start_thread::h84dad4223b7f47f0 at thread.rs:13 frame #23: 0x00005555578535ea veloren-server-cli`std::sys::unix::thread::Thread::new::thread_start::h2628107cc78e03a4 at thread.rs:81 frame #24: 0x00007ffff7f6cfa3 libpthread.so.0`start_thread(arg=) at pthread_create.c:486 frame #25: 0x00007ffff7e834cf libc.so.6`__GI___clone at clone.S:95 thread #4, name = 'veloren-server-' frame #0: 0x00007ffff7f7300c libpthread.so.0`__pthread_cond_wait at futex-internal.h:88 frame #1: 0x00007ffff7f72ff1 libpthread.so.0`__pthread_cond_wait at pthread_cond_wait.c:502 frame #2: 0x00007ffff7f72f30 libpthread.so.0`__pthread_cond_wait(cond=0x0000555558d53a90, mutex=0x0000555558d53a60) at pthread_cond_wait.c:655 frame #3: 0x0000555557691652 veloren-server-cli`std::sys::unix::condvar::Condvar::wait::h0222492bc9ab06d6 at condvar.rs:69 frame #4: 0x0000555557690bb0 veloren-server-cli`std::sys_common::condvar::Condvar::wait::h904fd617872dd5d1 at condvar.rs:41 frame #5: 0x00005555576627bf veloren-server-cli`std::sync::condvar::Condvar::wait::he3e78e7ebb68cf77 at condvar.rs:204 frame #6: 0x000055555768a44f veloren-server-cli`rayon_core::sleep::Sleep::sleep::h395617d2bbecca51 at mod.rs:267 frame #7: 0x000055555765a3ba veloren-server-cli`rayon_core::sleep::Sleep::no_work_found::hc8d34fcbe4281d9e at mod.rs:91 frame #8: 0x00005555576823ce veloren-server-cli`rayon_core::registry::WorkerThread::wait_until_cold::h6582ac34601aa23a at registry.rs:720 frame #9: 0x0000555557648631 veloren-server-cli`rayon_core::registry::WorkerThread::wait_until::h0f865f115bbe28d0 at registry.rs:692 frame #10: 0x0000555557641c3a veloren-server-cli`rayon_core::registry::main_loop::h5bd824580c806426 at registry.rs:812 frame #11: 0x00005555576893ba veloren-server-cli`rayon_core::registry::ThreadBuilder::run::hdc7473ecd73cd877 at registry.rs:58 frame #12: 0x0000555557679fde veloren-server-cli`_$LT$rayon_core..registry..DefaultSpawn$u20$as$u20$rayon_core..registry..ThreadSpawn$GT$::spawn::_$u7b$$u7b$closure$u7d$$u7d$::h6b19dcd1f45830e8 at registry.rs:103 frame #13: 0x00005555576743e8 veloren-server-cli`std::sys_common::backtrace::__rust_begin_short_backtrace::h9a8387bdd7d825e4 at backtrace.rs:129 frame #14: 0x0000555557665d57 veloren-server-cli`std::thread::Builder::spawn_unchecked::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::haeb1c1bdbb70d901 at mod.rs:469 frame #15: 0x0000555557633d33 veloren-server-cli`_$LT$std..panic..AssertUnwindSafe$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$$LP$$RP$$GT$$GT$::call_once::h4b3a2af314548864 at panic.rs:317 frame #16: 0x0000555557662a83 veloren-server-cli`std::panicking::try::do_call::h0aabb93e71e42827 at panicking.rs:287 frame #17: 0x00005555579d68f4 veloren-server-cli`__rust_maybe_catch_panic at lib.rs:28 frame #18: 0x0000555557643acc veloren-server-cli`std::panicking::try::h9f25183752fdd19d at panicking.rs:265 frame #19: 0x000055555764f58e veloren-server-cli`std::panic::catch_unwind::h31c05f24a8e8ad66 at panic.rs:396 frame #20: 0x0000555557673dab veloren-server-cli`std::thread::Builder::spawn_unchecked::_$u7b$$u7b$closure$u7d$$u7d$::he57a4ca1063243e4 at mod.rs:468 frame #21: 0x0000555557659cd5 veloren-server-cli`_$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$::call_box::heb5d35beeb7ae875 at boxed.rs:1092 frame #22: 0x0000555557891e8a veloren-server-cli`std::sys_common::thread::start_thread::h84dad4223b7f47f0 at thread.rs:13 frame #23: 0x00005555578535ea veloren-server-cli`std::sys::unix::thread::Thread::new::thread_start::h2628107cc78e03a4 at thread.rs:81 frame #24: 0x00007ffff7f6cfa3 libpthread.so.0`start_thread(arg=) at pthread_create.c:486 frame #25: 0x00007ffff7e834cf libc.so.6`__GI___clone at clone.S:95 thread #5, name = 'veloren-server-' frame #0: 0x0000555557a9d321 veloren-server-cli`core::mem::maybe_uninit::MaybeUninit$LT$T$GT$::as_mut_ptr::h9e83ffb7440dca58 at maybe_uninit.rs:395 frame #1: 0x00007ffff77fa430 frame #2: 0x0000555557ac5cb8 veloren-server-cli`core::ptr::read::hc93c3441d555f846 at mod.rs:601 frame #3: 0x0000555557b050c6 veloren-server-cli`core::ptr::swap_nonoverlapping_one::h40edc9910118c3f9 at mod.rs:388 frame #4: 0x0000555557ae7f3e veloren-server-cli`core::mem::swap::h39126581eca47e23 at mod.rs:512 frame #5: 0x0000555557a774cd veloren-server-cli`core::iter::range::_$LT$impl$u20$core..iter..traits..iterator..Iterator$u20$for$u20$core..ops..range..Range$LT$A$GT$$GT$::next::hdb73d5567545e17c at range.rs:212 frame #6: 0x0000555557a09f5e veloren-server-cli`rustc_demangle::legacy::demangle::h8d5c93a633937049 at legacy.rs:89 frame #7: 0x00005555579fd6b9 veloren-server-cli`rustc_demangle::demangle::ha0683bc4b514f1fe at lib.rs:85 frame #8: 0x0000555557a1447c veloren-server-cli`rustc_demangle::try_demangle::h3ce7c41d184aa0c7 at lib.rs:139 frame #9: 0x00005555579dc481 veloren-server-cli`backtrace::symbolize::SymbolName::new::_$u7b$$u7b$closure$u7d$$u7d$::h826a9d9a790b86dd at mod.rs:320 frame #10: 0x00005555579d9068 veloren-server-cli`core::option::Option$LT$T$GT$::and_then::h709aad35e2367a95 at option.rs:655 frame #11: 0x00005555579d79ba veloren-server-cli`backtrace::symbolize::SymbolName::new::h7406e56d86239c5d at mod.rs:320 frame #12: 0x00005555579dc83f veloren-server-cli`backtrace::symbolize::libbacktrace::Symbol::name::_$u7b$$u7b$closure$u7d$$u7d$::h4200171c9e48ae87 at libbacktrace.rs:68 frame #13: 0x00005555579de16f veloren-server-cli`backtrace::symbolize::libbacktrace::Symbol::name::h6b69b5c1c2a1412b at libbacktrace.rs:87 frame #14: 0x00005555579de5c5 veloren-server-cli`backtrace::symbolize::Symbol::name::h502947cc1b2ab341 at mod.rs:208 frame #15: 0x000055555797775b veloren-server-cli`std::sys_common::backtrace::_print_fmt::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h3cc1444104c95e42 at backtrace.rs:87 frame #16: 0x00005555579df09a veloren-server-cli`backtrace::symbolize::libbacktrace::resolve::_$u7b$$u7b$closure$u7d$$u7d$::hb9eec7384e9b5a4f at libbacktrace.rs:448 frame #17: 0x00005555579d80c1 veloren-server-cli`backtrace::symbolize::libbacktrace::pcinfo_cb::h61caab4c11005713 at libbacktrace.rs:231 frame #18: 0x00005555579e989e veloren-server-cli`dwarf_lookup_pc + 1758 frame #19: 0x00005555579e98fe veloren-server-cli`dwarf_fileline + 94 frame #20: 0x00005555579df383 veloren-server-cli`__rdos_backtrace_pcinfo + 110 frame #21: 0x00005555579d7d90 veloren-server-cli`backtrace::symbolize::libbacktrace::syminfo_cb::hde6bfda55fb2a84c at libbacktrace.rs:189 frame #22: 0x00005555579dfd1a veloren-server-cli`elf_syminfo + 226 frame #23: 0x00005555579df3f3 veloren-server-cli`__rdos_backtrace_syminfo + 110 frame #24: 0x00005555579debf2 veloren-server-cli`backtrace::symbolize::libbacktrace::resolve::h9bc834580cd65c94 at libbacktrace.rs:451 frame #25: 0x00005555578e1f1a veloren-server-cli`backtrace::symbolize::resolve_frame_unsynchronized::ha642772360414559 at mod.rs:178 frame #26: 0x00005555578a700e veloren-server-cli`std::sys_common::backtrace::_print_fmt::_$u7b$$u7b$closure$u7d$$u7d$::h882161efcdac2bfd at backtrace.rs:84 frame #27: 0x00005555579de574 veloren-server-cli`core::ops::function::impls::_$LT$impl$u20$core..ops..function..FnMut$LT$A$GT$$u20$for$u20$$RF$mut$u20$F$GT$::call_mut::h51a614023e29f523 at function.rs:265 frame #28: 0x00005555579d8458 veloren-server-cli`backtrace::backtrace::libunwind::trace::trace_fn::h4fbbf67e53199845 at libunwind.rs:98 frame #29: 0x00007ffff7f5c939 libgcc_s.so.1`_Unwind_Backtrace(trace=0x00007ffff77fa4b0, trace_argument=0x00007ffff77fba90) at unwind.inc:307 frame #30: 0x000055555785f698 veloren-server-cli`backtrace::backtrace::libunwind::trace::h6ce76afdabe9b8cd at libunwind.rs:88 frame #31: 0x00005555579c808c veloren-server-cli`backtrace::backtrace::trace_unsynchronized::hd49b30e2895af01b at mod.rs:66 frame #32: 0x0000555557857cf8 veloren-server-cli`std::sys_common::backtrace::_print_fmt::h1e7ee7c3d67d0aa3 at backtrace.rs:77 frame #33: 0x00005555578cde21 veloren-server-cli`_$LT$std..sys_common..backtrace.._print..DisplayBacktrace$u20$as$u20$core..fmt..Display$GT$::fmt::h44e19d381b484950 at backtrace.rs:61 frame #34: 0x0000555557a4dcaa veloren-server-cli`core::fmt::write::h6f4690013a9ee232 at mod.rs:1028 frame #35: 0x000055555795f388 veloren-server-cli`std::io::Write::write_fmt::h536546fdaa7342bd at mod.rs:1412 frame #36: 0x000055555795d483 veloren-server-cli`std::sys_common::backtrace::_print::h5106a5c8e24cfd97 at <::core::macros::write macros>:2 frame #37: 0x00005555578ce6a4 veloren-server-cli`std::sys_common::backtrace::print::h9830bdac2eb6af98 at backtrace.rs:50 frame #38: 0x00005555578edc0c veloren-server-cli`std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::h1954ac863bc2194d at panicking.rs:188 frame #39: 0x000055555788dea8 veloren-server-cli`std::panicking::default_hook::h8e2745d6a47b7e90 at panicking.rs:205 frame #40: 0x000055555786788f veloren-server-cli`std::panicking::rust_panic_with_hook::h249913043eb53ba0 at panicking.rs:464 frame #41: 0x00005555579c1a44 veloren-server-cli`std::panicking::continue_panic_fmt::hdb53a99664f4b94e at panicking.rs:373 frame #42: 0x00005555578f2039 veloren-server-cli`rust_begin_unwind at panicking.rs:302 frame #43: 0x0000555557ae433b veloren-server-cli`core::panicking::panic_fmt::hcd7bd0621cfdf6fe at panicking.rs:139 frame #44: 0x0000555557aeeb2c veloren-server-cli`core::result::unwrap_failed::h0d0f88cd211c6473 at macros.rs:52 frame #45: 0x0000555556862685 veloren-server-cli`core::result::Result$LT$T$C$E$GT$::expect::h33fbc56d953b35f2 at result.rs:960 frame #46: 0x000055555690e6ee veloren-server-cli`shred::cell::TrustCell$LT$T$GT$::borrow::h7b2e1d99abd9e2e0 at cell.rs:103 frame #47: 0x000055555698180e veloren-server-cli`shred::res::Resources::try_fetch::_$u7b$$u7b$closure$u7d$$u7d$::ha451f4eddf4c550c at mod.rs:198 frame #48: 0x000055555687efed veloren-server-cli`core::option::Option$LT$T$GT$::map::hfa90a6483ac99b59 at option.rs:447 frame #49: 0x0000555556a78238 veloren-server-cli`shred::res::Resources::try_fetch::h0ebd757309c9120b at mod.rs:197 frame #50: 0x00005555568802d7 veloren-server-cli`shred::res::Resources::fetch::hcdc5bc1afc4d6bd4 at mod.rs:186 frame #51: 0x0000555556a5d7bf veloren-server-cli`_$LT$shred..res..data..Read$LT$T$C$F$GT$$u20$as$u20$shred..system..SystemData$GT$::fetch::h25b80a04b5673e4f at data.rs:50 frame #52: 0x0000555556af4cbd veloren-server-cli`shred::system::impl_data::_$LT$impl$u20$shred..system..SystemData$u20$for$u20$$LP$A$C$$u20$B$C$$u20$C$C$$u20$D$C$$u20$E$C$$u20$F$C$$u20$G$C$$u20$H$C$$u20$I$C$$u20$J$C$$u20$K$C$$u20$L$C$$u20$M$RP$$GT$::fetch::hc9ec9cf0594cea59 at system.rs:344 frame #53: 0x00005555569519f9 veloren-server-cli`_$LT$T$u20$as$u20$shred..system..DynamicSystemData$GT$::fetch::he080b71caf3ca77f at system.rs:239 frame #54: 0x000055555697579d veloren-server-cli`_$LT$T$u20$as$u20$shred..system..RunNow$GT$::run_now::hf7bb0fe001e098b4 at system.rs:132 frame #55: 0x0000555556d15835 veloren-server-cli`shred::dispatch::stage::Stage::execute::_$u7b$$u7b$closure$u7d$$u7d$::h8d8f42ad7122190e at stage.rs:104 frame #56: 0x0000555556d5c27e veloren-server-cli`_$LT$rayon..iter..for_each..ForEachConsumer$LT$F$GT$$u20$as$u20$rayon..iter..plumbing..Folder$LT$T$GT$$GT$::consume_iter::_$u7b$$u7b$closure$u7d$$u7d$::hfb58877a98abd83b at for_each.rs:55 frame #57: 0x0000555556d42722 veloren-server-cli`core::iter::traits::iterator::Iterator::fold::ok::_$u7b$$u7b$closure$u7d$$u7d$::h7903cbbbbcfbe877 at iterator.rs:1828 frame #58: 0x0000555556d9de0c veloren-server-cli`core::iter::traits::iterator::Iterator::try_fold::h7c8789d2f2362244 at iterator.rs:1709 frame #59: 0x0000555556d8b14d veloren-server-cli`core::iter::traits::iterator::Iterator::fold::ha2ab4199ba2b8c0a at iterator.rs:1831 frame #60: 0x0000555556d9628d veloren-server-cli`_$LT$rayon..iter..for_each..ForEachConsumer$LT$F$GT$$u20$as$u20$rayon..iter..plumbing..Folder$LT$T$GT$$GT$::consume_iter::h42c6876882f821f3 at for_each.rs:55 frame #61: 0x0000555556d9c424 veloren-server-cli`rayon::iter::plumbing::Producer::fold_with::hcea0827719babcd9 at mod.rs:110 frame #62: 0x0000555556d8971b veloren-server-cli`rayon::iter::plumbing::bridge_producer_consumer::helper::h574091fb918fe945 at mod.rs:438 frame #63: 0x0000555556d8af47 veloren-server-cli`rayon::iter::plumbing::bridge_producer_consumer::h04cdabc65f0791b8 at mod.rs:397 frame #64: 0x0000555556d6febb veloren-server-cli`_$LT$rayon..iter..plumbing..bridge..Callback$LT$C$GT$$u20$as$u20$rayon..iter..plumbing..ProducerCallback$LT$I$GT$$GT$::callback::h4fd24e4562b10132 at mod.rs:373 frame #65: 0x0000555556d7d25f veloren-server-cli`_$LT$rayon..slice..IterMut$LT$T$GT$$u20$as$u20$rayon..iter..IndexedParallelIterator$GT$::with_producer::hff6d304766e82e29 at mod.rs:708 frame #66: 0x0000555556d7b884 veloren-server-cli`rayon::iter::plumbing::bridge::h8e38f82c1f90b94e at mod.rs:357 frame #67: 0x0000555556d966c2 veloren-server-cli`_$LT$rayon..slice..IterMut$LT$T$GT$$u20$as$u20$rayon..iter..ParallelIterator$GT$::drive_unindexed::hf5d504f8c5a592c7 at mod.rs:684 frame #68: 0x0000555556d5c0d9 veloren-server-cli`rayon::iter::for_each::for_each::hd8aa9e9f4bcdd91b at for_each.rs:12 frame #69: 0x0000555556d13e54 veloren-server-cli`rayon::iter::ParallelIterator::for_each::he1e43ff75307bd99 at mod.rs:349 frame #70: 0x0000555556d9229a veloren-server-cli`shred::dispatch::stage::Stage::execute::h16f9cf3693ae9381 at stage.rs:102 frame #71: 0x0000555556d8e5c8 veloren-server-cli`shred::dispatch::dispatcher::Dispatcher::dispatch_par::_$u7b$$u7b$closure$u7d$$u7d$::hd72aac6a24ee8eb9 at dispatcher.rs:87 frame #72: 0x0000555556d49c01 veloren-server-cli`rayon_core::thread_pool::ThreadPool::install::_$u7b$$u7b$closure$u7d$$u7d$::hbda95387f4bb54cf at mod.rs:132 frame #73: 0x0000555556d6c5b3 veloren-server-cli`rayon_core::registry::Registry::in_worker_cold::_$u7b$$u7b$closure$u7d$$u7d$::hab3478824156dd3b at registry.rs:495 frame #74: 0x0000555556d863ef veloren-server-cli`_$LT$rayon_core..job..StackJob$LT$L$C$F$C$R$GT$$u20$as$u20$rayon_core..job..Job$GT$::execute::_$u7b$$u7b$closure$u7d$$u7d$::hc82bd574c3a8b835 at job.rs:115 frame #75: 0x0000555556d2490b veloren-server-cli`_$LT$std..panic..AssertUnwindSafe$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$$LP$$RP$$GT$$GT$::call_once::h6f7aec62fa22ace7 at panic.rs:317 frame #76: 0x0000555556d59563 veloren-server-cli`std::panicking::try::do_call::h323756a69e44f877 at panicking.rs:287 frame #77: 0x00005555579d68f4 veloren-server-cli`__rust_maybe_catch_panic at lib.rs:28 frame #78: 0x0000555556d89e54 veloren-server-cli`std::panicking::try::hcb4eeb2ab104fd18 at panicking.rs:265 frame #79: 0x0000555556d8f679 veloren-server-cli`std::panic::catch_unwind::hb3a32103b8081e16 at panic.rs:396 frame #80: 0x0000555556d666e3 veloren-server-cli`rayon_core::unwind::halt_unwinding::h699610f63fcc462a at unwind.rs:17 frame #81: 0x0000555556d544fd veloren-server-cli`_$LT$rayon_core..job..StackJob$LT$L$C$F$C$R$GT$$u20$as$u20$rayon_core..job..Job$GT$::execute::h7c4677f0a4f2c922 at job.rs:115 frame #82: 0x000055555768d609 veloren-server-cli`rayon_core::job::JobRef::execute::h84cccdf914efff2d at job.rs:59 frame #83: 0x0000555557665492 veloren-server-cli`rayon_core::registry::WorkerThread::execute::h2cbb3a48f0985eb0 at registry.rs:734 frame #84: 0x000055555768238f veloren-server-cli`rayon_core::registry::WorkerThread::wait_until_cold::h6582ac34601aa23a at registry.rs:718 frame #85: 0x0000555557648631 veloren-server-cli`rayon_core::registry::WorkerThread::wait_until::h0f865f115bbe28d0 at registry.rs:692 frame #86: 0x0000555557641c3a veloren-server-cli`rayon_core::registry::main_loop::h5bd824580c806426 at registry.rs:812 frame #87: 0x00005555576893ba veloren-server-cli`rayon_core::registry::ThreadBuilder::run::hdc7473ecd73cd877 at registry.rs:58 frame #88: 0x0000555557679fde veloren-server-cli`_$LT$rayon_core..registry..DefaultSpawn$u20$as$u20$rayon_core..registry..ThreadSpawn$GT$::spawn::_$u7b$$u7b$closure$u7d$$u7d$::h6b19dcd1f45830e8 at registry.rs:103 frame #89: 0x00005555576743e8 veloren-server-cli`std::sys_common::backtrace::__rust_begin_short_backtrace::h9a8387bdd7d825e4 at backtrace.rs:129 frame #90: 0x0000555557665d57 veloren-server-cli`std::thread::Builder::spawn_unchecked::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::haeb1c1bdbb70d901 at mod.rs:469 frame #91: 0x0000555557633d33 veloren-server-cli`_$LT$std..panic..AssertUnwindSafe$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$$LP$$RP$$GT$$GT$::call_once::h4b3a2af314548864 at panic.rs:317 frame #92: 0x0000555557662a83 veloren-server-cli`std::panicking::try::do_call::h0aabb93e71e42827 at panicking.rs:287 frame #93: 0x00005555579d68f4 veloren-server-cli`__rust_maybe_catch_panic at lib.rs:28 frame #94: 0x0000555557643acc veloren-server-cli`std::panicking::try::h9f25183752fdd19d at panicking.rs:265 frame #95: 0x000055555764f58e veloren-server-cli`std::panic::catch_unwind::h31c05f24a8e8ad66 at panic.rs:396 frame #96: 0x0000555557673dab veloren-server-cli`std::thread::Builder::spawn_unchecked::_$u7b$$u7b$closure$u7d$$u7d$::he57a4ca1063243e4 at mod.rs:468 frame #97: 0x0000555557659cd5 veloren-server-cli`_$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$::call_box::heb5d35beeb7ae875 at boxed.rs:1092 frame #98: 0x0000555557891e8a veloren-server-cli`std::sys_common::thread::start_thread::h84dad4223b7f47f0 at thread.rs:13 frame #99: 0x00005555578535ea veloren-server-cli`std::sys::unix::thread::Thread::new::thread_start::h2628107cc78e03a4 at thread.rs:81 frame #100: 0x00007ffff7f6cfa3 libpthread.so.0`start_thread(arg=) at pthread_create.c:486 frame #101: 0x00007ffff7e834cf libc.so.6`__GI___clone at clone.S:95 thread #6, name = 'veloren-worker' frame #0: 0x00007ffff7f7300c libpthread.so.0`__pthread_cond_wait at futex-internal.h:88 frame #1: 0x00007ffff7f72ff1 libpthread.so.0`__pthread_cond_wait at pthread_cond_wait.c:502 frame #2: 0x00007ffff7f72f30 libpthread.so.0`__pthread_cond_wait(cond=0x0000555558e88cc0, mutex=0x0000555558e88780) at pthread_cond_wait.c:655 frame #3: 0x000055555799728c veloren-server-cli`std::sys::unix::condvar::Condvar::wait::h7313f28d91f191cd at condvar.rs:69 frame #4: 0x00005555579ce1c1 veloren-server-cli`std::sys_common::condvar::Condvar::wait::h816b79f199ac0705 at condvar.rs:41 frame #5: 0x00005555579be620 veloren-server-cli`std::sync::condvar::Condvar::wait::hb41207ca917600e4 at condvar.rs:204 frame #6: 0x0000555557986fc7 veloren-server-cli`std::thread::park::hf271305dc7063fdf at mod.rs:908 frame #7: 0x0000555556360528 veloren-server-cli`crossbeam_channel::context::Context::wait_until::h5164c96d2e739418 at context.rs:175 frame #8: 0x0000555556315f60 veloren-server-cli`crossbeam_channel::flavors::list::Channel$LT$T$GT$::recv::_$u7b$$u7b$closure$u7d$$u7d$::ha2296d14dabdc325 at list.rs:468 frame #9: 0x0000555556317cfc veloren-server-cli`crossbeam_channel::context::Context::with::_$u7b$$u7b$closure$u7d$$u7d$::h8a0acb385f6aab2a at context.rs:50 frame #10: 0x000055555633e685 veloren-server-cli`crossbeam_channel::context::Context::with::_$u7b$$u7b$closure$u7d$$u7d$::hd8ec591bb2820f63 at context.rs:58 frame #11: 0x000055555632fbd4 veloren-server-cli`std::thread::local::LocalKey$LT$T$GT$::try_with::h550c5a957fd3723d at local.rs:262 frame #12: 0x000055555634bf6b veloren-server-cli`crossbeam_channel::context::Context::with::hd8c6af9c27083c45 at context.rs:53 frame #13: 0x0000555556339f60 veloren-server-cli`crossbeam_channel::flavors::list::Channel$LT$T$GT$::recv::hc7a755733ea86a0e at list.rs:458 frame #14: 0x0000555556363146 veloren-server-cli`crossbeam_channel::channel::Receiver$LT$T$GT$::recv::he6baed33bc3eaeb4 at channel.rs:720 frame #15: 0x000055555635cd4a veloren-server-cli`uvth::MessageQueue::remove::he05f6298082dc04f at lib.rs:52 frame #16: 0x000055555632cb59 veloren-server-cli`uvth::Worker::do_work::h184925f33420fb9f at lib.rs:107 frame #17: 0x0000555556351704 veloren-server-cli`uvth::Worker::start::_$u7b$$u7b$closure$u7d$$u7d$::h1ac7d162f4c73c12 at lib.rs:99 frame #18: 0x00005555563588ea veloren-server-cli`std::sys_common::backtrace::__rust_begin_short_backtrace::hff493bd8d5c2d0c9 at backtrace.rs:129 frame #19: 0x000055555631b261 veloren-server-cli`std::thread::Builder::spawn_unchecked::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h0ede55dfbdf0d7fe at mod.rs:469 frame #20: 0x00005555563616b4 veloren-server-cli`_$LT$std..panic..AssertUnwindSafe$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$$LP$$RP$$GT$$GT$::call_once::h7c9ae75aa8eab441 at panic.rs:317 frame #21: 0x0000555556325896 veloren-server-cli`std::panicking::try::do_call::h3502bbcdddef4e73 at panicking.rs:287 frame #22: 0x00005555579d68f4 veloren-server-cli`__rust_maybe_catch_panic at lib.rs:28 frame #23: 0x0000555556314977 veloren-server-cli`std::panicking::try::hb8945a29c3a39fd1 at panicking.rs:265 frame #24: 0x000055555635eeae veloren-server-cli`std::panic::catch_unwind::h481044661f2c8e00 at panic.rs:396 frame #25: 0x0000555556326c33 veloren-server-cli`std::thread::Builder::spawn_unchecked::_$u7b$$u7b$closure$u7d$$u7d$::he5d0038e4630477b at mod.rs:468 frame #26: 0x000055555632b852 veloren-server-cli`_$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$::call_box::h398d216735abd5d5 at boxed.rs:1092 frame #27: 0x0000555557891e8a veloren-server-cli`std::sys_common::thread::start_thread::h84dad4223b7f47f0 at thread.rs:13 frame #28: 0x00005555578535ea veloren-server-cli`std::sys::unix::thread::Thread::new::thread_start::h2628107cc78e03a4 at thread.rs:81 frame #29: 0x00007ffff7f6cfa3 libpthread.so.0`start_thread(arg=) at pthread_create.c:486 frame #30: 0x00007ffff7e834cf libc.so.6`__GI___clone at clone.S:95 thread #7, name = 'veloren-worker' frame #0: 0x00007ffff7f7300c libpthread.so.0`__pthread_cond_wait at futex-internal.h:88 frame #1: 0x00007ffff7f72ff1 libpthread.so.0`__pthread_cond_wait at pthread_cond_wait.c:502 frame #2: 0x00007ffff7f72f30 libpthread.so.0`__pthread_cond_wait(cond=0x0000555558d5a510, mutex=0x0000555558e88d80) at pthread_cond_wait.c:655 frame #3: 0x000055555799728c veloren-server-cli`std::sys::unix::condvar::Condvar::wait::h7313f28d91f191cd at condvar.rs:69 frame #4: 0x00005555579ce1c1 veloren-server-cli`std::sys_common::condvar::Condvar::wait::h816b79f199ac0705 at condvar.rs:41 frame #5: 0x00005555579be620 veloren-server-cli`std::sync::condvar::Condvar::wait::hb41207ca917600e4 at condvar.rs:204 frame #6: 0x0000555557986fc7 veloren-server-cli`std::thread::park::hf271305dc7063fdf at mod.rs:908 frame #7: 0x0000555556360528 veloren-server-cli`crossbeam_channel::context::Context::wait_until::h5164c96d2e739418 at context.rs:175 frame #8: 0x0000555556315f60 veloren-server-cli`crossbeam_channel::flavors::list::Channel$LT$T$GT$::recv::_$u7b$$u7b$closure$u7d$$u7d$::ha2296d14dabdc325 at list.rs:468 frame #9: 0x0000555556317cfc veloren-server-cli`crossbeam_channel::context::Context::with::_$u7b$$u7b$closure$u7d$$u7d$::h8a0acb385f6aab2a at context.rs:50 frame #10: 0x000055555633e685 veloren-server-cli`crossbeam_channel::context::Context::with::_$u7b$$u7b$closure$u7d$$u7d$::hd8ec591bb2820f63 at context.rs:58 frame #11: 0x000055555632fbd4 veloren-server-cli`std::thread::local::LocalKey$LT$T$GT$::try_with::h550c5a957fd3723d at local.rs:262 frame #12: 0x000055555634bf6b veloren-server-cli`crossbeam_channel::context::Context::with::hd8c6af9c27083c45 at context.rs:53 frame #13: 0x0000555556339f60 veloren-server-cli`crossbeam_channel::flavors::list::Channel$LT$T$GT$::recv::hc7a755733ea86a0e at list.rs:458 frame #14: 0x0000555556363146 veloren-server-cli`crossbeam_channel::channel::Receiver$LT$T$GT$::recv::he6baed33bc3eaeb4 at channel.rs:720 frame #15: 0x000055555635cd4a veloren-server-cli`uvth::MessageQueue::remove::he05f6298082dc04f at lib.rs:52 frame #16: 0x000055555632cb59 veloren-server-cli`uvth::Worker::do_work::h184925f33420fb9f at lib.rs:107 frame #17: 0x0000555556351704 veloren-server-cli`uvth::Worker::start::_$u7b$$u7b$closure$u7d$$u7d$::h1ac7d162f4c73c12 at lib.rs:99 frame #18: 0x00005555563588ea veloren-server-cli`std::sys_common::backtrace::__rust_begin_short_backtrace::hff493bd8d5c2d0c9 at backtrace.rs:129 frame #19: 0x000055555631b261 veloren-server-cli`std::thread::Builder::spawn_unchecked::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h0ede55dfbdf0d7fe at mod.rs:469 frame #20: 0x00005555563616b4 veloren-server-cli`_$LT$std..panic..AssertUnwindSafe$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$$LP$$RP$$GT$$GT$::call_once::h7c9ae75aa8eab441 at panic.rs:317 frame #21: 0x0000555556325896 veloren-server-cli`std::panicking::try::do_call::h3502bbcdddef4e73 at panicking.rs:287 frame #22: 0x00005555579d68f4 veloren-server-cli`__rust_maybe_catch_panic at lib.rs:28 frame #23: 0x0000555556314977 veloren-server-cli`std::panicking::try::hb8945a29c3a39fd1 at panicking.rs:265 frame #24: 0x000055555635eeae veloren-server-cli`std::panic::catch_unwind::h481044661f2c8e00 at panic.rs:396 frame #25: 0x0000555556326c33 veloren-server-cli`std::thread::Builder::spawn_unchecked::_$u7b$$u7b$closure$u7d$$u7d$::he5d0038e4630477b at mod.rs:468 frame #26: 0x000055555632b852 veloren-server-cli`_$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$::call_box::h398d216735abd5d5 at boxed.rs:1092 frame #27: 0x0000555557891e8a veloren-server-cli`std::sys_common::thread::start_thread::h84dad4223b7f47f0 at thread.rs:13 frame #28: 0x00005555578535ea veloren-server-cli`std::sys::unix::thread::Thread::new::thread_start::h2628107cc78e03a4 at thread.rs:81 frame #29: 0x00007ffff7f6cfa3 libpthread.so.0`start_thread(arg=) at pthread_create.c:486 frame #30: 0x00007ffff7e834cf libc.so.6`__GI___clone at clone.S:95 thread #8, name = 'veloren-worker' frame #0: 0x00007ffff7f7300c libpthread.so.0`__pthread_cond_wait at futex-internal.h:88 frame #1: 0x00007ffff7f72ff1 libpthread.so.0`__pthread_cond_wait at pthread_cond_wait.c:502 frame #2: 0x00007ffff7f72f30 libpthread.so.0`__pthread_cond_wait(cond=0x0000555558d5a760, mutex=0x0000555558e88890) at pthread_cond_wait.c:655 frame #3: 0x000055555799728c veloren-server-cli`std::sys::unix::condvar::Condvar::wait::h7313f28d91f191cd at condvar.rs:69 frame #4: 0x00005555579ce1c1 veloren-server-cli`std::sys_common::condvar::Condvar::wait::h816b79f199ac0705 at condvar.rs:41 frame #5: 0x00005555579be620 veloren-server-cli`std::sync::condvar::Condvar::wait::hb41207ca917600e4 at condvar.rs:204 frame #6: 0x0000555557986fc7 veloren-server-cli`std::thread::park::hf271305dc7063fdf at mod.rs:908 frame #7: 0x0000555556360528 veloren-server-cli`crossbeam_channel::context::Context::wait_until::h5164c96d2e739418 at context.rs:175 frame #8: 0x0000555556315f60 veloren-server-cli`crossbeam_channel::flavors::list::Channel$LT$T$GT$::recv::_$u7b$$u7b$closure$u7d$$u7d$::ha2296d14dabdc325 at list.rs:468 frame #9: 0x0000555556317cfc veloren-server-cli`crossbeam_channel::context::Context::with::_$u7b$$u7b$closure$u7d$$u7d$::h8a0acb385f6aab2a at context.rs:50 frame #10: 0x000055555633e685 veloren-server-cli`crossbeam_channel::context::Context::with::_$u7b$$u7b$closure$u7d$$u7d$::hd8ec591bb2820f63 at context.rs:58 frame #11: 0x000055555632fbd4 veloren-server-cli`std::thread::local::LocalKey$LT$T$GT$::try_with::h550c5a957fd3723d at local.rs:262 frame #12: 0x000055555634bf6b veloren-server-cli`crossbeam_channel::context::Context::with::hd8c6af9c27083c45 at context.rs:53 frame #13: 0x0000555556339f60 veloren-server-cli`crossbeam_channel::flavors::list::Channel$LT$T$GT$::recv::hc7a755733ea86a0e at list.rs:458 frame #14: 0x0000555556363146 veloren-server-cli`crossbeam_channel::channel::Receiver$LT$T$GT$::recv::he6baed33bc3eaeb4 at channel.rs:720 frame #15: 0x000055555635cd4a veloren-server-cli`uvth::MessageQueue::remove::he05f6298082dc04f at lib.rs:52 frame #16: 0x000055555632cb59 veloren-server-cli`uvth::Worker::do_work::h184925f33420fb9f at lib.rs:107 frame #17: 0x0000555556351704 veloren-server-cli`uvth::Worker::start::_$u7b$$u7b$closure$u7d$$u7d$::h1ac7d162f4c73c12 at lib.rs:99 frame #18: 0x00005555563588ea veloren-server-cli`std::sys_common::backtrace::__rust_begin_short_backtrace::hff493bd8d5c2d0c9 at backtrace.rs:129 frame #19: 0x000055555631b261 veloren-server-cli`std::thread::Builder::spawn_unchecked::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h0ede55dfbdf0d7fe at mod.rs:469 frame #20: 0x00005555563616b4 veloren-server-cli`_$LT$std..panic..AssertUnwindSafe$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$$LP$$RP$$GT$$GT$::call_once::h7c9ae75aa8eab441 at panic.rs:317 frame #21: 0x0000555556325896 veloren-server-cli`std::panicking::try::do_call::h3502bbcdddef4e73 at panicking.rs:287 frame #22: 0x00005555579d68f4 veloren-server-cli`__rust_maybe_catch_panic at lib.rs:28 frame #23: 0x0000555556314977 veloren-server-cli`std::panicking::try::hb8945a29c3a39fd1 at panicking.rs:265 frame #24: 0x000055555635eeae veloren-server-cli`std::panic::catch_unwind::h481044661f2c8e00 at panic.rs:396 frame #25: 0x0000555556326c33 veloren-server-cli`std::thread::Builder::spawn_unchecked::_$u7b$$u7b$closure$u7d$$u7d$::he5d0038e4630477b at mod.rs:468 frame #26: 0x000055555632b852 veloren-server-cli`_$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$::call_box::h398d216735abd5d5 at boxed.rs:1092 frame #27: 0x0000555557891e8a veloren-server-cli`std::sys_common::thread::start_thread::h84dad4223b7f47f0 at thread.rs:13 frame #28: 0x00005555578535ea veloren-server-cli`std::sys::unix::thread::Thread::new::thread_start::h2628107cc78e03a4 at thread.rs:81 frame #29: 0x00007ffff7f6cfa3 libpthread.so.0`start_thread(arg=) at pthread_create.c:486 frame #30: 0x00007ffff7e834cf libc.so.6`__GI___clone at clone.S:95 thread #9, name = 'veloren-worker' frame #0: 0x00007ffff7f7300c libpthread.so.0`__pthread_cond_wait at futex-internal.h:88 frame #1: 0x00007ffff7f72ff1 libpthread.so.0`__pthread_cond_wait at pthread_cond_wait.c:502 frame #2: 0x00007ffff7f72f30 libpthread.so.0`__pthread_cond_wait(cond=0x0000555558d5a9b0, mutex=0x0000555558e88b40) at pthread_cond_wait.c:655 frame #3: 0x000055555799728c veloren-server-cli`std::sys::unix::condvar::Condvar::wait::h7313f28d91f191cd at condvar.rs:69 frame #4: 0x00005555579ce1c1 veloren-server-cli`std::sys_common::condvar::Condvar::wait::h816b79f199ac0705 at condvar.rs:41 frame #5: 0x00005555579be620 veloren-server-cli`std::sync::condvar::Condvar::wait::hb41207ca917600e4 at condvar.rs:204 frame #6: 0x0000555557986fc7 veloren-server-cli`std::thread::park::hf271305dc7063fdf at mod.rs:908 frame #7: 0x0000555556360528 veloren-server-cli`crossbeam_channel::context::Context::wait_until::h5164c96d2e739418 at context.rs:175 frame #8: 0x0000555556315f60 veloren-server-cli`crossbeam_channel::flavors::list::Channel$LT$T$GT$::recv::_$u7b$$u7b$closure$u7d$$u7d$::ha2296d14dabdc325 at list.rs:468 frame #9: 0x0000555556317cfc veloren-server-cli`crossbeam_channel::context::Context::with::_$u7b$$u7b$closure$u7d$$u7d$::h8a0acb385f6aab2a at context.rs:50 frame #10: 0x000055555633e685 veloren-server-cli`crossbeam_channel::context::Context::with::_$u7b$$u7b$closure$u7d$$u7d$::hd8ec591bb2820f63 at context.rs:58 frame #11: 0x000055555632fbd4 veloren-server-cli`std::thread::local::LocalKey$LT$T$GT$::try_with::h550c5a957fd3723d at local.rs:262 frame #12: 0x000055555634bf6b veloren-server-cli`crossbeam_channel::context::Context::with::hd8c6af9c27083c45 at context.rs:53 frame #13: 0x0000555556339f60 veloren-server-cli`crossbeam_channel::flavors::list::Channel$LT$T$GT$::recv::hc7a755733ea86a0e at list.rs:458 frame #14: 0x0000555556363146 veloren-server-cli`crossbeam_channel::channel::Receiver$LT$T$GT$::recv::he6baed33bc3eaeb4 at channel.rs:720 frame #15: 0x000055555635cd4a veloren-server-cli`uvth::MessageQueue::remove::he05f6298082dc04f at lib.rs:52 frame #16: 0x000055555632cb59 veloren-server-cli`uvth::Worker::do_work::h184925f33420fb9f at lib.rs:107 frame #17: 0x0000555556351704 veloren-server-cli`uvth::Worker::start::_$u7b$$u7b$closure$u7d$$u7d$::h1ac7d162f4c73c12 at lib.rs:99 frame #18: 0x00005555563588ea veloren-server-cli`std::sys_common::backtrace::__rust_begin_short_backtrace::hff493bd8d5c2d0c9 at backtrace.rs:129 frame #19: 0x000055555631b261 veloren-server-cli`std::thread::Builder::spawn_unchecked::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h0ede55dfbdf0d7fe at mod.rs:469 frame #20: 0x00005555563616b4 veloren-server-cli`_$LT$std..panic..AssertUnwindSafe$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$$LP$$RP$$GT$$GT$::call_once::h7c9ae75aa8eab441 at panic.rs:317 frame #21: 0x0000555556325896 veloren-server-cli`std::panicking::try::do_call::h3502bbcdddef4e73 at panicking.rs:287 frame #22: 0x00005555579d68f4 veloren-server-cli`__rust_maybe_catch_panic at lib.rs:28 frame #23: 0x0000555556314977 veloren-server-cli`std::panicking::try::hb8945a29c3a39fd1 at panicking.rs:265 frame #24: 0x000055555635eeae veloren-server-cli`std::panic::catch_unwind::h481044661f2c8e00 at panic.rs:396 frame #25: 0x0000555556326c33 veloren-server-cli`std::thread::Builder::spawn_unchecked::_$u7b$$u7b$closure$u7d$$u7d$::he5d0038e4630477b at mod.rs:468 frame #26: 0x000055555632b852 veloren-server-cli`_$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$::call_box::h398d216735abd5d5 at boxed.rs:1092 frame #27: 0x0000555557891e8a veloren-server-cli`std::sys_common::thread::start_thread::h84dad4223b7f47f0 at thread.rs:13 frame #28: 0x00005555578535ea veloren-server-cli`std::sys::unix::thread::Thread::new::thread_start::h2628107cc78e03a4 at thread.rs:81 frame #29: 0x00007ffff7f6cfa3 libpthread.so.0`start_thread(arg=) at pthread_create.c:486 frame #30: 0x00007ffff7e834cf libc.so.6`__GI___clone at clone.S:95 ```

This may be because to the fact that atomics are not yet supported.

bjorn3 commented 5 years ago

The veloren-voxygen panic is reproducible with cg_llvm. Pulling the latest version of veloren fixed it. It now only gets stuck in a loop containing std::thread::yield_now.

bjorn3 commented 4 years ago

On macOS there is now a linker error: https://gist.github.com/bjorn3/6e946da49d695618c3c5d570c06fdc95

Songtronix commented 4 years ago

Hey! I'm one of the core developers of Veloren. If there's anything we can help with related to Veloren let us know!

bjorn3 commented 4 years ago

@Songtronix Thanks for the offer. This is just a bug in cg_clif, not veloren though. I probably used the wrong linkage or visibility for those symbols.

bjorn3 commented 4 years ago

I think I used ../cargo.sh build --release. Veloren is configured to use LTO in release mode. Because cg_clif doesn't support LTO, no object file for the LTO result will be created. However the linker code will still omit the object files created by cg_clif during compilation of the rlibs. Because of this there are many object files missing, causing a linker error. I will add a warning when using LTO for now.

bjorn3 commented 4 years ago

The server panics inside rayon at https://github.com/rayon-rs/rayon/blob/87dfd36a3b1c1a811b531edf90d39061ab12ef56/src/iter/collect/mod.rs#L108. Likely because the non atomic implementation of atomics in cg_clif produces a wrong result.

bjorn3 commented 4 years ago

At the first try the client produced sound with stuttering (I think this is expected for a build with optimizations equivalent to llvm's -O0), but it hung before the first paint. At the second try it did work, but I think connecting to the server timed-out and the next attempt to connect, it panicked among other places inside rayon.

bjorn3 commented 4 years ago

All panics when trying to use single player seem to be caused by atomic intrinsics not being atomic. cc #867

bjorn3 commented 4 years ago

I emulated atomic instructions using a global lock in 204bb38a32e301e8550e8b6880c16da2b84503c6. This fixes all panics. Unfortunately the map generation is very slow, so I haven't been able to play it using cg_clif yet.