Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gxine segfaults on start
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Penguin of Wonder
Apprentice
Apprentice


Joined: 17 Jan 2006
Posts: 280
Location: West Virginia

PostPosted: Sun Aug 26, 2007 9:22 pm    Post subject: Gxine segfaults on start Reply with quote

Quote:
me@mine-1 ~ $ gxine
gtkvideo: couldn't open video driver
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


I figured out how to work gdb, here's what I got
Quote:

(gdb) run
Starting program: /usr/bin/gxine
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 47235136505856 (LWP 22024)]
[New Thread 1082132800 (LWP 22027)]
[New Thread 1090525504 (LWP 22028)]
[New Thread 1098918208 (LWP 22029)]
[New Thread 1107310912 (LWP 22030)]
[New Thread 1115703616 (LWP 22031)]
[New Thread 1124096320 (LWP 22032)]
gtkvideo: couldn't open video driver
[New Thread 1132489024 (LWP 22033)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47235136505856 (LWP 22024)]
0x00002af5c6c87fb0 in xine_port_send_gui_data () from /usr/lib/libxine.so.1



Any ideas whats wrong?? I thought perhaps there was a package I needed to rebuild, but I don't know what.
_________________
My Linux Blog

AMD64 3700+
2G DDR 3200 Ram
320G HDD
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Mon Aug 27, 2007 4:02 am    Post subject: Reply with quote

I'd try rebuilding xine-lib and gtk+, in that order. Was xine-lib built with the gnome USE flag? Also, what versions of gtk+ and xine-lib are you currently using?
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
Penguin of Wonder
Apprentice
Apprentice


Joined: 17 Jan 2006
Posts: 280
Location: West Virginia

PostPosted: Mon Aug 27, 2007 10:58 pm    Post subject: Reply with quote

didymos wrote:
Was xine-lib built with the gnome USE flag?

Yes.
didymos wrote:
Also, what versions of gtk+ and xine-lib are you currently using?

xine-lib = 1.1.4-r2
gtk+ = 2.10.14

I will rebuild and then follow up.
_________________
My Linux Blog

AMD64 3700+
2G DDR 3200 Ram
320G HDD
Back to top
View user's profile Send private message
Penguin of Wonder
Apprentice
Apprentice


Joined: 17 Jan 2006
Posts: 280
Location: West Virginia

PostPosted: Mon Aug 27, 2007 11:17 pm    Post subject: Reply with quote

Quote:
$ gxine
gtkvideo: couldn't open video driver
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

Alright, after rebuilding xine-lib and gtk+ (this time with the X use flag) I'm getting the same thing. =(
_________________
My Linux Blog

AMD64 3700+
2G DDR 3200 Ram
320G HDD
Back to top
View user's profile Send private message
Penguin of Wonder
Apprentice
Apprentice


Joined: 17 Jan 2006
Posts: 280
Location: West Virginia

PostPosted: Mon Aug 27, 2007 11:28 pm    Post subject: Reply with quote

Quote:
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run
Starting program: /usr/bin/gxine
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 47301933058048 (LWP 18557)]
[New Thread 1082132800 (LWP 18560)]
[New Thread 1090525504 (LWP 18561)]
[New Thread 1098918208 (LWP 18562)]
[New Thread 1107310912 (LWP 18563)]
[New Thread 1115703616 (LWP 18564)]
[New Thread 1124096320 (LWP 18565)]
gtkvideo: couldn't open video driver
[New Thread 1132489024 (LWP 18566)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47301933058048 (LWP 18557)]
0x00002b05542affb0 in xine_port_send_gui_data () from /usr/lib/libxine.so.1
(gdb) thread apply all bt

Thread 8 (Thread 1132489024 (LWP 18566)):
#0 0x00002b05555e6401 in clone () from /lib/libc.so.6
#1 0x00002b05543df070 in ?? () from /lib/libpthread.so.0
#2 0x0000000043806940 in ?? ()
#3 0x0000000000000000 in ?? ()

Thread 7 (Thread 1124096320 (LWP 18565)):
#0 0x00002b05543e3726 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/libpthread.so.0
#1 0x00002b055429d172 in ?? () from /usr/lib/libxine.so.1
#2 0x00002b05542a3394 in ?? () from /usr/lib/libxine.so.1
#3 0x00002b05543df135 in start_thread () from /lib/libpthread.so.0
#4 0x00002b05555e643d in clone () from /lib/libc.so.6
#5 0x0000000000000000 in ?? ()

Thread 6 (Thread 1115703616 (LWP 18564)):
#0 0x00002b05543e3726 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/libpthread.so.0
#1 0x00002b055429d172 in ?? () from /usr/lib/libxine.so.1
#2 0x00002b05542a24f9 in ?? () from /usr/lib/libxine.so.1
#3 0x00002b05543df135 in start_thread () from /lib/libpthread.so.0
#4 0x00002b05555e643d in clone () from /lib/libc.so.6
---Type <return> to continue, or q <return> to quit---
#5 0x0000000000000000 in ?? ()

