Package: xfdesktop4
Version: 4.12.4-1
Severity: normal
Dear Maintainer,
I right-clicked on a desktop icon for a PDF and selected "move to
trash". This apparently caused xfdesktop4 to crash. I found this
text in .xsession-errors:
[xcb] Unknown sequence number while processing queue
[xcb] Most likely this is a multi-threaded client and XInitThreads has not
been called
[xcb] Aborting, sorry about that.
xfdesktop: ../../src/xcb_io.c:259: poll_for_event: Assertion
`!xcb_xlib_threads_sequence_lost' failed.
And I found a core file with the following stack:
Core was generated by `xfdesktop --display :0.0 --sm-client-id
29f38e940-3cce-4627-9f73-2a9b5e779bd4'.
Program terminated with signal SIGABRT, Aborted.
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
[Current thread is 1 (Thread 0x7ffadb3f7a80 (LWP 14252))]
(gdb) bt
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1 0x00007ffad77de231 in __GI_abort () at abort.c:79
#2 0x00007ffad77d59da in __assert_fail_base (
fmt=0x7ffad7928d48 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
assertion=assertion@entry=0x7ffadad743e0
"!xcb_xlib_threads_sequence_lost", file=file@entry=0x7ffadad7424b
"../../src/xcb_io.c", line=line@entry=259,
function=function@entry=0x7ffadad74688 <__PRETTY_FUNCTION__.14896>
"poll_for_event") at assert.c:92
#3 0x00007ffad77d5a52 in __GI___assert_fail (
assertion=assertion@entry=0x7ffadad743e0
"!xcb_xlib_threads_sequence_lost", file=file@entry=0x7ffadad7424b
"../../src/xcb_io.c", line=line@entry=259,
function=function@entry=0x7ffadad74688 <__PRETTY_FUNCTION__.14896>
"poll_for_event") at assert.c:101
#4 0x00007ffadad033ca in poll_for_event (dpy=dpy@entry=0x556075846370)
at ../../src/xcb_io.c:256
#5 0x00007ffadad0346e in poll_for_response (dpy=dpy@entry=0x556075846370)
at ../../src/xcb_io.c:274
#6 0x00007ffadad0375d in _XEventsQueued (dpy=dpy@entry=0x556075846370,
mode=mode@entry=2) at ../../src/xcb_io.c:349
#7 0x00007ffadacf52cd in XPending (dpy=0x556075846370)
at ../../src/Pending.c:55
#8 0x00007ffad95100a5 in gdk_check_xpending (display=<optimized out>)
at ./gdk/x11/gdkevents-x11.c:159
#9 gdk_event_check (source=0x556075874ea0) at ./gdk/x11/gdkevents-x11.c:2400
#10 0x00007ffad7dd3e51 in g_main_context_check (
context=context@entry=0x55607582f8b0, max_priority=2147483647,
fds=fds@entry=0x5560759a09d0, n_fds=n_fds@entry=5)
at ../../../../glib/gmain.c:3736
#11 0x00007ffad7dd43e0 in g_main_context_iterate (context=0x55607582f8b0,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
at ../../../../glib/gmain.c:3900
#12 0x00007ffad7dd47d2 in g_main_loop_run (loop=0x556075995650)
at ../../../../glib/gmain.c:4099
#13 0x00007ffad989f977 in IA__gtk_main () at ./gtk/gtkmain.c:1270
#14 0x00005560745d3780 in xfdesktop_application_start (app=0x55607582b150)
at xfdesktop-application.c:768
#15 0x00005560745d3be6 in cb_wait_for_window_manager_destroyed (
data=0x7ffac0007d80) at xfdesktop-application.c:630
#16 0x00007ffad7dd0ae3 in g_source_callback_unref (cb_data=0x5560758b91d0)
at ../../../../glib/gmain.c:1546
#17 0x00007ffad7dd155c in g_source_destroy_internal (source=0x5560758d1560,
context=0x55607582f8b0, have_lock=1) at ../../../../glib/gmain.c:1236
#18 0x00007ffad7dd4180 in g_main_dispatch (context=0x55607582f8b0)
at ../../../../glib/gmain.c:3201
#19 g_main_context_dispatch (context=context@entry=0x55607582f8b0)
at ../../../../glib/gmain.c:3830
#20 0x00007ffad7dd44c0 in g_main_context_iterate (
context=context@entry=0x55607582f8b0, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>)
at ../../../../glib/gmain.c:3903
#21 0x00007ffad7dd454c in g_main_context_iteration (
context=context@entry=0x55607582f8b0, may_block=may_block@entry=1)
at ../../../../glib/gmain.c:3964
#22 0x00007ffad881acdd in g_application_run (application=0x55607582b150,
argc=<optimized out>, argv=<optimized out>)
at ../../../../gio/gapplication.c:2470
#23 0x00005560745c8c8d in main (argc=5, argv=0x7ffed54983e8) at main.c:86
I have not been able to reproduce the crash. After xfdesktop4
restarted, I was able to delete the PDF file (right-click, move to
trash).
The system is a VirtualBox guest. The host is running Debian Stretch
with VirtualBox 5.2.12. The guest is running with the 5.2.12 Guest
Additions.
Some 5-10 minutes before the crash, I had installed a bunch of
updates, logged out, logged in again, and then created the PDF file
(printing from Firefox). I did not do any operations on desktop
objects prior to the attempted deletion.
-- System Information:
Debian Release: buster/sid
APT prefers testing-debug
APT policy: (500, 'testing-debug'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.16.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8),
LANGUAGE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages xfdesktop4 depends on:
ii exo-utils 0.12.0-1
ii libc6 2.27-3
ii libcairo2 1.15.10-3
ii libdbus-1-3 1.12.8-2
ii libdbus-glib-1-2 0.110-2
ii libexo-1-0 0.12.0-1
ii libgarcon-1-0 0.6.1-2
ii libgdk-pixbuf2.0-0 2.36.11-2
ii libglib2.0-0 2.56.1-2
ii libgtk2.0-0 2.24.32-1
ii libnotify4 0.7.7-3
ii libpango-1.0-0 1.42.0-1
ii libpangocairo-1.0-0 1.42.0-1
ii libthunarx-2-0 1.6.15-1
ii libwnck22 2.30.7-5.1
ii libx11-6 2:1.6.5-1
ii libxfce4ui-1-0 4.12.1-3
ii libxfce4util7 4.12.1-3
ii libxfconf-0-2 4.12.1-1
ii xfdesktop4-data 4.12.4-1
Versions of packages xfdesktop4 recommends:
ii dbus-x11 [dbus-session-bus] 1.12.8-2
ii librsvg2-common 2.40.20-2
ii tumbler 0.2.1-1
ii xdg-user-dirs 0.17-1
Versions of packages xfdesktop4 suggests:
ii menu 2.1.47+b1
-- no debconf information