Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82457 - gxine crashes or hangs directly after the start ... and pornview the same.
Summary: gxine crashes or hangs directly after the start ... and pornview the same.
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-18 06:16 UTC by jochen becker
Modified: 2005-08-04 09:46 UTC (History)
2 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 jochen becker 2005-02-18 06:16:24 UTC
If I want to sart gxine I get only these messages. It doesn't matter
under which user I try to start. It's even the same. 

gentoo nighty # gxine
server: trying to connect to already running instance of gxine
(/root/.gxine/socket)...
connect: Verbindungsaufbau abgelehnt
server: socket '/root/.gxine/socket' created

I tried to delete the socket and also killes all running processes of
gxine. It hasn't brought me anything. 

But gxine was running perfect till i updated my system with emerge -uD
world. 

Since I have problems with gxine, I have also Problems with my picure
and movieplayer pornview (It's not like ist sounds ;-) ). I think there
are parallels. Because as far as I know pornview uses xine too.

But the stranger is that xine works. Is it possible that i can't use the
newst stable xine-lib?

mfg jochen

jochen Becker <jochen@opensourceprojekt.de>

Reproducible: Always
Steps to Reproduce:
1. delete the socket
2. kill all processes of theese applications

Actual Results:  
nothing after next start i got the same error

Expected Results:  
open correctly
Comment 1 Alexander Mieland 2005-02-18 06:22:54 UTC
Here, the same.

my emerge --info:

Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-ck5 i686)
=================================================================
System uname: 2.6.10-ck5 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  7 2005, 14:26:25)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.9.4, 1.7.9-r1, 1.5, 1.6.3, 1.4_p6, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache cvs digest distlocks fixpackages sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.inode.at/ ftp://gentoo.inode.at/source/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/"
LANG="POSIX"
LC_ALL=""
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/local /usr/local/overlays/gentoo.de"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d acpi alsa apache2 audiofile avi bcmath bidi bitmap-fonts bzlib cdinstall cdparanoia cdr cpdflib crypt cups curl divx4linux dmx dvd dvdr dvdread edl encode exif faad flac flash foomaticdb ftp gd ggi gif gimp gimpprint glx gpm gstreamer gtk gtk2 gtkhtml icq imagemagick imap imlib java jikes joystick jpeg jpeg2k kde kdeenablefinal libg++ libwww lzo mad matroska mbox mikmod mime ming mmx mng motif mozsvg mozxmlterm mpeg msn mysql nas ncurses nls nptl nptlonly nvidia odbc oggvorbis opengl oss pam pam-mysql pdflib perl php png posix ppds pthreads python qt quicktime readline rplay rtc samba scanner screenshot sdk sdl session sharedmem simplexml slang slp smime sockets speex spell sse sse2 ssl svg tcltk tcpd tga theora threads tidy tiff tokenizer truetype truetype-fonts type1-fonts usb userlocales v4l v4l2 videos wddx wmf wxwindows xanim xfs xine xml xml2 xmlrpc xmms xosd xpm xprint xscreensaver xsl xv xvid xvmc zlib linguas_de"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS

Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-04-18 04:15:43 UTC
I found a similar problem testing gxine with alsa dmix support.
Please try to launch strace gxine and post the last 5 lines of the output.
Comment 3 Markus Rothe (RETIRED) gentoo-dev 2005-04-28 11:36:28 UTC
I've had similar problems (on ppc64), but xinelib-1.0-r2 and gxine-0.4.3 fixed all the issues I have had. gxine works perfect now!

which version are you both using?
Comment 4 bravecobra 2005-05-04 00:09:54 UTC
strace gxine gives me the following and hangs there:

