Bug#418548: apt-spy: segfaults
Package: apt-spy
Version: 3.1-16
Severity: normal
I experience the same problem in debian/etch. I tried to build the
source on etch with debug information included in the binary, and ran
it it gdb. did not help much. I also tried to run the program under
valgrind, but it did not tell me much either. The stack is just
completely messed up.
Single-stepping throught the code show me that the crash happen in the
benchmark() call, just after the call in line 67 for
"get_file(current, curl, file, HTTP, &total_bytes);", when the call to
"curl_easy_cleanup(curl);" is executed. Before the call to
curl_easy_cleanup() the stack is OK. Inside it the crash happen, and
after the crash the stack is messed up.
That was as far as I got with my debugging this time. I hope it
helps.
-- System Information:
Debian Release: 4.0
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages apt-spy depends on:
ii libc6 2.3.6.ds1-13 GNU C Library: Shared libraries
ii libcurl3 7.15.5-1 Multi-protocol file transfer libra
apt-spy recommends no packages.
-- no debconf information
Reply to: