Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 120376 - media-gfx/pornview-0.2.0_pre1 segfaults with xine engine support
Summary: media-gfx/pornview-0.2.0_pre1 segfaults with xine engine support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 141588
  Show dependency tree
 
Reported: 2006-01-25 22:39 UTC by Anonymous bin ich
Modified: 2006-09-19 07:09 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anonymous bin ich 2006-01-25 22:39:45 UTC
Since I updated last week (18th jan, 2006), media-gfx/pornview-0.2.0_pre1 is segfaulting.

I am behind a proxy and my web-quota is limited, so I don't upgrade that frequently. (I.e., I upgraded after many days)

I have emerged it many times and upgraded many times since then but the Problem continues.

emerge --info:

Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r5 i686)
=================================================================
System uname: 2.6.14-gentoo-r5 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
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-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -pipe -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fno-strict-aliasing -fstrength-reduce"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /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/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -pipe -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fno-strict-aliasing -fstrength-reduce"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.gentoo.gr.jp/ http://gentoo.gg3.net/ http://gentoo.channelx.biz/"
PKGDIR="/mnt/E/pkgdir"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X alsa apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cups curl dbus divx4linux dri emboss encode esd exif expat fam ffmpeg firebird flac foomaticdb fortran gdbm gif glut gpm gtk gtk2 idn imagemagick imlib ipv6 java javascript jpeg kde kdexdeltas lcms ldap libg++ libwww mad mikmod mmx mmxext mng motif mp3 mpeg mplayer nas ncurses nls offensive ogg oggvorbis opengl oss pam pcre pdflib perl perlsuid png python qt quicktime readline real recode ruby samba sdl speex spell sqlite sse ssl stroke svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode vorbis win32codecs wmf xine xml2 xv xvid xvmc zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-01-25 23:20:34 UTC
Reopen with a backtrace, if you are able to reproduce it with *sane* C[XX]FLAGS.

http://www.gentoo.org/doc/en/bugzilla-howto.xml
Comment 2 Anonymous bin ich 2006-01-26 00:24:15 UTC
Hope this helps:
CFLAGS="-O1 -pipe -g -ggdb"
CXXFLAGS="-O1 -pipe -g -ggdb"

Backtrace:
(gdb) run
Starting program: /usr/bin/pornview
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 26024)]
[New Thread 32769 (LWP 26043)]
[New Thread 16386 (LWP 26044)]
xine_thread: init threads
xine_thread: open display
gtkxine: auto-detecting video driver...
[New Thread 32771 (LWP 26045)]
[New Thread 49156 (LWP 26046)]
[New Thread 65541 (LWP 26047)]
[New Thread 81926 (LWP 26048)]
[New Thread 98311 (LWP 26049)]
[New Thread 114696 (LWP 26050)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 26024)]
0xb78d61fd in pthread_mutex_lock () from /lib/libpthread.so.0
(gdb) bt
#0  0xb78d61fd in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0xb7721f8d in _XLockMutex () from /usr/lib/libX11.so.6
#2  0xb7721f76 in _XLockMutex () from /usr/lib/libX11.so.6
#3  0xb770baad in XrmQGetResource () from /usr/lib/libX11.so.6
#4  0x080ecd04 in ?? ()
#5  0x0000013b in ?? ()
#6  0x000000e4 in ?? ()
#7  0x00000000 in ?? ()

strace output: http://home.iitk.ac.in/~anupamsr/strace_pornview.txt
Comment 3 f5d8fd51ed1e804c9e8d0357e8614e0493b06e96 2006-02-16 16:34:19 UTC
For me it crashes, too.

Emerging with 
USE="-xine" emerge pornview
fixed the problem.
Comment 4 Anonymous bin ich 2006-02-16 20:56:48 UTC
But that is the major feature of pornview!

Is there any other application which shows both pictures and videos?
Comment 5 f5d8fd51ed1e804c9e8d0357e8614e0493b06e96 2006-02-17 01:07:07 UTC
I just said -xine, not -mplayer.
So you still can watch both images and video.
Comment 6 Anonymous bin ich 2006-02-17 01:52:41 UTC
Oh yes! I was too quick to comment. Thanks for the observation. With "-xine" USE flag it is working.
Comment 7 Alexander Skwar 2006-04-30 06:30:46 UTC
I'm seeing this as well. How about dropping the, seemingly, non-working xine support?
Comment 8 Alec Warner (RETIRED) archtester gentoo-dev Security 2006-09-19 07:09:44 UTC
Xine sucks; support was removed.