FS#30795 - [htop] glibc free error

Attached to Project: Arch Linux
Opened by Roberto Spadim (rspadim) - Sunday, 22 July 2012, 01:06 GMT
Last edited by Andrea Scarpino (BaSh) - Wednesday, 17 October 2012, 15:38 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Dave Reisner (falconindy)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: cash on closing htop


Additional info:
* package version(s)
* config and/or log files etc.


Steps to reproduce:

start htop
f10 to close

i installed the system now with the net cdrom (last packages get from internet), cpu: x86_64

results:


[root@raja1 ~]# htop
*** glibc detected *** htop: free(): invalid pointer: 0x0000000000fdfe70 ***
======= Backtrace: =========
/lib/libc.so.6(+0x784a6)[0x7f6265d654a6]
htop(Meter_delete+0x2f)[0x40d20f]
htop(Vector_delete+0x2f)[0x41527f]
htop(Header_delete+0xc)[0x40b82c]
htop(main+0xa48)[0x405ef8]
/lib/libc.so.6(__libc_start_main+0xf5)[0x7f6265d0e725]
htop[0x407cb5]
======= Memory map: ========
00400000-0041c000 r-xp 00000000 09:01 148773 /usr/bin/htop
0061b000-0061c000 r--p 0001b000 09:01 148773 /usr/bin/htop
0061c000-0061e000 rw-p 0001c000 09:01 148773 /usr/bin/htop
0061e000-0061f000 rw-p 00000000 00:00 0
00f3c000-00ffc000 rw-p 00000000 00:00 0 [heap]
7f62656c8000-7f62656dd000 r-xp 00000000 09:01 137349 /usr/lib/libgcc_s.so.1
7f62656dd000-7f62658dc000 ---p 00015000 09:01 137349 /usr/lib/libgcc_s.so.1
7f62658dc000-7f62658dd000 rw-p 00014000 09:01 137349 /usr/lib/libgcc_s.so.1
7f62658dd000-7f62658e9000 r-xp 00000000 09:01 133205 /usr/lib/libnss_files-2.16.so
7f62658e9000-7f6265ae8000 ---p 0000c000 09:01 133205 /usr/lib/libnss_files-2.16.so
7f6265ae8000-7f6265ae9000 r--p 0000b000 09:01 133205 /usr/lib/libnss_files-2.16.so
7f6265ae9000-7f6265aea000 rw-p 0000c000 09:01 133205 /usr/lib/libnss_files-2.16.so
7f6265aea000-7f6265aec000 r-xp 00000000 09:01 133479 /usr/lib/gconv/ISO8859-1.so
7f6265aec000-7f6265ceb000 ---p 00002000 09:01 133479 /usr/lib/gconv/ISO8859-1.so
7f6265ceb000-7f6265cec000 r--p 00001000 09:01 133479 /usr/lib/gconv/ISO8859-1.so
7f6265cec000-7f6265ced000 rw-p 00002000 09:01 133479 /usr/lib/gconv/ISO8859-1.so
7f6265ced000-7f6265e88000 r-xp 00000000 09:01 133193 /usr/lib/libc-2.16.so
7f6265e88000-7f6266087000 ---p 0019b000 09:01 133193 /usr/lib/libc-2.16.so
7f6266087000-7f626608b000 r--p 0019a000 09:01 133193 /usr/lib/libc-2.16.so
7f626608b000-7f626608d000 rw-p 0019e000 09:01 133193 /usr/lib/libc-2.16.so
7f626608d000-7f6266091000 rw-p 00000000 00:00 0
7f6266091000-7f626618a000 r-xp 00000000 09:01 133188 /usr/lib/libm-2.16.so
7f626618a000-7f6266389000 ---p 000f9000 09:01 133188 /usr/lib/libm-2.16.so
7f6266389000-7f626638a000 r--p 000f8000 09:01 133188 /usr/lib/libm-2.16.so
7f626638a000-7f626638b000 rw-p 000f9000 09:01 133188 /usr/lib/libm-2.16.so
7f626638b000-7f62663e3000 r-xp 00000000 09:01 134664 /usr/lib/libncursesw.so.5.9
7f62663e3000-7f62665e2000 ---p 00058000 09:01 134664 /usr/lib/libncursesw.so.5.9
7f62665e2000-7f62665e6000 r--p 00057000 09:01 134664 /usr/lib/libncursesw.so.5.9
7f62665e6000-7f62665e7000 rw-p 0005b000 09:01 134664 /usr/lib/libncursesw.so.5.9
7f62665e7000-7f62665e8000 rw-p 00000000 00:00 0
7f62665e8000-7f6266609000 r-xp 00000000 09:01 133209 /usr/lib/ld-2.16.so
7f6266637000-7f62667fe000 r--p 00000000 09:01 147909 /usr/lib/locale/locale-archive
7f62667fe000-7f6266801000 rw-p 00000000 00:00 0
7f6266807000-7f6266809000 rw-p 00000000 00:00 0
7f6266809000-7f626680a000 r--p 00021000 09:01 133209 /usr/lib/ld-2.16.so
7f626680a000-7f626680b000 rw-p 00022000 09:01 133209 /usr/lib/ld-2.16.so
7f626680b000-7f626680c000 rw-p 00000000 00:00 0
7fff0d525000-7fff0d546000 rw-p 00000000 00:00 0 [stack]
7fff0d59a000-7fff0d59b000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
Abortado
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Wednesday, 17 October 2012, 15:38 GMT
Reason for closing:  No response
Comment by Andrea Scarpino (BaSh) - Tuesday, 24 July 2012, 17:27 GMT
Cannot reproduce. Is your system fully up-to-date?
Comment by Roberto Spadim (rspadim) - Tuesday, 24 July 2012, 17:58 GMT
yes, do you want that i run in gdb and try to get a report?
Comment by Andrea Scarpino (BaSh) - Tuesday, 24 July 2012, 18:01 GMT
To do that you should rebuild htop with debug symbols first.
And I'm not a developer of htop, so I couldn't help in any case.

Do you use the [multilib] repo? Or [testing]? Or both?
What pacman -Q gcc-libs glibc says?
Comment by Roberto Spadim (rspadim) - Tuesday, 24 July 2012, 18:24 GMT
well i will send it to htop quys, i get this problem in another machine now with ubuntu

just one minute i will get pacman -Q gcc-libs glibc results
Comment by Roberto Spadim (rspadim) - Tuesday, 24 July 2012, 18:25 GMT
it happened in the first time execution,
i open htop, press F2 change some columns press F10 to exit, and when i get back to terminal it show this messages
Comment by Roberto Spadim (rspadim) - Tuesday, 24 July 2012, 18:26 GMT

[root@raja1 ~]# pacman -Q gcc-libs glibc
gcc-libs 4.7.1-4
glibc 2.16.0-2
Comment by Andrea Scarpino (BaSh) - Tuesday, 24 July 2012, 18:27 GMT
the last version of gcc-libs in the repos is 4.7.1-5, switch mirror, do a pacman -Syu and try again.
Comment by Roberto Spadim (rspadim) - Tuesday, 24 July 2012, 18:37 GMT
ok, but now at least no more errors are reported after exiting (with the same libs)
Comment by Andrea Scarpino (BaSh) - Wednesday, 05 September 2012, 14:29 GMT
Status?

Loading...