Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 170987 - net-misc/dhcpcd-2.0.5-r1 segfaults
Summary: net-misc/dhcpcd-2.0.5-r1 segfaults
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-15 02:58 UTC by David Durrleman
Modified: 2007-03-15 14:32 UTC (History)
0 users

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 David Durrleman 2007-03-15 02:58:03 UTC
Running "dhcpcd -v eth0" gives a segfault.

Reproducible: Always

Steps to Reproduce:
1. sudo dhcpcd -v eth0
or
1. sudo dhcpcd -v [anything] eth0

Actual Results:  
zsh: segmentation fault  sudo dhcpcd -v eth0

Expected Results:  
no segfault

dhcpcd is built with -build -debug -static
cflags are "-march=athlon64 -O2 -pipe -fomit-frame-pointer"
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-03-15 07:50:19 UTC
- post emerge --info
- post exact ebuild version
- attach a backtrace http://www.gentoo.org/proj/en/qa/backtraces.xml
- reopen then

Thanks.
Comment 2 David Durrleman 2007-03-15 13:31:47 UTC
Portage 2.1.2.2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5-moobox-07 i686)
=================================================================
System uname: 2.6.19-gentoo-r5-moobox-07 i686 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System release 1.12.9
Timestamp of tree: Sun, 11 Mar 2007 18:50:01 +0000
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
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="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.club-internet.fr/pub/mirrors/gentoo ftp://gentoo.imj.fr/pub/gentoo/ http://85.25.128.62 http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="C"
LINGUAS="en fr"
MAKEOPTS="-j2"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac alsa ao bash-completion berkdb bitmap-fonts bzip2 cdparanoia cli crypt dbus dvd dvdread encode exif ffmpeg firefox flac gdbm gif gnome gpm gtk gtk2 iconv imagemagick imlib isdnlog jabber java javascript jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility libg++ libnotify lm_sensors mad matroska midi mime mmap mmx mng mozilla mp3 mpeg mplayer msn musepack ncurses nls nptl nptlonly nsplugin ocaml offensive ogg opengl oscar pam pcre pdf perl png pppd python qt3 quicktime readline reflection ruby samba sdl socks5 spell sse sse2 ssl startup-notification svg symlink tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode usb v4l vim-syntax vorbis wifi win32codecs wxwindows x264 x86 xine xinerama xorg xosd xpm xv xvid zlib" ALSA_CARDS="usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en fr" USERLAND="GNU" VIDEO_CARDS="nvidia vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

ebuild =net-misc/dhcpcd-2.0.5-r1

GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) set args -v eth0
(gdb) run
Starting program: /sbin/dhcpcd -v eth0

Program received signal SIGSEGV, Segmentation fault.
0xb7e16e3a in strcmp () from /lib/libc.so.6
(gdb) set logging file backtrace.log
(gdb) set logging on
Copying output to backtrace.log.
(gdb) bt
#0  0xb7e16e3a in strcmp () from /lib/libc.so.6
#1  0x0804947c in log_to_level (priority=0xbfb16340 "eth0") at logger.c:38
#2  0x0805003e in main (argn=812151909, argc=0xbfb14ca4, argv=0xbfb14cb4) at dhcpcd.c:193
(gdb) 
Comment 3 Roy Marples (RETIRED) gentoo-dev 2007-03-15 14:32:47 UTC
We dropped the -v flag in dhcpcd-3 which is due to be stabled in a few weeks.