nautilus crashed with signal 5 in _XEventsQueued()

Bug #1051625 reported by Philip Khor
156
This bug affects 24 people
Affects Status Importance Assigned to Milestone
nautilus (Ubuntu)
Invalid
High
Unassigned
nemo (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Bug report prompt appeared when printing in Libreoffice Calc. Not sure about the actual cause.

ProblemType: Crash
DistroRelease: Ubuntu 12.10
Package: nautilus 1:3.5.90.really.3.4.2-0ubuntu2
ProcVersionSignature: Ubuntu 3.5.0-14.19-generic 3.5.3
Uname: Linux 3.5.0-14-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.5.1-0ubuntu7
Architecture: amd64
Date: Mon Sep 17 00:02:19 2012
ExecutablePath: /usr/bin/nautilus
GsettingsChanges: b'org.gnome.nautilus.window-state' b'geometry' b"'800x550+478+220'"
InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120823.1)
ProcCmdline: nautilus trash://
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
Signal: 5
SourcePackage: nautilus
StacktraceTop:
 ?? () from /usr/lib/x86_64-linux-gnu/libX11.so.6
 ?? () from /usr/lib/x86_64-linux-gnu/libX11.so.6
 _XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
 XPending () from /usr/lib/x86_64-linux-gnu/libX11.so.6
 ?? () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
Title: nautilus crashed with signal 5 in _XEventsQueued()
UpgradeStatus: Upgraded to quantal on 2012-09-08 (8 days ago)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