uname({sys="Linux", node="zeus", ...})  = 0
open("/home/james/.Xdefaults-zeus", O_RDONLY) = -1 ENOENT (No such file or directory)
write(8, "+\0\1\0", 4)                  = 4
read(8, "\1\2\22\0\0\0\0\0\4\0@\2\0\0\0\0\1\0\0\0\37\0\0\0008b\356"..., 32) = 32
write(8, "5\30\4\0\3\0\200\2\1\0\200\2\244\1;\0017\1\4\0\4\0\200"..., 100) = 100
read(8, "\1\2\31\0\0\0\0\0\4\0@\2\0\0\0\0\0\0\0\0\37\0\0\0008b\356"..., 32) = 32
mmap2(NULL, 8392704, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x42c04000
mprotect(0x42c04000, 4096, PROT_NONE)   = 0
clone(child_stack=0x434044c8, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x43404bf8, {entry_number:6, base_addr:0x43404bb0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}, child_tidptr=0x43404bf8) = 26794
futex(0x83548fc, FUTEX_WAIT, 1, NULL  
Comment 5 Jan Brinkmann (RETIRED) gentoo-dev 2005-05-04 03:14:29 UTC
bravecobra: sounds to me that some other apps block your soundcard, disable or shutdown all apps which make use of your soundcard and try again. theoretically, dmix could be a solution
Comment 6 Radoslaw Szkodzinski 2005-05-30 09:56:02 UTC
Here it crashes too, the problem geos away mhen I set LC_ALL to C.
Seems the .po files generated aren't UTF-8 and it then crashes with a NULL
pointer dereference.

Strace:
<snip>
getdents64(15, /* 20 entries */, 65536) = 496
getdents64(15, /* 0 entries */, 65536)  = 0
lseek(15, 0, SEEK_SET)                  = 0
stat64("/.", {st_mode=S_IFDIR|0755, st_size=20, ...}) = 0
stat64("/..", {st_mode=S_IFDIR|0755, st_size=20, ...}) = 0
getdents64(15, /* 20 entries */, 65536) = 496
stat64("/bin", {st_mode=S_IFDIR|0755, st_size=144, ...}) = 0
stat64("/boot", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
stat64("/dev", {st_mode=S_IFDIR|0755, st_size=13560, ...}) = 0
stat64("/dload", {st_mode=S_IFDIR|0755, st_size=8, ...}) = 0
stat64("/etc", {st_mode=S_IFDIR|0755, st_size=173, ...}) = 0
stat64("/home", {st_mode=S_IFDIR|0755, st_size=5, ...}) = 0
stat64("/lib", {st_mode=S_IFDIR|0755, st_size=144, ...}) = 0
stat64("/media", {st_mode=S_IFDIR|0755, st_size=5, ...}) = 0
stat64("/mnt", {st_mode=S_IFDIR|0755, st_size=6, ...}) = 0
stat64("/opt", {st_mode=S_IFDIR|0755, st_size=9, ...}) = 0
stat64("/proc", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
stat64("/root", {st_mode=S_IFDIR|0700, st_size=60, ...}) = 0
stat64("/sbin", {st_mode=S_IFDIR|0755, st_size=161, ...}) = 0
stat64("/swap", {st_mode=S_IFREG|0644, st_size=536870912, ...}) = 0
stat64("/sys", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
stat64("/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=145, ...}) = 0
stat64("/usr", {st_mode=S_IFDIR|0755, st_size=20, ...}) = 0
stat64("/var", {st_mode=S_IFDIR|0755, st_size=15, ...}) = 0
close(15)                               = 0
open("/dev/urandom", O_RDONLY|O_LARGEFILE) = 15
fstat64(15, {st_mode=S_IFCHR|0444, st_rdev=makedev(1, 9), ...}) = 0
ioctl(15, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfffeacc) = -1 EINVAL (Invalid argument)
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb6fc0000
read(15, "\261y\204X\205\335\325\36\240\221\16E\242&\307\305\356"..., 4096) = 4096
close(15)                               = 0
munmap(0xb6fc0000, 4096)                = 0
stat64("/", {st_mode=S_IFDIR|0755, st_size=20, ...}) = 0
brk(0x8ce4000)                          = 0x8ce4000
gettimeofday({1117471952, 178662}, NULL) = 0
write(2, "\n(gxine:29633): Gtk-WARNING **: "..., 144
(gxine:29633): Gtk-WARNING **: Failed to set label from markup due to error
parsing markup: Error on line 2 char 9: Invalid UTF-8 encoded text
) = 144
write(2, "\n(gxine:29633): Gtk-WARNING **: "..., 144
(gxine:29633): Gtk-WARNING **: Failed to set label from markup due to error
parsing markup: Error on line 2 char 9: Invalid UTF-8 encoded text
) = 144
write(2, "\n(gxine:29633): Gtk-WARNING **: "..., 144
(gxine:29633): Gtk-WARNING **: Failed to set label from markup due to error
parsing markup: Error on line 2 char 9: Invalid UTF-8 encoded text
) = 144
write(2, "\n(gxine:29633): Gtk-WARNING **: "..., 144
(gxine:29633): Gtk-WARNING **: Failed to set label from markup due to error
parsing markup: Error on line 2 char 9: Invalid UTF-8 encoded text
) = 144
write(2, "\n(gxine:29633): Gtk-WARNING **: "..., 144
(gxine:29633): Gtk-WARNING **: Failed to set label from markup due to error
parsing markup: Error on line 2 char 9: Invalid UTF-8 encoded text
) = 144
write(2, "\n(gxine:29633): Gtk-WARNING **: "..., 144
(gxine:29633): Gtk-WARNING **: Failed to set label from markup due to error
parsing markup: Error on line 2 char 9: Invalid UTF-8 encoded text
) = 144
gettimeofday({1117471952, 182244}, NULL) = 0
gettimeofday({1117471952, 183394}, NULL) = 0
gettimeofday({1117471952, 184329}, NULL) = 0
write(2, "\n(gxine:29633): Gtk-WARNING **: "..., 144
(gxine:29633): Gtk-WARNING **: Failed to set label from markup due to error pars
gettimeofday({1117471952, 182244}, NULL) = 0
gettimeofday({1117471952, 183394}, NULL) = 0
gettimeofday({1117471952, 184329}, NULL) = 0
write(2, "\n(gxine:29633): Gtk-WARNING **: "..., 144
(gxine:29633): Gtk-WARNING **: Failed to set label from markup due to error
parsing markup: Error on line 2 char 9: Invalid UTF-8 encoded text
) = 144
gettimeofday({1117471952, 185843}, NULL) = 0
gettimeofday({1117471952, 186308}, NULL) = 0
gettimeofday({1117471952, 186447}, NULL) = 0
gettimeofday({1117471952, 187681}, NULL) = 0
gettimeofday({1117471952, 188004}, NULL) = 0
gettimeofday({1117471952, 188519}, NULL) = 0
brk(0x8d05000)                          = 0x8d05000
gettimeofday({1117471952, 189097}, NULL) = 0
gettimeofday({1117471952, 189409}, NULL) = 0
gettimeofday({1117471952, 189763}, NULL) = 0
mmap2(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb6fa0000
mremap(0xb6fa0000, 135168, 266240, MREMAP_MAYMOVE) = 0xb6f5f000
mremap(0xb6f5f000, 266240, 528384, MREMAP_MAYMOVE) = 0xb6ede000
mremap(0xb6ede000, 528384, 1052672, MREMAP_MAYMOVE) = 0xb6ddd000
mremap(0xb6ddd000, 1052672, 2101248, MREMAP_MAYMOVE) = 0xb6bdc000
mremap(0xb6bdc000, 2101248, 4198400, MREMAP_MAYMOVE) = 0xb67db000
mremap(0xb67db000, 4198400, 8392704, MREMAP_MAYMOVE) = 0xb5fda000
mremap(0xb5fda000, 8392704, 16781312, MREMAP_MAYMOVE) = 0xb4fd9000
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

Emerge info:
Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-
r0, 2.6.11-astorm i686)
=================================================================
System uname: 2.6.11-astorm i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.6.12
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.1
sys-apps/sandbox:    1.2.8
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.5
sys-devel/binutils:  2.16
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X1
1/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl"
LANG="pl_PL.ISO-8859-2"
LC_ALL="pl_PL.ISO-8859-2"
LINGUAS="pl"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac alsa ao aotuv apache2 apm avi bash-completion
berkdb bitmap-fonts cddb cdparanoia cdr crypt cscope cups curl dba divx4linux
djbfft dts dvd dvdr emacs emboss encode erandom esd extraicons extramodules
extras fam fbcon ffmpeg firefox flac foomaticdb fortran fpx gcj gd gd-external
gdbm gif glade glitz glut gnome gpm graphviz graphwiz gsm gtk gtk2 guile hal
howl icu imagemagick imlib ipv6 ithreads jabber jack java javascript jbig jpeg
latex libg++ libwww linguas_pl mad mail matroska mikmod mimencode mmap mmx
mmxext mng mod mono mozilla mozsvg mp3 mpc mpeg mpm-worker mysql ncurses network
nls normalizemime nptl nptlonly nvidia objc ogg oggvorbis opengl oss pam pcre
pdflib perl php pic png python qt quicktime readline real rtc ruby samba sasl
sdl session speex spell sse ssl svg symlink tcltk tcpd tetex tga theora threads
tidy tiff tlen truetype truetype-fonts type1-fonts ucs2 unicode urandom vcd
voice vorbis win32codecs wmf xine xml xml2 xpm xv xvid xvmc zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, MAKEOPTS
Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-07-13 03:52:05 UTC
(In reply to comment #6) Seems to me different problems. 
 
jochen can you try with xine-lib-1.0.1-r3, with alsa-driver-1.0.9 (and not 
in-kernel alsa drivers)? 
 
Comment 8 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-08-04 09:46:43 UTC
Please try with latest versions of gxine and xine-lib, and reopen if still an 
issue.