gaim: crashes with "*** glibc detected *** free(): invalid pointer:"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gaim (Debian) |
Fix Released
|
Unknown
|
|||
gaim (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Automatically imported from Debian bug report #344858 http://
Debian Bug Importer (debzilla) wrote : | #1 |
In Debian Bug tracker #344858, Ari Pollak (ari) wrote : (no subject) | #2 |
severity 344858 important
thanks
Please try to get a backtrace by following the directions here:
http://
by gaim). Make sure to run gdb/gaim with MALLOC_CHECK_=2.
Debian Bug Importer (debzilla) wrote : | #3 |
Message-ID: <email address hidden>
Date: Mon, 26 Dec 2005 19:46:20 -0500
From: Ari Pollak <email address hidden>
To: <email address hidden>, <email address hidden>
Subject: (no subject)
severity 344858 important
thanks
Please try to get a backtrace by following the directions here:
http://
by gaim). Make sure to run gdb/gaim with MALLOC_CHECK_=2.
In Debian Bug tracker #344858, Gabriele Stilli (superenzima) wrote : Re: Bug#344858: (no subject) | #4 |
lunedì 26 dicembre 2005, alle 19:46, Ari Pollak scrive:
> Please try to get a backtrace by following the directions here:
> http://
> by gaim). Make sure to run gdb/gaim with MALLOC_CHECK_=2.
Recompiled gaim as per instructions, installed, ran it alone to be sure:
segfault.
Ran under gdb: no more segfault, works like a charm.
Reran it alone: it works.
Purged, reinstalled "normal" gaim: it works.
I'm a bit puzzled: wonder what happened.
For sake of meticulosity, I resend the output of "gaim -d" in the "good"
case. You'll notice (among other things) that gaim no more complains about
gevolution.so and libzephyr.so being unloadable, although the relevant
libraries are no more present in the system (but of course they were present
while compiling and running the -gdb'ed version of Gaim). But maybe it's
another matter entirely, I just thought it was worthy to mention it.
I don't know what to say. Please, tell me if I there's something more I
should do to solve the mistery. Else, I'm sorry if I made much ado about
nothing.
Cheers,
Gabriele :-)
--
http://
[HT] Lothlorien F.C. (51042, IV.53) #156 Club dei Mille
Meglio essere ottimisti e avere torto, che pessimisti e avere ragione
[Albert Einstein]
Debian Bug Importer (debzilla) wrote : | #5 |
Message-ID: <20051227030223
Date: Tue, 27 Dec 2005 04:02:23 +0100
From: Gabriele 'LightKnight' Stilli <email address hidden>
To: Ari Pollak <email address hidden>, <email address hidden>
Subject: Re: Bug#344858: (no subject)
--IrhDeMKUP4DT/M7F
Content-Type: multipart/mixed; boundary=
Content-
--SLDf9lqlvOQaIe6s
Content-Type: text/plain; charset=iso-8859-1
Content-
Content-
luned=EC 26 dicembre 2005, alle 19:46, Ari Pollak scrive:
> Please try to get a backtrace by following the directions here:
> http://
> by gaim). Make sure to run gdb/gaim with MALLOC_CHECK_=3D2.
Recompiled gaim as per instructions, installed, ran it alone to be sure:
segfault.
Ran under gdb: no more segfault, works like a charm.
Reran it alone: it works.
Purged, reinstalled "normal" gaim: it works.
I'm a bit puzzled: wonder what happened.
For sake of meticulosity, I resend the output of "gaim -d" in the "good"
case. You'll notice (among other things) that gaim no more complains about
gevolution.so and libzephyr.so being unloadable, although the relevant
libraries are no more present in the system (but of course they were present
while compiling and running the -gdb'ed version of Gaim). But maybe it's
another matter entirely, I just thought it was worthy to mention it.
I don't know what to say. Please, tell me if I there's something more I
should do to solve the mistery. Else, I'm sorry if I made much ado about
nothing.
Cheers,
Gabriele :-)
--=20
http://
[HT] Lothlorien F.C. (51042, IV.53) #156 Club dei Mille
Meglio essere ottimisti e avere torto, che pessimisti e avere ragione
[Albert Einstein]
--SLDf9lqlvOQaIe6s
Content-Type: application/
Content-
Content-
QlpoOTFBWSZTWVv
SQS8JJITRMyIeox
GEGjTAAIJESmSNA
GTQAeoDQNAaSFmx
bFfBtwwSaqHU6nW
jvUtAjNIrCXBYuf
kJQf6jskIvg4bvn
6nFyQp6j6FujDAk
hTAuoXKBXssOWV7
cwPF5BJE56W0rzJ
mA5lI6VwgUkJT3o
jsPSRQyQkr9k2fa
tdEmiqLhjUc0YEK
QZwLIQGj1nAtLYb
JJByj/I0D5gQ4kq
tAWzanVAu5pZsOK
KTCPuEqq4Lyfywq
In Debian Bug tracker #344858, Gabriele Stilli (superenzima) wrote : | #6 |
lunedì 26 dicembre 2005, alle 19:46, Ari Pollak scrive:
> Please try to get a backtrace by following the directions here:
> http://
> by gaim). Make sure to run gdb/gaim with MALLOC_CHECK_=2.
Whoops, the saga goes on. Things started going bad again, but apparently not
in a very coherent way. Today gaim crashed "as usual" the first time;
reinstalled the -gdb version, ran it under gdb (without MALLOC_CHECK_=2, I'm
sorry) and crashed (giving the same errors on the plugins I reported in my
last mail). I attach the backtrace herein. Then I tried to rerun it with M_C
and, to my surprise, it crashes no more. I don't know what to say anymore,
else than reporting what happened to me, hoping to be useful. I'd even think
of a hardware failure (just moved my system on a new disk), but everything
else seems to work flawlessly. I'm sorry for being so confusing, I'll pay
more attention in the next days :-)
Happy holidays...
Gabriele :-)
--
http://
[HT] Lothlorien F.C. (51042, IV.53) #156 Club dei Mille
Meglio essere ottimisti e avere torto, che pessimisti e avere ragione
[Albert Einstein]
In Debian Bug tracker #344858, Luke Schierer (lschiere) wrote : | #7 |
See gaim.sf.
aRTs, one that has been plaguing redhat users for some time, and just
recently spread to Fedora, gentoo, and now debian. There is a new
aRTs binary for fedora that supposedly has this crash fixed.
This is at https:/
luke
In Debian Bug tracker #344858, Ari Pollak (ari) wrote : | #8 |
reassign 344858 libarts1c2a
Debian Bug Importer (debzilla) wrote : | #9 |
Message-ID: <20051227210745
Date: Tue, 27 Dec 2005 22:07:45 +0100
From: Gabriele 'LightKnight' Stilli <email address hidden>
To: Ari Pollak <email address hidden>, <email address hidden>
Subject: Re: Bug#344858: (no subject)
--dc+cDN39EJAMEtIO
Content-Type: multipart/mixed; boundary=
Content-
--n8g4imXOkfNTN/H1
Content-Type: text/plain; charset=iso-8859-1
Content-
Content-
luned=EC 26 dicembre 2005, alle 19:46, Ari Pollak scrive:
> Please try to get a backtrace by following the directions here:
> http://
> by gaim). Make sure to run gdb/gaim with MALLOC_CHECK_=3D2.
Whoops, the saga goes on. Things started going bad again, but apparently not
in a very coherent way. Today gaim crashed "as usual" the first time;
reinstalled the -gdb version, ran it under gdb (without MALLOC_CHECK_=3D2, =
I'm
sorry) and crashed (giving the same errors on the plugins I reported in my
last mail). I attach the backtrace herein. Then I tried to rerun it with M_C
and, to my surprise, it crashes no more. I don't know what to say anymore,
else than reporting what happened to me, hoping to be useful. I'd even think
of a hardware failure (just moved my system on a new disk), but everything
else seems to work flawlessly. I'm sorry for being so confusing, I'll pay
more attention in the next days :-)
Happy holidays...
Gabriele :-)
--=20
http://
[HT] Lothlorien F.C. (51042, IV.53) #156 Club dei Mille
Meglio essere ottimisti e avere torto, che pessimisti e avere ragione
[Albert Einstein]
--n8g4imXOkfNTN/H1
Content-Type: application/
Content-
Content-
QlpoOTFBWSZTWdA
ptMp6E09UemkGoG
Bo0wACDESQ00g8k
T1PUGmjajQNG1GQ
TgoRBBAlLX4rVtn
HTFQvvrhNAa5CNE
KyBloFwmqm2Jlr6
7i7xCWJKCzI54zz
rbjaREmeIczIg1G
GoxrXMwoK4Av8Ts
NX56s83WU7KyiWr
yS6xxekyhdiHRdB
1zzuCqgXhXYZT3v
KhyugQ+
85Qu5j5aohkD781
SisZWf7SsrIJ58i
w4Uy37xjZjvMO6A
PxcrQZ8guCrovH8
0KdH...
Debian Bug Importer (debzilla) wrote : | #10 |
Message-ID: <email address hidden>
Date: Tue, 27 Dec 2005 16:26:01 -0500
From: Luke Schierer <email address hidden>
To: Gabriele 'LightKnight' Stilli <email address hidden>,
<email address hidden>
Subject: Re: Bug#344858: (no subject)
See gaim.sf.
aRTs, one that has been plaguing redhat users for some time, and just
recently spread to Fedora, gentoo, and now debian. There is a new
aRTs binary for fedora that supposedly has this crash fixed.
This is at https:/
luke
Debian Bug Importer (debzilla) wrote : | #11 |
Message-ID: <email address hidden>
Date: Tue, 27 Dec 2005 16:40:11 -0500
From: Ari Pollak <email address hidden>
To: <email address hidden>
reassign 344858 libarts1c2a
In Debian Bug tracker #344858, Gabriele Stilli (superenzima) wrote : Re: Bug#344858: (no subject) | #12 |
martedì 27 dicembre 2005, alle 16:26, Luke Schierer scrive:
> See gaim.sf.
I already have "default_
something else?
> Your bug is one in
> aRTs, one that has been plaguing redhat users for some time, and just
> recently spread to Fedora, gentoo, and now debian.
Thank you for the information. I have libarts1 1.3.2-3 (removed from Etch
and Sid, but needed for other programs) and libartsc0 1.4.2-5 installed, no
other aRTs-related package. Do the packages in unstable (libarts1c2a?), or
even experimental, fix this issue?
I managed to crash gaim fiddling with sound preferences; backtrace with
MALLOC set available on request :-)
Sorry for flooding, hope this will be useful to someone :-)
Gabriele :-)
--
http://
[HT] Lothlorien F.C. (51042, IV.53) #156 Club dei Mille
Meglio essere ottimisti e avere torto, che pessimisti e avere ragione
[Albert Einstein]
Debian Bug Importer (debzilla) wrote : | #13 |
Message-ID: <20051227225633
Date: Tue, 27 Dec 2005 23:56:33 +0100
From: Gabriele 'LightKnight' Stilli <email address hidden>
To: Luke Schierer <email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#344858: (no subject)
--FL5UXtIhxfXey3p5
Content-Type: text/plain; charset=iso-8859-1
Content-
Content-
marted=EC 27 dicembre 2005, alle 16:26, Luke Schierer scrive:
> See gaim.sf.
I already have "default_
something else?
> Your bug is one in
> aRTs, one that has been plaguing redhat users for some time, and just
> recently spread to Fedora, gentoo, and now debian.
Thank you for the information. I have libarts1 1.3.2-3 (removed from Etch
and Sid, but needed for other programs) and libartsc0 1.4.2-5 installed, no
other aRTs-related package. Do the packages in unstable (libarts1c2a?), or
even experimental, fix this issue?
I managed to crash gaim fiddling with sound preferences; backtrace with
MALLOC set available on request :-)
Sorry for flooding, hope this will be useful to someone :-)
Gabriele :-)
--=20
http://
[HT] Lothlorien F.C. (51042, IV.53) #156 Club dei Mille
Meglio essere ottimisti e avere torto, che pessimisti e avere ragione
[Albert Einstein]
--FL5UXtIhxfXey3p5
Content-Type: application/
Content-
Content-
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFDscahQMz
Z/EUEHdZWdDjp4Q
=9gF5
-----END PGP SIGNATURE-----
--FL5UXtIhxfXey
Chris Moore (dooglus) wrote : | #14 |
This crash is caused by the same problem as bug #26106.
You shouldn't use memory after freeing it.
I've tried attaching a patch, but launchpad won't have it (" Oops. Sorry, something just went wrong in Launchpad.") so I'll paste it here and let malone mangle the formatting. Luckily it's quite short:
-----
--- src/Backup/
+++ src/privacy.c 2006-01-31 13:16:27.000000000 +0100
@@ -85,8 +85,8 @@
if (l == NULL)
return FALSE;
- account->permit = g_slist_
g_free(l->data);
+ account->permit = g_slist_
if (!local_only && gaim_account_
serv_
@@ -156,8 +156,8 @@
if (l == NULL)
return FALSE;
- account->deny = g_slist_
g_free(l->data);
+ account->deny = g_slist_
if (!local_only && gaim_account_
serv_
-----
In Debian Bug tracker #344858, Chris Moore (dooglus) wrote : patch | #15 |
The attached patch fixes the bug for me. It's nothing to do with aRTs.
The gaim code is trying to use a linked-list node after freeing it.
Chris.
Chris Moore (dooglus) wrote : | #16 |
I added the patch to the debian BTS too. I found I was able to include an attachment there, so here it is:
http://
In Debian Bug tracker #344858, Chris Moore (christopher-ian-moore) wrote : | #17 |
I raised an upstream bug report for this:
http://
Chris Moore (dooglus) wrote : | #18 |
I provided a simple fix for this 3 weeks ago. Will someone apply it please?
Changed in arts: | |
status: | Unconfirmed → Confirmed |
status: | Unconfirmed → Confirmed |
Chris Moore (dooglus) wrote : this fixes the bug | #19 |
- this fixes the bug Edit (750 bytes, text/plain)
Could it be that the patch wasn't applied because I uploaded it to the Debian BTS and linked it here rather than uploading it here?
Let's see if this helps.
Chris Moore (dooglus) wrote : | #20 |
My patch seems to have been applied now. Does that mean the bug can be closed? Is bug 32662 a duplicate of this one?
Matt Zimmerman (mdz) wrote : | #21 |
Your patch wasn't handled promptly because this bug was imported from Bugzilla and the contacts weren't set up correctly. Apologies for that.
You say that it has been applied now, so this bug can be closed.
Changed in gaim: | |
status: | Confirmed → Fix Released |
In Debian Bug tracker #344858, Christopher Martin (chrsmrtn-debian) wrote : | #22 |
Reports in this bug suggest that this is a gaim bug afterall, but fixed
upstream. Closing.
Automatically imported from Debian bug report #344858 http:// bugs.debian. org/344858