Bug#559427: libglib2.0-0: GTK open dialog crash if folder contain bash script file

Konstantin kilolife at gmail.com
Fri Dec 4 10:49:00 UTC 2009


Package: libglib2.0-0
Version: 2.22.3-1
Severity: grave
Justification: renders package unusable

All programs use the GTK file open dialog crash after trying to get into the directory that contains bash scripts.
Even if the line in the file only one #!/bin/bash                                                                 

If you think that the problem is not in glib2, please do reassign.

I setup libglib2.0-0-dbg and libgtk2.0-0-dbg and gdb.
For example i take geany for GTK open file dialog.   
Here is backtrace:                                   
$ gdb geany                                          
GNU gdb (GDB) 7.0-debian                             
Copyright (C) 2009 Free Software Foundation, Inc.    
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.           
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"   
and "show warranty" for details.                                             
This GDB was configured as "i486-linux-gnu".                                 
For bug reporting instructions, please see:                                  
<http://www.gnu.org/software/gdb/bugs/>...                                   
Reading symbols from /usr/bin/geany...(no debugging symbols found)...done.   
(gdb) set pagination 0                                                       
(gdb) run                                                                    
Starting program: /usr/bin/geany                                             
[Thread debugging using libthread_db enabled]                                

Program received signal SIGSEGV, Segmentation fault.
0x00000001 in ?? ()
(gdb) bt
#0  0x00000001 in ?? ()
#1  0xb79889ed in g_local_file_enumerator_next_file (enumerator=0x8614028, cancellable=0x85f6e00, error=0xbffff158) at /build/buildd-glib2.0_2.22.3-1-i386-Y6yR35/glib2.0-2.22.3/gio/glocalfileenumerator.c:345    
#2  0xb794beb2 in next_files_thread (res=0x85f24f8, object=0x8614028, cancellable=0x85f6e00) at /build/buildd-glib2.0_2.22.3-1-i386-Y6yR35/glib2.0-2.22.3/gio/gfileenumerator.c:641                                
#3  0xb7967f89 in run_in_thread (job=0x85fa9f8, c=0x85f6e00, _data=0x81e63e0) at /build/buildd-glib2.0_2.22.3-1-i386-Y6yR35/glib2.0-2.22.3/gio/gsimpleasyncresult.c:676                                            
#4  0xb795c7d4 in run_job_at_idle (data=0x85fa9f8) at /build/buildd-glib2.0_2.22.3-1-i386-Y6yR35/glib2.0-2.22.3/gio/gioscheduler.c:201
#5  0xb785c141 in g_idle_dispatch (source=0x8637fc8, callback=0x8601708, user_data=0x85fa9f8) at /build/buildd-glib2.0_2.22.3-1-i386-Y6yR35/glib2.0-2.22.3/glib/gmain.c:4065                                       
#6  0xb785df28 in g_main_dispatch (context=0x8203d38) at /build/buildd-glib2.0_2.22.3-1-i386-Y6yR35/glib2.0-2.22.3/glib/gmain.c:1960
#7  IA__g_main_context_dispatch (context=0x8203d38) at /build/buildd-glib2.0_2.22.3-1-i386-Y6yR35/glib2.0-2.22.3/glib/gmain.c:2513
#8  0xb78616b3 in g_main_context_iterate (context=0x8203d38, block=1, dispatch=1, self=0x81d6060) at /build/buildd-glib2.0_2.22.3-1-i386-Y6yR35/glib2.0-2.22.3/glib/gmain.c:2591                                   
#9  0xb7861b7a in IA__g_main_loop_run (loop=0x856ebf0) at /build/buildd-glib2.0_2.22.3-1-i386-Y6yR35/glib2.0-2.22.3/glib/gmain.c:2799
#10 0xb7d43109 in IA__gtk_main () at /build/buildd-gtk+2.0_2.18.4-1-i386-1vBdiD/gtk+2.0-2.18.4/gtk/gtkmain.c:1218
#11 0x080bbb5c in ?? ()
#12 0xb75beb55 in __libc_start_main () from /lib/i686/cmov/libc.so.6
#13 0x0805bdd1 in ?? ()
(gdb) quit
A debugging session is active.

        Inferior 1 [process 2983] will be killed.

Quit anyway? (y or n) y


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.31-1-686-bigmem (SMP w/4 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libglib2.0-0 depends on:
ii  libc6                         2.10.2-2   GNU C Library: Shared libraries
ii  libpcre3                      7.8-3      Perl 5 Compatible Regular Expressi
ii  libselinux1                   2.0.89-4   SELinux runtime shared libraries

Versions of packages libglib2.0-0 recommends:
ii  libglib2.0-data               2.22.3-1   Common files for GLib library
ii  shared-mime-info              0.70-1     FreeDesktop.org shared MIME databa

libglib2.0-0 suggests no packages.

-- no debconf information






More information about the pkg-gnome-maintainers mailing list