'undefined symbol: _Py_RefTotal' related to Gstreamer

Bug #528692 reported by jdackle
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Epiphany Browser
Fix Released
Undecided
Unassigned
GStreamer
Invalid
Undecided
Unassigned
OpenOffice Unofficial Ubuntu Packages
New
Undecided
Unassigned
gnash
Incomplete
Undecided
Unassigned

Bug Description

This happened on my Karmic on the use of two different binaries so far:
* gtk-gnash (also gnash)
* epiphany

In the later case, this is what came out of Epiphany on the console:

 (epiphany-browser:7534): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstpython_d.so': /usr/lib/gstreamer-0.10/libgstpython_d.so: undefined symbol: _Py_RefTotal

The message on gnash was very similar (same reference to undefined symbol in same library) and actually made it silently freeze.

I don't actually know where that lib belongs so I can't point to the concerning package.

I found two other bugs referencing this message but it seems each application has taken a particular (instead of generalised) fix for this.
Then again, someone did mention in one of those that the problem is related to apps using the old python classes... So... maybe it is each app's job to do it...?
If so, please let me know so I can report this to the apropriate applications.

Here are the two other bugs:
* Bug #377226 - https://bugs.launchpad.net/debian/+source/listen/+bug/377226
* Bug #114053 - https://launchpad.net/bugs/114053

Thank you.

jdackle (jdalinux)
affects: launchpad-foundations → gnash
jdackle (jdalinux)
affects: gnash → elisa-plugin-coolcodecs
affects: elisa-plugin-coolcodecs → gstreamer
Revision history for this message
jdackle (jdalinux) wrote :

Sorrry for the last comments by myuself. Had some trouble with the UI of Launchpad to define what this affects...

Revision history for this message
Sindhudweep Sarkar (sindhudweep-sarkar) wrote :

Hi jdackle,
Could you give a little more information on the bug? I see you're getting the warning

" (epiphany-browser:7534): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstpython_d.so': /usr/lib/gstreamer-0.10/libgstpython_d.so: undefined symbol: _Py_RefTotal"

But i'm unsure what bad behavior you are experiencing.

Does gtk-gnash and epiphany crash? Does the playback of some media stop?

If you are viewing a flash file is it more common with a certain swf?

Thanks!

Changed in gnash:
status: New → Incomplete
Changed in gstreamer:
status: New → Incomplete
Changed in epiphany-browser:
status: New → Incomplete
Revision history for this message
jdackle (jdalinux) wrote :

Epiphany only displays the warning. I noticed nothing else in Epiphany.

Gnash however simply does nothing. The PID is open and visible through "ps ux" but other than that, I get no other evidence it even actually started.
I have tried loading only one .swf file with Gnash from the shell.
However, I did try to run Gnash without any console parameters and the result was exactly the same: nothing but that message about 'undefined symbol: _Py_RefTotal' when trying to load a gstreamer plugin.

Gstreamer (through e.e. Totem) does work fine with non .swf files.

Hope that helped.

Revision history for this message
jdackle (jdalinux) wrote :

This seems to have been fixed on Epiphany but the bug still occurs on Gnash.

Hence this is probably, as suggested before, something each application should fix itself: i.e. they should drop the use of the old python classes.

For reference, here's a quote form my opening report:
"I found two other bugs referencing this message but it seems each application has taken a particular (instead of generalised) fix for this.
Then again, someone did mention in one of those that the problem is related to apps using the old python classes... So... maybe it is each app's job to do it...?
If so, please let me know so I can report this to the apropriate applications.

Here are the two other bugs:
* Bug #377226 - https://bugs.launchpad.net/debian/+source/listen/+bug/377226
* Bug #114053 - https://launchpad.net/bugs/114053"

Changed in epiphany-browser:
status: Incomplete → Fix Released
Revision history for this message
jdackle (jdalinux) wrote :

Though both Epiphany and Gnash reported the error as relating to Gstreamer, the bug was fixed on Epiphany but persists in Gnash.
See my last comment for details.

Changed in gstreamer:
status: Incomplete → Invalid
Revision history for this message
rsavoye (rob-welcomehome) wrote :

gtk-gnash doesn't use python, so it's hard to believe that is the problem.

Alexander (zav1987)
Changed in epiphany-browser:
status: Fix Released → Fix Committed
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.