Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 88126 - media-libs/theora-1.0_alpha4 causes segfaults on ppc
Summary: media-libs/theora-1.0_alpha4 causes segfaults on ppc
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Chris White (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-05 22:42 UTC by postmodern
Modified: 2005-07-02 07:21 UTC (History)
2 users (show)

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


Attachments
strace log (mplayer-strace.log,2.86 KB, text/plain)
2005-05-13 03:38 UTC, postmodern
Details

Note You need to log in before you can comment on or make changes to this bug.
Description postmodern 2005-04-05 22:42:26 UTC
after testing the following theora videos on both ppc and amd64, both mplayer and xine segfaulted only on ppc.

http://www.gnome.org/~seth/blog/xshots

Test away. Also those videos are mad ill.

Reproducible: Always
Steps to Reproduce:
1. mplayer/xine any of those ogg files
2.
3.

Actual Results:  
crashed on ppc.

Expected Results:  
works on all archs officially supported by theora.

Gentoo Base System version 1.4.16
Portage 2.0.51.19 (default-linux/ppc/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r1,
2.6.10-gentoo-r6 ppc)
=================================================================
System uname: 2.6.10-gentoo-r6 ppc 750FX
Python:              dev-lang/python-2.2.3-r6,dev-lang/python-2.3.4-r1 [2.3.4
(#1, Feb 23 2005, 01:42:26)]
dev-lang/python:     2.2.3-r6, 2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.4
sys-devel/binutils:  2.15.90.0.3-r3
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CFLAGS="-mcpu=750 -O3 -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=750 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa berkdb bitmap-fonts crypt curl dvd emboss esd fam flac font-server
fortran gdbm gif gstreamer gtk gtk2 imlib jpeg mozilla mp3 ncurses network nls
oggvorbis opengl pam perl png ppc python readline samba softmmu speex spell
sqlite ssl theora tiff truetype truetype-fonts type1-fonts unicode xml2 xprint
xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Joe Jezak (RETIRED) gentoo-dev 2005-05-11 12:57:11 UTC
I tested the first video using mplayer my ppc, no segfaults.  Can you provide any error messages that you got along with an strace?  Which version of mplayer?  Do you have kernel preemption on?
Comment 2 postmodern 2005-05-13 03:38:19 UTC
Alright.

Mplayer version is 1.0_pre6-r4. No segfault message in /var/log/kernel.log.
The tail -n 50 of the strace of 'mplayer WobblyWindowsIntro.ogg' is attached.
Comment 3 postmodern 2005-05-13 03:38:49 UTC
Created attachment 58805 [details]
strace log
Comment 4 postmodern 2005-05-13 03:41:56 UTC
OH yeah forgot to add, Kernel preemption is disabled.
Comment 5 Chris White (RETIRED) gentoo-dev 2005-05-13 11:32:45 UTC
Can you give a gdb backtrace please?  Strace are only really good for system call checks.
Comment 6 Chris White (RETIRED) gentoo-dev 2005-05-13 11:33:32 UTC
Oh, I forgot.. gimme!  This way I remember to check this out later.
Comment 7 postmodern 2005-05-13 13:41:13 UTC
Here is the gdb trace.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 4347)]
0x0ff615a0 in theora_decode_header () from /usr/lib/libtheora.so.0
(gdb) bt
#0  0x0ff615a0 in theora_decode_header () from /usr/lib/libtheora.so.0
#1  0x0ff6159c in theora_decode_header () from /usr/lib/libtheora.so.0
#2  0x0ff6159c in theora_decode_header () from /usr/lib/libtheora.so.0
#3  0x0ff6159c in theora_decode_header () from /usr/lib/libtheora.so.0
#4  0x0ff6159c in theora_decode_header () from /usr/lib/libtheora.so.0
#5  0x0ff6159c in theora_decode_header () from /usr/lib/libtheora.so.0
#6  0x0ff6159c in theora_decode_header () from /usr/lib/libtheora.so.0
Previous frame inner to this frame (corrupt stack?)
Comment 8 Chris White (RETIRED) gentoo-dev 2005-05-20 11:04:39 UTC
I seem to be unable to produce this on my sytem.  Are you sure the file is not
corrupted?  Also you might want to try another kernel just in case it's kernel
related.  If that doesn't work, try stepping down -O3 to -O2 and see if that helps.
Comment 9 Joe Jezak (RETIRED) gentoo-dev 2005-07-02 07:21:36 UTC
No response from the user and we can't reproduce locally, so I'm closing the
bug.  If you're still having a problem, feel free to reopen it.