Bugs item #1676403, was opened at 2007-03-08 16:40
Message generated for change (Comment added) made by sharybin
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100235&aid=1676403&group_id=235

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: segfault
Group: 2.0.0 beta 6
>Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: nazgul (sharybin)
Assigned to: Nobody/Anonymous (nobody)
Summary: Segfault at getting jabber's buddy info

Initial Comment:
When I am trying to get info of any jabber's buddy (I am using jabber too) Gaim 
is segfolting with message in console:

*** glibc detected *** free(): invalid pointer: 0x08460588 ***
Aborted

I am using Gaim 2.0b6 SVN rev.18197, Debian Linux 4.0 Etch testing and Gnome 
2.14.3.

----------------------------------------------------------------------

>Comment By: nazgul (sharybin)
Date: 2007-03-08 20:48

Message:
Logged In: YES 
user_id=1673923
Originator: YES

#gdb gaim

(gdb) handle SIGPIPE nostop
Signal        Stop      Print   Pass to program Description
SIGPIPE       No        Yes     Yes             Broken pipe
(gdb) run

<then I am truing to get buddy's info>

Starting program: /usr/local/bin/gaim
[Thread debugging using libthread_db enabled]
[New Thread -1222476960 (LWP 26409)]
*** glibc detected *** double free or corruption (out): 0x083dfee0 ***

Program received signal SIGABRT, Aborted.
[Switching to Thread -1222476960 (LWP 26409)]
0xb7f33792 in ?? () from /lib/ld-linux.so.2

(gdb) bt full
#0  0xb7f33792 in ?? () from /lib/ld-linux.so.2
No symbol table info available.
#1  0xb7440811 in raise () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#2  0xb7441fb9 in abort () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#3  0xb7475d3a in __fsetlocking () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#4  0xb747d5cf in mallopt () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#5  0xb747d672 in free () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#6  0xb7636b31 in g_free () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#7  0xb6e8811b in jabber_buddy_info_remove_id (jbi=0x814dd98, id=0x84c8ff0
"gaim9cefe76") at buddy.c:736
        l = (GSList *) 0x832a4e0
#8  0xb6e89f79 in jabber_vcard_parse (js=0x8495c00, packet=0x84b5680,
data=0x814dd98) at buddy.c:759
        id = 0x6 <Address 0x6 out of bounds>
        from = 0x84b8528 "[EMAIL PROTECTED]"
        info_text = (GString *) 0x814d960
        bare_jid = 0x814d960 "�\017K\b"
        text = <value optimized out>
        vcard = <value optimized out>
        b = (GaimBuddy *) 0xb7636b31
        jbi = (JabberBuddyInfo *) 0x0
#9  0xb6e8fc42 in jabber_iq_parse (js=0x8495c00, packet=0x84b5680) at
iq.c:268
        query = (xmlnode *) 0x0
        error = <value optimized out>
        x = <value optimized out>
---Type <return> to continue, or q <return> to quit---
        xmlns = <value optimized out>
        type = 0x84bb2b8 "result"
        id = 0x84c8ff0 "gaim9cefe76"
        from = 0x84b8528 "[EMAIL PROTECTED]"
#10 0xb6e96086 in jabber_process_packet (js=0x8495c00, packet=0x84b5680)
at jabber.c:179
No locals.
#11 0xb6e98b09 in jabber_parser_element_end_libxml (user_data=0x8495c00,
element_name=0x84b0c0c "iq", prefix=0x0,
    namespace=0x84b0b93 "jabber:client") at parser.c:115
No locals.
#12 0xb7cb2a99 in xmlParseXMLDecl () from /usr/lib/libxml2.so.2
No symbol table info available.
#13 0xb7cbf3c8 in xmlParseChunk () from /usr/lib/libxml2.so.2
No symbol table info available.
#14 0xb6e989ff in jabber_parser_process (js=0x8495c00, buf=0x6729 <Address
0x6729 out of bounds>, len=6) at parser.c:191
No locals.
#15 0xb6e9590b in jabber_recv_cb (data=0x8495190, source=16,
condition=GAIM_INPUT_READ) at jabber.c:421
        gc = (GaimConnection *) 0x8495190
        js = <value optimized out>
        len = 146
        buf = "<iq xmlns='jabber:client' id='gaim9cefe76'
from='[EMAIL PROTECTED]' to='[EMAIL PROTECTED]/Home'
type='result'><vCard xmlns='vcard-temp'/></iq>\000/Home'
stamp='20070308T15:03:14'/><priority>1</priori"...
#16 0x08098e83 in gaim_gtk_io_invoke (source=0x849c168, condition=G_IO_IN,
data=0x849d4f0) at gtkeventloop.c:77
        gaim_cond = GAIM_INPUT_READ
#17 0xb7658c7f in g_io_channel_unix_get_fd () from
/usr/lib/libglib-2.0.so.0
No symbol table info available.
#18 0xb762f731 in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
No symbol table info available.
#19 0xb76327a6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#20 0xb7632b67 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#21 0xb7ac6281 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#22 0x080adac1 in main (argc=Cannot access memory at address 0x6
) at gtkmain.c:817
        saved_status = <value optimized out>
        opt_help = <value optimized out>
        opt_login = 0
        opt_nologin = 0
        opt_version = <value optimized out>
        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 =
"\000\000\000\000\000\000\000\0005�T�\000\000\000\000\000\000\000\000��U��\031��i���5
.���U��\217����U�\204�T�8\034��\234\226��5
.�5�T�\000\000\000\000\000\000\000\000�\217��l7��\000\000\000\000\b\032������\001",
'\0' <repeats 15 times>,
"\004\233\"[EMAIL PROTECTED]"��\032��O���l7��",
'\0' <repeats 12 times>,
"����\2107��\2047��X\224����U�P\032��i���\000\000\000\000�\217��\004\233\"[EMAIL
 PROTECTED]"��\032��\020\032
        segfault_message_tmp = <value optimized out>
        error = (GError *) 0x0
        opt = <value optimized out>
        gui_check = <value optimized out>
        debug_enabled = <value optimized out>
        long_options = {{name = 0x80e6d6d "config", has_arg = 1, flag =
0x0, val = 99}, {name = 0x80da3f2 "debug", has_arg = 0,
    flag = 0x0, val = 100}, {name = 0x80dc266 "help", has_arg = 0, flag =
0x0, val = 104}, {name = 0x80e76c8 "login", has_arg = 2,
    flag = 0x0, val = 108}, {name = 0x80e4157 "nologin", has_arg = 0, flag
= 0x0, val = 110}, {name = 0x80e6d63 "session",
---Type <return> to continue, or q <return> to quit---
    has_arg = 1, flag = 0x0, val = 115}, {name = 0x80dd772 "version",
has_arg = 0, flag = 0x0, val = 118}, {name = 0x0, has_arg = 0,
    flag = 0x0, val = 0}}

(gdb) quit


----------------------------------------------------------------------

Comment By: Daniel Atallah (datallah)
Date: 2007-03-08 19:41

Message:
Logged In: YES 
user_id=325843
Originator: NO

Please get a backtrace as described on
http://gaim.sourceforge.net/gdb.php, or if using windows install
the gaim-debug package and get a gaim.RPT file as described here
http://gaim.sourceforge.net/win32/#debug

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100235&aid=1676403&group_id=235

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Gaim-bugs mailing list
Gaim-bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gaim-bugs

Reply via email to