[Pidgin] #1959: Pidgin 2.0.2 dumps core when starting on Solaris 10 U3 x86

Pidgin trac at pidgin.im
Thu Jun 28 04:00:13 EDT 2007


#1959: Pidgin 2.0.2 dumps core when starting on Solaris 10 U3 x86
--------------------------------+-------------------------------------------
 Reporter:  laurent             |       Type:  defect
   Status:  new                 |   Priority:  minor 
Component:  pidgin (gtk)        |    Version:  2.0.2 
 Keywords:  solaris core crash  |    Pending:  0     
--------------------------------+-------------------------------------------
 I built pidgin 2.0.2 on Solaris 10 U3 x86 (patched).
 However, there is a segmentation fault every time I start it.
 I tried building it with Sun Studio 11 patched or Sun Studio 12, using
 Solaris GTK libs, and GCC 4 from Blastwave also using Blastwave GTK libs,
 same result.

 I used the following to build (adapting the PATH when using GCC or SunCC):

 {{{
 ./configure --prefix=/opt/pidgin-2.0.2 \
   --disable-rpath --disable-tcl --disable-tk \
   --disable-gtkspell --disable-deprecated \
   --disable-gevolution \
   --with-x \
   --enable-gnutls \
   --disable-perl
 gmake
 gmake install

 }}}

 I get the following result:

 {{{
 $ /opt/pidgin/bin/pidgin
 Pidgin has segfaulted and attempted to dump a core file.
 This is a bug in the software and has happened through
 no fault of your own.

 If you can reproduce the crash, please notify the developers
 by reporting a bug at:
 http://developer.pidgin.im/newticket/

 Please make sure to specify what you were doing at the time
 and post the backtrace from the core file.  If you do not know
 how to get the backtrace, please read the instructions at
 http://developer.pidgin.im/wiki/GetABacktrace

 If you need further assistance, please IM either SeanEgn or
 LSchiere (via AIM).  Contact information for Sean and Luke
 on other protocols is at
 http://developer.pidgin.im/wiki/DeveloperPages
 Abort (core dumped)
 }}}

 The backtrace doesn't look terribly useful, this is the GCC4/Blastwave GTK
 build:

 {{{
 $ gdb /opt/pidgin/bin/pidgin
 GNU gdb 6.1
 Copyright 2004 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 "i386-pc-solaris2.8"...
 (gdb) handle SIGPIPE nostop
 Signal        Stop      Print   Pass to program Description
 SIGPIPE       No        Yes     Yes             Broken pipe
 (gdb) run
 Starting program: /opt/pidgin-2.0.2/bin/pidgin
 warning: Lowest section in /lib/libthread.so.1 is .dynamic at 00000074
 warning: Lowest section in /lib/libpthread.so.1 is .dynamic at 00000074

 Program received signal SIGSEGV, Segmentation fault.
 0xd04552f0 in gtk_icon_set_copy () from /opt/csw/lib/libgtk-x11-2.0.so.0
 (gdb) bt full
 #0  0xd04552f0 in gtk_icon_set_copy () from
 /opt/csw/lib/libgtk-x11-2.0.so.0
 No symbol table info available.
 #1  0x080f5bc8 in ?? ()
 No symbol table info available.
 #2  0x00000000 in ?? ()
 No symbol table info available.
 #3  0xcfc11cbc in g_atomic_int_compare_and_exchange ()
    from /opt/csw/lib/libglib-2.0.so.0
 No symbol table info available.
 #4  0xcfd577de in g_type_next_base () from
 /opt/csw/lib/libgobject-2.0.so.0
 No symbol table info available.
 #5  0x0815a260 in ?? ()
 No symbol table info available.
 (gdb)
 }}}

 The core:
 {{{
 $ pstack core.pidgin.20623
 core 'core.pidgin.20623' of 20623:      /opt/pidgin/bin/pidgin
  cf8b1a55 _lwp_kill (1, 6) + 15
  cf85d173 raise    (6) + 1f
  cf840bb9 abort    (80fa8a0, 80f5518, 0, cf852e84, cf8da510, cf8d9000) +
 cd
  080abf88 ???????? (b, 0, 8047330)
  cf8b054f __sighndlr (b, 0, 8047330, 80abef0) + f
  cf8a6a41 call_user_handler (b, 0, 8047330) + 22b
  cf8a6bc1 sigacthandler (b, 0, 8047330) + bb
  --- called from signal handler with signal 11 (SIGSEGV) ---
  d04552f0 ???????? (0, 0, 0, 7, 0, 21)
  00000000 ???????? (65, 2d6b7467, 6b6f, 2d6b7467, 6f6e, 2d6b7467)
  736f6c63 ???????? ()
 }}}

 And the SS11/Solaris GTK build:

 {{{
 (gdb) handle SIGPIPE nostop
 Signal        Stop      Print   Pass to program Description
 SIGPIPE       No        Yes     Yes             Broken pipe
 (gdb) run
 Starting program: /opt/pidgin-2.0.2/bin/pidgin
 warning: Lowest section in /lib/libpthread.so.1 is .dynamic at 00000074

 Program received signal SIGSEGV, Segmentation fault.
 0xd040ac41 in find_and_render_icon_source () from
 /usr/lib/libgtk-x11-2.0.so.0
 (gdb) bt full
 #0  0xd040ac41 in find_and_render_icon_source ()
    from /usr/lib/libgtk-x11-2.0.so.0
 No symbol table info available.
 #1  0x00000001 in ?? ()
 No symbol table info available.
 #2  0x0817cff0 in ?? ()
 No symbol table info available.
 #3  0x081ea3b8 in ?? ()
 No symbol table info available.
 #4  0xd008a52a in type_node_conforms_to_U () from
 /usr/lib/libgobject-2.0.so.0
 No symbol table info available.
 #5  0x081ea3b8 in ?? ()
 No symbol table info available.
 #6  0x08133194 in ?? ()
 No symbol table info available.
 #7  0x00000001 in ?? ()
 No symbol table info available.
 #8  0x00000000 in ?? ()
 No symbol table info available.
 #9  <signal handler called>
 No symbol table info available.
 #10 0x00000000 in ?? ()
 No symbol table info available.
 Cannot access memory at address 0x656e3e2d
 (gdb)
 }}}

 And the core:
 {{{
 $ pstack core.pidgin.20717
 core 'core.pidgin.20717' of 20717:      /opt/pidgin/bin/pidgin
  cf8b1a55 _lwp_kill (1, 6) + 15
  cf85d173 raise    (6) + 1f
  cf840bb9 abort    (80fa100, 80f5518, 0, cf852e84, cf8da510, cf8d9000) +
 cd
  080abf88 ???????? (b, 0, 8047340)
  cf8b054f __sighndlr (b, 0, 8047340, 80abef0) + f
  cf8a6a41 call_user_handler (b, 0, 8047340) + 22b
  cf8a6bc1 sigacthandler (b, 0, 8047340) + bb
  --- called from signal handler with signal 11 (SIGSEGV) ---
  d04552f0 ???????? (0, 0, 0, 7, 0, 21)
  00000000 ???????? (65, 2d6b7467, 6b6f, 2d6b7467, 6f6e, 2d6b7467)
  736f6c63 ???????? ()
 }}}

 Any idea where this comes from? Anything else I can do to help pinpoint
 the problem?

-- 
Ticket URL: <http://developer.pidgin.im/ticket/1959>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list