What are the minimum necessary steps to reproduce this issue?
build all dependencies (GTK etc.) and effitask: ok
launch effitask: ok (GUI comes up, I can create a todo)
quit effitask: crash
What happens?
effitask crashes on exit, consistently.
What were you expecting to happen?
effitask exits without a crash.
Please paste any error or log messages here
name = 'effitask'
operating_system = 'unix:OSX'
crate_version = '0.1.0'
explanation = '''
Panic occurred in file '/Users/Shared/work/0.1/home/.cargo/registry/src/github.com-1ecc6299db9ec823/relm-0.22.0/src/core/mod.rs' at line 82
'''
cause = 'Trying to call emit() on a dropped EventStream'
method = 'Panic'
backtrace = '''
0: 0x10d2b32de - std::panicking::begin_panic::hc31f9a1b09298621
1: 0x10d0f8ad0 - relm::core::StreamHandle<MSG>::emit::h14743d65dcd11e53
2: 0x10d130582 - <O as gtk::auto::container::ContainerExt>::connect_add::add_trampoline::h3e0e732625da519e
3: 0x10e50e524 - g_closure_invoke
at /Users/Shared/work/0.1/var/build/glib-2.68.0/../../../usr/src/glib-2.68.0/gobject/gclosure.c:810
4: 0x10e524ed3 - signal_emit_unlocked_R
at /Users/Shared/work/0.1/var/build/glib-2.68.0/../../../usr/src/glib-2.68.0/gobject/gsignal.c:3741
5: 0x10e525d2d - g_signal_emit_valist
at /Users/Shared/work/0.1/var/build/glib-2.68.0/../../../usr/src/glib-2.68.0/gobject/gsignal.c:3497
6: 0x10e526202 - g_signal_emit
at /Users/Shared/work/0.1/var/build/glib-2.68.0/../../../usr/src/glib-2.68.0/gobject/gsignal.c:3553
7: 0x10d5b2e80 - gtk_container_remove
at /Users/Shared/work/0.1/var/build/gtk+-3.24.30/../../../usr/src/gtk+-3.24.30/gtk/gtkcontainer.c:1906
8: 0x10d83c83d - gtk_widget_dispose
at /Users/Shared/work/0.1/var/build/gtk+-3.24.30/../../../usr/src/gtk+-3.24.30/gtk/gtkwidget.c:12151
9: 0x10e51386f - g_object_run_dispose
at /Users/Shared/work/0.1/var/build/glib-2.68.0/../../../usr/src/glib-2.68.0/gobject/gobject.c:1226
10: 0x10d6a7029 - gtk_list_box_forall
at /Users/Shared/work/0.1/var/build/gtk+-3.24.30/../../../usr/src/gtk+-3.24.30/gtk/gtklistbox.c:2592
11: 0x10d5b506e - gtk_container_foreach
at /Users/Shared/work/0.1/var/build/gtk+-3.24.30/../../../usr/src/gtk+-3.24.30/gtk/gtkcontainer.c:2478
- gtk_container_destroy
at /Users/Shared/work/0.1/var/build/gtk+-3.24.30/../../../usr/src/gtk+-3.24.30/gtk/gtkcontainer.c:1701
12: 0x10e50e524 - g_closure_invoke
at /Users/Shared/work/0.1/var/build/glib-2.68.0/../../../usr/src/glib-2.68.0/gobject/gclosure.c:810
13: 0x10e5250de - signal_emit_unlocked_R
at /Users/Shared/work/0.1/var/build/glib-2.68.0/../../../usr/src/glib-2.68.0/gobject/gsignal.c:3859
14: 0x10e525d2d - g_signal_emit_valist
at /Users/Shared/work/0.1/var/build/glib-2.68.0/../../../usr/src/glib-2.68.0/gobject/gsignal.c:3497
15: 0x10e526202 - g_signal_emit
at /Users/Shared/work/0.1/var/build/glib-2.68.0/../../../usr/src/glib-2.68.0/gobject/gsignal.c:3553
16: 0x10d83c896 - gtk_widget_dispose
at /Users/Shared/work/0.1/var/build/gtk+-3.24.30/../../../usr/src/gtk+-3.24.30/gtk/gtkwidget.c:12162
17: 0x10e513a93 - g_object_unref
at /Users/Shared/work/0.1/var/build/glib-2.68.0/../../../usr/src/glib-2.68.0/gobject/gobject.c:3486
18: 0x10d1178b6 - std::thread::local::fast::destroy_value::hb052f667c51a32f9
19: 0x10d299a5b - std::sys::unix::thread_local_dtor::register_dtor::run_dtors::hcc9b25a07f3c4380
at /rustc/a178d0322ce20e33eac124758e837cbd80a6f633/library/std/src/sys/unix/thread_local_dtor.rs:89
20: 0x7fff2052de18 - <unresolved>
21: 0x7fff20443009 - <unresolved>'''
Any other details
I'm working on packaging this for macOS. Currently using 11.5.1 but targeting 10.13 for more backward compatibility. I'm in the very early stages and I have no prior experience with effitask, so it's possible that I'm missing something that it requires to function properly. I don't speak Rust and looking at what the crashlog tells me to look at doesn't give me any pointers to investigate this on my own.
What are the minimum necessary steps to reproduce this issue?
What happens?
effitask crashes on exit, consistently.
What were you expecting to happen?
effitask exits without a crash.
Please paste any error or log messages here
Any other details
I'm working on packaging this for macOS. Currently using 11.5.1 but targeting 10.13 for more backward compatibility. I'm in the very early stages and I have no prior experience with effitask, so it's possible that I'm missing something that it requires to function properly. I don't speak Rust and looking at what the crashlog tells me to look at doesn't give me any pointers to investigate this on my own.