Opened 4 years ago
Last modified 3 months ago
#3405 new bug
"show_piecesbar" : triggers segmentation fault if not running "deluge debug"
Reported by: | schmidttyd | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | needs verified |
Component: | GTK UI | Version: | 2.0.0 |
Keywords: | show_piecesbar, "deluge debug" | Cc: |
Description
Deluge opens and behaves fine while "show_piecesbar" is false. If I change the setting "Show a pieces bar in Status tab" in the interface, it crashes Deluge just after a fraction of a second of seeing the pieces bar.
Oddly enough, everything looks and behaves (from what I can tell) perfectly fine if I open Deluge with "deluge debug".
$ deluge -v deluge 2.0.3 libtorrent: 1.1.13.0 Python: 3.8.2 OS: Linux Pop!_OS 20.04 focal
Attachments (1)
Change History (2)
by , 4 years ago
Attachment: | deluge.log added |
---|
comment:1 by , 4 years ago
I can confirm the behavior. Here's the TestCase: 1) show_piecesbar=true 2) download something. 3) close deluge 4) move the downloaded file so it cannot be 'fast resumed'. 5) crash 6) edit show_piecesbar=false 7) no crash
Hopefuly the syslog backtrace helps with pinning down the issue:
an 16 11:57:17 XXXXXX deluge.desktop[4771]: 11:57:17 [ERROR ][deluge.core.torrentmanager :1492] on_alert_fastresume_rejected: The.Expanse.S05E07.720p.WEB.H264-GLHF[TGx] fast resume rejected. file_stat(/media/DATA/downloads/The.Expanse.S05E07.720p.WEB.H264-GLHF[TGx]/[TGx]Downloaded from torrentgalaxy.to .txt): mismatching file size Jan 16 11:57:17 XXXXXX audit[4771]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=4771 comm="deluge-gtk" exe="/usr/bin/python3.9" sig=11 res=1 Jan 16 11:57:17 XXXXXX kernel: show_signal: 94 callbacks suppressed Jan 16 11:57:17 XXXXXX kernel: traps: deluge-gtk[4771] general protection fault ip:7fb2cf3173b5 sp:7ffd810dc508 error:0 in libc-2.32.so[7fb2cf1db000+14f000] Jan 16 11:57:17 XXXXXX systemd[1]: Created slice system-systemd\x2dcoredump.slice. Jan 16 11:57:17 XXXXXX audit: BPF prog-id=67 op=LOAD Jan 16 11:57:17 XXXXXX audit: BPF prog-id=68 op=LOAD Jan 16 11:57:17 XXXXXX audit: BPF prog-id=69 op=LOAD Jan 16 11:57:17 XXXXXX systemd[1]: Started Process Core Dump (PID 4852/UID 0). Jan 16 11:57:17 XXXXXX audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-coredump@0-4852-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' Jan 16 11:57:18 XXXXXX systemd-coredump[4853]: [🡕] Process 4771 (deluge-gtk) of user 1000 dumped core. Stack trace of thread 4771: #0 0x00007fb2cf3173b5 __strlen_avx2 (libc.so.6 + 0x1623b5) #1 0x00007fb2bf8add78 g_strdup (libglib-2.0.so.0 + 0x70d78) #2 0x00007fb2beaac77a pango_font_description_copy (libpango-1.0.so.0 + 0x1077a) #3 0x00007fb2beabeb6e pango_layout_set_font_description (libpango-1.0.so.0 + 0x22b6e) #4 0x00007fb2c03fcb10 ffi_call_unix64 (libffi.so.6 + 0x6b10) #5 0x00007fb2c03fc0a3 ffi_call (libffi.so.6 + 0x60a3) #6 0x00007fb2bf99b0fb pygi_invoke_c_callable (_gi.cpython-39-x86_64-linux-gnu.so + 0x2c0fb) #7 0x00007fb2bf999ba2 _wrap_g_callable_info_invoke (_gi.cpython-39-x86_64-linux-gnu.so + 0x2aba2) #8 0x00007fb2bf98e9ce _callable_info_call (_gi.cpython-39-x86_64-linux-gnu.so + 0x1f9ce) #9 0x00007fb2cf4938e3 _PyObject_MakeTpCall (libpython3.9.so.1.0 + 0x1138e3) #10 0x00007fb2cf4905ad _PyEval_EvalFrameDefault (libpython3.9.so.1.0 + 0x1105ad) #11 0x00007fb2cf49850b function_code_fastcall (libpython3.9.so.1.0 + 0x11850b) #12 0x00007fb2cf48b1d9 _PyEval_EvalFrameDefault (libpython3.9.so.1.0 + 0x10b1d9) #13 0x00007fb2cf49850b function_code_fastcall (libpython3.9.so.1.0 + 0x11850b) #14 0x00007fb2cf4a1270 method_vectorcall (libpython3.9.so.1.0 + 0x121270) #15 0x00007fb2bf99878b pyg_signal_class_closure_marshal (_gi.cpython-39-x86_64-linux-gnu.so + 0x2978b) #16 0x00007fb2bf7d3e2a g_closure_invoke (libgobject-2.0.so.0 + 0x13e2a) #17 0x00007fb2bf7fccce signal_emit_unlocked_R.isra.0 (libgobject-2.0.so.0 + 0x3ccce) #18 0x00007fb2bf7f0aee g_signal_emit_valist (libgobject-2.0.so.0 + 0x30aee) #19 0x00007fb2bf7f11a3 g_signal_emit (libgobject-2.0.so.0 + 0x311a3) #20 0x00007fb2be1c3e6a gtk_widget_draw_internal (libgtk-3.so.0 + 0x3a9e6a) #21 0x00007fb2bdf9d8a5 gtk_container_propagate_draw (libgtk-3.so.0 + 0x1838a5) #22 0x00007fb2bdf9da9d gtk_container_draw.lto_priv.0 (libgtk-3.so.0 + 0x183a9d) #23 0x00007fb2bdf47d91 gtk_box_draw_contents (libgtk-3.so.0 + 0x12dd91) #24 0x00007fb2bdf95161 gtk_css_custom_gadget_draw (libgtk-3.so.0 + 0x17b161) #25 0x00007fb2bdfa8e13 gtk_css_gadget_draw (libgtk-3.so.0 + 0x18ee13) #26 0x00007fb2bdf47e15 gtk_box_draw.lto_priv.0 (libgtk-3.so.0 + 0x12de15) #27 0x00007fb2be1c3c54 gtk_widget_draw_internal (libgtk-3.so.0 + 0x3a9c54) #28 0x00007fb2bdf9d8a5 gtk_container_propagate_draw (libgtk-3.so.0 + 0x1838a5) #29 0x00007fb2bdf9da9d gtk_container_draw.lto_priv.0 (libgtk-3.so.0 + 0x183a9d) #30 0x00007fb2bdf47d91 gtk_box_draw_contents (libgtk-3.so.0 + 0x12dd91) #31 0x00007fb2bdf95161 gtk_css_custom_gadget_draw (libgtk-3.so.0 + 0x17b161) #32 0x00007fb2bdfa8e13 gtk_css_gadget_draw (libgtk-3.so.0 + 0x18ee13) #33 0x00007fb2bdf47e15 gtk_box_draw.lto_priv.0 (libgtk-3.so.0 + 0x12de15) #34 0x00007fb2be1c3c54 gtk_widget_draw_internal (libgtk-3.so.0 + 0x3a9c54) #35 0x00007fb2bdf9d8a5 gtk_container_propagate_draw (libgtk-3.so.0 + 0x1838a5) #36 0x00007fb2bdf9da9d gtk_container_draw.lto_priv.0 (libgtk-3.so.0 + 0x183a9d) #37 0x00007fb2be1c3c54 gtk_widget_draw_internal (libgtk-3.so.0 + 0x3a9c54) #38 0x00007fb2bdf9d8a5 gtk_container_propagate_draw (libgtk-3.so.0 + 0x1838a5) #39 0x00007fb2bdf9da9d gtk_container_draw.lto_priv.0 (libgtk-3.so.0 + 0x183a9d) #40 0x00007fb2be0c6975 _gtk_pixel_cache_draw (libgtk-3.so.0 + 0x2ac975) #41 0x00007fb2be1b8f11 gtk_viewport_render (libgtk-3.so.0 + 0x39ef11) #42 0x00007fb2bdf95161 gtk_css_custom_gadget_draw (libgtk-3.so.0 + 0x17b161) #43 0x00007fb2bdfa8e13 gtk_css_gadget_draw (libgtk-3.so.0 + 0x18ee13) #44 0x00007fb2be1b8f61 gtk_viewport_draw (libgtk-3.so.0 + 0x39ef61) #45 0x00007fb2be1c3c54 gtk_widget_draw_internal (libgtk-3.so.0 + 0x3a9c54) #46 0x00007fb2bdf9d8a5 gtk_container_propagate_draw (libgtk-3.so.0 + 0x1838a5) #47 0x00007fb2bdf9da9d gtk_container_draw.lto_priv.0 (libgtk-3.so.0 + 0x183a9d) #48 0x00007fb2be0f8b82 gtk_scrolled_window_render (libgtk-3.so.0 + 0x2deb82) #49 0x00007fb2bdf95161 gtk_css_custom_gadget_draw (libgtk-3.so.0 + 0x17b161) #50 0x00007fb2bdfa8e13 gtk_css_gadget_draw (libgtk-3.so.0 + 0x18ee13) #51 0x00007fb2be0f9c35 gtk_scrolled_window_draw.lto_priv.0 (libgtk-3.so.0 + 0x2dfc35) #52 0x00007fb2be1c3c54 gtk_widget_draw_internal (libgtk-3.so.0 + 0x3a9c54) #53 0x00007fb2bdf9d8a5 gtk_container_propagate_draw (libgtk-3.so.0 + 0x1838a5) #54 0x00007fb2be0989a2 gtk_notebook_draw_stack (libgtk-3.so.0 + 0x27e9a2) #55 0x00007fb2bdf95161 gtk_css_custom_gadget_draw (libgtk-3.so.0 + 0x17b161) #56 0x00007fb2bdfa8e13 gtk_css_gadget_draw (libgtk-3.so.0 + 0x18ee13) #57 0x00007fb2bdf4fa60 gtk_box_gadget_draw (libgtk-3.so.0 + 0x135a60) #58 0x00007fb2bdfa8e13 gtk_css_gadget_draw (libgtk-3.so.0 + 0x18ee13) #59 0x00007fb2be094554 gtk_notebook_draw (libgtk-3.so.0 + 0x27a554) #60 0x00007fb2be1c3c54 gtk_widget_draw_internal (libgtk-3.so.0 + 0x3a9c54) #61 0x00007fb2bdf9d8a5 gtk_container_propagate_draw (libgtk-3.so.0 + 0x1838a5) #62 0x00007fb2be0ac1b4 gtk_paned_render (libgtk-3.so.0 + 0x2921b4) #63 0x00007fb2bdf95161 gtk_css_custom_gadget_draw (libgtk-3.so.0 + 0x17b161) Stack trace of thread 4846: #0 0x00007fb2cf2b6c4e epoll_wait (libc.so.6 + 0x101c4e) #1 0x00007fb2bfd77835 _ZN5boost4asio6detail13epoll_reactor3runElRNS1_8op_queueINS1_19scheduler_operationEEE (libtorrent-rasterbar.so.10 + 0x111835) #2 0x00007fb2bfd79116 _ZN5boost4asio6detail9scheduler3runERNS_6system10error_codeE (libtorrent-rasterbar.so.10 + 0x113116) #3 0x00007fb2bfe3efa2 _ZNSt6thread11_State_implINS_8_InvokerISt5tupleIJZN10libtorrent7session5startENS3_5flags13bitfield_flagIhNS3_17session_flags_tagEvEEONS3_14session_paramsEPN5boost4asio10io_contextEEUlvE_EEEEE6_M_runEv (libtorrent-rasterbar.so.10 + 0x1d8fa2) #4 0x00007fb2bfb195f4 execute_native_thread_routine (libstdc++.so.6 + 0xd65f4) #5 0x00007fb2cf19c3f9 start_thread (libpthread.so.0 + 0x93f9) #6 0x00007fb2cf2b6903 __clone (libc.so.6 + 0x101903) Stack trace of thread 4850: #0 0x00007fb2cf1a26c2 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf6c2) #1 0x00007fb2bfb13980 _ZNSt18condition_variable4waitERSt11unique_lockISt5mutexE (libstdc++.so.6 + 0xd0980) #2 0x00007fb2bff40e65 _ZN10libtorrent14disk_io_thread12wait_for_jobERNS0_9job_queueERNS_19disk_io_thread_poolERSt11unique_lockISt5mutexE (libtorrent-rasterbar.so.10 + 0x2dae65) #3 0x00007fb2bff476fa _ZN10libtorrent14disk_io_thread10thread_funERNS0_9job_queueERNS_19disk_io_thread_poolE (libtorrent-rasterbar.so.10 + 0x2e16fa) #4 0x00007fb2bff3fccd _ZNSt6thread11_State_implINS_8_InvokerISt5tupleIJMN10libtorrent21pool_thread_interfaceEFvRNS3_19disk_io_thread_poolEN5boost4asio10io_context4workEEPS4_St17reference_wrapperIS5_ESA_EEEEE6_M_runEv (libtorrent-rasterbar.so.10 + 0x2d9ccd) #5 0x00007fb2bfb195f4 execute_native_thread_routine (libstdc++.so.6 + 0xd65f4) #6 0x00007fb2cf19c3f9 start_thread (libpthread.so.0 + 0x93f9) #7 0x00007fb2cf2b6903 __clone (libc.so.6 + 0x101903) Stack trace of thread 4816: #0 0x00007fb2cf2ab80f __poll (libc.so.6 + 0xf680f) #1 0x00007fb2bf8e26f6 g_main_context_iterate.constprop.0 (libglib-2.0.so.0 + 0xa56f6) #2 0x00007fb2bf890033 g_main_loop_run (libglib-2.0.so.0 + 0x53033) #3 0x00007fb2bf689d1a gdbus_shared_thread_func.lto_priv.0 (libgio-2.0.so.0 + 0x10fd1a) #4 0x00007fb2bf8be2b2 g_thread_proxy (libglib-2.0.so.0 + 0x812b2) #5 0x00007fb2cf19c3f9 start_thread (libpthread.so.0 + 0x93f9) #6 0x00007fb2cf2b6903 __clone (libc.so.6 + 0x101903) Stack trace of thread 4823: #0 0x00007fb2cf2b130d syscall (libc.so.6 + 0xfc30d) #1 0x00007fb2bf8dd2ec g_cond_wait_until (libglib-2.0.so.0 + 0xa02ec) #2 0x00007fb2bf8613c1 g_async_queue_pop_intern_unlocked (libglib-2.0.so.0 + 0x243c1) #3 0x00007fb2bf861546 g_async_queue_timeout_pop (libglib-2.0.so.0 + 0x24546) #4 0x00007fb2bf8c0ef9 g_thread_pool_thread_proxy.lto_priv.0 (libglib-2.0.so.0 + 0x83ef9) #5 0x00007fb2bf8be2b2 g_thread_proxy (libglib-2.0.so.0 + 0x812b2) #6 0x00007fb2cf19c3f9 start_thread (libpthread.so.0 + 0x93f9) #7 0x00007fb2cf2b6903 __clone (libc.so.6 + 0x101903) Stack trace of thread 4847: #0 0x00007fb2cf1a26c2 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf6c2) #1 0x00007fb2bfd791f6 _ZN5boost4asio6detail9scheduler3runERNS_6system10error_codeE (libtorrent-rasterbar.so.10 + 0x1131f6) #2 0x00007fb2bfd8007c _ZN5boost4asio6detail12posix_thread4funcINS1_21resolver_service_base21work_scheduler_runnerEE3runEv (libtorrent-rasterbar.so.10 + 0x11a07c) #3 0x00007fb2bfd76cc4 boost_asio_detail_posix_thread_function (libtorrent-rasterbar.so.10 + 0x110cc4) #4 0x00007fb2cf19c3f9 start_thread (libpthread.so.0 + 0x93f9) #5 0x00007fb2cf2b6903 __clone (libc.so.6 + 0x101903) Stack trace of thread 4815: #0 0x00007fb2cf2ab80f __poll (libc.so.6 + 0xf680f) #1 0x00007fb2bf8e26f6 g_main_context_iterate.constprop.0 (libglib-2.0.so.0 + 0xa56f6) #2 0x00007fb2bf88dd43 g_main_context_iteration (libglib-2.0.so.0 + 0x50d43) #3 0x00007fb2bf88f961 glib_worker_main (libglib-2.0.so.0 + 0x52961) #4 0x00007fb2bf8be2b2 g_thread_proxy (libglib-2.0.so.0 + 0x812b2) #5 0x00007fb2cf19c3f9 start_thread (libpthread.so.0 + 0x93f9) #6 0x00007fb2cf2b6903 __clone (libc.so.6 + 0x101903) Stack trace of thread 4827: #0 0x00007fb2cf2ab80f __poll (libc.so.6 + 0xf680f) #1 0x00007fb2bf8e26f6 g_main_context_iterate.constprop.0 (libglib-2.0.so.0 + 0xa56f6) #2 0x00007fb2bf88dd43 g_main_context_iteration (libglib-2.0.so.0 + 0x50d43) #3 0x00007fb2bc20164d dconf_gdbus_worker_thread (libdconfsettings.so + 0x664d) #4 0x00007fb2bf8be2b2 g_thread_proxy (libglib-2.0.so.0 + 0x812b2) #5 0x00007fb2cf19c3f9 start_thread (libpthread.so.0 + 0x93f9) #6 0x00007fb2cf2b6903 __clone (libc.so.6 + 0x101903) Stack trace of thread 4851: #0 0x00007fb2cf1a26c2 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf6c2) #1 0x00007fb2bfb13980 _ZNSt18condition_variable4waitERSt11unique_lockISt5mutexE (libstdc++.so.6 + 0xd0980) #2 0x00007fb2bff40e65 _ZN10libtorrent14disk_io_thread12wait_for_jobERNS0_9job_queueERNS_19disk_io_thread_poolERSt11unique_lockISt5mutexE (libtorrent-rasterbar.so.10 + 0x2dae65) #3 0x00007fb2bff476fa _ZN10libtorrent14disk_io_thread10thread_funERNS0_9job_queueERNS_19disk_io_thread_poolE (libtorrent-rasterbar.so.10 + 0x2e16fa) #4 0x00007fb2bff3fccd _ZNSt6thread11_State_implINS_8_InvokerISt5tupleIJMN10libtorrent21pool_thread_interfaceEFvRNS3_19disk_io_thread_poolEN5boost4asio10io_context4workEEPS4_St17reference_wrapperIS5_ESA_EEEEE6_M_runEv (libtorrent-rasterbar.so.10 + 0x2d9ccd) #5 0x00007fb2bfb195f4 execute_native_thread_routine (libstdc++.so.6 + 0xd65f4) #6 0x00007fb2cf19c3f9 start_thread (libpthread.so.0 + 0x93f9) #7 0x00007fb2cf2b6903 __clone (libc.so.6 + 0x101903) Stack trace of thread 4849: #0 0x00007fb2cf1a26c2 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf6c2) #1 0x00007fb2bfb13980 _ZNSt18condition_variable4waitERSt11unique_lockISt5mutexE (libstdc++.so.6 + 0xd0980) #2 0x00007fb2bff40e65 _ZN10libtorrent14disk_io_thread12wait_for_jobERNS0_9job_queueERNS_19disk_io_thread_poolERSt11unique_lockISt5mutexE (libtorrent-rasterbar.so.10 + 0x2dae65) #3 0x00007fb2bff476fa _ZN10libtorrent14disk_io_thread10thread_funERNS0_9job_queueERNS_19disk_io_thread_poolE (libtorrent-rasterbar.so.10 + 0x2e16fa) #4 0x00007fb2bff3fccd _ZNSt6thread11_State_implINS_8_InvokerISt5tupleIJMN10libtorrent21pool_thread_interfaceEFvRNS3_19disk_io_thread_poolEN5boost4asio10io_context4workEEPS4_St17reference_wrapperIS5_ESA_EEEEE6_M_runEv (libtorrent-rasterbar.so.10 + 0x2d9ccd) #5 0x00007fb2bfb195f4 execute_native_thread_routine (libstdc++.so.6 + 0xd65f4) #6 0x00007fb2cf19c3f9 start_thread (libpthread.so.0 + 0x93f9) #7 0x00007fb2cf2b6903 __clone (libc.so.6 + 0x101903) Jan 16 11:57:18 XXXXXX systemd[2066]: app-gnome-deluge-4771.scope: Succeeded. Jan 16 11:57:18 XXXXXX audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-coredump@0-4852-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' Jan 16 11:57:18 XXXXXX gnome-shell[4861]: X Error of failed request: BadWindow (invalid Window parameter) Jan 16 11:57:18 XXXXXX gnome-shell[4861]: Major opcode of failed request: 18 (X_ChangeProperty) Jan 16 11:57:18 XXXXXX gnome-shell[4861]: Resource id in failed request: 0x4200037 Jan 16 11:57:18 XXXXXX gnome-shell[4861]: Serial number of failed request: 13 Jan 16 11:57:18 XXXXXX gnome-shell[4861]: Current serial number in output stream: 15 Jan 16 11:57:18 XXXXXX systemd[2066]: app-gnome-deluge-4771.scope: Consumed 1.781s CPU time. Jan 16 11:57:18 XXXXXX systemd[1]: systemd-coredump@0-4852-0.service: Succeeded. Jan 16 11:57:18 XXXXXX gnome-shell[2272]: Could not create transient scope for PID 4861: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 4861 does not exist. Jan 16 11:57:18 XXXXXX audit: BPF prog-id=69 op=UNLOAD Jan 16 11:57:18 XXXXXX audit: BPF prog-id=68 op=UNLOAD Jan 16 11:57:18 XXXXXX audit: BPF prog-id=67 op=UNLOAD Jan 16 11:57:19 XXXXXX abrt-dump-journal-oops[1307]: abrt-dump-journal-oops: Found oopses: 1 Jan 16 11:57:19 XXXXXX abrt-dump-journal-oops[1307]: abrt-dump-journal-oops: Creating problem directories Jan 16 11:57:19 XXXXXX abrt-server[4865]: Interpreter crashed, but no packaged script detected: 'deluge-gtk' Jan 16 11:57:19 XXXXXX abrt-server[4865]: 'post-create' on '/var/spool/abrt/ccpp-2021-01-16-11:57:18.895321-4771' exited with 1 Jan 16 11:57:19 XXXXXX abrt-server[4865]: Deleting problem directory '/var/spool/abrt/ccpp-2021-01-16-11:57:18.895321-4771' Jan 16 11:57:20 XXXXXX abrt-dump-journal-oops[1307]: Reported 1 kernel oopses to Abrt Jan 16 11:57:21 XXXXXX abrt-server[4867]: Can't find a meaningful backtrace for hashing in '.' Jan 16 11:57:21 XXXXXX abrt-server[4867]: Preserving oops '.' because DropNotReportableOopses is 'no' Jan 16 11:57:22 XXXXXX abrt-notification[4895]: [🡕] System encountered a non-fatal error in ??()
deluge -L debug