Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 284336 - media-video/gxine-0.5.903 segfaults upon start, "bind: No such file or directory"
Summary: media-video/gxine-0.5.903 segfaults upon start, "bind: No such file or direc...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-09 19:43 UTC by Christian Asseburg
Modified: 2010-04-06 17:16 UTC (History)
2 users (show)

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


Attachments
emerge --info (emerge-info,3.95 KB, text/plain)
2010-01-31 18:11 UTC, Ooblick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Asseburg 2009-09-09 19:43:17 UTC
I installed media-video/gxine-0.5.903  USE="hal nls nsplugin -lirc -xcb -xinerama".

It segfaults at start with the message below. I did the debug steps as suggested, the output is further below.

ca@home ~ $ gxine
bind: No such file or directory
gxine has suffered a fatal internal error.
To get a backtrace, run gxine in a debugger such as gdb.
Then, when the error occurs:
  (gdb) thread apply all bt
gxine: error: Fatal error: Segmentation fault
Segmentation fault

ca@home ~ $ gdb
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu".
(gdb) file /usr/bin/gxine
Reading symbols from /usr/bin/gxine...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/gxine 
(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)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
(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)
(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)
(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)
(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)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[New Thread 0xb74a16c0 (LWP 16106)]
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[New Thread 0xb70a2b90 (LWP 16109)]
[New Thread 0xb7081b90 (LWP 16110)]
[New Thread 0xb705eb90 (LWP 16111)]
(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)
(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)
(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)
(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)
(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)
(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)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
[New Thread 0xb5f92b90 (LWP 16112)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
bind: No such file or directory
(no debugging symbols found)

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb74a16c0 (LWP 16106)]
0xb7af74f0 in pthread_mutex_lock () from /lib/libpthread.so.0
(gdb) 
(gdb) thread apply all bt

Thread 5 (Thread 0xb5f92b90 (LWP 16112)):
#0  0xb80c1424 in __kernel_vsyscall ()
#1  0xb7af9fa2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb8069cfe in ?? () from /usr/lib/libxine.so.1
#3  0x09f7cd48 in ?? ()
#4  0x09f7cd30 in ?? ()
#5  0xb5f923a8 in ?? ()
#6  0x00000000 in ?? ()

Thread 4 (Thread 0xb705eb90 (LWP 16111)):
#0  0xb80c1424 in __kernel_vsyscall ()
#1  0xb7853cbb in read () from /lib/libc.so.6
#2  0xb77fb4dc in _IO_file_underflow () from /lib/libc.so.6
#3  0xb77fe438 in __underflow () from /lib/libc.so.6
#4  0xb77f0cc8 in getdelim () from /lib/libc.so.6
#5  0x08057832 in ?? ()
#6  0xb705e3b8 in ?? ()
#7  0xb705e3b4 in ?? ()
#8  0x0000000a in ?? ()
#9  0x09edd7d8 in ?? ()
#10 0x00000000 in ?? ()

Thread 3 (Thread 0xb7081b90 (LWP 16110)):
#0  0xb80c1424 in __kernel_vsyscall ()
#1  0xb7853cbb in read () from /lib/libc.so.6
#2  0xb77fb4dc in _IO_file_underflow () from /lib/libc.so.6
#3  0xb77fe438 in __underflow () from /lib/libc.so.6
#4  0xb77f0cc8 in getdelim () from /lib/libc.so.6
#5  0x08057832 in ?? ()
#6  0xb70813b8 in ?? ()
#7  0xb70813b4 in ?? ()
#8  0x0000000a in ?? ()
#9  0x09edd560 in ?? ()
#10 0x00000000 in ?? ()

Thread 2 (Thread 0xb70a2b90 (LWP 16109)):
#0  0xb80c1424 in __kernel_vsyscall ()
#1  0xb7af9c75 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb78e9c41 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x09edd498 in ?? ()
#4  0x09ed2e70 in ?? ()
#5  0x00000005 in ?? ()
#6  0x0a0b8ac1 in ?? ()
#7  0x0a0b8ee0 in ?? ()
---Type <return> to continue, or q <return> to quit---
#8  0x0a0b8ae2 in ?? ()
#9  0xb70a23a8 in ?? ()
#10 0xb79a4ff4 in ?? () from /usr/lib/libglib-2.0.so.0
#11 0x00000001 in ?? ()
#12 0x09ed2ec0 in ?? ()
#13 0xb70a23a8 in ?? ()
#14 0xb78e9f8e in g_async_queue_pop () from /usr/lib/libglib-2.0.so.0
Backtrace stopped: frame did not save the PC

Thread 1 (Thread 0xb74a16c0 (LWP 16106)):
#0  0xb7af74f0 in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0xb7b962df in ?? () from /usr/lib/libX11.so.6
#2  0x53656d65 in ?? ()
#3  0xb7c55ff4 in ?? () from /usr/lib/libX11.so.6
#4  0xbf9ac8a8 in ?? ()
#5  0xb7badde2 in XrmQGetResource () from /usr/lib/libX11.so.6
Backtrace stopped: frame did not save the PC
(gdb) 


