[OTR-dev] Re: Bug#411301: gaim DNS children die when gaim-otr is installed

Ian Goldberg ian at cypherpunks.ca
Sun Feb 18 10:30:11 EST 2007


On Sat, Feb 17, 2007 at 07:00:36PM -0700, Berg, Michael wrote:
> I'm not using the "combined" contacts mentioned in bug #404590.
> 
> My original bug post was from an amd64 Debian install (64-bit Linux)
> The glib message is always for the same address on the 64-bit system
> =====
> *** glibc detected *** free(): invalid pointer: 0x00000000005f9fd8 ***
> =====
> 
> I just installed gaim and gaim-otr in my 32-bit chroot environment to test
> there and have the same problems.
> The glibc error is always the following address in the 32-bit chroot
> =====
> *** glibc detected *** free(): invalid pointer: 0x08118838 ***
> =====
> (maybe the 32-bit address will help track down the problem if you don't
> have a 64-bit system to debug on)
> 
> I just checked /proc/<gaim_pid>/maps on my 64-bit install when I was
> running gaim+otr, and the offending address of 0x00000000005f9fd8 is in the
> heap space of the gaim process.
> =====
> 005aa000-009f6000 rw-p 005aa000 00:00 0    [heap]
> =====
> (what you'd expect for a call to free(), but having the base address of the
> heap may also help with debugging)
> 
> 
> I've also checked with several friends who are running Debian unstable and
> are using gaim + gaim-otr -- but who aren't having this problem.
> The only difference I can identify between our systems so far is that I'm
> using ldap for authenticating users on my home network, while my friend's
> machines are "/etc/passwd and /etc/shadow" only for user authentication.
> I can't test this easily right now as my effected user won't be able to log
> in to test if I turn ldap off.  I've got a laptop I'm going to put Debian
> back on tonight.  It won't be using ldap for user auth on the laptop, and I
> can test then to see if that makes a difference.

I can't imagine how ldap could cause a problem like this in gaim.  Can
you check the versions of all the libraries gaim and gaim-otr depend on,
on both systems?

Can you run gaim under valgrind, and see what that says?

Thanks,

   - Ian



More information about the OTR-dev mailing list