# Segmentation fault in gst

**URL:** <https://www.ruby-forum.com/t/segmentation-fault-in-gst/177756>\
**Category:** Ruby-Gnome 2\
**Created:** [October 23, 2009, 6:53am UTC](https://www.ruby-forum.com/t/segmentation-fault-in-gst/177756 "2009-10-23T06:53:39Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![coubi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/c68b51/32.png) [@coubi](https://www.ruby-forum.com/u/coubi)\
**Post date:** [October 23, 2009, 6:53am UTC](https://www.ruby-forum.com/t/segmentation-fault-in-gst/177756/1 "2009-10-23T06:53:39Z")

</div>

Hi everyone.

My application (an audio player) crashes times to times with a  
segmentation fault. I think I have at last found a possible cause. It  
seems that playbin cannot play a mms stream after playing some other  
stream.  
Take a look at attachment for a minimal example of the bug.

I write my application under ubuntu intrepid but I have the same bug  
with an up-to-date ubuntu karmic (Gst::BUILD\_VERSION=[0, 10, 25],  
Gtk::VERSION=[2 ,18, 3], Gtk::BUILD\_VERSION=[2 ,18, 2],  
Gtk::BINDING\_VERSION=[0 ,19, 0]).

I do not know if I should report this bug to ruby-gnome2 team or to  
another team. An other possibility : I do not know how to use playbin.

---

<div class="post-metadata">

**Author:** ![coubi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/c68b51/32.png) [@coubi](https://www.ruby-forum.com/u/coubi)\
**Post date:** [October 23, 2009, 12:11pm UTC](https://www.ruby-forum.com/t/segmentation-fault-in-gst/177756/2 "2009-10-23T12:11:15Z")

</div>

2009/10/23 Vincent C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

> Gtk::VERSION=[2 ,18, 3], Gtk::BUILD\_VERSION=[2 ,18, 2],  
> Gtk::BINDING\_VERSION=[0 ,19, 0]).
> 
> I do not know if I should report this bug to ruby-gnome2 team or to  
> another team. An other possibility : I do not know how to use playbin.

I was able to reproduce the problem with stock ruby from Debian unstable  
(ruby 1.8.7, rg2 0.19.3).

However, with ruby 1.8.6, 1.8.7 and 1.9.1 installed through rvm, and RG2  
0.19.3, I do not have it.

So, it is most likely a debian/ubuntu problem. Can you try on another  
distro  
?

regards

Simon A.

---

<div class="post-metadata">

**Author:** ![coubi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/c68b51/32.png) [@coubi](https://www.ruby-forum.com/u/coubi)\
**Post date:** [October 23, 2009, 3:26pm UTC](https://www.ruby-forum.com/t/segmentation-fault-in-gst/177756/3 "2009-10-23T15:26:44Z")

</div>

Simon A. wrote:

> I was able to reproduce the problem with stock ruby from Debian unstable  
> (ruby 1.8.7, rg2 0.19.3).
> 
> However, with ruby 1.8.6, 1.8.7 and 1.9.1 installed through rvm, and RG2  
> 0.19.3, I do not have it.
> 
> So, it is most likely a debian/ubuntu problem. Can you try on another  
> distro  
> ?
> 
> regards
> 
> Simon A.

Thanks for the conirmation on debian.

Right now I do not use another distro. Can somebody try others distro  
(rpm-based for example) ?

---

<div class="post-metadata">

**Author:** ![coubi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/c68b51/32.png) [@coubi](https://www.ruby-forum.com/u/coubi)\
**Post date:** [October 23, 2009, 5:40pm UTC](https://www.ruby-forum.com/t/segmentation-fault-in-gst/177756/4 "2009-10-23T17:40:51Z")

</div>

I filed a bug:

[http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=552127](http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=552127)

Simon A.

---

<div class="post-metadata">

**Author:** ![coubi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/c68b51/32.png) [@coubi](https://www.ruby-forum.com/u/coubi)\
**Post date:** [October 23, 2009, 6:13pm UTC](https://www.ruby-forum.com/t/segmentation-fault-in-gst/177756/5 "2009-10-23T18:13:04Z")

</div>

Simon A. wrote:

> I filed a bug:
> 
> [I Challenge Thee](http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=552127)
> 
> Simon A.

Thanks. I have just file one to on Ubuntu :

> **[Bug #459160 “Segmentation fault and mms stream” : Bugs : gstreamer0.10 package...](https://bugs.launchpad.net/ubuntu/+source/gstreamer0.10/+bug/459160)**
>
> Hi team
> 
> I used libgst-ruby to pilot gstreamer. It seems that playbin crashes with a segmentation fault when I try to play an mms stream after an other stream (see attachment). I have confirmed this bug on intrepid (gstreamer0.10-plugins-bad version...

I have report on gstreamer and not ruby-gnome2 cause I have also a  
segmentation bug in rhythmbox if I played the same sequence of streams  
and it does not seem that rhythmbox is written in ruby!

---

<div class="post-metadata">

**Author:** ![coubi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/c68b51/32.png) [@coubi](https://www.ruby-forum.com/u/coubi)\
**Post date:** [October 23, 2009, 3:50pm UTC](https://www.ruby-forum.com/t/segmentation-fault-in-gst/177756/6 "2009-10-23T15:50:46Z")

</div>

On Fri, Oct 23, 2009 at 3:26 PM, Vincent C.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > regards
> > 
> > Simon A.
> 
> Thanks for the conirmation on debian.
> 
> Right now I do not use another distro. Can somebody try others distro  
> (rpm-based for example) ?

On Mandriva (ruby-gtk2-0.19.2 and ruby-1.8.7-7p72) I don’t see a  
crash, after repeatedly invoking the test.

–  
Guillaume C. - [NVC Communication Obstacles Game](http://zarb.org/~gc/)
