[gst-devel] Meta Data and Tags - segfaults with discoverer.py

Christopher Backhouse cjbackhouse at gmail.com
Tue Oct 24 16:09:33 CEST 2006


backtrace:

#0  0x0807f28d in PyObject_Malloc ()
#1  0x08081195 in PyString_FromString ()
#2  0xb7ce1445 in _pygst_element_check_error () from 
/usr/lib/python2.4/site-packages/gst-0.10/gst/_gst.so
#3  0xb7c5ce64 in gst_tag_list_remove_tag () from 
/usr/lib/libgstreamer-0.10.so.0
#4  0xb7c57612 in gst_structure_foreach () from 
/usr/lib/libgstreamer-0.10.so.0
#5  0xb7c5cebf in gst_tag_list_foreach () from 
/usr/lib/libgstreamer-0.10.so.0
#6  0xb7ce14b3 in _pygst_element_check_error () from 
/usr/lib/python2.4/site-packages/gst-0.10/gst/_gst.so
#7  0x080b606f in PyEval_EvalFrame ()
#8  0x080b781f in PyEval_EvalCodeEx ()
#9  0x080fc13d in PyFunction_SetClosure ()
#10 0x0805946c in PyObject_Call ()
#11 0x0805f005 in PyMethod_New ()
#12 0x0805946c in PyObject_Call ()
#13 0x080b0583 in PyEval_CallObjectWithKeywords ()
#14 0x08059443 in PyObject_CallObject ()
#15 0xb7a1c1c3 in initgobject () from 
/usr/lib/python2.4/site-packages/gtk-2.0/gobject.so
#16 0xb7bda79f in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#17 0xb7be92ea in g_signal_stop_emission () from 
/usr/lib/libgobject-2.0.so.0
#18 0xb7beab19 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#19 0xb7beae89 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#20 0xb7c2b60c in gst_bus_async_signal_func () from 
/usr/lib/libgstreamer-0.10.so.0
#21 0xb7c2a791 in gst_bus_set_sync_handler () from 
/usr/lib/libgstreamer-0.10.so.0
#22 0xb7a468d6 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#23 0xb7a49996 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#24 0xb7a49cb8 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#25 0xb754f765 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#26 0xb780b940 in init_gtk () from 
/usr/lib/python2.4/site-packages/gtk-2.0/gtk/_gtk.so
#27 0x080b606f in PyEval_EvalFrame ()
#28 0x080b781f in PyEval_EvalCodeEx ()
#29 0x080b7a65 in PyEval_EvalCode ()
#30 0x080d95cc in PyRun_FileExFlags ()
#31 0x080d986c in PyRun_SimpleFileExFlags ()
#32 0x08055b33 in Py_Main ()
#33 0xb7de3ea2 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#34 0x08054fa1 in _start ()

So, whilst iterating through the list of tags then? If someone can 
confirm there's nothing stupid in my code (you shouldn't be able to 
segfault from python this way anyway?) then I will submit a bug.

Antoine Pitrou wrote:
> Le mardi 24 octobre 2006 à 13:01 +0100, Christopher Backhouse a écrit :
>> 2. After a few hundred tracks (on average) I get a segfault. This is on 
>> different files every time and seemingly random. I assume that this has 
>> to be a bug in gstreamer. How would one go about debugging a python 
>> program that segfaults?
> 
> "ulimit -c unlimited" (to enable core dumps)
> and then "gdb python <coredump-file>"
> will at least allow you to have a backtrace ;)
> 
> 
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> 




More information about the gstreamer-devel mailing list