From: SourceForge.net <no...@so...> - 2004-10-18 09:47:44
|
Bugs item #1043792, was opened at 2004-10-10 02:59 Message generated for change (Comment added) made by mroi You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=109655&aid=1043792&group_id=9655 Category: None Group: None >Status: Pending Resolution: None Priority: 5 Submitted By: Lee Trager (nukem996) Assigned to: Nobody/Anonymous (nobody) Summary: Xine crashes On Any File Play on AMD64 Initial Comment: I oringally filed this on the gentoo bugzilla but since its gotten no where im filing it here. Anytime I play a file on xine, xine will crash giving no errors in console all it says is "Aborted". I know the files work because mplayer plays them just fine. Attached is the output of strace. System Info CPU: AMD64 3500+ Distro: Gentoo Kernel: 2.6.9-rc3 Vanalla WM: Fluxbox running on X.org Here is xine --verbose This is xine (X11 gui) - a free video player v0.99.2. (c) 2000-2004 The xine Team. Built with xine library 1.0.0 (1-rc5) Found xine library version: 1.0.0 (1-rc6a). Plateform informations: ---------------------- system name : Linux node name : nuke release : 2.6.9-rc1 version : #3 Mon Sep 6 19:09:20 EDT 2004 machine : x86_64 CPU Informations: ---------------- processor : 0 vendor_id : AuthenticAMD cpu family : 15 model : 15 model name : AMD Athlon(tm) 64 Processor 3500+ stepping : 0 cpu MHz : 2202.887 cache size : 512 KB fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm 3dnowext 3dnow bogomips : 4325.37 TLB size : 1088 4K pages clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: ts fid vid ttp ------- Display Name: :0.0, XServer Vendor: Gentoo Linux (The X.Org Foundation 6.8.0, revision r0-0.1), Protocol Version: 11, Revision: 0, Available Screen(s): 1, Default screen number: 0, Using screen: 0, Depth: 16, XShmQueryVersion: 1.1, -[ xiTK version 0.10.7 [XFT] ]-[ WM type: (EWMH) Blackbox {Fluxbox} ]- Display is not using Xinerama. load_plugins: skipping unreadable plugin directory /home/nuke/.xine/plugins. load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_ao_out_none.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_ao_out_file.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_ao_out_oss.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_ao_out_alsa.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_ao_out_arts.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_ao_out_esd.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_vo_out_xshm.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_vo_out_xv.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_vo_out_xvmc.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_vo_out_opengl.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_vo_out_fb.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_vo_out_sdl.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_vo_out_none.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_decode_dxr3_video.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_decode_dxr3_spu.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_vo_out_dxr3.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_vo_out_dxr3.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_inp_vcd.so found load_plugins: input plugin VCD does not provide a priority, xine-lib will use the default priority. load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_inp_file.so found load_plugins: input plugin FILE does not provide a priority, xine-lib will use the default priority. load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_inp_http.so found load_plugins: input plugin http does not provide a priority, xine-lib will use the default priority. load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_inp_dvd.so found load_plugins: input plugin DVD does not provide a priority, xine-lib will use the default priority. load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_inp_vcdo.so found load_plugins: input plugin VCDO does not provide a priority, xine-lib will use the default priority. load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_inp_v4l.so found load_plugins: input plugin v4l_radio does not provide a priority, xine-lib will use the default priority. load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_inp_v4l.so found load_plugins: input plugin v4l_tv does not provide a priority, xine-lib will use the default priority. load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_inp_gnome_vfs.so found load_plugins: input plugin gnomevfs does not provide a priority, xine-lib will use the default priority. load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_inp_mms.so found load_plugins: input plugin mms does not provide a priority, xine-lib will use the default priority. load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_inp_stdin_fifo.so found load_plugins: input plugin stdin does not provide a priority, xine-lib will use the default priority. load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_inp_pnm.so found load_plugins: input plugin pnm does not provide a priority, xine-lib will use the default priority. load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_inp_rtp.so found load_plugins: input plugin rtp does not provide a priority, xine-lib will use the default priority. load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_inp_rtsp.so found load_plugins: input plugin rtsp does not provide a priority, xine-lib will use the default priority. load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_inp_net.so found load_plugins: input plugin tcp does not provide a priority, xine-lib will use the default priority. load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_inp_pvr.so found load_plugins: input plugin pvr does not provide a priority, xine-lib will use the default priority. load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_inp_dvb.so found load_plugins: input plugin DVB does not provide a priority, xine-lib will use the default priority. load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_inp_cdda.so found load_plugins: input plugin CD does not provide a priority, xine-lib will use the default priority. load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_dmx_ogg.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_dmx_ogg.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_dmx_mng.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_dmx_image.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_dmx_games.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_dmx_games.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_dmx_games.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_dmx_games.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_dmx_games.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_dmx_games.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_dmx_games.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_dmx_games.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_dmx_games.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_dmx_games.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_dmx_games.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_dmx_audio.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_dmx_audio.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_dmx_audio.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_dmx_audio.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_dmx_audio.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_dmx_audio.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_dmx_audio.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_dmx_audio.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_dmx_audio.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_dmx_audio.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_dmx_audio.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_dmx_audio.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_dmx_audio.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_dmx_mpeg_ts.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_dmx_avi.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_dmx_mpeg_block.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_dmx_mpeg.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_dmx_mpeg_elem.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_dmx_mpeg_pes.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_dmx_qt.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_dmx_fli.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_dmx_yuv4mpeg2.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_dmx_real.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_dmx_rawdv.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_dmx_pva.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_dmx_yuv_frames.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_dmx_slave.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_dmx_nsv.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_dmx_matroska.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_dmx_iff.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_dmx_flv.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_decode_ff.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_decode_ff.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_decode_ff.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_decode_dvaudio.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_decode_mpeg2.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_decode_a52.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_decode_spu.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_decode_spucc.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_decode_sputext.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_dmx_sputext.so found load_plugins: demuxer plugin sputext does not provide a priority, xine-lib will use the default priority. load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_decode_dts.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_decode_mad.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_decode_lpcm.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_decode_image.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_decode_bitplane.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_decode_rgb.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_decode_yuv.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_decode_gsm610.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_decode_nsf.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_decode_vorbis.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_decode_real.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_decode_real_audio.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_decode_faad.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_flac.so found load_plugins: demuxer plugin flac does not provide a priority, xine-lib will use the default priority. load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_flac.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/post/xineplug_post_planar.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/post/xineplug_post_planar.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/post/xineplug_post_planar.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/post/xineplug_post_planar.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/post/xineplug_post_planar.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/post/xineplug_post_planar.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/post/xineplug_post_planar.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/post/xineplug_post_planar.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/post/xineplug_post_goom.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/post/xineplug_post_visualizations.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/post/xineplug_post_visualizations.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/post/xineplug_post_visualizations.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/post/xineplug_post_mosaico.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/post/xineplug_post_switch.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/post/xineplug_post_tvtime.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/post/xineplug_post_audio_filters.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/post/xineplug_post_audio_filters.so found load_plugins: plugin /usr/lib/xine/plugins/1.0.0/xineplug_decode_spucmml.so found main: probing <aadxr3> video output plugin main: probing <dxr3> video output plugin video_out_dxr3: Failed to open control device /dev/em8300-0 (No such file or directory) main: probing <xv> video output plugin video_out_xv: using Xv port 107 from adaptor NV17 Video Overlay for hardware colorspace conversion and scaling. video_out_xv: ignoring broken XV_HUE settings on NVidia cardsvideo_out_xv: this adaptor supports the yuy2 format. video_out_xv: this adaptor supports the yv12 format. main: probing <alsa> audio output plugin audio_alsa_out : supported modes are 8bit 16bit 24bit 32bit mono stereo (4-channel not enabled in xine config) 4.1-channel (5-channel not enabled in xine config) (5.1-channel not enabled in xine config) (a/52 and DTS pass-through not enabled in xine config) osd: can't find out current locale character set osd: can't find out current locale character set osd: can't find out current locale character set osd: can't find out current locale character set osd: can't find out current locale character set video_out_xv: VO_PROP_ASPECT_RATIO(0) gui_xine_open_and_play(): mrl: 'file:/usr/share/xine/skins/xine-ui_logo.mpv', sub 'NONE', start_pos 0, start_time 0, av_offset 0, spu_offset 0. xine: found input plugin : file input plugin ebml: invalid EBML ID size (0x0) at position 1 ebml: invalid master element xine: found demuxer plugin: Elementary MPEG stream demux plugin av_offset=0 pts spu_offset=0 pts xine: found input plugin : file input plugin ebml: invalid master element failed to read 8 bytes at pos 252545024 xine: found demuxer plugin: AVI/RIFF demux plugin ffmpeg_video_dec: direct rendering enabled osd: can't find out current locale character set xiTK received SIGSEGV signal, RIP. fixing sound card drift by -2710 pts Aborted ---------------------------------------------------------------------- >Comment By: Michael Roitzsch (mroi) Date: 2004-10-18 11:47 Message: Logged In: YES user_id=552060 Sorry, I forgot about the AMD64. I think it would be helpful, if you could get an unstripped glibc installed. I tried to reproduce your OSD error here by forcing xine to fall into the error, but it did not crash here, so I guess it's something else. I am a bit blind without a proper backtrace of the crash. This really happens with every file you play? Have you tried different file types (AVI, MOV, MPG, WMV)? Michael ---------------------------------------------------------------------- Comment By: Lee Trager (nukem996) Date: 2004-10-18 04:46 Message: Logged In: YES user_id=525741 Unfortinuatly I can not use valgrind since it is for x86 and I am on AMD64, everything including xine on here is compiled for x86_64. I am not sure if my version of glibc is stripped or unstripped. I looked in the ebuild for it and there is a comment saying this " strip everything but the thread libs #46186" I looked up that bug number and apparently that is what screws up gdb. So im not sure what to do now. ---------------------------------------------------------------------- Comment By: Michael Roitzsch (mroi) Date: 2004-10-17 21:24 Message: Logged In: YES user_id=552060 If I read the mapfile correctly, the crash adress is inside glibc. Is your glibc stripped? This would explain the empty gdb backtrace. An unstripped glibc is important for debugging. Another chance would be running xine through valgrind (do not forget --trace-children=yes, since xine is multithreaded). Michael ---------------------------------------------------------------------- Comment By: Lee Trager (nukem996) Date: 2004-10-14 22:27 Message: Logged In: YES user_id=525741 Yes I have tried to disable OSD and it did nothing. Is there anything else you want me to do. P.S: Sorry about the file forgot to check the box. ---------------------------------------------------------------------- Comment By: Michael Roitzsch (mroi) Date: 2004-10-14 19:04 Message: Logged In: YES user_id=552060 There seems to be no attachment. Mind the checkbox! ;) Have you tried disabling the OSD? Michael ---------------------------------------------------------------------- Comment By: Lee Trager (nukem996) Date: 2004-10-14 13:42 Message: Logged In: YES user_id=525741 I just tried this and found this interesting. If I do on the command line xine /path/to/file.avi it plays it fine and xine dose not crash. It only crashes when I use the file dialog in xine. ---------------------------------------------------------------------- Comment By: Lee Trager (nukem996) Date: 2004-10-14 13:38 Message: Logged In: YES user_id=525741 Ok I did that gdb gives me the exact same thing. Ive attached the maps file. ---------------------------------------------------------------------- Comment By: Michael Roitzsch (mroi) Date: 2004-10-14 13:17 Message: Logged In: YES user_id=552060 It looks like the crash happens outside xine in some library. Please do the same gdb run again and make a copy of /proc/<xine's PID>/maps between the "thread apply all bt" and the "quit" step. Post this copy here, it might give a hint about this 0x0000002a97318ea0 address. Since the last line before the crash says something about OSD, you could also try disabling xine-ui's OSD before playing the first file. Michael ---------------------------------------------------------------------- Comment By: Lee Trager (nukem996) Date: 2004-10-14 05:22 Message: Logged In: YES user_id=525741 This is very weird. I did everything you said and here is what happens. I run gdb but when I goto reproduce the crash xine freezes but still plays the video. The audio plays and the video plays as long as I dont move another window infront of the xine window. The xine-ui is totaly locked up and I cannt move it. I goto do killall -9 xine and it does nothing. I goto do xkill on xine it closes the ui but its still in memory. The only way I can get it out is by quitting gdb. Anyway here is my gdb results. gdb xine GNU gdb 6.2.1 Copyright 2004 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"...(no debugging symbols found)...Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) handle SIG32 noprint nostop Signal Stop Print Pass to program Description SIG32 No No Yes Real-time event 32 (gdb) run Starting program: /usr/bin/xine 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 This is xine (X11 gui) - a free video player v0.99.2. (c) 2000-2004 The xine Team. Program received signal SIGSEGV, Segmentation fault. 0x0000002a97318ea0 in ?? () (gdb) thread apply all bt (gdb) quit The program is running. Exit anyway? (y or n) y ---------------------------------------------------------------------- Comment By: Michael Roitzsch (mroi) Date: 2004-10-13 12:46 Message: Logged In: YES user_id=552060 It would be helpful for us to debug this, if you could provide a gdb backtrace of the crash. I will post the general guidelines for this. Michael ---------------------------------------------------------------------- Comment By: Michael Roitzsch (mroi) Date: 2004-10-13 12:46 Message: Logged In: YES user_id=552060 Please rebuild xine with debug information, this will help us identifying where and why it crashed. to rebuild xine-lib and xine-ui with debug information, unpack the tarbal and execute the following commands: $ ./configure $ make clean $ make debug $ make install-debug then run xine from gdb: $ gdb xine (gdb) handle SIG32 noprint nostop (gdb) run try to reproduce the crash. Program received signal SIGSEGV, Segmentation fault. [....] type: (gdb) thread apply all bt it will print the stack trace for all threads. paste it into the bug entry. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=109655&aid=1043792&group_id=9655 |