GTK 2.11.3 save dialog crashes application

Bug #120947 reported by Benjamin_L
26
Affects Status Importance Assigned to Milestone
GTK+
Expired
Critical
glib2.0 (Ubuntu)
Fix Released
High
Ubuntu Desktop Bugs

Bug Description

Binary package hint: libgtk2.0-0

After updating to GTK+ 2.11.3 on gutsy the opening of the file saving dialog crashes the application.

Related branches

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

Thanks for your bug report. Please try to obtain a backtrace http://wiki.ubuntu.com/DebuggingProgramCrash and attach the file to the bug report. This will greatly help us in tracking down your problem.

Changed in gtk+2.0:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: Unconfirmed → Needs Info
Revision history for this message
Benjamin_L (benjamin-lebsanft) wrote :
Download full text (3.2 KiB)

gedit yields this:
gdb gedit
GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(gdb) run
Starting program: /usr/bin/gedit
Failed to read a valid object file image from memory.
[Thread debugging using libthread_db enabled]
[New Thread -1228785984 (LWP 22766)]

(gedit:22766): Gtk-CRITICAL **: gtk_file_system_filename_to_path: assertion `filename != NULL' failed

(gedit:22766): Gtk-CRITICAL **: gtk_file_system_path_is_local: assertion `path != NULL' failed

(gedit:22766): Gtk-CRITICAL **: gtk_file_system_path_is_local: assertion `path != NULL' failed

(gedit:22766): Gtk-CRITICAL **: gtk_file_system_path_is_local: assertion `path != NULL' failed

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1228785984 (LWP 22766)]
0xb72dadf8 in strcmp () from /lib/tls/i686/cmov/libc.so.6
(gdb) thread apply all bt

Thread 1 (Thread -1228785984 (LWP 22766)):
#0 0xb72dadf8 in strcmp () from /lib/tls/i686/cmov/libc.so.6
#1 0xb79f1f9d in create_file_info (folder_unix=0x0,
    filename=0x84ebbe0 "/home/benni", basename=0x84ede40 "benni", types=69,
    statbuf=0xbfeb9268, mime_type=0x0)
    at /build/buildd/gtk+2.0-2.11.3/gtk/gtkfilesystemunix.c:1609
#2 0xb79f3f36 in gtk_file_system_unix_get_info (file_system=0x850f1c0,
    path=0x84ebbe0, types=<value optimized out>,
    callback=0xb7817d80 <get_file_info_finished>, data=0x84e2460)
    at /build/buildd/gtk+2.0-2.11.3/gtk/gtkfilesystemunix.c:842
#3 0xb7837690 in IA__gtk_file_system_get_info (file_system=0x850f1c0,
    path=0x84ebbe0, types=69, callback=0xb7817d80 <get_file_info_finished>,
    data=0x84e2460) at /build/buildd/gtk+2.0-2.11.3/gtk/gtkfilesystem.c:476
#4 0xb78177a0 in shortcuts_insert_path (impl=0x84e1038, pos=7,
    shortcut_type=<value optimized out>, volume=0x0, path=0x84e24b8,
    label=0x0, removable=0, type=SHORTCUTS_CURRENT_FOLDER)
    at /build/buildd/gtk+2.0-2.11.3/gtk/gtkfilechooserdefault.c:1777
#5 0xb781b1f8 in update_current_folder_get_info_cb (handle=0x818aa68,
    info=0x852b748, error=0x0, user_data=0x852aa58)
    at /build/buildd/gtk+2.0-2.11.3/gtk/gtkfilechooserdefault.c:2316
#6 0xb79f344e in execute_callbacks (data=0x850f1c0)
    at /build/buildd/gtk+2.0-2.11.3/gtk/gtkfilesystemunix.c:525
---Type <return> to continue, or q <return> to quit---
#7 0xb76ac968 in gdk_threads_dispatch (data=0x84e0010)
    at /build/buildd/gtk+2.0-2.11.3/gdk/gdk.c:470
#8 0xb73de471 in ?? () from /usr/lib/libglib-2.0.so.0
#9 0x084e0010 in ?? ()
#10 0xb746a21c in ?? () from /usr/lib/libglib-2.0.so.0
#11 0xb7dd5bf0 in ?? () from /lib/tls/i686/cmov/libpthread.so.0
#12 0x084e27e0 in ?? ()
#13 0xbfeb9478 in ?? ()
#14 0xb746a21c in ?? () from /usr/lib/libglib-2.0.so.0
#15 0xbfeb94d8 in ?? ()
#16 0xb73e003c in g_main_context_dispatch () from /usr/lib/libglib-2.0.so....

Read more...

Revision history for this message
Benjamin_L (benjamin-lebsanft) wrote :
Download full text (3.3 KiB)

Eye of GNOME yield this when opening the open dialog:

gdb eog
GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(gdb) r
Starting program: /usr/bin/eog
Failed to read a valid object file image from memory.
[Thread debugging using libthread_db enabled]
[New Thread -1227352384 (LWP 23215)]
[New Thread -1228907632 (LWP 23220)]

(eog:23215): Gtk-CRITICAL **: gtk_file_system_filename_to_path: assertion `filename != NULL' failed

(eog:23215): Gtk-CRITICAL **: gtk_file_system_path_is_local: assertion `path != NULL' failed

(eog:23215): Gtk-CRITICAL **: gtk_file_system_path_is_local: assertion `path != NULL' failed

(eog:23215): Gtk-CRITICAL **: gtk_file_system_path_is_local: assertion `path != NULL' failed

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1227352384 (LWP 23215)]
0xb7522df8 in strcmp () from /lib/tls/i686/cmov/libc.so.6
(gdb) thread apply all bt

Thread 2 (Thread -1228907632 (LWP 23220)):
#0 0xffffe410 in ?? ()
#1 0xb6c05398 in ?? ()
#2 0x00000003 in ?? ()
#3 0x00000000 in ?? ()

Thread 1 (Thread -1227352384 (LWP 23215)):
#0 0xb7522df8 in strcmp () from /lib/tls/i686/cmov/libc.so.6
#1 0xb7c82f9d in create_file_info (folder_unix=0x0, filename=0x841fa10 "/home/benni", basename=0x83dfa40 "benni",
    types=69, statbuf=0xbfdbd198, mime_type=0x0) at /build/buildd/gtk+2.0-2.11.3/gtk/gtkfilesystemunix.c:1609
#2 0xb7c84f36 in gtk_file_system_unix_get_info (file_system=0x83cb000, path=0x841fa10, types=<value optimized out>,
    callback=0xb7aa8d80 <get_file_info_finished>, data=0x83dfa80)
    at /build/buildd/gtk+2.0-2.11.3/gtk/gtkfilesystemunix.c:842
#3 0xb7ac8690 in IA__gtk_file_system_get_info (file_system=0x83cb000, path=0x841fa10, types=69,
    callback=0xb7aa8d80 <get_file_info_finished>, data=0x83dfa80)
    at /build/buildd/gtk+2.0-2.11.3/gtk/gtkfilesystem.c:476
#4 0xb7aa87a0 in shortcuts_insert_path (impl=0x83ca090, pos=7, shortcut_type=<value optimized out>, volume=0x0,
    path=0x83dfb50, label=0x0, removable=0, type=SHORTCUTS_CURRENT_FOLDER)
    at /build/buildd/gtk+2.0-2.11.3/gtk/gtkfilechooserdefault.c:1777
#5 0xb7aac1f8 in update_current_folder_get_info_cb (handle=0x8143760, info=0x8403240, error=0x0, user_data=0x8403c48)
    at /build/buildd/gtk+2.0-2.11.3/gtk/gtkfilechooserdefault.c:2316
#6 0xb7c8444e in execute_callbacks (data=0x83cb000) at /build/buildd/gtk+2.0-2.11.3/gtk/gtkfilesystemunix.c:525
#7 0xb793e968 in gdk_threads_dispatch (data=0x83e2990) at /build/buildd/gtk+2.0-2.11.3/gdk/gdk.c:470
#8 0xb76dd471 in ?? () from /usr/lib/libglib-2.0.so.0
#9 0x083e2990 in ?? ()
#10 0xb776921c in ?? () from /usr/lib/libglib-2.0.so.0
#11 0xb7601bf0 in ?? () from /lib/tls/i686/cmov/libpthread.so.0
#12 0x083d24d8 in ?? ()
#13 0xbfdbd3a8 in ?? ()
#14 0xb776921c in ?? () from /usr/lib/libgl...

Read more...

Revision history for this message
Sebastien Bacher (seb128) wrote :
Changed in gtk+2.0:
status: Needs Info → Confirmed
Changed in gtk+2.0:
importance: Medium → High
Revision history for this message
Sebastien Bacher (seb128) wrote :

glib2.0 (2.13.5-0ubuntu1) gutsy; urgency=low

  * New upstream version:
    xdg-user-dirs support:
    - the Desktop directory is guaranteed to be defined (LP: #120947)
    - user-dirs.dirs is no longer reloaded on changes
    Slice allocator:
    - new api to duplicate slices
    Regular expression support:
    - GRegex is a boxed type now
    Bugs fixed:
    - 44793 make check failing in trunk
    - 354522 Small problem with PLT hiding 6 symbols
    - 363986 glib 2.12.4 does not compile with SGI IDO cc
    - 443869 g_type_class_add_private doesn't warn when adding 0-sized...
    - 446859 Legitimately return 0 for g_quark_from_string(NULL)
    - 447534 Small typo in g_timeout_add_seconds() doc
    - 447583 GStaticRWLock
    - 447935 g_get_current_dir SIGSEGV on long path
    - 448260 CLAMP has surprising result if low > high
    - 57693 g_string_vprintf()
    - 442029 add g_slice_dup()
    - 445065 Add GRegex boxed type
    - 448819 Add full version of g_timeout_add_seconds()
  * debian/rules:
    - updated shlibs version

 -- Sebastien Bacher <email address hidden> Mon, 18 Jun 2007 22:16:27 +0200

Changed in glib2.0:
status: Confirmed → Fix Released
Changed in gtk:
status: Unknown → Rejected
Changed in gtk:
importance: Unknown → Critical
status: Invalid → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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