Revision history for this message
Philip Khor (philip10khor) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 XPending (dpy=0x220f4c0) at ../../src/Pending.c:55
 gdk_check_xpending (display=<optimized out>) at /build/buildd/gtk+3.0-3.5.16/./gdk/x11/gdkeventsource.c:266
 gdk_event_source_check (source=0x222b430) at /build/buildd/gtk+3.0-3.5.16/./gdk/x11/gdkeventsource.c:297
 g_main_context_check (context=context@entry=0x220a200, max_priority=2147483647, fds=fds@entry=0x21e36a0, n_fds=n_fds@entry=6) at /build/buildd/glib2.0-2.33.12/./glib/gmain.c:3169
 g_main_context_iterate (context=context@entry=0x220a200, block=block@entry=1, dispatch=dispatch@entry=1, self=<error reading variable: Unhandled dwarf expression opcode 0xfa>) at /build/buildd/glib2.0-2.33.12/./glib/gmain.c:3287

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceSource.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in nautilus (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
tags: added: saucy
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nautilus (Ubuntu):
status: New → Confirmed
information type: Private → Public
tags: added: trusty
Revision history for this message
Eric Detheridge (ericdetheridge) wrote :

Get this same error (nemo crashed with signal 5 in _XEventsQueued()) in 14.04 with Nemo when the wallpaper is changed.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nemo (Ubuntu):
status: New → Confirmed
tags: added: wily
Changed in nemo (Ubuntu):
importance: Undecided → Medium
tags: added: xenial
tags: added: bugpattern-needed
Changed in nautilus (Ubuntu):
importance: Medium → High
Revision history for this message
Helio (crushedice2000) wrote :

Happened in 16.04 and Nautilus 3.14.3

I don't know if this is important, but my wallpaper is not the default one.

1. I pressed [<ALT> + <TAB>] and selected the "show desktop" icon on the window switcher.
2. My desktop appeared empty and with the default wallpaper (not the one I have).
3. I right-clicked on the middle of the desktop.
4. The desktop went black.
5. I opened Nautilus in a window to see if my files were intact.
6. The desktop flickered and appeared the custom wallpaper and the files.
7. Apport shown its dialog.

Revision history for this message
kg (box-dev) wrote :

I have had this issue in both 14.04 and 16.04 when changing wallpaper. There is a very high (50%?) chance that changing the wallpaper will crash nautilus.

Since it might be X related, I'll add that I'm using the open source "radeon" driver not a proprietary graphics driver.

Revision history for this message
kg (box-dev) wrote :

I should add - for me I get "nautilus crashed with signal 5 in _XReply()" - not in _XEventsQueued().

If nautilus is run from the console the following is output:

(nautilus:6095): Gdk-ERROR **: The program 'nautilus' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadDrawable (invalid Pixmap or Window parameter)'.
  (Details: serial 17383 error_code 9 request_code 53 (core protocol) minor_code 0)

Revision history for this message
kg (box-dev) wrote :

POTENTIAL FIX:

This got too annoying and was also happening with screen resolution changes so I looked into it further and found this: https://github.com/opinsys/puavo-rules/commit/b047b8058d72daea74cfaea2923cfdcad3a2a401

After setting the dconf key org/gnome/desktop/background/draw-background to false, the problem appears to be completely resolved. I no longer get crashes on wallpaper change, or on screen resolution change which were happening consistently before. Setting this key back to True and changing screen resolution produces a crash 100% of the time when I mouse over a desktop icon; with this key set to False, the problem does not happen.

I note that this does not actually fix the bug itself; there appears to be a problem to do with this setting, but perhaps it should not be being read in the first place?

The key description in dconf-editor says "DEPRECATED: This key is deprecated and ignored." but the default is still true, and it appears that the key is NOT ignored and in fact leads to these crashes unless set to false.

Hope this helps somebody fix this properly.

In the meantime anybody having this problem might want to try changing the key (install dconf-editor, then use the Find function to search for "draw-background" or navigate manually to the key above and setting it to false (unticked).

Revision history for this message
Sebastien Bacher (seb128) wrote :

The bug is quite old and the code changed since, also there has been no new report of that specific problem nor activity for some years so assuming it has been resolved and closing the ticket. If you still get issues in newer versions feel free to open a new report though.

Changed in nautilus (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Ebuzer Taha Kanat (ebuzer) wrote :

This bug appeared on up to date ubuntu xenial just now, bugs just don't disappear themselves therefor i don't get the reasoning behind no new report added so it must be solved logic. People don't report new ones for to known bug because it is already reported, so it is not surprising that most people came here saw this bug and said "yeah that is exactly what happened to me, so they are aware of the problem no need the re-report same bug"

This issue should re-open not new one this one because that is how issues work.

Revision history for this message
nilandenterprise (nilands55s) wrote :

For me this is still happening and I have other problems with nautilus such as desktop icons disappearing when there is activity like open or close nautilus or firefox. The same happend in ubutnu-gnome 14.04 LTS ad now 16.04 LTS. I was dragged into updating to 16 as support told me no help as this was my problem, but 16 has been a bad choice for me and this older computer. Very unhappy

Revision history for this message
nilandenterprise (nilands55s) wrote :
Revision history for this message
nilandenterprise (nilands55s) wrote :

Last 2 crashes were opening system settings and browsing /home folder
Happens continuously and the desktop icon get gone. have to open desktop folder from Places menu to get the desktop to show again
Ubuntu 14.04.6 , linux-image-4.4.0-246-generic but happen with linux-image-4.4.0-148-generic also

Revision history for this message
nilandenterprise (nilands55s) wrote :
Download full text (11.8 KiB)

linux-image-4.4.0-246-generic
SourcePackage: nautilus
Stacktrace:
 #0 0x00007f1eedc63d13 in g_logv () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
 No symbol table info available.
 #1 0x00007f1eedc63e72 in g_log () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
 No symbol table info available.
 #2 0x00007f1ef023a351 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
 No symbol table info available.
 #3 0x00007f1ef0242ab1 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
 No symbol table info available.
 #4 0x00007f1eef36c90b in _XError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
 No symbol table info available.
 #5 0x00007f1eef3699a7 in ?? () from /usr/lib/x86_64-linux-gnu/libX11.so.6
 No symbol table info available.
 #6 0x00007f1eef369a55 in ?? () from /usr/lib/x86_64-linux-gnu/libX11.so.6
 No symbol table info available.
 #7 0x00007f1eef36a385 in _XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
 No symbol table info available.
 #8 0x00007f1eef35c4ad in XPending () from /usr/lib/x86_64-linux-gnu/libX11.so.6
 No symbol table info available.
 #9 0x00007f1ef023fceb in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
 No symbol table info available.
 #10 0x00007f1eedc5c6dd in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
 No symbol table info available.
 #11 0x00007f1eedc5cf53 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
 No symbol table info available.
 #12 0x00007f1eedc5d13c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
 No symbol table info available.
 #13 0x00007f1eee211b8c in g_application_run () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
 No symbol table info available.
 #14 0x000000000042b561 in ?? ()
 No symbol table info available.
 #15 0x00007f1eed12df45 in __libc_start_main (main=0x42b4a0, argc=2, argv=0x7ffc5699ef38, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc5699ef28) at libc-start.c:287
         result = <optimized out>
         unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, 2375424497418986955, 4371866, 140721761414960, 0, 0, -2373503873354865205, -2392843124875369013}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x4ed880, 0x7ffc5699ef38}, data = {prev = 0x0, cleanup = 0x0, canceltype = 5167232}}}
         not_first_call = <optimized out>
 #16 0x000000000042b5c3 in ?? ()
 No symbol table info available.
StacktraceAddressSignature: /usr/bin/nautilus:5:x86_64:/lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0+4fd13:/lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0+4fe72:/usr/lib/x86_64-linux-gnu/libgdk-3.so.0.1000.8+47351:/usr/lib/x86_64-linux-gnu/libgdk-3.so.0.1000.8+4fab1:/usr/lib/x86_64-linux-gnu/libX11.so.6.3.0+3e90b:/usr/lib/x86_64-linux-gnu/libX11.so.6.3.0+3b9a7:/usr/lib/x86_64-linux-gnu/libX11.so.6.3.0+3ba55:/usr/lib/x86_64-linux-gnu/libX11.so.6.3.0+3c385:/usr/lib/x86_64-linux-gnu/libX11.so.6.3.0+2e4ad:/usr/lib/x86_64-linux-gnu/libgdk-3.so.0.1000.8+4cceb:/lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0+486dd:/lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0+48f53:/lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0+4913c:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.4002.0+a2b8c:/usr/bin/nautilus+2b561
StacktraceT...

Revision history for this message
nilandenterprise (nilands55s) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.