Bug#591075: libglib2.0-0: segfaults in postinst script (i.e. installation fails), reportbug/python, emacs, etc.

Jonathan Nieder jrnieder at gmail.com
Sat Jul 31 21:36:10 UTC 2010


Axel Beckert wrote:

> libglib2.0-0 fails to install due segfaults in the postinst script:

Backtrace:

| # dpkg --configure -a
| Setting up libglib2.0-0 (2.25.12-1) ...
| No schema files found: doing nothing.
| Segmentation fault (core dumped)
| dpkg: error processing libglib2.0-0 (--configure):
|  subprocess installed post-installation script returned error exit status 139
[...]
| Errors were encountered while processing:
|  libglib2.0-0
|  libglib2.0-0-dbg
| # dmesg | tail -1
| gio-querymodule[4351]: segfault at 0 ip b76062bf sp bff11d20 error 6 in libgobject-2.0.so.0.2512.0[b75e5000+43000]
| # gdb /usr/lib/glib-2.0/gio-querymodules core
| GNU gdb (GDB) 7.1-debian
[...]
| Reading symbols from /usr/lib/glib-2.0/gio-querymodules...Reading symbols from /usr/lib/debug/usr/lib/glib-2.0/gio-querymodules...done.
| done.
| 
| warning: core file may not match specified executable file.
| [New Thread 4351]
| 
| warning: Can't read pathname for load map: Input/output error.
| Reading symbols from /lib/libglib-2.0.so.0...Reading symbols from /usr/lib/debug/lib/libglib-2.0.so.0.2512.0...done.
[...]
| Reading symbols from /lib/ld-linux.so.2...Reading symbols from /usr/lib/debug/lib/ld-2.11.2.so...done.
| done.
| Loaded symbols for /lib/ld-linux.so.2
| Core was generated by `/usr/lib/glib-2.0/gio-querymodules /usr/lib/gio/modules'.
| Program terminated with signal 11, Segmentation fault.
| #0  g_bsearch_array_create ()
|     at /build/buildd-glib2.0_2.25.12-1-i386-5iccNM/glib2.0-2.25.12/glib/gbsearcharray.h:137
| 137     /build/buildd-glib2.0_2.25.12-1-i386-5iccNM/glib2.0-2.25.12/glib/gbsearcharray.h: No such file or directory.
|         in /build/buildd-glib2.0_2.25.12-1-i386-5iccNM/glib2.0-2.25.12/glib/gbsearcharray.h
| (gdb) bt full
| #0  g_bsearch_array_create ()
|     at /build/buildd-glib2.0_2.25.12-1-i386-5iccNM/glib2.0-2.25.12/glib/gbsearcharray.h:137
| No locals.
| #1  g_signal_init () at /build/buildd-glib2.0_2.25.12-1-i386-5iccNM/glib2.0-2.25.12/gobject/gsignal.c:775
| No locals.
| #2  0xb7610aef in g_type_init_with_debug_flags (debug_flags=G_TYPE_DEBUG_NONE)
|     at /build/buildd-glib2.0_2.25.12-1-i386-5iccNM/glib2.0-2.25.12/gobject/gtype.c:4349
|         g__type_init_lock_lock = {runtime_mutex = 0x0, static_mutex = {
|             pad = "\001\000\000\000\000\000\000\000\377\020\000\000\000\000\000\000\001", '\000' <repeats 22 times>, dummy_double = 4.9406564584124654e-324, dummy_pointer = 0x1, dummy_long = 1}}
|         env_string = <value optimized out>
|         info = {class_size = 0, base_init = 0, base_finalize = 0, class_init = 0, class_finalize = 0, 
|           class_data = 0x0, instance_size = 0, n_preallocs = 0, instance_init = 0, value_table = 0x0}
|         node = 0x0
|         votype = 158872744
|         __PRETTY_FUNCTION__ = "g_type_init_with_debug_flags"
| #3  0xb7610c2e in g_type_init ()
|     at /build/buildd-glib2.0_2.25.12-1-i386-5iccNM/glib2.0-2.25.12/gobject/gtype.c:4367
| No locals.
| #4  0x08048b11 in main (argc=2, argv=0xbff11f04)
|     at /build/buildd-glib2.0_2.25.12-1-i386-5iccNM/glib2.0-2.25.12/gio/gio-querymodules.c:120
|         i = -1074717096
| (gdb) quit

Hope that helps.

| # dpkg -l | egrep '(gtk|glib)'
| ii  evince-gtk                   2.30.3-1              Document (postscrip
| ii  gir1.0-glib-2.0              0.6.15~git20100713-1  Introspection data 
| ii  gir1.0-gtk-2.0               0.6.5-6+b1            GObject introspecti
| ii  gir1.0-json-glib-1.0         0.10.2-2              GLib JSON manipulat
| ii  glibc-doc                    2.11.2-2              Embedded GNU C Libr
| rc  gtk-doc-tools                1.15-2                the GTK+ documentat
| ii  gtk2-engines                 1:2.20.1-1            theme engines for G
| ii  gtk2-engines-pixbuf          2.21.5-1              Pixbuf-based theme 
| ii  libavahi-glib-dev            0.6.27-1              Development headers
| ii  libavahi-glib1               0.6.27-1              Avahi glib integrat
| ii  libcanberra-gtk-module       0.24-1                translates Gtk+ wid
| ii  libcanberra-gtk0             0.24-1                Gtk+ helper for pla
| ii  libdbus-glib-1-2             0.86-1                simple interprocess
| ii  libdbus-glib-1-dev           0.86-1                simple interprocess
| ii  libglib-perl                 1:1.230-1             interface to the GL
| iF  libglib2.0-0                 2.25.12-1             The GLib library of
| iU  libglib2.0-0-dbg             2.25.12-1             The GLib libraries 
| ii  libglib2.0-bin               2.25.11-3             The programs for th
| ii  libglib2.0-data              2.25.11-3             Common files for GL
| ii  libglib2.0-dev               2.25.11-3             Development files f
| ii  libglibmm-2.4-1c2a           2.24.2-1              C++ wrapper for the
| ii  libgtk2-perl                 1:1.230-2             Perl interface to t
| ii  libgtk2.0-0                  2.21.5-1              The GTK+ graphical 
| ii  libgtk2.0-0-dbg              2.21.5-1              The GTK+ libraries 
| ii  libgtk2.0-bin                2.21.5-1              The programs for th
| ii  libgtk2.0-common             2.21.5-1              Common files for th
| ii  libgtk2.0-dev                2.21.5-1              Development files f
| ii  libgtkmm-2.4-1c2a            1:2.20.3-1            C++ wrappers for GT
| ii  libgtkspell-dev              2.0.16-1              Development files f
| ii  libgtkspell0                 2.0.16-1              a spell-checking ad
| ii  libjson-glib-1.0-0           0.10.2-2              GLib JSON manipulat
| ii  libpoppler-glib4             0.12.4-1              PDF rendering libra
| ii  libpulse-mainloop-glib0      0.9.21-3              PulseAudio client l
| ii  libupower-glib1              0.9.5-1               abstraction for pow
| ii  pinentry-gtk2                0.8.0-1               GTK+-2-based PIN or






More information about the pkg-gnome-maintainers mailing list