Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63796 - dsniff - segmentation fault
Summary: dsniff - segmentation fault
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-12 10:27 UTC by gen2daniel
Modified: 2005-01-25 00:02 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 gen2daniel 2004-09-12 10:27:38 UTC
# dsniff
dsniff: listening on eth0
segmentation fault

----

dsniff version 2.3 
ebuild version 2.3-r2

Reproducible: Always
Steps to Reproduce:
1. emerge dsniff
2. dsniff
Comment 1 Jon Hood (RETIRED) gentoo-dev 2004-09-13 10:02:10 UTC
Please post your emerge info and if you can, a gdb backtrace would be nice.
Comment 2 gen2daniel 2004-09-13 14:28:26 UTC
emerge info:
Portage 2.0.50-r11 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.8.1)
=================================================================
System uname: 2.6.8.1 i686 AMD Athlon(tm) XP 3000+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -fPIC"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /share/config /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2 /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -fPIC"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mymirror.com"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://mymirror.com"
USE="X alsa apm arts avi berkdb crypt encode esd foomaticdb gdbm gif gpm gtk gtk2 imlib java jpeg libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xv zlib"


gdb:
Starting program: /usr/sbin/dsniff -i eth0
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
warning: shared library handler failed to enable breakpoint
dsniff: listening on eth0

Program received signal SIGSEGV, Segmentation fault.
0x400a4cb3 in ?? ()
(gdb) bt
#0  0x400a4cb3 in ?? ()
#1  0x400a2968 in ?? ()
#2  0x400b118c in ?? ()
#3  0x20001100 in ?? ()
#4  0x0300a8c0 in ?? ()
#5  0x1887c92b in ?? ()
#6  0x4000a690 in ?? ()
#7  0x00000020 in ?? ()
#8  0x080f78b4 in ?? ()
#9  0x400b118c in ?? ()
#10 0x20001100 in ?? ()
#11 0xbffff568 in ?? ()
#12 0x400a4ece in ?? ()
#13 0x080f78b4 in ?? ()
#14 0x00000020 in ?? ()


Comment 3 hannes 2004-09-28 05:22:54 UTC
same problem here, but it seems only to happen with the -c (half-duplex) switch.
kernel is gentoo-2.6.8 using the only available dsniff ebuild.
Comment 4 hannes 2004-09-28 05:40:41 UTC
EDIT:
dsniff is working fine, until I start e.g. arpspoof
then dsniff exits with seg fault
Comment 5 Daniel Black (RETIRED) gentoo-dev 2005-01-12 01:16:28 UTC
please submit bug upsteam (if you can work out how)
Comment 6 Daniel Black (RETIRED) gentoo-dev 2005-01-25 00:02:59 UTC
upstream problem. Please submit fault to dsniff authors. Use CFLAGS=-g and FEATURES=noclean so that symbol names show up. You may need to run dsniff in the staging directory for the gdb to show the code locations correctly.