From: SourceForge.net <no...@so...> - 2005-02-03 14:50:51
|
Bugs item #1115338, was opened at 2005-02-03 12:39 Message generated for change (Comment added) made by nikiwaibel You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=109655&aid=1115338&group_id=9655 Category: portability problem Group: current cvs version Status: Open Resolution: None Priority: 5 Submitted By: Niki W. Waibel (nikiwaibel) Assigned to: Nobody/Anonymous (nobody) Summary: xine-lib: bus error on sol8/sparc sol9/sparc Initial Comment: xine-lib reports a bus error on sol8/sparc, sol9/sparc but works fine on sol9/x86!!!, lnx/x86, lnx/x86_64. tested with and without medialib. the problem is i dont know how to debug this, because: === nwaibel@blade100-2 ~ $ gdb xine GNU gdb 6.0 Copyright 2003 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 "sparc-sun-solaris2.8"...(no debugging symbols found)... "/home/download/kb3teaser.avi" is not a core dump: File format not recognized (gdb) run /home/download/kb3teaser.avi Starting program: /misc/sparc-sun-solaris2.8/bin/xine /home/download/ kb3teaser.avi (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...[New LWP 1] [New LWP 2] [New LWP 3] [New LWP 4] This is xine (X11 gui) - a free video player v0.99.3. (c) 2000-2004 The xine Team. Bus Error nwaibel@blade100-2 ~ $ === so gdb exits as well... last lines from nwaibel@blade100-2 ~ $ truss -f xine /home/download/kb3teaser.avi === 8386: read(12, " R I F FE8AC -\0 A V I ".., 1024) = 1024 8386: nanosleep(0xFE203C60, 0x00000000) = 0 8386: llseek(12, 0, SEEK_CUR) = 1024 8386: fstat64(12, 0xFFBEC5F0) = 0 8386: llseek(12, 0, SEEK_CUR) = 1024 8386: nanosleep(0xFE203C60, 0x00000000) = 0 8386: llseek(12, 0, SEEK_CUR) = 1024 8386: Incurred fault #5, FLTACCESS %pc = 0xFF1983FC 8386: siginfo: SIGBUS BUS_ADRALN addr=0x02536454 8386: Received signal #10, SIGBUS [default] 8386: siginfo: SIGBUS BUS_ADRALN addr=0x02536454 8386: *** process killed *** nwaibel@blade100-2 ~ $ === aaxine and cacaxine crash as well (the last lines of the truss output are almost identical). any idea? (using gcc-3.4.3 and binutils-2.15.94.0.2) (both have been working fine so far). (ldd output of xine is attached). ---------------------------------------------------------------------- >Comment By: Niki W. Waibel (nikiwaibel) Date: 2005-02-03 15:50 Message: Logged In: YES user_id=1951 WORKS (xine /home/download/kb3teaser.avi#nocache)!!! well -- there is no video output, but that is def another problem. (maybe medialib). ---------------------------------------------------------------------- Comment By: James Stembridge (jstembridge) Date: 2005-02-03 15:44 Message: Logged In: YES user_id=537148 Ok, to test that you can disable the cache by adding #nocache to the end of the MRL. For example: xine /home/download/kb3teaser.avi#nocache ---------------------------------------------------------------------- Comment By: Niki W. Waibel (nikiwaibel) Date: 2005-02-03 15:31 Message: Logged In: YES user_id=1951 $ grep -r '\*(uint32_t \*)' xine-lib-1-rc5 | wc 28 205 2885 $ grep -cr '\*(uint32_t \*)' xine-lib-1-rc5 | grep -v :0$ xine-lib-1-rc5/src/xine-engine/buffer.h:1 xine-lib-1-rc5/src/input/vcd/libvcd/files.c:1 xine-lib-1-rc5/src/input/libreal/real.c:2 xine-lib-1-rc5/src/demuxers/demux_avi.c:1 xine-lib-1-rc5/src/demuxers/demux_film.c:2 xine-lib-1-rc5/src/demuxers/demux_smjpeg.c:2 xine-lib-1-rc5/src/libffmpeg/libavcodec/common.h:1 xine-lib-1-rc5/src/libffmpeg/libavcodec/indeo3.c:7 xine-lib-1-rc5/src/libffmpeg/libavcodec/imgresample.c:1 xine-lib-1-rc5/src/libffmpeg/libavcodec/svq3.c:4 xine-lib-1-rc5/src/libffmpeg/libavcodec/alpha/asm.h:1 xine-lib-1-rc5/src/libspucc/cc_decoder.c:5 $ grep -r '\*(uint32_t \*)' xine-lib_cvs20050203 | wc 31 230 3419 $ grep -cr '\*(uint32_t \*)' xine-lib_cvs20050203 | grep -v :0$ xine-lib_cvs20050203/src/demuxers/demux_avi.c:1 xine-lib_cvs20050203/src/demuxers/demux_film.c:2 xine-lib_cvs20050203/src/demuxers/demux_smjpeg.c:2 xine-lib_cvs20050203/src/input/libreal/real.c:2 xine-lib_cvs20050203/src/input/vcd/libvcd/files.c:1 xine-lib_cvs20050203/src/libffmpeg/libavcodec/common.h:1 xine-lib_cvs20050203/src/libffmpeg/libavcodec/imgresample.c:1 xine-lib_cvs20050203/src/libffmpeg/libavcodec/indeo3.c:7 xine-lib_cvs20050203/src/libffmpeg/libavcodec/svq3.c:4 xine-lib_cvs20050203/src/libffmpeg/libavcodec/alpha/asm.h:1 xine-lib_cvs20050203/src/libmpeg2new/include/alpha_asm.h:1 xine-lib_cvs20050203/src/libspucc/cc_decoder.c:5 xine-lib_cvs20050203/src/xine-engine/buffer.h:1 xine-lib_cvs20050203/src/xine-engine/input_cache.c:2 so i guess it could be src/xine-engine/input_cache.c. ---------------------------------------------------------------------- Comment By: James Stembridge (jstembridge) Date: 2005-02-03 15:01 Message: Logged In: YES user_id=537148 Could it be an unaligned memory access? Look for something along the lines of *(uint32_t *), perhaps in the avi demuxer. ---------------------------------------------------------------------- Comment By: Niki W. Waibel (nikiwaibel) Date: 2005-02-03 14:47 Message: Logged In: YES user_id=1951 compiled xine-lib using: --disable-mlib --disable-vis problem is still there... ---------------------------------------------------------------------- Comment By: Niki W. Waibel (nikiwaibel) Date: 2005-02-03 13:48 Message: Logged In: YES user_id=1951 i forgot to mention that if i start xine without file it does NOT crash. it displays the xine logo fine. as soon as xine wants to start playing it crashes. > - try, if there are some formats, videooutputs, which are OK tried various, none is ok -- xine crashes always. even this: xine -V none -A none /home/download/We_love_Shotokan_kurz.mp3 crashes on the menttioned platforms. > - search the "ugly" plugin: dont know what you mean by: > - audio?: xine MRL#noaudio playing some file without audio stream? > - binary search the CVS version, which worked fine the last *known* version which worked was xine-lib-1-rc5. if i set LD_LIBRARY_PATH to the old (1-rc5) libs it works. btw: xine on sol9/x86 displays wrong colors. maybe because of medialib. i'll check that later (afair i have seen that before on sol?/sparc). ---------------------------------------------------------------------- Comment By: Frantisek Dvorak (valtri) Date: 2005-02-03 13:25 Message: Logged In: YES user_id=543511 I don't know, how to exactly debug it. But there are still several other posibilities to catch the bug: - try, if there are some formats, videooutputs, which are OK - search the "ugly" plugin: - audio?: xine MRL#noaudio - video?: xine MRL#novideo - cache?: xine MRL#nocache - demux?: xine MRL#demux:cdda (should be heard strange noise) (it expects CDDA demuxer works fine) - demux?, other test: xine MRL#demux:cdda\;save:file.dat (the file will be shorter to multiply of 2352) (it expects CDDA demuxer works fine) - and combinations: xine MRL#nocache\;demux:cdda\;novideo\;noaudio - and various input plugins - binary search the CVS version, which worked fine (but it might be hard work :-() Cheers, Frantisek ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=109655&aid=1115338&group_id=9655 |