[DRE-maint] Bug#552127: ruby-gnome2: segfaults opening mms:// with gst, after opening another stream type

Simon Arnaud mazwak at gmail.com
Fri Oct 23 14:56:41 UTC 2009


Package: ruby-gnome2
Version: 0.19.3-1
Severity: important

Hi

The playbin element of Gst::ElementFactory segfaults ruby if it opens an "mms://" URI after opening an "http://" one.

I tested with ruby 1.8.6, 1.8.7 and 1.9.1 with 0.19.3, installed from source, and the segfaults does not happen.
It was also tested on mandriva (1.8.7 and rg2 0.19.2), and it does not segfaults.

Here is  small testcase posted in ruby-gnome2-devel:

#!/usr/bin/env ruby
# encoding: UTF-8

require 'gst'

r1='http://mp3.live.tv-radio.com/lemouv/all/lemouvhautdebit.mp3'
r2='mms://viplagardere.yacast.net/encodereurope2'

class Player
	def initialize
		@playbin=Gst::ElementFactory.make('playbin')
		@playbin.ready
	end
	
	def play(uri)
		@playbin.uri=uri
		@playbin.play
		p uri
	end
	
	def stop
		@playbin.stop
		p 'stop'
	end
end

player=Player.new
player.play(r2)
sleep 10
player.stop
player.play(r1)
sleep 10
player.stop
player.play(r2)
sleep 10
player.stop

regards

Simon Arnaud


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ruby-gnome2 depends on:
ii  libart2-ruby                  0.19.3-1   Libart 2 bindings for the Ruby lan
ii  libatk1-ruby                  0.19.3-1   ATK bindings for the Ruby language
ii  libgconf2-ruby                0.19.3-1   GConf 2 bindings for the Ruby lang
ii  libgdk-pixbuf2-ruby           0.19.3-1   Gdk-Pixbuf 2 bindings for the Ruby
ii  libglade2-ruby                0.19.3-1   Libglade 2 bindings for the Ruby l
ii  libgnome2-ruby                0.19.3-1   GNOME 2 bindings for the Ruby lang
ii  libgnomecanvas2-ruby          0.19.3-1   GNOME Canvas 2 bindings for the Ru
ii  libgnomevfs2-ruby             0.19.3-1   GNOME VFS 2 bindings for the Ruby 
ii  libgtk-mozembed-ruby          0.19.3-1   ruby binding of GtkMozEmbed, gecko
ii  libgtkglext1-ruby             0.19.3-1   GTK+ GL extension bindings for the
ii  libpanel-applet2-ruby         0.19.3-1   GNOME 2 panel applet library bindi
ii  libpango1-ruby                0.19.3-1   Pango bindings for the Ruby langua
ii  librsvg2-ruby                 0.19.3-1   RSVG renderer bindings for the Rub
ii  libvte-ruby                   0.19.3-1   VTE widget bindings for the Ruby l

ruby-gnome2 recommends no packages.

ruby-gnome2 suggests no packages.

-- no debconf information






More information about the Pkg-ruby-extras-maintainers mailing list