Bug#299571: marked as done (gossip: Segfault when disconnected from the server)

Debian Bug Tracking System owner@bugs.debian.org
Thu, 31 Mar 2005 08:18:26 -0800


Your message dated Thu, 31 Mar 2005 11:02:50 -0500
with message-id <E1DH28A-0002Lt-00@newraff.debian.org>
and subject line Bug#299571: fixed in loudmouth 0.17.2-2
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 15 Mar 2005 01:36:56 +0000
>From sam@robots.org.uk Mon Mar 14 17:36:56 2005
Return-path: <sam@robots.org.uk>
Received: from wang.choosehosting.com [212.42.1.230] (Debian-exim)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DB0zO-0002Tc-00; Mon, 14 Mar 2005 17:36:54 -0800
Received: from 82-32-57-57.cable.ubr08.azte.blueyonder.co.uk ([82.32.57.57] helo=xerces)
	by wang.choosehosting.com with esmtpsa (TLS-1.0:RSA_AES_256_CBC_SHA:32)
	(Exim 4.44)
	id 1DB0zO-0001JC-C8
	for submit@bugs.debian.org; Tue, 15 Mar 2005 01:36:55 +0000
Received: from sam by xerces with local (Exim 4.44)
	id 1DB0z6-0005NC-0x
	for submit@bugs.debian.org; Tue, 15 Mar 2005 01:36:36 +0000
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Sam Morris <sam@robots.org.uk>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: gossip: Segfault when disconnected from the server
X-Mailer: reportbug 3.8
Date: Tue, 15 Mar 2005 01:36:35 +0000
Message-Id: <E1DB0z6-0005NC-0x@xerces>
X-Scanner: Exiscan on wang.choosehosting.com at 2005-03-15 01:36:55
X-Spam-Score: 0.0
X-Spam-Bars: /
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: gossip
Version: 0.8-1
Severity: normal

If the Jabber server Gossip is connected to goes down, or the connection
is otherwise interrupted, Gossip segfaults:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 7819)]
0x40d34c2f in strlen (str=0xfff1f0 <Address 0xfff1f0 out of bounds>)
    at ../sysdeps/i386/strlen.c:28
28      ../sysdeps/i386/strlen.c: No such file or directory.
        in ../sysdeps/i386/strlen.c
#0  0x40d34c2f in strlen (str=0xfff1f0 <Address 0xfff1f0 out of bounds>)
    at ../sysdeps/i386/strlen.c:28
        cnt = -1
#1  0x40d083a5 in _IO_vfprintf (s=0xbfffec2c,
    format=0xfff1f0 <Address 0xfff1f0 out of bounds>,
    ap=0xbffff1d0 "\uffff\uffff#:\020\u0127\037\r0\uffff\uffff\uffffKG\u036c\uffff\234<\uffff\uffff\uffff") at vfprintf.c:1526
        len = 0
        string_malloced = 0
        thousands_sep = 0x0
        grouping = 0xffffffff <Address 0xffffffff out of bounds>
        done = 1
        f = (const unsigned char *) 0x4004ecf6 "s'\n"
        lead_str_end = (const unsigned char *) 0x4004ecf5 "%s'\n"
        work_buffer = "6\000\000\uffff\001\000\000\000\f\231\b\b\b\027\uffff@\030\206\023\b\200\uffff\236@H\uffff\uffff\uffff\uffff\uffff\236@~_\uffff@P\000\000\000 \000\000\000\uffff\uffff\237@\b\027\uffff@\000\000\000\000x\uffff\uffff\uffff\000\uffff\uffff@x\031\uffff@\000\000\000\000x\uffff\uffff\uffffz-\uffff@\210\031\uffff@\uffffe\024\b`\027\237@\000\000\000\000\b\027\uffff@\001\000\000\000\uffff\uffff\uffff\uffff@i\237@x\031\uffff@\004\024\uffff@P\uffff\uffff\uffff\000\000\000\000`\uffff\uffff\uffff\030J\035\b\030J\035\b\uffff\uffff~@\uffff\uffff~@\000T\035\b\uffff\uffff\uffff\uffff\b\uffff\016\b\020\uffff\uffff\uffff\233\220\b\bx\220\b\b\000\000\000\000\uffff\uffff\uffff\uffff\001\000\000\000@\uffff\016\b\000\000\000\bt\uffff\uffff\uffff\uffff\uffff\016\b"...
        workstart = 0x0
        workend = 0xbfffebf8 ""
        mbstate = {__count = 0, __value = {__wch = 0, __wchb = "\000\000\000"}}
        ap_save = 0xbffff1cc "\uffff ap_save = 0xbffff1cc "\uffff
        nspecs_done = 0
        save_errno = 0
        jump_table = {1, 0, 0, 4, 0, 14, 0, 6, 0, 0, 7, 2, 0, 3, 9, 0, 5, 8,
  8, 8, 8, 8, 8, 8, 8, 8, 0, 0, 0, 0, 0, 0, 0, 26, 0, 25, 0, 19, 19, 19, 0,
  29, 0, 0, 12, 0, 0, 0, 0, 0, 0, 21, 0, 0, 0, 0, 18, 0, 13, 0, 0, 0, 0, 0, 0,
  26, 0, 20, 15, 19, 19, 19, 10, 15, 28, 0, 11, 24, 23, 17, 22, 12, 0, 21, 27,
  16, 0, 0, 18, 0, 13}
