eog crashed with SIGSEGV in gdk_window_has_impl()

Bug #843313 reported by Svein Tore on 2011-09-06
38
This bug affects 8 people
Affects Status Importance Assigned to Milestone
eog (Ubuntu)
High
Chase Douglas
Oneiric
High
Chase Douglas

Bug Description

Crashes upon opening any image on updated Oneiric beta.

ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: eog 3.1.90-0ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-9.15-generic 3.0.3
Uname: Linux 3.0.0-9-generic i686
Architecture: i386
Date: Wed Sep 7 00:01:58 2011
ExecutablePath: /usr/bin/eog
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
ProcCmdline: eog /tmp/tmp1EGv9E
ProcEnviron:
 LANGUAGE=nb:en_US:en_CA:en_GB:en_NZ:en
 PATH=(custom, no user)
 LANG=nb_NO.UTF-8
 LC_MESSAGES=nb_NO.UTF-8
 SHELL=/bin/bash
SegvAnalysis:
 Segfault happened at: 0xa50944: cmp 0x50(%eax),%eax
 PC (0x00a50944) ok
 source "0x50(%eax)" (0x00000050) not located in a known VMA region (needed readable region)!
 destination "%eax" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: eog
StacktraceTop:
 ?? () from /usr/lib/libgdk-3.so.0
 gdk_x11_window_get_xid () from /usr/lib/libgdk-3.so.0
 ?? () from /usr/lib/libgrip.so.0
 ?? () from /usr/lib/libgrip.so.0
 ?? () from /usr/lib/libgrip.so.0
Title: eog crashed with SIGSEGV in gdk_x11_window_get_xid()
UpgradeStatus: Upgraded to oneiric on 2011-09-02 (4 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Svein Tore (sveint) wrote :

StacktraceTop:
 gdk_window_has_impl (window=0x0) at /build/buildd/gtk+3.0-3.1.18/./gdk/gdkwindow.c:637
 _gdk_window_has_impl (window=0x0) at /build/buildd/gtk+3.0-3.1.18/./gdk/gdkwindow.c:651
 gdk_x11_window_get_xid (window=0x0) at /build/buildd/gtk+3.0-3.1.18/./gdk/x11/gdkwindow-x11.c:4753
 ?? () from /tmp/tmpIiXg9z/usr/lib/libgrip.so.0
 ?? () from /tmp/tmpIiXg9z/usr/lib/libgrip.so.0

Changed in eog (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
Changed in eog (Ubuntu):
status: New → Confirmed
visibility: private → public
Download full text (4.0 KiB)

I have seen a similar / possible the same crash.

(eog:5775): EOG-CRITICAL **: eog_image_get_file: assertion `EOG_IS_IMAGE (img)' failed

(eog:5775): GLib-GIO-CRITICAL **: g_file_equal: assertion `G_IS_FILE (file1)' failed

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff60ad812 in gdk_window_has_impl (window=0x0) at /build/buildd/gtk+3.0-3.1.92/./gdk/gdkwindow.c:650
650 /build/buildd/gtk+3.0-3.1.92/./gdk/gdkwindow.c: No such file or directory.
 in /build/buildd/gtk+3.0-3.1.92/./gdk/gdkwindow.c
(gdb) bt
#0 0x00007ffff60ad812 in gdk_window_has_impl (window=0x0) at /build/buildd/gtk+3.0-3.1.92/./gdk/gdkwindow.c:650
#1 _gdk_window_has_impl (window=0x0) at /build/buildd/gtk+3.0-3.1.92/./gdk/gdkwindow.c:651
#2 0x00007ffff60e51fe in gdk_x11_window_get_xid (window=0x0)
    at /build/buildd/gtk+3.0-3.1.92/./gdk/x11/gdkwindow-x11.c:4753
#3 0x00007ffff69a1b97 in new_window_registration (manager=0xa98040, toplevel=0x7c10f0) at gripgesturemanager.c:1064
#4 0x00007ffff69a2588 in register_internal (manager=0xa98040, widget=0xb4bb00, gesture_type=GRIP_GESTURE_PINCH,
    device_type=7, touch_points=2, callback=0x4499e0 <_utouch_gesture_event>, user_data=0x0, destroy=0)
    at gripgesturemanager.c:1205
#5 0x00007ffff69a28e0 in register_widget (destroy=0, user_data=0x0, callback=0x4499e0 <_utouch_gesture_event>,
    touch_points=2, device_type=7, gesture_type=GRIP_GESTURE_PINCH, widget=0xb4bb00, manager=0xa98040)
    at gripgesturemanager.c:1321
#6 window_mapped_cb (widget=0x7c0e20, event=<optimized out>, user_data=0xa98040) at gripgesturemanager.c:1363
#7 0x00007ffff6476803 in _gtk_marshal_BOOLEAN__BOXED (closure=0x7fffe4e4e390, return_value=0x7fffffffdfc0,
    n_param_values=<optimized out>, param_values=0x23b3840, invocation_hint=<optimized out>,
    marshal_data=<optimized out>) at /build/buildd/gtk+3.0-3.1.92/./gtk/gtkmarshalers.c:85
#8 0x00007ffff490a254 in g_closure_invoke (closure=0x7fffe4e4e390, return_value=0x7fffffffdfc0, n_param_values=2,
    param_values=0x23b3840, invocation_hint=<optimized out>) at /build/buildd/glib2.0-2.29.92/./gobject/gclosure.c:774
#9 0x00007ffff491d4fb in signal_emit_unlocked_R (node=<optimized out>, detail=0, instance=0x7c0e20,
    emission_return=0x7fffffffe100, instance_and_params=0x23b3840)
    at /build/buildd/glib2.0-2.29.92/./gobject/gsignal.c:3272
#10 0x00007ffff49269a6 in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>,
    detail=<optimized out>, var_args=0x7fffffffe168) at /build/buildd/glib2.0-2.29.92/./gobject/gsignal.c:3013
#11 0x00007ffff4926ce2 in g_signal_emit (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>)
    at /build/buildd/glib2.0-2.29.92/./gobject/gsignal.c:3060
#12 0x00007ffff65bef49 in gtk_widget_event_internal (widget=0x7c0e20, event=0x7fffdd024b90)
    at /build/buildd/gtk+3.0-3.1.92/./gtk/gtkwidget.c:6131
#13 0x00007ffff6476673 in gtk_main_do_event (event=0x7fffdd024b90)
    at /build/buildd/gtk+3.0-3.1.92/./gtk/gtkmain.c:1835
#14 0x00007ffff60cfa32 in gdk_event_source_dispatch (source=<optimized out>, callback=<optimized out>,
    user_data=<optimized out>) at /build/buildd/gtk+3.0-3.1.92/./gdk/x11/gdkevent...

Read more...

summary: - eog crashed with SIGSEGV in gdk_x11_window_get_xid()
+ eog crashed with SIGSEGV in gdk_window_has_impl()

I can reproduce this crash by doing "gdb eog" in one window, and "for x in {1..10}; do eog *; sleep 1; done" in another. While the windows are opening click next/previous in the opened windows.

Sebastien Bacher (seb128) wrote :

Chase, that seems a libgrip issue or a bug in the eog patch from your team, could you check on it?

Changed in eog (Ubuntu):
importance: Medium → High
Changed in eog (Ubuntu Oneiric):
assignee: nobody → Chase Douglas (chasedouglas)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers