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.
i cant guess, you need to post `emerge info` like the bug report page told you to
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
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
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
This works fine, thank you.
oh, so the attached patch fixes your segfault ?
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
ah, very cool ... i thought the segfaults were from something else :) 0.0.4-r1 now in portage