Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 439922 - net-analyzer/httping-1.5.4: segfault after CTRL-C when using http:// or https:// in address
Summary: net-analyzer/httping-1.5.4: segfault after CTRL-C when using http:// or https...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 439390
  Show dependency tree
 
Reported: 2012-10-27 21:30 UTC by Jean-Pierre de la Croix (jdelacroix)
Modified: 2012-10-28 16:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,4.42 KB, text/plain)
2012-10-27 21:31 UTC, Jean-Pierre de la Croix (jdelacroix)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Pierre de la Croix (jdelacroix) 2012-10-27 21:30:47 UTC
net-analyzer/httping-1.5.4, amd64 will segfault with 

*** glibc detected *** httping: free(): invalid pointer: 0x0000000000ccf028 ***

when using an address like http://www.gentoo.org and terminating using CTRL-C. This does not occur if an address like www.gentoo.org (without the http://) is used. It also occurs when using https://.

This bug is not present in the current stable version, 1.5.3.

Reproducible: Always

Steps to Reproduce:
1. httping http://www.gentoo.org
2. CTRL-C
Actual Results:  
PING www.gentoo.org:80 (http://www.gentoo.org):
connected to 89.16.167.134:80 (317 bytes), seq=0 time=391.91 ms 
^CGot signal 2
connected to 89.16.167.134:80 (317 bytes), seq=1 time=306.37 ms 
--- http://www.gentoo.org ping statistics ---
2 connects, 2 ok, 0.00% failed, time 1698ms
round-trip min/avg/max = 306.4/349.1/391.9 ms
*** glibc detected *** httping: free(): invalid pointer: 0x0000000001d1b027 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x77b45)[0x7f55acf0ab45]
httping[0x403ec6]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x7f55aceb228d]
httping[0x401a09]
======= Memory map: ========
00400000-00408000 r-xp 00000000 08:02 1449255                            /usr/bin/httping
00607000-00608000 r--p 00007000 08:02 1449255                            /usr/bin/httping
00608000-00609000 rw-p 00008000 08:02 1449255                            /usr/bin/httping
00609000-0060a000 rw-p 00000000 00:00 0 
01d1a000-01d3c000 rw-p 00000000 00:00 0                                  [heap]
7f55ac23a000-7f55ac24f000 r-xp 00000000 08:02 929987                     /usr/lib64/gcc/x86_64-pc-linux-gnu/4.5.4/libgcc_s.so.1
7f55ac24f000-7f55ac44e000 ---p 00015000 08:02 929987                     /usr/lib64/gcc/x86_64-pc-linux-gnu/4.5.4/libgcc_s.so.1
7f55ac44e000-7f55ac44f000 r--p 00014000 08:02 929987                     /usr/lib64/gcc/x86_64-pc-linux-gnu/4.5.4/libgcc_s.so.1
7f55ac44f000-7f55ac450000 rw-p 00015000 08:02 929987                     /usr/lib64/gcc/x86_64-pc-linux-gnu/4.5.4/libgcc_s.so.1
7f55ac450000-7f55ac463000 r-xp 00000000 08:02 2530413                    /lib64/libresolv-2.15.so
7f55ac463000-7f55ac663000 ---p 00013000 08:02 2530413                    /lib64/libresolv-2.15.so
7f55ac663000-7f55ac664000 r--p 00013000 08:02 2530413                    /lib64/libresolv-2.15.so
7f55ac664000-7f55ac665000 rw-p 00014000 08:02 2530413                    /lib64/libresolv-2.15.so
7f55ac665000-7f55ac667000 rw-p 00000000 00:00 0 
7f55ac667000-7f55ac66c000 r-xp 00000000 08:02 2530414                    /lib64/libnss_dns-2.15.so
7f55ac66c000-7f55ac86b000 ---p 00005000 08:02 2530414                    /lib64/libnss_dns-2.15.so
7f55ac86b000-7f55ac86c000 r--p 00004000 08:02 2530414                    /lib64/libnss_dns-2.15.so
7f55ac86c000-7f55ac86d000 rw-p 00005000 08:02 2530414                    /lib64/libnss_dns-2.15.so
7f55ac86d000-7f55ac879000 r-xp 00000000 08:02 2530422                    /lib64/libnss_files-2.15.so
7f55ac879000-7f55aca78000 ---p 0000c000 08:02 2530422                    /lib64/libnss_files-2.15.so
7f55aca78000-7f55aca79000 r--p 0000b000 08:02 2530422                    /lib64/libnss_files-2.15.so
7f55aca79000-7f55aca7a000 rw-p 0000c000 08:02 2530422                    /lib64/libnss_files-2.15.so
7f55aca7a000-7f55aca8e000 r-xp 00000000 08:02 1203307                    /lib64/libz.so.1.2.7
7f55aca8e000-7f55acc8d000 ---p 00014000 08:02 1203307                    /lib64/libz.so.1.2.7
7f55acc8d000-7f55acc8e000 r--p 00013000 08:02 1203307                    /lib64/libz.so.1.2.7
7f55acc8e000-7f55acc8f000 rw-p 00014000 08:02 1203307                    /lib64/libz.so.1.2.7
7f55acc8f000-7f55acc91000 r-xp 00000000 08:02 2530370                    /lib64/libdl-2.15.so
7f55acc91000-7f55ace91000 ---p 00002000 08:02 2530370                    /lib64/libdl-2.15.so
7f55ace91000-7f55ace92000 r--p 00002000 08:02 2530370                    /lib64/libdl-2.15.so
7f55ace92000-7f55ace93000 rw-p 00003000 08:02 2530370                    /lib64/libdl-2.15.so
7f55ace93000-7f55ad030000 r-xp 00000000 08:02 2530467                    /lib64/libc-2.15.so
7f55ad030000-7f55ad230000 ---p 0019d000 08:02 2530467                    /lib64/libc-2.15.so
7f55ad230000-7f55ad234000 r--p 0019d000 08:02 2530467                    /lib64/libc-2.15.so
7f55ad234000-7f55ad236000 rw-p 001a1000 08:02 2530467                    /lib64/libc-2.15.so
7f55ad236000-7f55ad23a000 rw-p 00000000 00:00 0 
7f55ad23a000-7f55ad3bf000 r-xp 00000000 08:02 2891726                    /usr/lib64/libcrypto.so.1.0.0
7f55ad3bf000-7f55ad5bf000 ---p 00185000 08:02 2891726                    /usr/lib64/libcrypto.so.1.0.0
7f55ad5bf000-7f55ad5d8000 r--p 00185000 08:02 2891726                    /usr/lib64/libcrypto.so.1.0.0
7f55ad5d8000-7f55ad5e2000 rw-p 0019e000 08:02 2891726                    /usr/lib64/libcrypto.so.1.0.0
7f55ad5e2000-7f55ad5e6000 rw-p 00000000 00:00 0 
7f55ad5e6000-7f55ad63a000 r-xp 00000000 08:02 2891730                    /usr/lib64/libssl.so.1.0.0
7f55ad63a000-7f55ad83a000 ---p 00054000 08:02 2891730                    /usr/lib64/libssl.so.1.0.0
7f55ad83a000-7f55ad83d000 r--p 00054000 08:02 2891730                    /usr/lib64/libssl.so.1.0.0
7f55ad83d000-7f55ad842000 rw-p 00057000 08:02 2891730                    /usr/lib64/libssl.so.1.0.0
7f55ad842000-7f55ad864000 r-xp 00000000 08:02 2530076                    /lib64/ld-2.15.so
7f55ada4c000-7f55ada50000 rw-p 00000000 00:00 0 
7f55ada60000-7f55ada63000 rw-p 00000000 00:00 0 
7f55ada63000-7f55ada64000 r--p 00021000 08:02 2530076                    /lib64/ld-2.15.so
7f55ada64000-7f55ada65000 rw-p 00022000 08:02 2530076                    /lib64/ld-2.15.so
7f55ada65000-7f55ada66000 rw-p 00000000 00:00 0 
7fffe16d6000-7fffe16f7000 rw-p 00000000 00:00 0                          [stack]
7fffe17ff000-7fffe1800000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
Aborted


emerge --info is attached.
Comment 1 Jean-Pierre de la Croix (jdelacroix) 2012-10-27 21:31:54 UTC
Created attachment 327548 [details]
emerge --info
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-10-28 16:35:26 UTC
From the website:

1.5.5 in some cases httping would cause a an error being thrown by glibc at exit

Maybe we should stabilise that instead. Thanks for reporting!