[Pidgin] #15282: Reliable crash of Ubuntu's Pidgin build

Pidgin trac at pidgin.im
Sun Aug 26 23:11:16 EDT 2012


#15282: Reliable crash of Ubuntu's Pidgin build
----------------------+-----------------------------------------------------
 Reporter:  ioerror   |        Owner:              
     Type:  defect    |       Status:  pending     
Milestone:            |    Component:  pidgin (gtk)
  Version:  2.7.11    |   Resolution:              
 Keywords:  security  |  
----------------------+-----------------------------------------------------
Changes (by ioerror):

  * status:  pending => new


Comment:

 The basic GetABacktrace didn't work on the first iteration because of the
 depth of the bug; otherwise, I would have included it straight away.

 Here's the backtrace from Pidgin built from source (the last change set is
 33351:bd15903d0d89):
 {{{
 GNU gdb (Ubuntu/Linaro 7.2-1ubuntu11) 7.2
 Copyright (C) 2010 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 "x86_64-linux-gnu".
 For bug reporting instructions, please see:
 <http://www.gnu.org/software/gdb/bugs/>...
 Reading symbols from /usr/local/bin/pidgin...done.
 (gdb) run
 Starting program: /usr/local/bin/pidgin
 [Thread debugging using libthread_db enabled]
 [New Thread 0x7fffde5da700 (LWP 16761)]
 [New Thread 0x7fffdce65700 (LWP 16763)]
 [New Thread 0x7fffd7fff700 (LWP 16764)]
 [New Thread 0x7fffd77fe700 (LWP 16765)]
 [New Thread 0x7fffd6ffd700 (LWP 16766)]
 [New Thread 0x7fffcf570700 (LWP 16848)]
 The program 'Pidgin' received an X Window System error.
 This probably reflects a bug in the program.
 The error was 'BadAlloc (insufficient resources for operation)'.
   (Details: serial 3762 error_code 11 request_code 53 minor_code 0)
   (Note to programmers: normally, X errors are reported asynchronously;
    that is, you will receive the error a while after causing it.
    To debug your program, run it with the --sync command line
    option to change this behavior. You can then get a meaningful
    backtrace from your debugger if you break on the gdk_x_error()
 function.)
 [Thread 0x7fffcf570700 (LWP 16848) exited]
 [Thread 0x7fffd6ffd700 (LWP 16766) exited]
 [Thread 0x7fffd77fe700 (LWP 16765) exited]
 [Thread 0x7fffd7fff700 (LWP 16764) exited]
 [Thread 0x7fffdce65700 (LWP 16763) exited]
 [Thread 0x7fffde5da700 (LWP 16761) exited]

 Program exited with code 01.
 (gdb) quit
 GNU gdb (Ubuntu/Linaro 7.2-1ubuntu11) 7.2
 Copyright (C) 2010 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 "x86_64-linux-gnu".
 For bug reporting instructions, please see:
 <http://www.gnu.org/software/gdb/bugs/>...
 Reading symbols from /usr/local/bin/pidgin...done.
 (gdb) run
 Starting program: /usr/local/bin/pidgin
 [Thread debugging using libthread_db enabled]
 [New Thread 0x7fffde5da700 (LWP 16869)]
 [New Thread 0x7fffdce65700 (LWP 16870)]
 [New Thread 0x7fffd7fff700 (LWP 16871)]
 [New Thread 0x7fffd77fe700 (LWP 16872)]
 [New Thread 0x7fffd6ffd700 (LWP 16873)]
 [New Thread 0x7fffcf570700 (LWP 16960)]
 The program 'Pidgin' received an X Window System error.
 This probably reflects a bug in the program.
 The error was 'BadAlloc (insufficient resources for operation)'.
   (Details: serial 4375 error_code 11 request_code 53 minor_code 0)
   (Note to programmers: normally, X errors are reported asynchronously;
    that is, you will receive the error a while after causing it.
    To debug your program, run it with the --sync command line
    option to change this behavior. You can then get a meaningful
    backtrace from your debugger if you break on the gdk_x_error()
 function.)
 [Thread 0x7fffcf570700 (LWP 16960) exited]
 [Thread 0x7fffd6ffd700 (LWP 16873) exited]
 [Thread 0x7fffd77fe700 (LWP 16872) exited]
 [Thread 0x7fffd7fff700 (LWP 16871) exited]
 [Thread 0x7fffdce65700 (LWP 16870) exited]
 [Thread 0x7fffde5da700 (LWP 16869) exited]

 Program exited with code 01.
 (gdb)
 }}}

 Obviously, that isn't very useful. I have no crash logged in my kernel
 messages. I also attached with gdb to my metacity window manager and had
 this output:
 {{{
 GNU gdb (Ubuntu/Linaro 7.2-1ubuntu11) 7.2
 Copyright (C) 2010 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 "x86_64-linux-gnu".
 For bug reporting instructions, please see:
 <http://www.gnu.org/software/gdb/bugs/>.
 Attaching to process 16432
 Reading symbols from /usr/bin/metacity...(no debugging symbols
 found)...done.
 Reading symbols from /usr/lib/libcanberra-gtk.so.0...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/libcanberra-gtk.so.0
 Reading symbols from /usr/lib/libcanberra.so.0...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/libcanberra.so.0
 Reading symbols from /usr/lib/libgtk-x11-2.0.so.0...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/libgtk-x11-2.0.so.0
 Reading symbols from /usr/lib/libgdk-x11-2.0.so.0...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/libgdk-x11-2.0.so.0
 Reading symbols from /usr/lib/x86_64-linux-gnu/libatk-1.0.so.0...(no
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libatk-1.0.so.0
 Reading symbols from /usr/lib/x86_64-linux-
 gnu/libpangocairo-1.0.so.0...(no debugging symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0
 Reading symbols from /usr/lib/libgdk_pixbuf-2.0.so.0...(no debugging
 symbols found)...done.
 Loaded symbols for /usr/lib/libgdk_pixbuf-2.0.so.0
 Reading symbols from /usr/lib/libcairo.so.2...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/libcairo.so.2
 Reading symbols from /usr/lib/x86_64-linux-gnu/libpango-1.0.so.0...(no
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libpango-1.0.so.0
 Reading symbols from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0...(no
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
 Reading symbols from /usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0...(no
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0
 Reading symbols from /usr/lib/libgconf-2.so.4...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/libgconf-2.so.4
 Reading symbols from /lib/x86_64-linux-gnu/libglib-2.0.so.0...(no
 debugging symbols found)...done.
 Loaded symbols for /lib/x86_64-linux-gnu/libglib-2.0.so.0
 Reading symbols from /usr/lib/libstartup-notification-1.so.0...(no
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/libstartup-notification-1.so.0
 Reading symbols from /usr/lib/x86_64-linux-gnu/libXcomposite.so.1...(no
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libXcomposite.so.1
 Reading symbols from /usr/lib/x86_64-linux-gnu/libXrender.so.1...(no
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libXrender.so.1
 Reading symbols from /usr/lib/x86_64-linux-gnu/libXdamage.so.1...(no
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libXdamage.so.1
 Reading symbols from /usr/lib/x86_64-linux-gnu/libXfixes.so.3...(no
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libXfixes.so.3
 Reading symbols from /usr/lib/x86_64-linux-gnu/libXcursor.so.1...(no
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libXcursor.so.1
 Reading symbols from /usr/lib/x86_64-linux-gnu/libXrandr.so.2...(no
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libXrandr.so.2
 Reading symbols from /usr/lib/x86_64-linux-gnu/libSM.so.6...(no debugging
 symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libSM.so.6
 Reading symbols from /usr/lib/x86_64-linux-gnu/libICE.so.6...(no debugging
 symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libICE.so.6
 Reading symbols from /usr/lib/x86_64-linux-gnu/libX11.so.6...(no debugging
 symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libX11.so.6
 Reading symbols from /usr/lib/x86_64-linux-gnu/libXext.so.6...(no
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libXext.so.6
 Reading symbols from /usr/lib/x86_64-linux-gnu/libXinerama.so.1...(no
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libXinerama.so.1
 Reading symbols from /lib/x86_64-linux-gnu/libm.so.6...Reading symbols
 from /usr/lib/debug/lib/x86_64-linux-gnu/libm-2.13.so...done.
 done.
 Loaded symbols for /lib/x86_64-linux-gnu/libm.so.6
 Reading symbols from /lib/x86_64-linux-gnu/libpthread.so.0...Reading
 symbols from /usr/lib/debug/lib/x86_64-linux-
 gnu/libpthread-2.13.so...done.
 [Thread debugging using libthread_db enabled]
 [New Thread 0x7f3d36a03700 (LWP 16435)]
 done.
 Loaded symbols for /lib/x86_64-linux-gnu/libpthread.so.0
 Reading symbols from /lib/x86_64-linux-gnu/libc.so.6...Reading symbols
 from /usr/lib/debug/lib/x86_64-linux-gnu/libc-2.13.so...done.
 done.
 Loaded symbols for /lib/x86_64-linux-gnu/libc.so.6
 Reading symbols from /usr/lib/libvorbisfile.so.3...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/libvorbisfile.so.3
 Reading symbols from /usr/lib/libtdb.so.1...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/libtdb.so.1
 Reading symbols from /usr/lib/libltdl.so.7...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/libltdl.so.7
 Reading symbols from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0...(no
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
 Reading symbols from /usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0...(no
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0
 Reading symbols from /usr/lib/x86_64-linux-gnu/libfreetype.so.6...(no
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libfreetype.so.6
 Reading symbols from /usr/lib/x86_64-linux-gnu/libfontconfig.so.1...(no
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libfontconfig.so.1
 Reading symbols from /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0...(no
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0
 Reading symbols from /lib/x86_64-linux-gnu/librt.so.1...Reading symbols
 from /usr/lib/debug/lib/x86_64-linux-gnu/librt-2.13.so...done.
 done.
 Loaded symbols for /lib/x86_64-linux-gnu/librt.so.1
 Reading symbols from /usr/lib/x86_64-linux-gnu/libXi.so.6...(no debugging
 symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libXi.so.6
 Reading symbols from /usr/lib/libpixman-1.so.0...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/libpixman-1.so.0
 Reading symbols from /lib/x86_64-linux-gnu/libpng12.so.0...(no debugging
 symbols found)...done.
 Loaded symbols for /lib/x86_64-linux-gnu/libpng12.so.0
 Reading symbols from /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0...(no
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0
 Reading symbols from /usr/lib/x86_64-linux-gnu/libxcb-render.so.0...(no
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libxcb-render.so.0
 Reading symbols from /usr/lib/x86_64-linux-gnu/libxcb.so.1...(no debugging
 symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libxcb.so.1
 Reading symbols from /lib/x86_64-linux-gnu/libz.so.1...(no debugging
 symbols found)...done.
 Loaded symbols for /lib/x86_64-linux-gnu/libz.so.1
 Reading symbols from /lib/x86_64-linux-gnu/libpcre.so.3...(no debugging
 symbols found)...done.
 Loaded symbols for /lib/x86_64-linux-gnu/libpcre.so.3
 Reading symbols from /usr/lib/libORBit-2.so.0...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/libORBit-2.so.0
 Reading symbols from /usr/lib/libxcb-aux.so.0...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/libxcb-aux.so.0
 Reading symbols from /usr/lib/libxcb-event.so.1...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/libxcb-event.so.1
 Reading symbols from /usr/lib/libxcb-atom.so.1...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/libxcb-atom.so.1
 Reading symbols from /lib/x86_64-linux-gnu/libuuid.so.1...(no debugging
 symbols found)...done.
 Loaded symbols for /lib/x86_64-linux-gnu/libuuid.so.1
 Reading symbols from /lib/x86_64-linux-gnu/libdl.so.2...Reading symbols
 from /usr/lib/debug/lib/x86_64-linux-gnu/libdl-2.13.so...done.
 done.
 Loaded symbols for /lib/x86_64-linux-gnu/libdl.so.2
 Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols
 found)...done.
 Loaded symbols for /lib64/ld-linux-x86-64.so.2
 Reading symbols from /usr/lib/libvorbis.so.0...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/libvorbis.so.0
 Reading symbols from /usr/lib/libogg.so.0...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/libogg.so.0
 Reading symbols from /lib/x86_64-linux-gnu/libresolv.so.2...Reading
 symbols from /usr/lib/debug/lib/x86_64-linux-gnu/libresolv-2.13.so...done.
 done.
 Loaded symbols for /lib/x86_64-linux-gnu/libresolv.so.2
 Reading symbols from /lib/x86_64-linux-gnu/libselinux.so.1...(no debugging
 symbols found)...done.
 Loaded symbols for /lib/x86_64-linux-gnu/libselinux.so.1
 Reading symbols from /lib/x86_64-linux-gnu/libexpat.so.1...(no debugging
 symbols found)...done.
 Loaded symbols for /lib/x86_64-linux-gnu/libexpat.so.1
 Reading symbols from /usr/lib/x86_64-linux-gnu/libXau.so.6...(no debugging
 symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libXau.so.6
 Reading symbols from /usr/lib/x86_64-linux-gnu/libXdmcp.so.6...(no
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libXdmcp.so.6
 Reading symbols from /lib/x86_64-linux-gnu/libnss_compat.so.2...Reading
 symbols from /usr/lib/debug/lib/x86_64-linux-
 gnu/libnss_compat-2.13.so...done.
 done.
 Loaded symbols for /lib/x86_64-linux-gnu/libnss_compat.so.2
 Reading symbols from /lib/x86_64-linux-gnu/libnsl.so.1...Reading symbols
 from /usr/lib/debug/lib/x86_64-linux-gnu/libnsl-2.13.so...done.
 done.
 Loaded symbols for /lib/x86_64-linux-gnu/libnsl.so.1
 Reading symbols from /lib/x86_64-linux-gnu/libnss_nis.so.2...Reading
 symbols from /usr/lib/debug/lib/x86_64-linux-
 gnu/libnss_nis-2.13.so...done.
 done.
 Loaded symbols for /lib/x86_64-linux-gnu/libnss_nis.so.2
 Reading symbols from /lib/x86_64-linux-gnu/libnss_files.so.2...Reading
 symbols from /usr/lib/debug/lib/x86_64-linux-
 gnu/libnss_files-2.13.so...done.
 done.
 Loaded symbols for /lib/x86_64-linux-gnu/libnss_files.so.2
 Reading symbols from /usr/lib/liboverlay-scrollbar-0.1.so.0...(no
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/liboverlay-scrollbar-0.1.so.0
 Reading symbols from /usr/lib/gtk-2.0/modules/libcanberra-gtk-
 module.so...(no debugging symbols found)...done.
 Loaded symbols for /usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so
 Reading symbols from /usr/lib/gtk-2.0/2.10.0/engines/libmurrine.so...(no
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/gtk-2.0/2.10.0/engines/libmurrine.so
 Reading symbols from /usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so...(no
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so
 Reading symbols from /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
 /libpixbufloader-png.so...(no debugging symbols found)...done.
 Loaded symbols for /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-
 png.so
 Reading symbols from /usr/lib/x86_64-linux-
 gnu/gconv/ISO8859-1.so...Reading symbols from
 /usr/lib/debug/usr/lib/x86_64-linux-gnu/gconv/ISO8859-1.so...done.
 done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/gconv/ISO8859-1.so
 Reading symbols from /usr/lib/x86_64-linux-gnu/pango/1.6.0/modules/pango-
 basic-fc.so...(no debugging symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/pango/1.6.0/modules/pango-
 basic-fc.so
 Reading symbols from /usr/lib/gio/modules/libgvfsdbus.so...(no debugging
 symbols found)...done.
 Loaded symbols for /usr/lib/gio/modules/libgvfsdbus.so
 Reading symbols from /usr/lib/libgvfscommon.so.0...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/libgvfscommon.so.0
 Reading symbols from /lib/x86_64-linux-gnu/libdbus-1.so.3...(no debugging
 symbols found)...done.
 Loaded symbols for /lib/x86_64-linux-gnu/libdbus-1.so.3
 Reading symbols from /lib/x86_64-linux-gnu/libudev.so.0...(no debugging
 symbols found)...done.
 Loaded symbols for /lib/x86_64-linux-gnu/libudev.so.0
 Reading symbols from /lib/x86_64-linux-gnu/libutil.so.1...Reading symbols
 from /usr/lib/debug/lib/x86_64-linux-gnu/libutil-2.13.so...done.
 done.
 Loaded symbols for /lib/x86_64-linux-gnu/libutil.so.1
 Reading symbols from /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
 /libpixbufloader-svg.so...(no debugging symbols found)...done.
 Loaded symbols for /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-
 svg.so
 Reading symbols from /usr/lib/librsvg-2.so.2...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/librsvg-2.so.2
 Reading symbols from /usr/lib/libcroco-0.6.so.3...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/libcroco-0.6.so.3
 Reading symbols from /usr/lib/libxml2.so.2...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/libxml2.so.2
 0x00007f3d3c006ae3 in __poll (fds=<value optimized out>,
     nfds=<value optimized out>, timeout=<value optimized out>)
     at ../sysdeps/unix/sysv/linux/poll.c:87
 87      ../sysdeps/unix/sysv/linux/poll.c: No such file or directory.
         in ../sysdeps/unix/sysv/linux/poll.c
 (gdb) continue
 Continuing.

 Program received signal SIGABRT, Aborted.
 0x00007f3d3bf60d05 in raise (sig=6)
     at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
 64      ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or
 directory.
         in ../nptl/sysdeps/unix/sysv/linux/raise.c
 (gdb)
 Continuing.
 [Thread 0x7f3d36a03700 (LWP 16435) exited]

 Program terminated with signal SIGABRT, Aborted.
 The program no longer exists.
 (gdb) quit
 GNU gdb (Ubuntu/Linaro 7.2-1ubuntu11) 7.2
 Copyright (C) 2010 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 "x86_64-linux-gnu".
 For bug reporting instructions, please see:
 <http://www.gnu.org/software/gdb/bugs/>.
 Attaching to process 16849
 Reading symbols from /usr/bin/metacity...(no debugging symbols
 found)...done.
 Reading symbols from /usr/lib/libcanberra-gtk.so.0...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/libcanberra-gtk.so.0
 Reading symbols from /usr/lib/libcanberra.so.0...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/libcanberra.so.0
 Reading symbols from /usr/lib/libgtk-x11-2.0.so.0...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/libgtk-x11-2.0.so.0
 Reading symbols from /usr/lib/libgdk-x11-2.0.so.0...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/libgdk-x11-2.0.so.0
 Reading symbols from /usr/lib/x86_64-linux-gnu/libatk-1.0.so.0...(no
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libatk-1.0.so.0
 Reading symbols from /usr/lib/x86_64-linux-
 gnu/libpangocairo-1.0.so.0...(no debugging symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0
 Reading symbols from /usr/lib/libgdk_pixbuf-2.0.so.0...(no debugging
 symbols found)...done.
 Loaded symbols for /usr/lib/libgdk_pixbuf-2.0.so.0
 Reading symbols from /usr/lib/libcairo.so.2...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/libcairo.so.2
 Reading symbols from /usr/lib/x86_64-linux-gnu/libpango-1.0.so.0...(no
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libpango-1.0.so.0
 Reading symbols from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0...(no
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
 Reading symbols from /usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0...(no
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0
 Reading symbols from /usr/lib/libgconf-2.so.4...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/libgconf-2.so.4
 Reading symbols from /lib/x86_64-linux-gnu/libglib-2.0.so.0...(no
 debugging symbols found)...done.
 Loaded symbols for /lib/x86_64-linux-gnu/libglib-2.0.so.0
 Reading symbols from /usr/lib/libstartup-notification-1.so.0...(no
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/libstartup-notification-1.so.0
 Reading symbols from /usr/lib/x86_64-linux-gnu/libXcomposite.so.1...(no
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libXcomposite.so.1
 Reading symbols from /usr/lib/x86_64-linux-gnu/libXrender.so.1...(no
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libXrender.so.1
 Reading symbols from /usr/lib/x86_64-linux-gnu/libXdamage.so.1...(no
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libXdamage.so.1
 Reading symbols from /usr/lib/x86_64-linux-gnu/libXfixes.so.3...(no
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libXfixes.so.3
 Reading symbols from /usr/lib/x86_64-linux-gnu/libXcursor.so.1...(no
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libXcursor.so.1
 Reading symbols from /usr/lib/x86_64-linux-gnu/libXrandr.so.2...(no
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libXrandr.so.2
 Reading symbols from /usr/lib/x86_64-linux-gnu/libSM.so.6...(no debugging
 symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libSM.so.6
 Reading symbols from /usr/lib/x86_64-linux-gnu/libICE.so.6...(no debugging
 symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libICE.so.6
 Reading symbols from /usr/lib/x86_64-linux-gnu/libX11.so.6...(no debugging
 symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libX11.so.6
 Reading symbols from /usr/lib/x86_64-linux-gnu/libXext.so.6...(no
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libXext.so.6
 Reading symbols from /usr/lib/x86_64-linux-gnu/libXinerama.so.1...(no
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libXinerama.so.1
 Reading symbols from /lib/x86_64-linux-gnu/libm.so.6...Reading symbols
 from /usr/lib/debug/lib/x86_64-linux-gnu/libm-2.13.so...done.
 done.
 Loaded symbols for /lib/x86_64-linux-gnu/libm.so.6
 Reading symbols from /lib/x86_64-linux-gnu/libpthread.so.0...Reading
 symbols from /usr/lib/debug/lib/x86_64-linux-
 gnu/libpthread-2.13.so...done.
 [Thread debugging using libthread_db enabled]
 [New Thread 0x7fb22638e700 (LWP 16850)]
 done.
 Loaded symbols for /lib/x86_64-linux-gnu/libpthread.so.0
 Reading symbols from /lib/x86_64-linux-gnu/libc.so.6...Reading symbols
 from /usr/lib/debug/lib/x86_64-linux-gnu/libc-2.13.so...done.
 done.
 Loaded symbols for /lib/x86_64-linux-gnu/libc.so.6
 Reading symbols from /usr/lib/libvorbisfile.so.3...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/libvorbisfile.so.3
 Reading symbols from /usr/lib/libtdb.so.1...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/libtdb.so.1
 Reading symbols from /usr/lib/libltdl.so.7...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/libltdl.so.7
 Reading symbols from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0...(no
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
 Reading symbols from /usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0...(no
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0
 Reading symbols from /usr/lib/x86_64-linux-gnu/libfreetype.so.6...(no
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libfreetype.so.6
 Reading symbols from /usr/lib/x86_64-linux-gnu/libfontconfig.so.1...(no
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libfontconfig.so.1
 Reading symbols from /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0...(no
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0
 Reading symbols from /lib/x86_64-linux-gnu/librt.so.1...Reading symbols
 from /usr/lib/debug/lib/x86_64-linux-gnu/librt-2.13.so...done.
 done.
 Loaded symbols for /lib/x86_64-linux-gnu/librt.so.1
 Reading symbols from /usr/lib/x86_64-linux-gnu/libXi.so.6...(no debugging
 symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libXi.so.6
 Reading symbols from /usr/lib/libpixman-1.so.0...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/libpixman-1.so.0
 Reading symbols from /lib/x86_64-linux-gnu/libpng12.so.0...(no debugging
 symbols found)...done.
 Loaded symbols for /lib/x86_64-linux-gnu/libpng12.so.0
 Reading symbols from /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0...(no
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0
 Reading symbols from /usr/lib/x86_64-linux-gnu/libxcb-render.so.0...(no
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libxcb-render.so.0
 Reading symbols from /usr/lib/x86_64-linux-gnu/libxcb.so.1...(no debugging
 symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libxcb.so.1
 Reading symbols from /lib/x86_64-linux-gnu/libz.so.1...(no debugging
 symbols found)...done.
 Loaded symbols for /lib/x86_64-linux-gnu/libz.so.1
 Reading symbols from /lib/x86_64-linux-gnu/libpcre.so.3...(no debugging
 symbols found)...done.
 Loaded symbols for /lib/x86_64-linux-gnu/libpcre.so.3
 Reading symbols from /usr/lib/libORBit-2.so.0...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/libORBit-2.so.0
 Reading symbols from /usr/lib/libxcb-aux.so.0...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/libxcb-aux.so.0
 Reading symbols from /usr/lib/libxcb-event.so.1...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/libxcb-event.so.1
 Reading symbols from /usr/lib/libxcb-atom.so.1...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/libxcb-atom.so.1
 Reading symbols from /lib/x86_64-linux-gnu/libuuid.so.1...(no debugging
 symbols found)...done.
 Loaded symbols for /lib/x86_64-linux-gnu/libuuid.so.1
 Reading symbols from /lib/x86_64-linux-gnu/libdl.so.2...Reading symbols
 from /usr/lib/debug/lib/x86_64-linux-gnu/libdl-2.13.so...done.
 done.
 Loaded symbols for /lib/x86_64-linux-gnu/libdl.so.2
 Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols
 found)...done.
 Loaded symbols for /lib64/ld-linux-x86-64.so.2
 Reading symbols from /usr/lib/libvorbis.so.0...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/libvorbis.so.0
 Reading symbols from /usr/lib/libogg.so.0...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/libogg.so.0
 Reading symbols from /lib/x86_64-linux-gnu/libresolv.so.2...Reading
 symbols from /usr/lib/debug/lib/x86_64-linux-gnu/libresolv-2.13.so...done.
 done.
 Loaded symbols for /lib/x86_64-linux-gnu/libresolv.so.2
 Reading symbols from /lib/x86_64-linux-gnu/libselinux.so.1...(no debugging
 symbols found)...done.
 Loaded symbols for /lib/x86_64-linux-gnu/libselinux.so.1
 Reading symbols from /lib/x86_64-linux-gnu/libexpat.so.1...(no debugging
 symbols found)...done.
 Loaded symbols for /lib/x86_64-linux-gnu/libexpat.so.1
 Reading symbols from /usr/lib/x86_64-linux-gnu/libXau.so.6...(no debugging
 symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libXau.so.6
 Reading symbols from /usr/lib/x86_64-linux-gnu/libXdmcp.so.6...(no
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libXdmcp.so.6
 Reading symbols from /lib/x86_64-linux-gnu/libnss_compat.so.2...Reading
 symbols from /usr/lib/debug/lib/x86_64-linux-
 gnu/libnss_compat-2.13.so...done.
 done.
 Loaded symbols for /lib/x86_64-linux-gnu/libnss_compat.so.2
 Reading symbols from /lib/x86_64-linux-gnu/libnsl.so.1...Reading symbols
 from /usr/lib/debug/lib/x86_64-linux-gnu/libnsl-2.13.so...done.
 done.
 Loaded symbols for /lib/x86_64-linux-gnu/libnsl.so.1
 Reading symbols from /lib/x86_64-linux-gnu/libnss_nis.so.2...Reading
 symbols from /usr/lib/debug/lib/x86_64-linux-
 gnu/libnss_nis-2.13.so...done.
 done.
 Loaded symbols for /lib/x86_64-linux-gnu/libnss_nis.so.2
 Reading symbols from /lib/x86_64-linux-gnu/libnss_files.so.2...Reading
 symbols from /usr/lib/debug/lib/x86_64-linux-
 gnu/libnss_files-2.13.so...done.
 done.
 Loaded symbols for /lib/x86_64-linux-gnu/libnss_files.so.2
 Reading symbols from /usr/lib/liboverlay-scrollbar-0.1.so.0...(no
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/liboverlay-scrollbar-0.1.so.0
 Reading symbols from /usr/lib/gtk-2.0/modules/libcanberra-gtk-
 module.so...(no debugging symbols found)...done.
 Loaded symbols for /usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so
 Reading symbols from /usr/lib/gtk-2.0/2.10.0/engines/libmurrine.so...(no
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/gtk-2.0/2.10.0/engines/libmurrine.so
 Reading symbols from /usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so...(no
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so
 Reading symbols from /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
 /libpixbufloader-png.so...(no debugging symbols found)...done.
 Loaded symbols for /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-
 png.so
 Reading symbols from /usr/lib/x86_64-linux-
 gnu/gconv/ISO8859-1.so...Reading symbols from
 /usr/lib/debug/usr/lib/x86_64-linux-gnu/gconv/ISO8859-1.so...done.
 done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/gconv/ISO8859-1.so
 Reading symbols from /usr/lib/x86_64-linux-gnu/pango/1.6.0/modules/pango-
 basic-fc.so...(no debugging symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/pango/1.6.0/modules/pango-
 basic-fc.so
 0x00007fb22b991ae3 in __poll (fds=<value optimized out>,
     nfds=<value optimized out>, timeout=<value optimized out>)
     at ../sysdeps/unix/sysv/linux/poll.c:87
 87      ../sysdeps/unix/sysv/linux/poll.c: No such file or directory.
         in ../sysdeps/unix/sysv/linux/poll.c
 (gdb) continue
 Continuing.

 Program received signal SIGABRT, Aborted.
 0x00007fb22b8ebd05 in raise (sig=6)
     at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
 64      ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or
 directory.
         in ../nptl/sysdeps/unix/sysv/linux/raise.c
 (gdb)
 }}}

 That is also not a very useful backtrace as i couldn't actually get gdb to
 produce one when all of my xsessions were locked up. The good news is that
 I managed to get two other useful logs that I believe are correlated with
 the above crashes. It should be possible to run gdb in screen and actually
 get a useful backtrace now that I know where to look.

 This is from my ''.xsession-errors'' file:
 {{{
 Bug in window manager: Unexpected X error: BadAlloc (insufficient
 resources for operation) serial 14253 error_code 11 request_code 53
 minor_code 0)
 Window manager warning: Received a _NET_WM_MOVERESIZE message for
 0x3a0009e (Buddy List); these messages lack timestamps and therefore suck.
 Bug in window manager: Unexpected X error: BadAlloc (insufficient
 resources for operation) serial 5945 error_code 11 request_code 53
 minor_code 0)
 }}}

 I'm sorry to say that it gets much worse. Unless I'm totally off the mark,
 I've managed to break out of my apparmor jail and crash a process running
 as root. That is really something... Which is... well, hooray for that
 png!

 The relevant log files from my GDM session manager:
 {{{
 gdm/:0-greeter.log.1
 gdm/:0.log.2
 gdm/:0-slave.log.2
 }}}

 The '':0-greeter.log.1'' contents:
 {{{
 ** (process:16310): DEBUG: Greeter session pid=16310 display=:0
 xauthority=/var/run/gdm/auth-for-gdm-AfVSf3/database
 gdm-simple-greeter[16310]: Gtk-WARNING:
 /build/buildd/gtk+2.0-2.24.4/gtk/gtkwidget.c:5687: widget not within a
 GtkWindow
 Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message
 with a timestamp of 0 for 0xc00034 (Login Wind)
 Window manager warning: meta_window_activate called by a pager with a 0
 timestamp; the pager needs to be fixed.
 gdm-simple-greeter[16310]: WARNING: Unable to load CK history: no seat-id
 found
 Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message
 with a timestamp of 0 for 0xc00034 (Login Wind)
 Window manager warning: meta_window_activate called by a pager with a 0
 timestamp; the pager needs to be fixed.
 Window manager warning: CurrentTime used to choose focus window; focus
 window may not be correct.
 Window manager warning: Got a request to focus the no_focus_window with a
 timestamp of 0.  This shouldn't happen!

 (gnome-settings-daemon:16300): libappindicator-WARNING **: Unable to send
 signal for NewStatus: The connection is closed
 }}}

 The '':0.log.2'' file contents the most important information, I think:
 {{{
 Backtrace:
 0: /usr/bin/X (xorg_backtrace+0x26) [0x45cef6]
 1: /usr/bin/X (0x400000+0x5ad2a) [0x45ad2a]
 2: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7f8c2ab68000+0xfc60)
 [0x7f8c2ab77c60]
 3: /usr/bin/X (0x400000+0x34d25) [0x434d25]
 4: /usr/bin/X (0x400000+0x35b7f) [0x435b7f]
 5: /usr/bin/X (0x400000+0xf3641) [0x4f3641]
 6: /usr/bin/X (0x400000+0xfa6c0) [0x4fa6c0]
 7: /usr/bin/X (0x400000+0x34df6) [0x434df6]
 8: /usr/bin/X (0x400000+0x35b7f) [0x435b7f]
 9: /usr/bin/X (0x400000+0x2d883) [0x42d883]
 10: /usr/bin/X (CloseDownClient+0x125) [0x440725]
 11: /usr/bin/X (0x400000+0x411d6) [0x4411d6]
 12: /usr/bin/X (0x400000+0x21a7e) [0x421a7e]
 13: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xff)
 [0x7f8c29ab0eff]
 14: /usr/bin/X (0x400000+0x21629) [0x421629]
 Segmentation fault at address 0x3991

 Caught signal 11 (Segmentation fault). Server aborting

 Please consult the The X.Org Foundation support
          at http://wiki.x.org
  for help.
 Please also check the log file at "/var/log/Xorg.0.log" for additional
 information.
 }}}

 The '':0-slave.log.2'' file contents:
 {{{
 gdm-simple-slave[1578]: WARNING: Unable to load file
 '/etc/gdm/custom.conf': No such file or directory
 gdm-session-worker[1673]: WARNING: Unable to load file
 '/etc/gdm/custom.conf': No such file or directory
 gdm-session-worker[1673]: GLib-GObject-CRITICAL: g_value_get_boolean:
 assertion `G_VALUE_HOLDS_BOOLEAN (value)' failed
 gdm-session-worker[1673]: pam_succeed_if(gdm:auth): requirement "user
 ingroup nopasswdlogin" not met by user "x"
 gdm-session-worker[1673]: pam_unix(gdm:session): session opened for user x
 by (uid=0)
 gdm-session-worker[1673]: pam_ck_connector(gdm:session): nox11 mode,
 ignoring PAM_TTY :0
 gdm-session-worker[1673]: pam_unix(gdm:session): session closed for user x
 }}}

 The relevant entries in ''/var/log/Xorg.0.log'' are missing.

 In my ''/var/log/syslog'' I see some gtk errors - I crashed metacity a few
 times, X only crashed one time. This error is from one of those crashes:
 {{{
 Aug 26 18:51:38 x gdm-simple-greeter[16310]: Gtk-WARNING:
 /build/buildd/gtk+2.0-2.24.4/gtk/gtkwidget.c:5687: widget not within a
 GtkWindow
 Aug 26 18:51:39 x gdm-simple-greeter[16310]: WARNING: Unable to load CK
 history: no seat-id found
 Aug 26 18:51:40 x gdm-session-worker[16315]: GLib-GObject-CRITICAL:
 g_value_get_boolean: assertion `G_VALUE_HOLDS_BOOLEAN (value)' failed
 }}}

-- 
Ticket URL: <http://developer.pidgin.im/ticket/15282#comment:12>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list