Thread 5 (Thread 1107310912 (LWP 18563)):
#0 0x00002b05543e6621 in ?? () from /lib/libpthread.so.0
#1 0x00002b05542bcced in xine_usec_sleep () from /usr/lib/libxine.so.1
#2 0x00002b05542a5d20 in ?? () from /usr/lib/libxine.so.1
#3 0x00002b05543df135 in start_thread () from /lib/libpthread.so.0
#4 0x00002b05555e643d in clone () from /lib/libc.so.6
#5 0x0000000000000000 in ?? ()

Thread 4 (Thread 1098918208 (LWP 18562)):
#0 0x00002b05543e3726 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/libpthread.so.0
#1 0x00002b05542a728d in ?? () from /usr/lib/libxine.so.1
#2 0x00002b05542a735a in ?? () from /usr/lib/libxine.so.1
#3 0x00002b05542a7f8b in ?? () from /usr/lib/libxine.so.1
#4 0x00002b05543df135 in start_thread () from /lib/libpthread.so.0
#5 0x00002b05555e643d in clone () from /lib/libc.so.6
#6 0x0000000000000000 in ?? ()

Thread 3 (Thread 1090525504 (LWP 18561)):
#0 0x00002b05555de626 in poll () from /lib/libc.so.6
#1 0x00002aaaaac958cc in ?? ()
---Type <return> to continue, or q <return> to quit---
from /usr/lib64/xine/plugins/1.1.4/xineplug_ao_out_alsa.so
#2 0x00002b05543df135 in start_thread () from /lib/libpthread.so.0
#3 0x00002b05555e643d in clone () from /lib/libc.so.6
#4 0x0000000000000000 in ?? ()

Thread 2 (Thread 1082132800 (LWP 18560)):
#0 0x00002b05543e3917 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
from /lib/libpthread.so.0
#1 0x00002b055429a365 in ?? () from /usr/lib/libxine.so.1
#2 0x00002b05543df135 in start_thread () from /lib/libpthread.so.0
#3 0x00002b05555e643d in clone () from /lib/libc.so.6
#4 0x0000000000000000 in ?? ()

Thread 1 (Thread 47301933058048 (LWP 18557)):
#0 0x00002b05542affb0 in xine_port_send_gui_data () from /usr/lib/libxine.so.1
#1 0x0000000000416af0 in ?? ()
#2 0x00002b05549b415c in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#3 0x00002b05549b591d in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#4 0x00002b05549b6f78 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#5 0x00002b05549b734e in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#6 0x00002b055522c633 in g_main_context_dispatch ()
from /usr/lib/libglib-2.0.so.0
#7 0x00002b055522f47d in ?? () from /usr/lib/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#8 0x00002b055522f99e in g_main_context_iteration ()
from /usr/lib/libglib-2.0.so.0
#9 0x00002b055461f061 in gtk_main_iteration ()
from /usr/lib/libgtk-x11-2.0.so.0
#10 0x000000000043625b in ?? ()
#11 0x000000000041dff7 in ?? ()
#12 0x000000000041e198 in ?? ()
#13 0x000000000041eb24 in ?? ()
#14 0x000000000041d29f in ?? ()
#15 0x00002b0555545374 in __libc_start_main () from /lib/libc.so.6
#16 0x0000000000411899 in ?? ()
#17 0x00007fff5693cc38 in ?? ()
#18 0x0000000000000000 in ?? ()
(gdb) quit


A more extensive back trace of my problem.

I think this looks bug worthy, what do you think?
_________________
My Linux Blog

AMD64 3700+
2G DDR 3200 Ram
320G HDD
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Mon Aug 27, 2007 11:54 pm    Post subject: Reply with quote

OK, from a couple posts back:
Penguin of Wonder wrote:

xine-lib = 1.1.4-r2
gtk+ = 2.10.14


I swear I saw something about the combination of those versions and segfault issues, but I can't track it down again for the life of me. Anyway, back to the present:
Quote:

I think this looks bug worthy, what do you think?


Yeah, unless you have some bizarre CFLAGS, I can't see why you shouldn't report this.
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Tue Aug 28, 2007 12:06 am    Post subject: Reply with quote

OK, found it. It was the gxine Changelog:

Quote:

0.5.11: 2007/02/01
[dsalt]
<snip>
* Fixed some prefs segfaults and file/device/directory configuration
loss. This only appears with GTK+2.10 and xine-lib 1.1.4, and of
course I didn't have GTK+2.10 when I released 0.5.10...


Of course, it's nothing to do with gtkvideo. Oh well.
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
Penguin of Wonder
Apprentice
Apprentice


Joined: 17 Jan 2006
Posts: 280
Location: West Virginia

PostPosted: Tue Aug 28, 2007 12:32 am    Post subject: Reply with quote

No, my CFLAGS are about as safe as it gets,
Quote:

export CFLAGS="-march=k8 -O2 -pipe"
export CXXFLAGS="${CFLAGS}"


Off to Bugzilla. Thanks for your help!
_________________
My Linux Blog

AMD64 3700+
2G DDR 3200 Ram
320G HDD
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum