Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105432 - pxlinux-0.0.4 Segmentation fault
Summary: pxlinux-0.0.4 Segmentation fault
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-09 15:06 UTC by Thomas Maguin
Modified: 2005-09-10 00:33 UTC (History)
1 user (show)

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


Attachments
pxlinux-0.0.4-cleanups.patch (pxlinux-0.0.4-cleanups.patch,6.70 KB, patch)
2005-09-09 22:27 UTC, SpanKY
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Maguin 2005-09-09 15:06:25 UTC
pif and pisum8 always result in a Segmentation fault after the output of pif and
pisum8 reached 99%. pif /dev/hdd > pif-file result in data loses of the output
file, because of the Segmentation fault. Even as root.
jitterbeta and ta are working properly. Manual compiled pisum8 and pif is fully
working.
Comment 1 SpanKY gentoo-dev 2005-09-09 15:38:33 UTC
i cant guess, you need to post `emerge info` like the bug report page told you to
Comment 2 Thomas Maguin 2005-09-09 16:11:43 UTC
Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r1,
2.6.12-love1 i686)
=================================================================
System uname: 2.6.12-love1 i686 AMD Athlon(tm)
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -mtune=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /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/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -mtune=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
rsync://ftp.belnet.be/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo/"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X a52 aac acpi acpi4linux alsa apic apm arts audiofile
avi berkdb bitmap-fonts browserplugin bzip2 cddb cdparanoia cdr cdrom codecs
crypt css cups curl dga dio disk-cache divx4linux djbfft doc dpms dts dvd dvdr
dvdread dxr3 eds encode exif fam fame fb ffmpeg foomaticdb fortran freetype gd
gdbm gif gimp glut gnuplot gpg gpm gstreamer gtk gtk2 gtkhtml icq imagemagick
imap imlib ipv6 irc irda jabber java javascript joystick jp2 jpeg jpeg2k kcal
kde koffice-plugin lcms libg++ libwww lirc live lm_sensors logitech-mouse
logrotate mad makecheck mbox md5sum mikmod mjpeg mmx mmx2 mmxext motif moznoirc
moznomail mozsvg mp3 mpeg mpeg4 mplayer ncurses net network nfsv4 nls
no-old-linux nocd nptl nptlonly nsplugin nvidia ogg oggvorbis openal openexr
opengl oss pam pdflib perl png posix ppds python qt quicktime readline real rtc
sblive sdl sndfile sox spamassassin speedo spell src sse ssl sysfs tcltk tcpd
tetex tiff transcode truetype truetype-fonts type1 type1-fonts unicode usb v4l
v4l2 vcd vcdimager vorbis xine xml2 xmms xosd xprint xv xvid zlib zvbi
linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL
Comment 3 Thomas Maguin 2005-09-09 16:14:19 UTC
99.3%  done, pos: 1835008 / 1848448, max: 2, curr: 0, total: 9
99.5%  done, pos: 1839104 / 1848448, max: 2, curr: 0, total: 9
99.7%  done, pos: 1843200 / 1848448, max: 2, curr: 0, total: 9
99.9%  done, pos: 1847296 / 1848448, max: 2, curr: 0, total: 9
Segmentation fault
Comment 4 SpanKY gentoo-dev 2005-09-09 22:27:15 UTC
Created attachment 68080 [details, diff]
pxlinux-0.0.4-cleanups.patch

apply this patch and then rebuild with CXXFLAGS='-g -pipe' FEATURES=nostrip ...
then run `gdb --args pif /dev/dvd` and when it crashes, type 'bt' and post that
output here please
Comment 5 Thomas Maguin 2005-09-09 23:47:06 UTC
This works fine, thank you.
Comment 6 SpanKY gentoo-dev 2005-09-10 00:01:03 UTC
oh, so the attached patch fixes your segfault ?
Comment 7 Thomas Maguin 2005-09-10 00:09:08 UTC
Yes, and also this ugly messages disappear:

ta.cpp: In function `int evaluate_histogramme(int*, int*, int**, int**)':
ta.cpp:124: warning: name lookup of `i' changed
ta.cpp:89: warning:   matches this `i' under ISO standard rules
ta.cpp:97: warning:   matches this `i' under old rules
c++ pif.cpp -o pif
pif.cpp: In function `int main(int, char**)':
pif.cpp:489: warning: deleting `void*' is undefined
c++ pisum8.cpp -o pisum8
pisum8.cpp: In function `int main(int, char**)':
pisum8.cpp:491: warning: deleting `void*' is undefined
c++ jitterbeta.cpp -o jitterbeta
jitterbeta.cpp: In function `int main(int, char**)':
jitterbeta.cpp:479: warning: deleting `void*' is undefined
Comment 8 SpanKY gentoo-dev 2005-09-10 00:33:49 UTC
ah, very cool ... i thought the segfaults were from something else :)

0.0.4-r1 now in portage