#2  0x40d25fd6 in _IO_vasprintf (result_ptr=0xbfffed24, format=0x0, args=0x0)
    at vasprintf.c:61
        string = 0x827b3c8 "'\uffff\uffff@t\uffff\uffff@", '-' <repeats 27 times>, "\n"
        sf = {_sbf = {_f = {_flags = -72515584,
      _IO_read_ptr = 0x827b3c8 "'\uffff\uffff@t\uffff\uffff@", '-' <repeats 27 times>, "\n",
      _IO_read_end = 0x827b3c8 "'\uffff\uffff@t\uffff\uffff@", '-' <repeats 27 times>, "\n",
      _IO_read_base = 0x827b3c8 "'\uffff\uffff@t\uffff\uffff@", '-' <repeats 27 times>, "\n",
      _IO_write_base = 0x827b3c8 "'\uffff\uffff@t\uffff\uffff@", '-' <repeats 27 times>, "\n",
      _IO_write_ptr = 0x827b3c9 "\uffff\uffff@t\uffff\uffff@", '-' <repeats 27 times>, "\n",
      _IO_write_end = 0x827b42c "Y",
      _IO_buf_base = 0x827b3c8 "'\uffff\uffff@t\uffff\uffff@", '-' <repeats 27 times>, "\n",
      _IO_buf_end = 0x827b42c "Y", _IO_save_base = 0x0, _IO_backup_base = 0x0,
      _IO_save_end = 0x0, _markers = 0x0, _chain = 0x0, _fileno = 0,
      _flags2 = 0, _old_offset = 0, _cur_column = 0, _vtable_offset = 0 '\0',
      _shortbuf = "", _lock = 0x0, _offset = 0, _codecvt = 0x0,
      _wide_data = 0x0, _mode = -1,
      _unused2 = '\0' <repeats 16 times>, "\uffff\uffffq'p\u016f@\uffff\uffff\uffff\uffff\uffffH\uffff@@\000\000\000\000\000\000\000~_\uffff@\000\000\000\000\000\000\000"}, _vtable = 0x40de8260}, _s = {
    _allocate_buffer = 0x40d2fe60 <__libc_malloc>,
    _free_buffer = 0x40d30020 <__libc_free>}}
        ret = 36
        needed = 136819656
#3  0x40a68e27 in IA__g_vasprintf (string=0xbfffed24, format=0x0, args=0x0)
    at gprintf.c:312
        len = 512
#4  0x40a59c56 in IA__g_strdup_vprintf (format=0x0, args=0x0)
    at gstrfuncs.c:187
        string = (gchar *) 0x0
#5  0x40a4bed4 in IA__g_logv (log_domain=0x4004ec05 "LM", log_level=512,
    format=0x4004ecf4 "'%s'\n", args1=0xbffff1cc "\uffff\uffff\uffff") at gmessages.c:467
        depth = 1
        domain = (GLogDomain *) 0x2889
        data = 0x0
        log_func = 0x4004a170 <lm_connection_unref+144>
        domain_fatal_mask = 5
        test_level = 512
        was_recursion = 0
        i = 9
#6  0x40a4c086 in IA__g_log (log_domain=0x0, log_level=0, format=0x0)
    at gmessages.c:512
No locals.
#7  0x40047c77 in _lm_connection_failed () from /usr/lib/libloudmouth-1.so.0
No symbol table info available.
#8  0x40a68f5f in g_io_unix_dispatch (source=0x4004ec05, callback=0x811d340,
    user_data=0x0) at giounix.c:162
        buffer_condition = 10377
#9  0x40a436c2 in g_main_dispatch (context=0x80bf348) at gmain.c:1947
        dispatch = (gboolean (*)(GSource *, GSourceFunc,
    gpointer)) 0x40a68f10 <g_io_unix_dispatch>
        was_in_call = 0
        user_data = 0x811d340
        callback = 0x40047b40 <_lm_connection_failed+2016>
        cb_funcs = (GSourceCallbackFuncs *) 0x40a9e100
        cb_data = 0x81d99e8
        need_destroy = 135000904
        source = (GSource *) 0x81d4da8
        depth = (gint *) 0x80c7f98
        i = 0
#10 0x40a44748 in IA__g_main_context_dispatch (context=0x80bf348)
    at gmain.c:2497
No locals.
#11 0x40a44a80 in g_main_context_iterate (context=0x80bf348, block=1,
    dispatch=1, self=0x808e388) at gmain.c:2578
        got_ownership = 0
        max_priority = 2147483647
        timeout = 606
        some_ready = 1
        nfds = 1
        allocated_nfds = 606
        fds = (GPollFD *) 0x81d66d0
#12 0x40a45023 in IA__g_main_loop_run (loop=0x81d2450) at gmain.c:2782
        got_ownership = 1073789920
        self = (GThread *) 0x808e388
#13 0x4053ea23 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#14 0x0806955d in main (argc=10377, argv=0x2889) at gossip-main.c:170
        account = (GossipAccount *) 0x807f79d
        program = (GnomeProgram *) 0x0
        no_connect = 0
        list_accounts = 0
        popt_context = 0x8092de8
        account_name = (gchar *) 0x0
        options = {{longName = 0x8081fdf "no-connect", shortName = 110 'n',
    argInfo = 0, arg = 0xbffff7cc, val = 0,
    descrip = 0x8081fea "Don't connect on startup", argDescrip = 0x0}, {
    longName = 0x808317d "account", shortName = 97 'a', argInfo = 1,
    arg = 0xbffff7c8, val = 0,
    descrip = 0x8082100 "Which account to connect to on startup",
    argDescrip = 0x8082003 "ACCOUNT-NAME"}, {
    longName = 0x8082010 "list-accounts", shortName = 108 'l', argInfo = 0,
    arg = 0xbffff7c4, val = 0,
    descrip = 0x808201e "List the available accounts", argDescrip = 0x0}, {
    longName = 0x0, shortName = 0 '\0', argInfo = 0, arg = 0x0, val = 0,
    descrip = 0x0, argDescrip = 0x0}}


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (700, 'testing'), (600, 'unstable'), (550, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-k7
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages gossip depends on:
ii  gconf2                   2.8.1-4         GNOME configuration database syste
ii  libart-2.0-2             2.3.17-1        Library of functions for 2D graphi
ii  libatk1.0-0              1.8.0-4         The ATK accessibility toolkit
ii  libaudiofile0            0.2.6-5         Open-source version of SGI's audio
ii  libbonobo2-0             2.8.1-2         Bonobo CORBA interfaces library
ii  libbonoboui2-0           2.8.1-1         The Bonobo UI library
ii  libc6                    2.3.2.ds1-20    GNU C Library: Shared libraries an
ii  libesd-alsa0 [libesd0]   0.2.35-2        Enlightened Sound Daemon (ALSA) - 
ii  libgconf2-4              2.8.1-4         GNOME configuration database syste
ii  libgcrypt11              1.2.0-4         LGPL Crypto library - runtime libr
ii  libglade2-0              1:2.4.2-1       library to load .glade files at ru
ii  libglib2.0-0             2.6.3-1         The GLib library of C routines
ii  libgnome2-0              2.8.1-2         The GNOME 2 library - runtime file
ii  libgnomecanvas2-0        2.8.0-1         A powerful object-oriented display
ii  libgnomeui-0             2.8.0-3         The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0           2.8.4-2         The GNOME virtual file-system libr
ii  libgnutls11              1.0.16-9        GNU TLS library - runtime library
ii  libgpg-error0            1.0-1           library for common error values an
ii  libgtk2.0-0              2.6.2-3         The GTK+ graphical user interface 
ii  libhowl0                 0.9.8-2         Library for Zeroconf service disco
ii  libice6                  4.3.0.dfsg.1-10 Inter-Client Exchange library
ii  libloudmouth1-0          0.17.2-1        Lightweight C Jabber library
ii  liborbit2                1:2.10.5-0.1    libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0            1.8.1-1         Layout and rendering of internatio
ii  libpopt0                 1.7-5           lib for parsing cmdline parameters
ii  libsm6                   4.3.0.dfsg.1-10 X Window System Session Management
ii  libtasn1-2               0.2.10-3        Manage ASN.1 structures (runtime)
ii  libx11-6                 4.3.0.dfsg.1-10 X Window System protocol client li
ii  libxext6                 4.3.0.dfsg.1-10 X Window System miscellaneous exte
ii  libxml2                  2.6.16-3        GNOME XML library
ii  libxslt1.1               1.1.12-5        XSLT processing library - runtime 
ii  xlibs                    4.3.0.dfsg.1-10 X Keyboard Extension (XKB) configu
ii  zlib1g                   1:1.2.2-3       compression library - runtime

-- no debconf information

---------------------------------------
Received: (at 299571-close) by bugs.debian.org; 31 Mar 2005 16:12:39 +0000
>From katie@ftp-master.debian.org Thu Mar 31 08:12:39 2005
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DH2He-0007Yo-00; Thu, 31 Mar 2005 08:12:38 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1DH28A-0002Lt-00; Thu, 31 Mar 2005 11:02:50 -0500
From: Ross Burton <ross@debian.org>
To: 299571-close@bugs.debian.org
X-Katie: $Revision: 1.55 $
Subject: Bug#299571: fixed in loudmouth 0.17.2-2
Message-Id: <E1DH28A-0002Lt-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Thu, 31 Mar 2005 11:02:50 -0500
Delivered-To: 299571-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Source: loudmouth
Source-Version: 0.17.2-2

We believe that the bug you reported is fixed in the latest version of
loudmouth, which is due to be installed in the Debian FTP archive:

libloudmouth1-0_0.17.2-2_i386.deb
  to pool/main/l/loudmouth/libloudmouth1-0_0.17.2-2_i386.deb
libloudmouth1-dev_0.17.2-2_i386.deb
  to pool/main/l/loudmouth/libloudmouth1-dev_0.17.2-2_i386.deb
loudmouth_0.17.2-2.diff.gz
  to pool/main/l/loudmouth/loudmouth_0.17.2-2.diff.gz
loudmouth_0.17.2-2.dsc
  to pool/main/l/loudmouth/loudmouth_0.17.2-2.dsc



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 299571@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ross Burton <ross@debian.org> (supplier of updated loudmouth package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 31 Mar 2005 16:23:44 +0100
Source: loudmouth
Binary: libloudmouth1-0 libloudmouth1-dev
Architecture: source i386
Version: 0.17.2-2
Distribution: unstable
Urgency: low
Maintainer: Ross Burton <ross@debian.org>
Changed-By: Ross Burton <ross@debian.org>
Description: 
 libloudmouth1-0 - Lightweight C Jabber library
 libloudmouth1-dev - Development files for Loudmouth Jabber library
Closes: 299571
Changes: 
 loudmouth (0.17.2-2) unstable; urgency=low
 .
   * debian/patches/lm-ssl-disconnect.diff: Fix crash when SSL servers
     disconnect (closes: #299571)
   * Add debian/watch
Files: 
 a7a4b607915a3fdf089474e0ff890470 1562 libs optional loudmouth_0.17.2-2.dsc
 dbed3faed402bda03e3bd7c024341412 26005 libs optional loudmouth_0.17.2-2.diff.gz
 0fcb94d5b0ef75381a6cac87a1c0e8e4 63848 libdevel optional libloudmouth1-dev_0.17.2-2_i386.deb
 81b70004cea72c0013a34ac28c75baf9 38778 libs optional libloudmouth1-0_0.17.2-2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCTBp7LQnkR9C0M98RAtBMAJ9OqzmHKpABgLS9rwYe4+EjPoV+SgCfZuCO
ykZFajXDZff1YgAjYv5AxwU=
=KKxe
-----END PGP SIGNATURE-----