[Pidgin] #5162: Crash - SIGSEGV, Segmentation fault.

Pidgin trac at pidgin.im
Fri Mar 14 10:26:36 EDT 2008


#5162: Crash - SIGSEGV, Segmentation fault.
---------------------------+------------------------------------------------
  Reporter:  lupine        |       Owner:  lschiere
      Type:  defect        |      Status:  new     
  Priority:  minor         |   Milestone:          
 Component:  unclassified  |     Version:  2.4.0   
Resolution:                |    Keywords:          
   Pending:  0             |  
---------------------------+------------------------------------------------
Comment (by lupine):

 Ok, hopefully this is what you were looking for:


 $> export G_SLICE=always-malloc
 $> export MALLOC_CHECK_=2
 $> gdb pidgin
 GNU gdb 6.7
 Copyright (C) 2007 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 "i686-pc-linux-gnu"...
 Using host libthread_db library "/lib/libthread_db.so.1".
 (gdb) handle SIGPIPE nostop
 Signal        Stop      Print   Pass to program Description
 SIGPIPE       No        Yes     Yes             Broken pipe
 (gdb) run
 Starting program: /usr/bin/pidgin
 [Thread debugging using libthread_db enabled]
 [New Thread 0xb713aa80 (LWP 23749)]
 [New Thread 0xb53e0b90 (LWP 9682)]
 [New Thread 0xb4bdfb90 (LWP 9683)]
 [New Thread 0xb42beb90 (LWP 9686)]
 [New Thread 0xb3abdb90 (LWP 9687)]
 [New Thread 0xb32bcb90 (LWP 9688)]
 [New Thread 0xb2abbb90 (LWP 9689)]
 [New Thread 0xb22bab90 (LWP 9690)]
 [Thread 0xb2abbb90 (LWP 9689) exited]
 [Thread 0xb22bab90 (LWP 9690) exited]
 [Thread 0xb32bcb90 (LWP 9688) exited]
 [Thread 0xb3abdb90 (LWP 9687) exited]
 [Thread 0xb53e0b90 (LWP 9682) exited]
 [Thread 0xb42beb90 (LWP 9686) exited]
 [Thread 0xb4bdfb90 (LWP 9683) exited]
 Pidgin 2.4.0 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/simpleticket/

 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

 Program received signal SIGABRT, Aborted.
 [Switching to Thread 0xb713aa80 (LWP 23749)]
 0xffffe410 in __kernel_vsyscall ()
 (gdb) bt full
 #0  0xffffe410 in __kernel_vsyscall ()
 No symbol table info available.
 #1  0xb718f18a in raise () from /lib/libc.so.6
 No symbol table info available.
 #2  0xb71907b7 in abort () from /lib/libc.so.6
 No symbol table info available.
 #3  0xb71c9dfe in malloc_printerr () from /lib/libc.so.6
 No symbol table info available.
 #4  0xb71cc5be in _int_malloc () from /lib/libc.so.6
 No symbol table info available.
 #5  0xb71cdcb1 in malloc_check () from /lib/libc.so.6
 No symbol table info available.
 #6  0xb71cd428 in malloc () from /lib/libc.so.6
 No symbol table info available.
 #7  0xb746f17d in IA__g_malloc (n_bytes=16) at gmem.c:131
         mem = <value optimized out>
 #8  0xb74841ce in IA__g_slice_alloc (mem_size=16) at gslice.c:824
         chunk_size = 16
         mem = <value optimized out>
 #9  0xb745ad0d in g_hash_table_insert_internal (hash_table=0x813f0a8,
 key=0x851c058, value=0x4677, keep_new_key=0) at ghash.c:753
         node_ptr = (GHashNode **) 0x82e421c
         node = (GHashNode *) 0xbfeb8718
         key_hash = 139575384
 ---Type <return> to continue, or q <return> to quit---
         __PRETTY_FUNCTION__ = "g_hash_table_insert_internal"
 #10 0xb763fae9 in purple_dbus_register_pointer (node=0x851c058,
 type=0xb7661f08) at dbus-server.c:101
         last_id = 18039
         __PRETTY_FUNCTION__ = "purple_dbus_register_pointer"
 #11 0xb7616a6f in new_node (name=0xb6253772 "type",
 type=XMLNODE_TYPE_ATTRIB) at xmlnode.c:56
 No locals.
 #12 0xb7617ca3 in xmlnode_set_attrib (node=0x88b0e38, attr=0xb6253772
 "type", value=0xb6252d67 "get") at xmlnode.c:203
         attrib_node = <value optimized out>
         __PRETTY_FUNCTION__ = "xmlnode_set_attrib"
 #13 0xb623a986 in jabber_iq_new (js=0x87e4d88, type=JABBER_IQ_GET) at
 iq.c:64
 No locals.
 #14 0xb6241293 in jabber_keepalive (gc=0x87e3bc0) at jabber.c:409
         js = (JabberStream *) 0x87e4d88
         iq = <value optimized out>
         ping = <value optimized out>
 #15 0xb75d2151 in send_keepalive (data=0x87e3bc0) at connection.c:70
 No locals.
 #16 0xb7467986 in g_timeout_dispatch (source=0x87c2810, callback=0,
 user_data=0x87e3bc0) at gmain.c:3437
 No locals.
 #17 0xb7467216 in IA__g_main_context_dispatch (context=0x813e388) at
 gmain.c:2003
 No locals.
 #18 0xb746a5c2 in g_main_context_iterate (context=0x813e388, block=1,
 dispatch=1, self=0x8104238) at gmain.c:2636
         got_ownership = <value optimized out>
 ---Type <return> to continue, or q <return> to quit---
         max_priority = 2147483647
         timeout = 750
         some_ready = 1
         nfds = <value optimized out>
         allocated_nfds = <value optimized out>
         fds = (GPollFD *) 0x886e2b8
         __PRETTY_FUNCTION__ = "g_main_context_iterate"
 #19 0xb746a9a7 in IA__g_main_loop_run (loop=0x8749620) at gmain.c:2844
         got_ownership = -1221840144
         self = (GThread *) 0x8104238
         __PRETTY_FUNCTION__ = "IA__g_main_loop_run"
 #20 0xb7b1f584 in IA__gtk_main () at gtkmain.c:1163
         tmp_list = (GList *) 0x0
         functions = (GList *) 0x0
         init = (GtkInitFunction *) 0x0
         loop = (GMainLoop *) 0x8749620
 #21 0x080bc5f0 in main (argc=Cannot access memory at address 0x6
 ) at gtkmain.c:887
         saved_status = <value optimized out>
         opt_help = <value optimized out>
         opt_login = 0
         opt_nologin = 0
         opt_version = <value optimized out>
         opt_si = 1
 ---Type <return> to continue, or q <return> to quit---
         opt_config_dir_arg = 0x0
         opt_login_arg = 0x0
         opt_session_arg = 0x0
         accounts = <value optimized out>
         sig_indx = <value optimized out>
         sigset = {__val = {91143, 0 <repeats 31 times>}}
         prev_sig_disp = <value optimized out>
         errmsg = "l§ë¿h§ë¿ÄÕþ·", '\0' <repeats 16 times>,
 "kWþ·ôÏþ·\002\000\000\000ð\211ë¿Ü\211ë¿9Ûý·4Ä\023·(Ä\023·\b\000\000\000,Ä\023·ð\211ë¿\b",
 '\0' <repeats 11 times>, "
 Òþ·\000\000\000\000\000\000\000\0009\203*·à\212ë¿&ñý·P§ë¿\000\000\000\000à\212ë¿éðý·s§ë¿l§ë¿h§ë¿ÄÕþ·",
 '\0' <repeats 16 times>,
 "ôÏþ·\200Øý·kWþ·ôÏþ·\002\000\000\000p\212ë¿d\212ë¿9Ûý·\034Ä\023·\020Ä\023·\b\000\000\000\024Ä\023·p\212ë¿\b\000\000\0000"...
         segfault_message_tmp = <value optimized out>
         error = (GError *) 0x0
         opt = <value optimized out>
         gui_check = <value optimized out>
         debug_enabled = <value optimized out>
         migration_failed = <value optimized out>
         active_accounts = <value optimized out>
         long_options = {{name = 0x80fe10a "config", has_arg = 1, flag =
 0x0, val = 99}, {name = 0x80ee939 "debug", has_arg = 0,
     flag = 0x0, val = 100}, {name = 0x80f16e3 "help", has_arg = 0, flag =
 0x0, val = 104}, {name = 0x80eebf1 "login", has_arg = 2,
     flag = 0x0, val = 108}, {name = 0x80fa78e "multiple", has_arg = 0,
 flag = 0x0, val = 109}, {name = 0x80fa797 "nologin", has_arg = 0,
     flag = 0x0, val = 110}, {name = 0x80fe100 "session", has_arg = 1, flag
 = 0x0, val = 115}, {name = 0x80f3450 "version", has_arg = 0,
     flag = 0x0, val = 118}, {name = 0x80fe113 "display", has_arg = 1, flag
 = 0x0, val = 68}, {name = 0x80fa79f "sync", has_arg = 0,
 ---Type <return> to continue, or q <return> to quit---
     flag = 0x0, val = 83}, {name = 0x0, has_arg = 0, flag = 0x0, val = 0}}
 (gdb) quit
 The program

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


More information about the Tracker mailing list