Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gst-register-0.8 seg.fault libgstvideotestsrc.so [Solved]
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
gonzzor
Tux's lil' helper
Tux's lil' helper


Joined: 03 Nov 2004
Posts: 133

PostPosted: Tue Oct 25, 2005 11:09 am    Post subject: gst-register-0.8 seg.fault libgstvideotestsrc.so [Solved] Reply with quote

Hi..
I'm getting som segmentation faults with gstreamer 0.8.11

I ran
Code:

gst-register-0.8
Försöker läsa in global_registry...
Fel vid inläsning av global_registry
Lade till sökväg   /usr/lib/gstreamer-0.8 till user_registry
Bygger om user_registry (/home/jonas/.gstreamer-0.8/registry.xml)...
Added plugin gstvideo with 0 features.
Added plugin audiorate with 1 feature.
Added plugin colorspace with 1 feature.
Added plugin y4menc with 1 feature.
Added plugin gstresample with 0 features.
Added plugin smpte with 1 feature.
Added plugin alpha with 1 feature.
Added plugin gstindexers with 2 features.
Added plugin mpegaudioparse with 1 feature.
Added plugin gnomevfs with 2 features.
Added plugin gstoptomegascheduler with 1 feature.
Added plugin gstbasicgthreadscheduler with 1 feature.
Added plugin mpegaudio with 1 feature.
Added plugin videocrop with 1 feature.
Added plugin volume with 1 feature.
Added plugin videoscale with 1 feature.
Added plugin playondemand with 1 feature.
Added plugin videorate with 1 feature.
Added plugin multipart with 2 features.
Added plugin alphacolor with 1 feature.
Added plugin videobox with 1 feature.
Added plugin interleave with 2 features.
Added plugin gstdataprotocol with 0 features.
Added plugin rfbsrc with 1 feature.
Added plugin spectrum with 1 feature.
Added plugin gstoptgthreadscheduler with 1 feature.
Added plugin gsttags with 1 feature.
Added plugin ac3parse with 1 feature.
Added plugin volenv with 1 feature.
Added plugin dvdlpcmdec with 1 feature.
Added plugin efence with 1 feature.
Added plugin gstaudiofilter with 0 features.
Added plugin switch with 1 feature.
Added plugin level with 1 feature.
Added plugin gstoptscheduler with 1 feature.
Added plugin debug with 5 features.
Added plugin audioscale with 1 feature.
Added plugin autodetect with 2 features.

ERROR: Caught a segmentation fault while loading plugin file:
/usr/lib/gstreamer-0.8/libgstvideotestsrc.so

Please either:
- remove it and restart.
- run with --gst-disable-segtrap and debug.


I did what it said and removed that file
Code:
 sudo rm /usr/lib/gstreamer-0.8/libgstvideotestsrc.*


Here we go again
Code:

 gst-register-0.8
