← Back to team overview

registry team mailing list archive

[Bug 674645] Re: occasional crashes: glibc detected double free or corruption

 

I've managed to reproduce the crash 3 consecutive times, like this:

- installed dnsmasq on the host (ubuntu 10.04 64bit), and started it
like this:

/usr/sbin/dnsmasq -d -x /var/run/dnsmasq/dnsmasq.pid -udnsmasq -7
/etc/dnsmasq.d,.dpkg-dist,.dpkg-old,.dpkg-new --dhcp-
option=3,172.16.21.253 --dhcp-script=/tmp/myscript.sh

- myscript.sh contains the following:

#!/bin/bash

sleep 10
echo $@
exit 0

- ran 4 ubuntu guests in KVM
- logged in on every guest, and ran the following command from console:

while [ true ]; do dhclient3 eth0 ; done (this basically renews the
lease on the guests all the time, generating some load for dnsmasq)

After ~10 minutes dnsmasq crashed with "*** glibc detected ***
/usr/sbin/dnsmasq: double free or corruption (fasttop):
0x00000000006a1040 ***" (this happened 3 times out of 3 runs).

After installing the package from -proposed, I tried once more, same
setup but it did not crash. It's been running like this for >30 minutes.

I'll let it run for a couple of hours to see if anything happens.

-- 
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for Debian.
https://bugs.launchpad.net/bugs/674645

Title:
  occasional crashes: glibc detected double free or corruption



References