Reproducible: Always

Steps to Reproduce:
1. gxine
2.
3.
Comment 1 Sebastian Luther (few) 2009-09-15 10:20:40 UTC
Please follow the instructions found at [1] to get debug symbols.

[1] http://www.gentoo.org/proj/en/qa/backtraces.xml
Comment 2 Christian Asseburg 2009-09-15 16:17:11 UTC
Is this more useful? I re-emerged gxine with:

FEATURES="ccache splitdebug" CFLAGS="-O2 -march=pentium4 -pipe -g" CXXFLAGS="${CFLAGS}" emerge -1 gxine

ca@home ~ $ gdb
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu".
(gdb) file /usr/bin/gxine
Reading symbols from /usr/bin/gxine...Reading symbols from /usr/lib/debug/usr/bin/gxine.debug...done.
done.
(gdb) run
Starting program: /usr/bin/gxine 
[Thread debugging using libthread_db enabled]
[New Thread 0xb72cb6c0 (LWP 21467)]
[New Thread 0xb6eccb90 (LWP 21470)]
[New Thread 0xb6eabb90 (LWP 21471)]
[New Thread 0xb6e88b90 (LWP 21472)]
[New Thread 0xb5dbcb90 (LWP 21473)]
bind: No such file or directory

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb72cb6c0 (LWP 21467)]
0xb79214f0 in pthread_mutex_lock () from /lib/libpthread.so.0
(gdb) thread apply all bt

Thread 5 (Thread 0xb5e36b90 (LWP 21489)):
#0  0xb7f65424 in __kernel_vsyscall ()
#1  0xb799dfa2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb7f0dcfe in ?? () from /usr/lib/libxine.so.1
#3  0x082c5d48 in ?? ()
#4  0x082c5d30 in ?? ()
#5  0xb5e363a8 in ?? ()
#6  0x00000000 in ?? ()

Thread 4 (Thread 0xb6f04b90 (LWP 21488)):
#0  0xb7f65424 in __kernel_vsyscall ()
#1  0xb76f7cbb in read () from /lib/libc.so.6
#2  0xb769f4dc in _IO_file_underflow () from /lib/libc.so.6
#3  0xb76a2438 in __underflow () from /lib/libc.so.6
#4  0xb7694cc8 in getdelim () from /lib/libc.so.6
#5  0x08057832 in console_capture (data=<value optimized out>) at /usr/include/bits/stdio.h:118
#6  0xb799a15f in start_thread () from /lib/libpthread.so.0
#7  0xb7706c0e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xb6f25b90 (LWP 21487)):
#0  0xb7f65424 in __kernel_vsyscall ()
#1  0xb76f7cbb in read () from /lib/libc.so.6
#2  0xb769f4dc in _IO_file_underflow () from /lib/libc.so.6
#3  0xb76a2438 in __underflow () from /lib/libc.so.6
#4  0xb7694cc8 in getdelim () from /lib/libc.so.6
#5  0x08057832 in console_capture (data=<value optimized out>) at /usr/include/bits/stdio.h:118
#6  0xb799a15f in start_thread () from /lib/libpthread.so.0
#7  0xb7706c0e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xb6f46b90 (LWP 21486)):
#0  0xb7f65424 in __kernel_vsyscall ()
#1  0xb799dc75 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb778dc41 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x08226498 in ?? ()
#4  0x0821be70 in ?? ()
#5  0x00000005 in ?? ()
#6  0x08401ac1 in ?? ()
#7  0x08401ee0 in ?? ()
#8  0x08401ae2 in ?? ()
#9  0xb6f463a8 in ?? ()
#10 0xb7848ff4 in ?? () from /usr/lib/libglib-2.0.so.0
#11 0x00000001 in ?? ()
#12 0x0821bec0 in ?? ()
#13 0xb6f463a8 in ?? ()
---Type <return> to continue, or q <return> to quit---
#14 0xb778df8e in g_async_queue_pop () from /usr/lib/libglib-2.0.so.0
Backtrace stopped: frame did not save the PC

Thread 1 (Thread 0xb73456c0 (LWP 21483)):
#0  0xb799b4f0 in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0xb7a3a2df in ?? () from /usr/lib/libX11.so.6
#2  0x626c6c6f in ?? ()
#3  0xb7af9ff4 in ?? () from /usr/lib/libX11.so.6
#4  0xbfd63d98 in ?? ()
#5  0xb7a51de2 in XrmQGetResource () from /usr/lib/libX11.so.6
Backtrace stopped: frame did not save the PC
(gdb) Q
The program is running.  Exit anyway? (y or n) y
Comment 3 Ooblick 2010-01-31 18:11:19 UTC
Created attachment 218004 [details]
emerge --info
Comment 4 Ooblick 2010-01-31 18:11:48 UTC
Likewise happens here:

$ gxine
bind: No such file or directory
gxine has suffered a fatal internal error.
To get a backtrace, run gxine in a debugger such as gdb.
Then, when the error occurs:
  (gdb) thread apply all bt
