Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 38766
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo PDA Herd <pda@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Piotr Piasny <p1t3r05@o2.pl>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 38766 depends on: Show dependency tree
Bug 38766 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-01-19 17:14 0000
dynamite segfault when executed

Reproducible: Always
Steps to Reproduce:
1. emerge dynamite
2. dynamite




i've tried to compile it manually, and even then it segfaults.

gdb output:
----------------------
(gdb) run
Starting program: /home/pio/dynamite/bin/dynamite 

Program received signal SIGSEGV, Segmentation fault.
0x40093071 in fread () from /lib/libc.so.6
(gdb) where
#0  0x40093071 in fread () from /lib/libc.so.6
#1  0x080485fa in reader (buffer=0x0, size=0, cookie=0x0) at dynamite.c:15
#2  0x400168c0 in dynamite_read (dynamite=0x0, buffer=0x0, size=0) at
libdynamite.c:56
#3  0x40016928 in dynamite_read_header (dynamite=0xbfffefd0) at libdynamite.c:69
#4  0x40016f93 in dynamite_explode (reader=0, writer=0, cookie=0x0) at
libdynamite.c:398
#5  0x08048689 in main (argc=1, argv=0xbffff0a4) at dynamite.c:31
(gdb)

------- Comment #1 From Piotr Piasny 2004-01-20 04:22:46 0000 -------
some news: app-pda/orange-0.2-r1 which is linked with app-pda/dynamite
-- CUT --
pio@master ~ $ ldd /usr/bin/orange 
        liborange.so.0 => /usr/lib/liborange.so.0 (0x40030000)
        libunshield.so.0 => /usr/lib/libunshield.so.0 (0x40039000)
        libz.so.1 => /lib/libz.so.1 (0x4003e000)
        libdynamite.so.0 => /usr/lib/libdynamite.so.0 (0x4004f000)
        librapi.so.2 => /usr/lib/librapi.so.2 (0x40052000)
        libsynce.so.0 => /usr/lib/libsynce.so.0 (0x4005c000)
        libm.so.6 => /lib/libm.so.6 (0x40065000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x40087000)
        libc.so.6 => /lib/libc.so.6 (0x4009c000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
-- CUT --
orange works very well, so i think that problem is in dynamite executable.
but this is only IMHO. :)

------- Comment #2 From Piotr Piasny 2004-01-20 04:24:05 0000 -------
master root # cat /proc/cpuinfo 
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 7
model name      : AMD Duron(tm) processor
stepping        : 0
cpu MHz         : 1000.156
cache size      : 64 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
bogomips        : 1992.29

master root # emerge info
Portage 2.0.50_pre16 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031222-r0, 2.4.22-gentoo-r4)
=================================================================
System uname: 2.4.22-gentoo-r4 i686 AMD Duron(tm) processor
Gentoo Base System version 1.4.3.12
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.7.8
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -mcpu=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -mcpu=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS=" ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror http://www.ibiblio.org/pub/Linux/distributions/gentoo http://gentoo.oregonstate.edu "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/portage-my"
SYNC="rsync://rsync.gentoo.pl/gentoo-portage"
USE="3dnow 3ds S3TC X X509 aalib acpi acpi4linux alsa apache2 arts artswrappersuid avi berkdb bindist bonobo cdr chroot clanVoice crypt cscope cups curl doc encode esd ethereal faad fam ffmpeg flash foomaticdb gd gdbm geoip gif glut gnome gnomedb gpm gstreamer gtk gtkhtml imap imlib java javascript jikes joystick jpeg kde lcms ldap libg++ libwww mad mbox mikmod mmx mozilla mpeg nas ncurses nls nocardbus oggvorbis opengl oss pam pcap pdflib perl png ppds python qt readline sdl skey slang speex spell sse ssl tcltk tcpd tetex tiff truetype wmf wxwindows x86 xchattext xface xml xml2 xmms xosd xv xvid zlib linguas_pl"

------- Comment #3 From Alastair Tse (RETIRED) 2004-06-26 15:36:35 0000 -------
actually quite a minor thing. i've added a patch to fix this.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug