Report opened on request (see bug #96073 comment #51). bugs description: ----------------- xine-ui crashes when accessing the context menu. build: ------ I'm using the hardened compiler. Looks like the "-fno-stack-protector" CFLAG (or hardenednossp gcc) has to be set (used) to get rid of the problem. magic media # emerge -pvD xine-ui [ebuild R ] media-video/xine-ui-0.99.4-r5 +X -aalib +curl +libcaca -lirc +ncurses +nls +readline -vdr -xinerama 0 kB Portage 2.0.54 (default-linux/amd64/2005.1, gcc-3.4.5-hardenednopie, glibc-2.3.5-r2, 2.6.13-gentoo-r5 x86_64) ================================================================= System uname: 2.6.13-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.6.14 dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O1 -ggdb" CHOST="x86_64-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/eselect/compiler /etc/gconf /etc/terminfo /usr/X11R6/bin/startx /etc/env.d" CXXFLAGS="-march=athlon64 -O1 -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig candy distlocks sandbox severe sfperms splitdebug strict test" GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/" LANG="de_DE.utf8" LC_ALL="de_DE.utf8" LDFLAGS="-Wl,-O1" LINGUAS="de" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="7zip X a52 aac acpi alsa amd64 artworkextra asf audiofile avi berkdb bitmap-fonts bzip2 bzlib cairo cdda cdio cdr cli crypt css cups curl dbus dga directfb dlloader dmalloc dnd dpms dri dts dvd dvdr dvdread dvi eds effects emacs emboss encode esd exif expat fam fame fat fbcon ffmpeg firefox foomaticdb freetype gcj gdbm ggi gif gimpprint glut gmp gnome gpm gs gstreamer gtk gtk2 gtkhtml hal hardened howl hpn idn imagemagick imlib ipv6 isdnlog ithreads javascript jpeg jpeg2k kde lcms libcaca libsamplerate libwww linuxthreads-tls lzo lzw lzw-tiff matroska mbox memlimit milter mjpeg mmap mng mozcalendar mozdevelop mozsvg mp3 mpeg mpi nautilus ncurses nls nptl nptlonly nsplugin ntfs nvidia offensive ogg oggvorbis on-the-fly-crypt openal openexr opengl pam pcre pdflib perl png ppds pppd python qt quicktime readline reflection reiserfs rle sasl sdl session slang sndfile spell spl ssl stream svg symlink tcltk tcpd test tetex tga theora threads tidy tiff toolbar truetype truetype-fonts type1-fonts udev unicode usb userlocales vcd video_cards_nvidia videos vorbis wmf xine xml xml2 xmms xorg xosd xpm xprint xtermtoolbar xv xvid xvmc yv12 zlib linguas_de userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, INSTALL_MASK, MAKEOPTS, PORTDIR_OVERLAY
Created attachment 85495 [details] backtrace of xine-ui
Created attachment 85496 [details] strace of xine-ui
Created attachment 85497 [details] 'completed' backtrace of xine-ui backtrace with "thread apply all bt full" (sorry)
Uhm you're in portage 2.0, splitdebug works only with 2.1, you have to rather use nostrip then while building xine-lib and xine-ui to have a good backtrace :/
(In reply to comment #4) > Uhm you're in portage 2.0, splitdebug works only with 2.1, you have to rather > use nostrip then while building xine-lib and xine-ui to have a good backtrace > :/ splitdebug exists in portage-2.0.54-r1
Hmm then that's -r0 not -r1 :)
(In reply to comment #6) > Hmm then that's -r0 not -r1 :) Nod. yeah I know. However I was just passing the info along about prepstrip.
Urm, I just built it with gcc 4.1 with -fstack-protector-all and I can right click and access to the popup menu just fine :/
yep. gcc-4.1 fixes some bugs and introduces some other new ones. <gcc-3.4 was very solid. =gcc-3.4.X is somewhat buggy with c++ code and ssp.
Luckily neither xine nor xine-lib uses C++ code. In which case I would have just forced -fno-stack-protector ;)
I hope this helps! atti@magic ~ $ xine Dies ist xine (X11 gui) - Ein freier Video-Player v0.99.4. (c) 2000-2004 Das xine Team. xiTK received SIGSEGV signal, RIP. Abgebrochen (core dumped) atti@magic ~ $ ls -l co* -rw------- 1 atti users 187M 28. Apr 21:43 core.1442 atti@magic ~ $ gdb `which xine` --core core.1442 GNU gdb 6.4 Copyright 2005 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 "x86_64-pc-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1". Core was generated by `xine'. Program terminated with signal 6, Aborted. Reading symbols from /usr/lib64/libXv.so.1...done. Loaded symbols for /usr/lib/libXv.so.1 Reading symbols from /usr/lib64/libXft.so.2...done. Loaded symbols for /usr/lib/libXft.so.2 Reading symbols from /usr/lib64/libXrender.so.1...done. Loaded symbols for /usr/lib/libXrender.so.1 Reading symbols from /usr/lib64/libfontconfig.so.1...done. Loaded symbols for /usr/lib/libfontconfig.so.1 Reading symbols from /usr/lib64/libexpat.so.0...done. Loaded symbols for /usr/lib/libexpat.so.0 Reading symbols from /usr/lib64/libSM.so.6...done. Loaded symbols for /usr/lib/libSM.so.6 Reading symbols from /usr/lib64/libICE.so.6...done. Loaded symbols for /usr/lib/libICE.so.6 Reading symbols from /usr/lib64/libXxf86vm.so.1...done. Loaded symbols for /usr/lib/libXxf86vm.so.1 Reading symbols from /usr/lib64/libpng.so.3...done. Loaded symbols for /usr/lib/libpng.so.3 Reading symbols from /usr/lib64/libxine.so.1...done. Loaded symbols for /usr/lib/libxine.so.1 Reading symbols from /usr/lib64/libfreetype.so.6...done. Loaded symbols for /usr/lib/libfreetype.so.6 Reading symbols from /lib64/libnsl.so.1...done. Loaded symbols for /lib/libnsl.so.1 Reading symbols from /lib64/libpthread.so.0...done. Loaded symbols for /lib/libpthread.so.0 Reading symbols from /lib64/librt.so.1...done. Loaded symbols for /lib/librt.so.1 Reading symbols from /usr/lib64/libXext.so.6...done. Loaded symbols for /usr/lib/libXext.so.6 Reading symbols from /usr/lib64/libXtst.so.6...done. Loaded symbols for /usr/lib/libXtst.so.6 Reading symbols from /usr/lib64/libcurl.so.3...done. Loaded symbols for /usr/lib/libcurl.so.3 Reading symbols from /usr/lib64/libidn.so.11...done. Loaded symbols for /usr/lib/libidn.so.11 Reading symbols from /usr/lib64/libssl.so.0.9.7...done. Loaded symbols for /usr/lib/libssl.so.0.9.7 Reading symbols from /usr/lib64/libcrypto.so.0.9.7...done. Loaded symbols for /usr/lib/libcrypto.so.0.9.7 Reading symbols from /lib64/libdl.so.2...done. Loaded symbols for /lib/libdl.so.2 Reading symbols from /lib64/libz.so.1...done. Loaded symbols for /lib/libz.so.1 Reading symbols from /usr/lib64/libX11.so.6...done. Loaded symbols for /usr/lib/libX11.so.6 Reading symbols from /lib64/libm.so.6...done. Loaded symbols for /lib/libm.so.6 Reading symbols from /lib64/libc.so.6...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /lib64/ld-linux-x86-64.so.2...done. Loaded symbols for /lib64/ld-linux-x86-64.so.2 Reading symbols from /lib64/libnss_compat.so.2...done. Loaded symbols for /lib/libnss_compat.so.2 Reading symbols from /lib64/libnss_nis.so.2...done. Loaded symbols for /lib/libnss_nis.so.2 Reading symbols from /lib64/libnss_files.so.2...done. Loaded symbols for /lib/libnss_files.so.2 Reading symbols from /usr/lib64/X11/locale/lib64/common/xlcUTF8Load.so.2...done. Loaded symbols for /usr/lib64/X11/locale/lib64/common/xlcUTF8Load.so.2 Reading symbols from /usr/lib64/gconv/ISO8859-1.so...done. Loaded symbols for /usr/lib64/gconv/ISO8859-1.so Reading symbols from /usr/lib64/libXcursor.so.1.0.2...done. Loaded symbols for /usr/lib64/libXcursor.so.1.0.2 Reading symbols from /usr/lib64/xine/plugins/1.1.2/xineplug_inp_dvd.so...done. Loaded symbols for /usr/lib64/xine/plugins/1.1.2/xineplug_inp_dvd.so Reading symbols from /usr/lib64/xine/plugins/1.1.2/xineplug_inp_vcdo.so...done. Loaded symbols for /usr/lib64/xine/plugins/1.1.2/xineplug_inp_vcdo.so Reading symbols from /usr/lib64/xine/plugins/1.1.2/xineplug_inp_v4l.so...done. Loaded symbols for /usr/lib64/xine/plugins/1.1.2/xineplug_inp_v4l.so Reading symbols from /usr/lib64/libasound.so.2...done. Loaded symbols for /usr/lib/libasound.so.2 Reading symbols from /usr/lib64/xine/plugins/1.1.2/xineplug_inp_mms.so...done. Loaded symbols for /usr/lib64/xine/plugins/1.1.2/xineplug_inp_mms.so Reading symbols from /usr/lib64/xine/plugins/1.1.2/xineplug_inp_pvr.so...done. Loaded symbols for /usr/lib64/xine/plugins/1.1.2/xineplug_inp_pvr.so Reading symbols from /usr/lib64/xine/plugins/1.1.2/xineplug_inp_dvb.so...done. Loaded symbols for /usr/lib64/xine/plugins/1.1.2/xineplug_inp_dvb.so Reading symbols from /usr/lib64/xine/plugins/1.1.2/xineplug_inp_cdda.so...done. Loaded symbols for /usr/lib64/xine/plugins/1.1.2/xineplug_inp_cdda.so Reading symbols from /usr/lib64/xine/plugins/1.1.2/xineplug_inp_http.so...done. Loaded symbols for /usr/lib64/xine/plugins/1.1.2/xineplug_inp_http.so Reading symbols from /usr/lib64/xine/plugins/1.1.2/xineplug_inp_file.so...done. Loaded symbols for /usr/lib64/xine/plugins/1.1.2/xineplug_inp_file.so Reading symbols from /usr/lib64/xine/plugins/1.1.2/xineplug_decode_a52.so...done. Loaded symbols for /usr/lib64/xine/plugins/1.1.2/xineplug_decode_a52.so Reading symbols from /usr/lib64/liba52.so.0...done. Loaded symbols for /usr/lib/liba52.so.0 Reading symbols from /usr/lib64/xine/plugins/1.1.2/xineplug_decode_real_audio.so...done. Loaded symbols for /usr/lib64/xine/plugins/1.1.2/xineplug_decode_real_audio.so Reading symbols from /usr/lib64/xine/plugins/1.1.2/xineplug_decode_real.so...done. Loaded symbols for /usr/lib64/xine/plugins/1.1.2/xineplug_decode_real.so Reading symbols from /usr/lib64/xine/plugins/1.1.2/xineplug_decode_ff.so...done. Loaded symbols for /usr/lib64/xine/plugins/1.1.2/xineplug_decode_ff.so Reading symbols from /usr/lib64/libavcodec.so.51...done. Loaded symbols for /usr/lib/libavcodec.so.51 Reading symbols from /usr/lib64/libavutil.so.49...done. Loaded symbols for /usr/lib/libavutil.so.49 Reading symbols from /usr/lib64/libmp3lame.so.0...done. Loaded symbols for /usr/lib/libmp3lame.so.0 Reading symbols from /usr/lib64/libxvidcore.so.4...done. Loaded symbols for /usr/lib/libxvidcore.so.4 Reading symbols from /usr/lib64/libogg.so.0...done. Loaded symbols for /usr/lib/libogg.so.0 Reading symbols from /usr/lib64/libvorbis.so.0...done. Loaded symbols for /usr/lib/libvorbis.so.0 Reading symbols from /usr/lib64/libvorbisenc.so.2...done. Loaded symbols for /usr/lib/libvorbisenc.so.2 Reading symbols from /usr/lib64/libtheora.so.0...done. Loaded symbols for /usr/lib/libtheora.so.0 Reading symbols from /usr/lib64/libdts.so.0...done. Loaded symbols for /usr/lib/libdts.so.0 Reading symbols from /usr/lib64/libfaad.so.0...done. Loaded symbols for /usr/lib/libfaad.so.0 Reading symbols from /usr/lib64/libfaac.so.0...done. Loaded symbols for /usr/lib/libfaac.so.0 Reading symbols from /usr/lib64/libpostproc.so.51.0.0...done. Loaded symbols for /usr/lib/libpostproc.so.51.0.0 Reading symbols from /usr/lib64/xine/plugins/1.1.2/xineplug_decode_sputext.so...done. Loaded symbols for /usr/lib64/xine/plugins/1.1.2/xineplug_decode_sputext.so Reading symbols from /usr/lib64/xine/plugins/1.1.2/post/xineplug_post_goom.so...done. Loaded symbols for /usr/lib64/xine/plugins/1.1.2/post/xineplug_post_goom.so Reading symbols from /usr/lib64/xine/plugins/1.1.2/post/xineplug_post_tvtime.so...done. Loaded symbols for /usr/lib64/xine/plugins/1.1.2/post/xineplug_post_tvtime.so Reading symbols from /usr/lib64/xine/plugins/1.1.2/xineplug_vo_out_xv.so...done. Loaded symbols for /usr/lib64/xine/plugins/1.1.2/xineplug_vo_out_xv.so Reading symbols from /usr/lib64/xine/plugins/1.1.2/xineplug_ao_out_alsa.so...done. Loaded symbols for /usr/lib64/xine/plugins/1.1.2/xineplug_ao_out_alsa.so Reading symbols from /usr/lib64/xine/plugins/1.1.2/xineplug_vo_out_none.so...done. Loaded symbols for /usr/lib64/xine/plugins/1.1.2/xineplug_vo_out_none.so Reading symbols from /usr/lib64/xine/plugins/1.1.2/xineplug_ao_out_none.so...done. Loaded symbols for /usr/lib64/xine/plugins/1.1.2/xineplug_ao_out_none.so Reading symbols from /usr/lib64/xine/plugins/1.1.2/xineplug_inp_gnome_vfs.so...done. Loaded symbols for /usr/lib64/xine/plugins/1.1.2/xineplug_inp_gnome_vfs.so Reading symbols from /usr/lib64/libgnomevfs-2.so.0...done. Loaded symbols for /usr/lib/libgnomevfs-2.so.0 Reading symbols from /usr/lib64/libbonobo-2.so.0...done. Loaded symbols for /usr/lib/libbonobo-2.so.0 Reading symbols from /usr/lib64/libgconf-2.so.4...done. Loaded symbols for /usr/lib/libgconf-2.so.4 Reading symbols from /usr/lib64/libgobject-2.0.so.0...done. Loaded symbols for /usr/lib/libgobject-2.0.so.0 Reading symbols from /usr/lib64/libbonobo-activation.so.4...done. Loaded symbols for /usr/lib/libbonobo-activation.so.4 Reading symbols from /usr/lib64/libORBit-2.so.0...done. Loaded symbols for /usr/lib/libORBit-2.so.0 Reading symbols from /usr/lib64/libgmodule-2.0.so.0...done. Loaded symbols for /usr/lib/libgmodule-2.0.so.0 Reading symbols from /usr/lib64/libgthread-2.0.so.0...done. Loaded symbols for /usr/lib/libgthread-2.0.so.0 Reading symbols from /usr/lib64/libglib-2.0.so.0...done. Loaded symbols for /usr/lib/libglib-2.0.so.0 Reading symbols from /usr/lib64/libxml2.so.2...done. Loaded symbols for /usr/lib/libxml2.so.2 Reading symbols from /usr/lib64/libhowl.so.0...done. Loaded symbols for /usr/lib/libhowl.so.0 Reading symbols from /lib64/libresolv.so.2...done. Loaded symbols for /lib/libresolv.so.2 Reading symbols from /usr/lib64/libORBitCosNaming-2.so.0...done. Loaded symbols for /usr/lib/libORBitCosNaming-2.so.0 Reading symbols from /usr/lib64/libpopt.so.0...done. Loaded symbols for /usr/lib/libpopt.so.0 Reading symbols from /usr/lib64/xine/plugins/1.1.2/xineplug_inp_pnm.so...done. Loaded symbols for /usr/lib64/xine/plugins/1.1.2/xineplug_inp_pnm.so Reading symbols from /usr/lib64/xine/plugins/1.1.2/xineplug_inp_stdin_fifo.so...done. Loaded symbols for /usr/lib64/xine/plugins/1.1.2/xineplug_inp_stdin_fifo.so Reading symbols from /usr/lib64/xine/plugins/1.1.2/xineplug_inp_rtp.so...done. Loaded symbols for /usr/lib64/xine/plugins/1.1.2/xineplug_inp_rtp.so Reading symbols from /usr/lib64/xine/plugins/1.1.2/xineplug_inp_rtsp.so...done. Loaded symbols for /usr/lib64/xine/plugins/1.1.2/xineplug_inp_rtsp.so Reading symbols from /usr/lib64/xine/plugins/1.1.2/xineplug_inp_net.so...done. Loaded symbols for /usr/lib64/xine/plugins/1.1.2/xineplug_inp_net.so Reading symbols from /usr/lib64/xine/plugins/1.1.2/xineplug_dmx_ogg.so...done. Loaded symbols for /usr/lib64/xine/plugins/1.1.2/xineplug_dmx_ogg.so Reading symbols from /usr/lib64/xine/plugins/1.1.2/xineplug_dmx_image.so...done. Loaded symbols for /usr/lib64/xine/plugins/1.1.2/xineplug_dmx_image.so Reading symbols from /usr/lib64/xine/plugins/1.1.2/xineplug_dmx_mng.so...done. Loaded symbols for /usr/lib64/xine/plugins/1.1.2/xineplug_dmx_mng.so Reading symbols from /usr/lib64/libmng.so.1...done. Loaded symbols for /usr/lib/libmng.so.1 Reading symbols from /usr/lib64/libjpeg.so.62...done. Loaded symbols for /usr/lib/libjpeg.so.62 Reading symbols from /usr/lib64/liblcms.so.1...done. Loaded symbols for /usr/lib/liblcms.so.1 Reading symbols from /usr/lib64/xine/plugins/1.1.2/xineplug_dmx_mpeg_block.so...done. Loaded symbols for /usr/lib64/xine/plugins/1.1.2/xineplug_dmx_mpeg_block.so Reading symbols from /usr/lib64/xine/plugins/1.1.2/xineplug_dmx_games.so...done. Loaded symbols for /usr/lib64/xine/plugins/1.1.2/xineplug_dmx_games.so Reading symbols from /usr/lib64/xine/plugins/1.1.2/xineplug_dmx_audio.so...done. Loaded symbols for /usr/lib64/xine/plugins/1.1.2/xineplug_dmx_audio.so Reading symbols from /usr/lib64/xine/plugins/1.1.2/xineplug_dmx_asf.so...done. Loaded symbols for /usr/lib64/xine/plugins/1.1.2/xineplug_dmx_asf.so Reading symbols from /usr/lib64/xine/plugins/1.1.2/xineplug_dmx_mpeg_ts.so...done. Loaded symbols for /usr/lib64/xine/plugins/1.1.2/xineplug_dmx_mpeg_ts.so Reading symbols from /usr/lib64/xine/plugins/1.1.2/xineplug_dmx_avi.so...done. Loaded symbols for /usr/lib64/xine/plugins/1.1.2/xineplug_dmx_avi.so Reading symbols from /usr/lib64/xine/plugins/1.1.2/xineplug_dmx_mpeg_pes.so...done. Loaded symbols for /usr/lib64/xine/plugins/1.1.2/xineplug_dmx_mpeg_pes.so Reading symbols from /usr/lib64/xine/plugins/1.1.2/xineplug_dmx_qt.so...done. Loaded symbols for /usr/lib64/xine/plugins/1.1.2/xineplug_dmx_qt.so Reading symbols from /usr/lib64/xine/plugins/1.1.2/xineplug_dmx_fli.so...done. Loaded symbols for /usr/lib64/xine/plugins/1.1.2/xineplug_dmx_fli.so Reading symbols from /usr/lib64/xine/plugins/1.1.2/xineplug_dmx_yuv4mpeg2.so...done. Loaded symbols for /usr/lib64/xine/plugins/1.1.2/xineplug_dmx_yuv4mpeg2.so Reading symbols from /usr/lib64/xine/plugins/1.1.2/xineplug_dmx_real.so...done. Loaded symbols for /usr/lib64/xine/plugins/1.1.2/xineplug_dmx_real.so Reading symbols from /usr/lib64/xine/plugins/1.1.2/xineplug_dmx_pva.so...done. Loaded symbols for /usr/lib64/xine/plugins/1.1.2/xineplug_dmx_pva.so Reading symbols from /usr/lib64/xine/plugins/1.1.2/xineplug_dmx_slave.so...done. Loaded symbols for /usr/lib64/xine/plugins/1.1.2/xineplug_dmx_slave.so Reading symbols from /usr/lib64/xine/plugins/1.1.2/xineplug_dmx_nsv.so...done. Loaded symbols for /usr/lib64/xine/plugins/1.1.2/xineplug_dmx_nsv.so Reading symbols from /usr/lib64/xine/plugins/1.1.2/xineplug_dmx_matroska.so...done. Loaded symbols for /usr/lib64/xine/plugins/1.1.2/xineplug_dmx_matroska.so Reading symbols from /usr/lib64/xine/plugins/1.1.2/xineplug_dmx_iff.so...done. Loaded symbols for /usr/lib64/xine/plugins/1.1.2/xineplug_dmx_iff.so Reading symbols from /usr/lib64/xine/plugins/1.1.2/xineplug_dmx_flv.so...done. Loaded symbols for /usr/lib64/xine/plugins/1.1.2/xineplug_dmx_flv.so Reading symbols from /usr/lib64/xine/plugins/1.1.2/xineplug_dmx_mpeg.so...done. Loaded symbols for /usr/lib64/xine/plugins/1.1.2/xineplug_dmx_mpeg.so Reading symbols from /usr/lib64/xine/plugins/1.1.2/xineplug_dmx_rawdv.so...done. Loaded symbols for /usr/lib64/xine/plugins/1.1.2/xineplug_dmx_rawdv.so Reading symbols from /usr/lib64/xine/plugins/1.1.2/xineplug_dmx_mpeg_elem.so...done. Loaded symbols for /usr/lib64/xine/plugins/1.1.2/xineplug_dmx_mpeg_elem.so Reading symbols from /usr/lib64/xine/plugins/1.1.2/xineplug_decode_mpeg2.so...done. Loaded symbols for /usr/lib64/xine/plugins/1.1.2/xineplug_decode_mpeg2.so #0 0x00002aaaaca60bb9 in raise () from /lib/libc.so.6 (gdb) bt #0 0x00002aaaaca60bb9 in raise () from /lib/libc.so.6 #1 0x00002aaaaca6205e in abort () from /lib/libc.so.6 #2 0x00000000004a3778 in xitk_signal_handler (sig=11) at xitk.c:324 #3 <signal handler called> #4 0x000000000048e53f in xitk_menu_add_entry (w=0x14cf730, me=0x7fffffd3da50) at menu.c:566 #5 0x000000000048fa15 in xitk_noskin_menu_create (wl=0x65b970, m=0x7fffffd3da78, x=21821232, y=201) at menu.c:663 #6 0x000000000043a69a in video_window_menu (wl=0x65b970) at menus.c:796 #7 0x000000000047092c in video_window_handle_event (event=0x572028020402443b, data=0x7fffffd3da50) at videowin.c:2050 #8 0x00000000004a6818 in xitk_xevent_notify (event=0x7fffffd41d20) at xitk.c:1730 #9 0x00000000004a7586 in xitk_run (cb=0x7fffffd41d20, data=0x0) at xitk.c:2016 #10 0x000000000041a0bc in gui_run (session_opts=0x0) at event.c:1835 #11 0x000000000042e2b1 in main (argc=4, argv=0x6ae510) at main.c:2161 (gdb)
Created attachment 85701 [details, diff] 180_all_sspfix.patch Can you try to apply this patch and see if it solves? It should but I'd like you to test as I can't do it myself not being able to reproduce it at all.
:-\ I'm not quite sure if I applied the patch correctly since what I get is: #0 0x00002aaaaca60bb9 in raise () from /lib/libc.so.6 (gdb) bt #0 0x00002aaaaca60bb9 in raise () from /lib/libc.so.6 #1 0x00002aaaaca6205e in abort () from /lib/libc.so.6 #2 0x00000000004a3748 in xitk_signal_handler (sig=11) at xitk.c:324 #3 <signal handler called> #4 0x00002aaaacaa1160 in strlen () from /lib/libc.so.6 #5 0x00002aaaacaa0e76 in strdup () from /lib/libc.so.6 #6 0x000000000048e52d in xitk_menu_add_entry (w=0x14cfc90, me=0x7fffff83f410) at menu.c:566 #7 0x000000000048f9e5 in xitk_noskin_menu_create (wl=0x65ca90, m=0x7fffff83f438, x=21822608, y=94) at menu.c:661 #8 0x000000000043a69a in video_window_menu (wl=0x65ca90) at menus.c:796 #9 0x000000000047092c in video_window_handle_event (event=0x572028020402443b, data=0x7fffff83f410) at videowin.c:2050 #10 0x00000000004a67e8 in xitk_xevent_notify (event=0x7fffff8436e0) at xitk.c:1730 #11 0x00000000004a7556 in xitk_run (cb=0x7fffff8436e0, data=0x0) at xitk.c:2016 #12 0x000000000041a0bc in gui_run (session_opts=0x0) at event.c:1835 #13 0x000000000042e2b1 in main (argc=4, argv=0x6af3c0) at main.c:2161 (gdb) ----- Here is what I did: I saved the patch to /home/atti/xine-ui.patch then I altered /usr/portage/media-video/xine-ui/xine-ui-0.99.4-r5.ebuild by adding the patch file ('epatch /home/atti/xine-ui.patch'). src_unpack looks like this now: ------------------------ src_unpack() { unpack ${A} cd ${S} EPATCH_SUFFIX="patch" epatch ${WORKDIR}/patches epatch /home/atti/xine-ui.patch AT_M4DIR="m4" eautoreconf } ----------------------- ebuild /usr/portage/media-video/xine-ui/xine-ui-0.99.4-r5.ebuild digest emerge xine-ui -vD What did I do wrong?
Okay that is not the problem then, although this patch I'll probably still submit, solves a bit of problems. Now remains only to find the reason why strlen() causes error.
(how) can I help?
Give a try to the 0.99.5 prerelease, I've fixed a lot of stuff related to strings there, it might have this problem fixed.
Well done! Thx for fixing!