After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 633033 - filesrc.py example segfaults
filesrc.py example segfaults
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-python
git master
Other Linux
: Normal normal
: 0.10.20
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-10-24 13:50 UTC by Jan Schmidt
Modified: 2010-10-27 08:48 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix python filesrc.py examples (520 bytes, patch)
2010-10-26 16:55 UTC, Jan Schmidt
none Details | Review

Description Jan Schmidt 2010-10-24 13:50:20 UTC
I noticed the filesrc example crashes for me:

python examples/filesrc.py input.txt test.txt
** Message: pygobject_register_sinkfunc is deprecated (GstObject)
Segmentation fault

(gdb) bt
  • #0 PyObject_Call
  • #1 PyEval_CallObjectWithKeywords
  • #2 PyObject_CallObject
  • #3 bus_func
    at gstbus.override line 129
  • #4 gst_bus_source_dispatch
    at gstbus.c line 760
  • #5 g_main_context_dispatch
    from /lib/libglib-2.0.so.0
  • #6 ??
    from /lib/libglib-2.0.so.0
  • #7 g_main_loop_run
    from /lib/libglib-2.0.so.0
  • #8 ??
    from /usr/lib/pymodules/python2.6/gtk-2.0/glib/_glib.so
  • #9 PyEval_EvalFrameEx
  • #10 PyEval_EvalCodeEx
  • #11 PyEval_EvalFrameEx
  • #12 PyEval_EvalCodeEx
  • #13 PyEval_EvalCode
  • #14 PyRun_FileExFlags
  • #15 PyRun_SimpleFileExFlags
  • #16 Py_Main
  • #17 main

Comment 1 Jan Schmidt 2010-10-26 16:55:07 UTC
Created attachment 173279 [details] [review]
fix python filesrc.py examples
Comment 2 Jan Schmidt 2010-10-27 08:48:05 UTC
Pushed, after approval from bilboed at the pub last night.