gxine: error: Fatal error: Segmentation fault
Comment 5 Ooblick 2010-01-31 18:23:22 UTC
Although works fine when USE="xcb"
Comment 6 Marcus Becker 2010-02-01 15:54:12 UTC
I have the same problem only with "recent" movie dvds, most videos work fine, even 3gp etc.

1. open gxine
2. select DVD from the file menu
3. error

disi@disi-desktop ~ $ gxine
bind: No such file or directory
warning: configuration item media.audio_cd.cddb_cachedir points to a non-existent location /home/disi/.xine/cddbcache
warning: configuration item media.capture.save_dir points to a non-existent location 
warning: configuration item media.dvb.channels_conf points to a non-existent location /home/disi/.xine/channels.conf
warning: configuration item media.video4linux.radio_device points to a non-existent location /dev/radio0
warning: configuration item media.video4linux.video_device points to a non-existent location /dev/video0
warning: configuration item media.wintv_pvr.device points to a non-existent location /dev/video0
warning: configuration item subtitles.separate.font_freetype points to a non-existent location 
libgnomevfs-2.so.0: cannot open shared object file: No such file or directory.
libdvdnav: Using dvdnav version 1.1.17 from http://xine.sf.net
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdnav: DVD Title: DAMAGE
libdvdnav: DVD Serial Number: 3b247809
libdvdnav: DVD Title (Alternative): 
libdvdnav: Unable to find map file '/home/disi/.dvdnav/DAMAGE.map'
gxine has suffered a fatal internal error.
To get a backtrace, run gxine in a debugger such as gdb.
Then, when the error occurs:
  (gdb) thread apply all bt
gxine: error: Fatal error: Segmentation fault
libdvdnav: DVD disk reports itself with Region mask 0x00fd0000. Regions: 2

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000134
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00012b30
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x0001ae64
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x002e4905
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x002f7eb1
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x0030847d
libdvdread: Elapsed time 0
libdvdread: Found 4 VTS's
libdvdread: Elapsed time 0
No accelerated IMDCT transform found

The video plays in the background, but I have the segfault window open, if I click close gxine closes altogether. While the segfault windows is open, I cannot access any menus or change the tracks etc.
xcb USE flag doesn't fix it for me :(

Here is my emerge --info: http://nopaste.info/026a67b226.html

I tried to tweak a lot of settings in the media section of gxine. Current settings:
device: /dev/dvdrw
language: en
region: 2 (tried different ones, with the same result)
raw_device: /dev/sr0
readahead: 1

Please let me know if this is related
I have the same version of gxine on my laptop (both xcb enabled) and it works flawless, only difference:
Gentoo:
using xine-lib 1.1.17, compiled using 1.1.17
Funtoo (laptop):
using xine-lib 1.1.17, compiled using 1.1.16.3
Comment 7 Marcus Becker 2010-02-01 16:09:28 UTC
if I compare the two machine, the output is exactly the same except of the gtk error, this seems to crash gxine when playing dvds
Comment 8 Marcus Becker 2010-02-06 17:22:49 UTC
I get the segmentation fault randomly, when closing gxine.
Here is the gtk error I get on "newer" DVDs (the movie is old but it's the remastered version):
libdvdnav: Using dvdnav version 1.1.17 from http://xine.sf.net
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdnav: DVD Title: PREDATOR_SE_DISC1
libdvdnav: DVD Serial Number: 2C846F1A
libdvdnav: DVD Title (Alternative): PREDATOR_SE_DISC1
libdvdnav: Unable to find map file '/home/disi/.dvdnav/PREDATOR_SE_DISC1.map'
**
Gtk:ERROR:gtktextview.c:3536:gtk_text_view_validate_onscreen: assertion failed: (text_view->onscreen_validated)
Aborted

This seems to be the excactly same problem (which is like 1 year old):
http://bugs.xine-project.org/show_bug.cgi?id=167

On DvD it crashes immediately for me with the error above.
Comment 9 Christian Asseburg 2010-02-06 17:26:24 UTC
(In reply to comment #5)
> Although works fine when USE="xcb"
> 
Confirmed that this is a workaround for the bug I reported in comment #1.
Comment 10 Marcus Becker 2010-03-07 20:04:21 UTC
japp, forget about my problem. This seems to be radeon related
no DVD on radeon open source driver with gtk... (crash with osd)
no games on radeon open source driver (no proper 3D support)
no xcomposite on radeon open source driver (with gritches, problems)
sorry frustrated :(
Comment 11 Samuli Suominen (RETIRED) gentoo-dev 2010-04-06 10:36:16 UTC
http://bugs.xine-project.org/show_bug.cgi?id=167#c2

^ Pretty old bug... Try with xine-lib-1.1.18.1 and gxine-0.5.905... anything
older than that is no intrest to us anymore.
Comment 12 Ooblick 2010-04-06 17:16:42 UTC
Just tried it on ~amd64 (xine-lib-1.1.18.1 and gxine-0.5.905) with USE="-xcb" and it still crashes. However I see xcb is now on by default in the new gnome profile meaning its less likely to appear.