Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158598 - sys-process/procps-3.2.6 - top crashes
Summary: sys-process/procps-3.2.6 - top crashes
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-19 15:24 UTC by Jerome
Modified: 2008-01-05 16:37 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jerome 2006-12-19 15:24:49 UTC
I had a crash while running top.

Here is the log:
---
*** glibc detected *** top: realloc(): invalid next size: 0x080572b8 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7ea03c0]
/lib/libc.so.6[0xb7ea30b6]
/lib/libc.so.6(__libc_realloc+0xf5)[0xb7ea41f5]
top[0x804aad6]
/lib/libc.so.6[0xb7f57ff4]
======= Memory map: ========
08048000-08052000 r-xp 00000000 03:03 426596     /usr/bin/top
08052000-08053000 rw-p 0000a000 03:03 426596     /usr/bin/top
08053000-08077000 rw-p 08053000 00:00 0          [heap]
b7c00000-b7c21000 rw-p b7c00000 00:00 0 
b7c21000-b7d00000 ---p b7c21000 00:00 0 
b7e07000-b7e0f000 r-xp 00000000 03:03 415520     /lib/libnss_files-2.4.so
b7e0f000-b7e11000 rw-p 00007000 03:03 415520     /lib/libnss_files-2.4.so
b7e11000-b7e19000 r-xp 00000000 03:03 416342     /lib/libnss_nis-2.4.so
b7e19000-b7e1b000 rw-p 00007000 03:03 416342     /lib/libnss_nis-2.4.so
b7e1b000-b7e2c000 r-xp 00000000 03:03 416324     /lib/libnsl-2.4.so
b7e2c000-b7e2e000 rw-p 00010000 03:03 416324     /lib/libnsl-2.4.so
b7e2e000-b7e30000 rw-p b7e2e000 00:00 0 
b7e30000-b7e36000 r-xp 00000000 03:03 416350     /lib/libnss_compat-2.4.so
b7e36000-b7e38000 rw-p 00005000 03:03 416350     /lib/libnss_compat-2.4.so
b7e38000-b7e39000 rw-p b7e38000 00:00 0 
b7e39000-b7e3b000 r-xp 00000000 03:03 414036     /lib/libdl-2.4.so
b7e3b000-b7e3d000 rw-p 00001000 03:03 414036     /lib/libdl-2.4.so
b7e3d000-b7f55000 r-xp 00000000 03:03 416364     /lib/libc-2.4.so
b7f55000-b7f57000 r--p 00117000 03:03 416364     /lib/libc-2.4.so
b7f57000-b7f59000 rw-p 00119000 03:03 416364     /lib/libc-2.4.so
b7f59000-b7f5c000 rw-p b7f59000 00:00 0 
b7f5c000-b7f88000 r-xp 00000000 03:03 410696     /lib/libncurses.so.5.5
b7f88000-b7f91000 rw-p 0002b000 03:03 410696     /lib/libncurses.so.5.5
b7f91000-b7f9a000 r-xp 00000000 03:03 445676     /lib/libproc-3.2.6.so
b7f9a000-b7f9b000 rw-p 00009000 03:03 445676     /lib/libproc-3.2.6.so
b7f9b000-b7faf000 rw-p b7f9b000 00:00 0 
b7fb1000-b7fbb000 r-xp 00000000 03:03 301312     /usr/lib/gcc/i686-pc-linux-gnu/4.1.                                                          1/libgcc_s.so.1
b7fbb000-b7fbc000 rw-p 00009000 03:03 301312     /usr/lib/gcc/i686-pc-linux-gnu/4.1.                                                          1/libgcc_s.so.1
b7fbc000-b7fbd000 rw-p b7fbc000 00:00 0 
b7fbd000-b7fbe000 r-xp b7fbd000 00:00 0          [vdso]
b7fbe000-b7fd8000 r-xp 00000000 03:03 414315     /lib/ld-2.4.so
b7fd8000-b7fd9000 r--p 00019000 03:03 414315     /lib/ld-2.4.so
b7fd9000-b7fda000 rw-p 0001a000 03:03 414315     /lib/ld-2.4.so
bfbd4000-bfbe9000 rw-p bfbd4000 00:00 0          [stack]
Aborted
---
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-12-19 15:48:01 UTC
sys-process/procp version? emerge --info?
Comment 2 Jerome 2006-12-19 16:20:16 UTC
localhost ~ # emerge --info
Gentoo Base System version 1.12.6
Portage 2.1.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r4 i686)
=================================================================
System uname: 2.6.18-gentoo-r4 i686 AMD Duron(tm) Processor
Last Sync: Sun, 17 Dec 2006 20:50:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -fomit-frame-pointer -march=pentium2 -mmmx -m3dnow -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-Os -fomit-frame-pointer -march=pentium2 -mmmx -m3dnow -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.imj.fr/pub/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://mirror.switch.ch/mirror/gentoo/ ftp://f
tp.solnet.ch/mirror/Gentoo "
LINGUAS="fr"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout
=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac aalib acpi alsa apm arts bash-completion berkdb bitmap-fonts bzip2 cairo cdparanoia clamav cli cracklib cryp
t cups dbus dlloader dri dts dv dvd dvdread eds elibc_glibc emacs emboss encode esd fam ffmpeg firefox flac fortran gcj gdbm gif gpm gstreamer
 gtk hal iconv ieee1394 input_devices_joystick input_devices_keyboard input_devices_mouse ipv6 isdnlog java javascript jikes joystick jpeg jpe
g2k junit kde kernel_linux ldap leim libcaca libg++ linguas_fr live lm_sensors mad matroska mikmod mime mmx mmxext mozilla mp3 mpeg mplayer mu
le musepack ncurses nls nptl nptlonly nsplugin ogg openal opengl pam pcmcia pcre pda pdf perl png ppds pppd python qt3 qt4 quicktime readline 
reflection rtsp sdl session sharedmem speex spell spl ssl symlink tcpd tetex theora truetype truetype-fonts type1-fonts udev unicode usb userl
and_GNU v4l vcd video_cards_ati video_cards_mach64 video_cards_r128 vim-syntax vorbis wifi win32codecs wxwindows x264 xine xinerama xml xorg x
osd xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 3 Jerome 2006-12-19 16:25:39 UTC
procps 3.2.6
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-12-20 01:37:54 UTC
Noone will notice again if you don't reopen the bug...
Comment 5 SpanKY gentoo-dev 2006-12-20 07:14:41 UTC
can you be a bit more specific than "it crashed" ?  the output you gave doesnt help at all as we cant reproduce it

how did you make it crash ?
Comment 6 SpanKY gentoo-dev 2006-12-23 09:53:24 UTC
get back to us
Comment 7 Jerome 2006-12-30 04:56:38 UTC
I don't remember how it happened.
Comment 8 krenshala 2008-01-05 16:37:08 UTC
Segfault in top when running 2.6.23-r5 kernel (AMD64). Works fine with no changes other than switching to my previous kernel, 2.6.16-r10.  Discussion at http://forums.gentoo.org/viewtopic-t-639050.html