[Pidgin] #11982: Pidgin 2.7.0 Segmentation fault

Pidgin trac at pidgin.im
Thu May 20 12:04:56 EDT 2010


#11982: Pidgin 2.7.0 Segmentation fault
--------------------------+-------------------------------------------------
 Reporter:  linus         |     Owner:  rekkanoryo
     Type:  defect        |    Status:  new       
Component:  unclassified  |   Version:  2.7.0     
 Keywords:                |  
--------------------------+-------------------------------------------------
 Hello,

 I'm using pidgin 2.7.0 from PPA on Ubuntu Karmic 9.10. Every time I start
 it, it crashes with SIGSEGV without any action of myself.

 I've added the debug (started pidgin with -d). Hope you find it usefull.
 Apport shows a crash, but I don't attach the log because of the size of 9
 MB (core dump).

 '''gdb-Backtrace:'''


 {{{
 linus at dell-laptop:~$ gdb pidgin
 GNU gdb (GDB) 7.0-ubuntu
 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/pidgin...Reading symbols from
 /usr/lib/debug/usr/bin/pidgin...done.
 (no debugging symbols found)...done.
 (gdb) handle SIGPIPE nostop noprint
 Signal        Stop      Print   Pass to program Description
 SIGPIPE       No        No      Yes             Broken pipe
 (gdb) run
 Starting program: /usr/bin/pidgin
 [Thread debugging using libthread_db enabled]
 [New Thread 0xb70abb70 (LWP 11706)]
 [New Thread 0xb67d6b70 (LWP 11751)]
 [Thread 0xb67d6b70 (LWP 11751) exited]

 Program received signal SIGSEGV, Segmentation fault.
 0x03683c49 in purple_parse_msgerr (od=0x8af8210, conn=0x84b3c28,
 fr=0x84b3c68)
     at /build/buildd/pidgin-2.7.0/./libpurple/protocols/oscar/oscar.c:3400
 3400    /build/buildd/pidgin-2.7.0/./libpurple/protocols/oscar/oscar.c: No
 such file or directory.
         in /build/buildd/pidgin-2.7.0/./libpurple/protocols/oscar/oscar.c
 (gdb) bt
 #0  0x03683c49 in purple_parse_msgerr (od=0x8af8210, conn=0x84b3c28,
     fr=0x84b3c68)
     at /build/buildd/pidgin-2.7.0/./libpurple/protocols/oscar/oscar.c:3400
 #1  0x03679ad4 in generror (od=0x8af8210, conn=0x84b3c28, mod=0x8adc738,
     frame=0x84b3c68, snac=0xbfffd004, bs=0x84b3c6c)
     at /build/buildd/pidgin-2.7.0/./libpurple/protocols/oscar/misc.c:121
 #2  snachandler (od=0x8af8210, conn=0x84b3c28, mod=0x8adc738,
 frame=0x84b3c68,
     snac=0xbfffd004, bs=0x84b3c6c)
     at /build/buildd/pidgin-2.7.0/./libpurple/protocols/oscar/misc.c:134
 #3  0x03678938 in parse_snac (conn=0x84b3c28)
     at
 /build/buildd/pidgin-2.7.0/./libpurple/protocols/oscar/flap_connection.c:771
 #4  parse_flap (conn=0x84b3c28)
     at
 /build/buildd/pidgin-2.7.0/./libpurple/protocols/oscar/flap_connection.c:857
 #5  flap_connection_recv (conn=0x84b3c28)
     at
 /build/buildd/pidgin-2.7.0/./libpurple/protocols/oscar/flap_connection.c:992
 #6  0x080af330 in pidgin_io_invoke (source=0x8689de0, condition=G_IO_IN,
     data=0x8474ba8) at
 /build/buildd/pidgin-2.7.0/./pidgin/gtkeventloop.c:73
 #7  0x00934dab in ?? () from /lib/libglib-2.0.so.0
 #8  0x008fde88 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
 #9  0x00901730 in ?? () from /lib/libglib-2.0.so.0
 ---Type <return> to continue, or q <return> to quit---
 #10 0x00901b9f in g_main_loop_run () from /lib/libglib-2.0.so.0
 #11 0x004e9419 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
 #12 0x080cabb9 in main (argc=1, argv=0xbffff4e4)
     at /build/buildd/pidgin-2.7.0/./pidgin/gtkmain.c:978
 (gdb)
 (gdb)
 (gdb)
 (gdb)
 (gdb)
 (gdb)
 (gdb) bt full
 #0  0x03683c49 in purple_parse_msgerr (od=0x8af8210, conn=0x84b3c28,
     fr=0x84b3c68)
     at /build/buildd/pidgin-2.7.0/./libpurple/protocols/oscar/oscar.c:3400
         gc = 0x8af67a0
         reason = <value optimized out>
         errcode = 0
         data = 0x6 <Address 0x6 out of bounds>
         reason_str = 0x8af8210 ""
         buf = <value optimized out>
 #1  0x03679ad4 in generror (od=0x8af8210, conn=0x84b3c28, mod=0x8adc738,
     frame=0x84b3c68, snac=0xbfffd004, bs=0x84b3c6c)
     at /build/buildd/pidgin-2.7.0/./libpurple/protocols/oscar/misc.c:121
         ret = <value optimized out>
         error = <value optimized out>
         userfunc = 0
         snac2 = 0x0
 #2  snachandler (od=0x8af8210, conn=0x84b3c28, mod=0x8adc738,
 frame=0x84b3c68,
     snac=0xbfffd004, bs=0x84b3c6c)
     at /build/buildd/pidgin-2.7.0/./libpurple/protocols/oscar/misc.c:134
 No locals.
 #3  0x03678938 in parse_snac (conn=0x84b3c28)
     at
 /build/buildd/pidgin-2.7.0/./libpurple/protocols/oscar/flap_connection.c:771
 ---Type <return> to continue, or q <return> to quit---
         cur = 0x8adc738
         snac = {family = 4, subtype = 1, flags = 0, id = 55}
 #4  parse_flap (conn=0x84b3c28)
     at
 /build/buildd/pidgin-2.7.0/./libpurple/protocols/oscar/flap_connection.c:857
 No locals.
 #5  flap_connection_recv (conn=0x84b3c28)
     at
 /build/buildd/pidgin-2.7.0/./libpurple/protocols/oscar/flap_connection.c:992
         buf = <value optimized out>
         buflen = <value optimized out>
         read = <value optimized out>
 #6  0x080af330 in pidgin_io_invoke (source=0x8689de0, condition=G_IO_IN,
     data=0x8474ba8) at
 /build/buildd/pidgin-2.7.0/./pidgin/gtkeventloop.c:73
         purple_cond = PURPLE_INPUT_READ
 #7  0x00934dab in ?? () from /lib/libglib-2.0.so.0
 No symbol table info available.
 #8  0x008fde88 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
 No symbol table info available.
 #9  0x00901730 in ?? () from /lib/libglib-2.0.so.0
 No symbol table info available.
 #10 0x00901b9f in g_main_loop_run () from /lib/libglib-2.0.so.0
 No symbol table info available.
 ---Type <return> to continue, or q <return> to quit---
 #11 0x004e9419 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
 No symbol table info available.
 #12 0x080cabb9 in main (argc=1, argv=0xbffff4e4)
     at /build/buildd/pidgin-2.7.0/./pidgin/gtkmain.c:978
         opt_force_online = 0
         opt_help = 140895696
         opt_login = 0
         opt_nologin = 0
         opt_version = 0
         opt_si = 1
         opt_config_dir_arg = 0x0
         opt_login_arg = 0x0
         opt_session_arg = 0x0
         accounts = <value optimized out>
         sig_indx = <value optimized out>
         sigset = {__val = {81927, 0 <repeats 31 times>}}
         prev_sig_disp = <value optimized out>
         errmsg =
 "\000\000\000\000\000\000\000\000\340\232\375\267\005\000\000\000\033\363\377\277\024\363\377\277!F\022\000\310\305\022\000\000\340\375\267
 @\037\000\000\000\000\000\236\227\022\000\364\277\022\000\364\277\022\000\220\324\377\277\005\000\000\000p\324\377\277EG\022\000\b\000\000\000\210\211\375\267\024\000\000\000(\363\377\277>\277\021\000\240\211\375\267\210\211\375\267\024\000\000\000\000\000\000\000\064\000
 \001\000\000\000\000pE\376\267\240\330\375\267\260---Type <return> to
 continue, or q <return> to quit---
 \b\376\267\070\020\376\267\000\000\000\000\330\070\002\000\330\070\002\000\033\363\377\277\024\363\377\277\020\363\377\277!F\022\000$H\002\000$H\002\000\000\000\000\000\b\030\000\000\364\277\022\000P\313\021\000\364\277\022\000\020\325\377\277\002\000\000\000\364\324\377\277EG\022\000\b\000\000\000p\211\375\267\b\000\000\000(\363\377\277>\277\021\000|\211\375\267p\211\375\267\b\000\000\000\000\000\000\000\020\326\377\277\070\020\376\267\000\000\000\000\370\362\377\277\000\000\000\000\340\r\002\000\314\b\000\000\033\363\377\277\024\363\377\277\020\363\377\277\310\305\022\000!F\022",
 '\000' <repeats 13 times>"\364,
 \277\022\000P\313\021\000\020\326\377\277\364\277\022\000\220\325\377\277\003\000\000\000t\325\377\277EG\022"...
         signal_channel = <value optimized out>
         signal_status = <value optimized out>
         signal_channel_watcher = 1
         error = 0x0
         opt = <value optimized out>
         gui_check = <value optimized out>
         debug_enabled = 0
         migration_failed = 140895696
         active_accounts = <value optimized out>
         long_options = {{name = 0x811c0aa "config", has_arg = 1, flag =
 0x0,
             val = 99}, {name = 0x810941d "debug", has_arg = 0, flag = 0x0,
             val = 100}, {name = 0x8117ad0 "force-online", has_arg = 0,
             flag = 0x0, val = 100}, {name = 0x810c056 "help", has_arg = 0,
 ---Type <return> to continue, or q <return> to quit---
             flag = 0x0, val = 104}, {name = 0x811789c "login", has_arg =
 2,
             flag = 0x0, val = 108}, {name = 0x8117add "multiple", has_arg
 = 0,
             flag = 0x0, val = 109}, {name = 0x8117ae6 "nologin", has_arg =
 0,
             flag = 0x0, val = 110}, {name = 0x811c0a0 "session", has_arg =
 1,
             flag = 0x0, val = 115}, {name = 0x810f0d9 "version", has_arg =
 0,
             flag = 0x0, val = 118}, {name = 0x811c0b3 "display", has_arg =
 1,
             flag = 0x0, val = 68}, {name = 0x8117aee "sync", has_arg = 0,
             flag = 0x0, val = 83}, {name = 0x0, has_arg = 0, flag = 0x0,
             val = 0}}

 }}}



 If you want to see more details, please ask.

 Greetz, Linus

 PS.: Sorry for my bad english, i'm german.

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


More information about the Tracker mailing list