Försöker läsa in global_registry...
Fel vid inläsning av global_registry
Lade till sökväg   /usr/lib/gstreamer-0.8 till user_registry
Bygger om user_registry (/home/jonas/.gstreamer-0.8/registry.xml)...
Added plugin gstvideo with 0 features.
Added plugin audiorate with 1 feature.
Added plugin colorspace with 1 feature.
Added plugin y4menc with 1 feature.
Added plugin gstresample with 0 features.
Added plugin smpte with 1 feature.
Added plugin alpha with 1 feature.
Added plugin gstindexers with 2 features.
Added plugin mpegaudioparse with 1 feature.
Added plugin gnomevfs with 2 features.
Added plugin gstoptomegascheduler with 1 feature.
Added plugin gstbasicgthreadscheduler with 1 feature.
Added plugin mpegaudio with 1 feature.
Added plugin videocrop with 1 feature.
Added plugin volume with 1 feature.
Added plugin videoscale with 1 feature.
Added plugin playondemand with 1 feature.
Added plugin videorate with 1 feature.
Added plugin multipart with 2 features.
Added plugin alphacolor with 1 feature.
Added plugin videobox with 1 feature.
Added plugin interleave with 2 features.
Added plugin gstdataprotocol with 0 features.
Added plugin rfbsrc with 1 feature.
Added plugin spectrum with 1 feature.
Added plugin gstoptgthreadscheduler with 1 feature.
Added plugin gsttags with 1 feature.
Added plugin ac3parse with 1 feature.
Added plugin volenv with 1 feature.
Added plugin dvdlpcmdec with 1 feature.
Added plugin efence with 1 feature.
Added plugin gstaudiofilter with 0 features.
Added plugin switch with 1 feature.
Added plugin level with 1 feature.
Added plugin gstoptscheduler with 1 feature.
Added plugin debug with 5 features.
Added plugin audioscale with 1 feature.
Added plugin autodetect with 2 features.
Added plugin gstequalizer with 1 feature.
Added plugin typefindfunctions with 70 features.
Added plugin tta with 2 features.
Added plugin monoscope with 1 feature.
Added plugin udp with 2 features.
Added plugin mpeg2sub with 1 feature.
Added plugin vbidec with 1 feature.
Added plugin tcp with 7 features.
Added plugin gstentryomegascheduler with 1 feature.
Added plugin ximagesink with 2 features.
Added plugin passthrough with 1 feature.
Added plugin gconfelements with 2 features.
Added plugin auparse with 1 feature.
Added plugin rtp with 4 features.
Added plugin gstfairgthreadscheduler with 1 feature.
Added plugin gstbasicomegascheduler with 1 feature.
Added plugin chart with 1 feature.
Added plugin mulaw with 2 features.
Added plugin sine with 1 feature.
Added plugin decodebin with 1 feature.
Added plugin freeze with 1 feature.
Added plugin gstentrygthreadscheduler with 1 feature.
Added plugin subparse with 2 features.
Added plugin median with 1 feature.
Added plugin videomixer with 1 feature.
Added plugin smooth with 1 feature.
Added plugin mad with 5 features.
Added plugin wavenc with 1 feature.
Added plugin rtjpeg with 2 features.
Added plugin imagemixer with 1 feature.
Added plugin gstmultifilesink with 1 feature.
Added plugin playbin with 1 feature.
Added plugin speed with 1 feature.
Added plugin dvdsubdec with 1 feature.
Added plugin mpeg1videoparse with 1 feature.
Added plugin gstelements with 15 features.
Added plugin gstspider with 2 features.
Added plugin deinterlace with 1 feature.
Added plugin overlay with 1 feature.
Added plugin stereo with 1 feature.
Added plugin festival with 1 feature.
Added plugin gstvideofilter with 0 features.
Added plugin gstgetbits with 0 features.
Added plugin gstidct with 0 features.
Added plugin effectv with 8 features.
Added plugin gstaudio with 0 features.
Added plugin cdparanoia with 1 feature.
Added plugin gstbytestream with 0 features.
Added plugin alsa with 3 features.
Added plugin silence with 1 feature.
Added plugin filter with 3 features.
Added plugin alaw with 2 features.
Added plugin ffmpegcolorspace with 1 feature.
Added plugin videodrop with 1 feature.
Added plugin xwindowlistener with 0 features.
Added plugin goom with 1 feature.
Added plugin gstaudioconvert with 2 features.
Added plugin gamma with 1 feature.
Added plugin system_encode with 1 feature.
Added plugin synaesthesia with 1 feature.
Added plugin cutter with 1 feature.
Added plugin flac with 3 features.
Added plugin modplug with 1 feature.
Added plugin adder with 1 feature.

ERROR: Caught a segmentation fault while loading plugin file:
/usr/lib/gstreamer-0.8/libgstvideobalance.so

Please either:
- remove it and restart.
- run with --gst-disable-segtrap and debug.


So here we go again, remove that file
Code:
sudo rm /usr/lib/gstreamer-0.8/libgstvideobalance.*


And now it works...

What does these files, and what can I do?
_________________
After 5 hours trying to install PHP 4 on FreeBSD I missed my Gentoo machine...


Last edited by gonzzor on Sat Oct 29, 2005 9:21 pm; edited 2 times in total
Back to top
View user's profile Send private message
wdreinhart
Guru
Guru


Joined: 11 Jun 2003
Posts: 569
Location: 4QFJ12345678

PostPosted: Tue Oct 25, 2005 5:01 pm    Post subject: Reply with quote

I ran into this problem on a friend's machine yesterday. The problem is in liboil, it causes segfaults every time if you compile it with -O3 in your CFLAGS. Change -O3 to -O1 or -O2 in make.conf, re-merge liboil, set your CFLAGS back, and re-merge gst-plugins. That fixed it for me.
Back to top
View user's profile Send private message
gonzzor
Tux's lil' helper
Tux's lil' helper


Joined: 03 Nov 2004
Posts: 133

PostPosted: Tue Oct 25, 2005 10:08 pm    Post subject: Reply with quote

Tried that, but it won't help...
I only have -O2 in make.conf, and I reemerged liboil again, but no difference when I emerge =gst-plugins-0.8.11

Anymore ideas?
_________________
After 5 hours trying to install PHP 4 on FreeBSD I missed my Gentoo machine...
Back to top
View user's profile Send private message
wdreinhart
Guru
Guru


Joined: 11 Jun 2003
Posts: 569
Location: 4QFJ12345678

PostPosted: Thu Oct 27, 2005 6:14 am    Post subject: Reply with quote

Ok, I can reproduce the problem on my machine now. I still think it's something with liboil, since liboil support is the only difference between the working gstreamer 0.8.11 I have in /usr/lib and the broken version in /tmp.

As a temporary workaround, you could unmerge liboil, emerge --nodeps gst-plugins, and probably get a working gstreamer install.

You should probably file a report about it, at bugs.gentoo.org too.
Back to top
View user's profile Send private message
gonzzor
Tux's lil' helper
Tux's lil' helper


Joined: 03 Nov 2004
Posts: 133

PostPosted: Sat Oct 29, 2005 9:20 pm    Post subject: Reply with quote

Yes, It works if I discard the liboil package and emerge gst-plugins with --nodeps..

Thanks... Gonna file a bug report later, when I have more time...
_________________
After 5 hours trying to install PHP 4 on FreeBSD I missed my Gentoo machine...
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