[gstreamer-bugs] [Bug 590806] New: crash in gst-scanpackages from codeina

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Aug 5 01:24:48 PDT 2009


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=590806

  GStreamer | gst-python | Ver: 0.10.16
           Summary: crash in gst-scanpackages from codeina
           Product: GStreamer
           Version: 0.10.16
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: Normal
         Component: gst-python
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: waschk at mandriva.org
         QAContact: gstreamer-bugs at lists.sourceforge.net
                CC: fcrozat at mandriva.com
     GNOME version: 2.27/2.28
   GNOME milestone: Unspecified


I have reported this to the Codeina devs first here:
https://core.fluendo.com/gstreamer/trac/ticket/217

The script gst-scanpackages (based on gst-python) scans a directory of rpm
packages containing gstreamer modules. It crashes if gst-python is in that
directory:

[goetz at n5 x]$ ls
gstreamer0.10-python-0.10.15-1mdv2010.0.i586.rpm
[goetz at n5 x]$ ../gst-scanpackages .
1736 blocks
Fatal Python error: PyEval_RestoreThread: NULL tstate
Abgebrochen

This happens as well in gst-python 0.10.16.

This is the gdb output:

(gdb) run ../gst-scanpackages .
Starting program: /usr/bin/python ../gst-scanpackages .
[Thread debugging using libthread_db enabled]
[New Thread 0xb7bf16c0 (LWP 13320)]
Detaching after fork from child process 13323.
Detaching after fork from child process 13324.
Detaching after fork from child process 13325.
Detaching after fork from child process 13326.
Detaching after fork from child process 13327.
Detaching after fork from child process 13328.
Detaching after fork from child process 13329.
Detaching after fork from child process 13330.
1736 blocks
Missing separate debug info for
/home/goetz/tmp/fluendo-bundle-GGBd9b/usr/lib/gstreamer-0.10/libgstpython.so
Fatal Python error: PyEval_RestoreThread: NULL tstate

Program received signal SIGABRT, Aborted.
0xffffe410 in __kernel_vsyscall ()
(gdb) bt
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7c689e1 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2  0xb7c6a374 in abort () at abort.c:88
#3  0xb7e7d4cf in Py_FatalError (msg=0xb7ebcfc8 "PyEval_RestoreThread: NULL
tstate") at Python/pythonrun.c:1657
#4  0xb7e6392e in PyEval_RestoreThread (tstate=0x0) at Python/ceval.c:330
#5  0xb6dc0e00 in _wrap_gst_plugin_load_file (self=0x0, args=0xb7aef0cc,
kwargs=0x0) at gst.c:24898
#6  0xb7e068a5 in PyCFunction_Call (func=0xb6d1bf0c, arg=0xb7aef0cc, kw=0x3408)
at Objects/methodobject.c:85
#7  0xb7e61f56 in PyEval_EvalFrameEx (f=0x833811c, throwflag=0) at
Python/ceval.c:3706
#8  0xb7e62bc5 in PyEval_EvalFrameEx (f=0x81003e4, throwflag=0) at
Python/ceval.c:3792
#9  0xb7e62bc5 in PyEval_EvalFrameEx (f=0x814b66c, throwflag=0) at
Python/ceval.c:3792
#10 0xb7de944f in gen_send_ex (gen=0xb7b24fa4, arg=0x0, exc=0) at
Objects/genobject.c:84
#11 0xb7e5dac9 in PyEval_EvalFrameEx (f=0x80ffdcc, throwflag=0) at
Python/ceval.c:2249
#12 0xb7e62bc5 in PyEval_EvalFrameEx (f=0x80abecc, throwflag=0) at
Python/ceval.c:3792
#13 0xb7e63753 in PyEval_EvalCodeEx (co=0xb7bd8338, globals=0xb7f3f0b4,
locals=0xb7f3f0b4, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0,
defcount=0, 
    closure=0x0) at Python/ceval.c:2968
#14 0xb7e63873 in PyEval_EvalCode (co=0xb7bd8338, globals=0xb7f3f0b4,
locals=0xb7f3f0b4) at Python/ceval.c:522
#15 0xb7e7e00c in run_mod (mod=<value optimized out>, filename=<value optimized
out>, globals=0xb7f3f0b4, locals=0xb7f3f0b4, flags=0xbfc9b66c, 
    arena=0x804be30) at Python/pythonrun.c:1335
#16 0xb7e7e0dd in PyRun_FileExFlags (fp=0x805ecd8, filename=0xbfc9bcb5
"../gst-scanpackages", start=257, globals=0xb7f3f0b4, locals=0xb7f3f0b4,
closeit=1, 
    flags=0xbfc9b66c) at Python/pythonrun.c:1321
#17 0xb7e7f748 in PyRun_SimpleFileExFlags (fp=0x805ecd8, filename=0xbfc9bcb5
"../gst-scanpackages", closeit=1, flags=0xbfc9b66c) at Python/pythonrun.c:931
#18 0xb7e7ffd8 in PyRun_AnyFileExFlags (fp=0x805ecd8, filename=0xbfc9bcb5
"../gst-scanpackages", closeit=1, flags=0xbfc9b66c) at Python/pythonrun.c:735
#19 0xb7e8c6a0 in Py_Main (argc=3, argv=0xbfc9b764) at Modules/main.c:599
#20 0x08048587 in main (argc=3, argv=0xbfc9b764) at Modules/python.c:23



Finally, a link to the gst-scanpackages script:
https://core.fluendo.com/gstreamer/trac/browser/codeina/trunk/providers/gst-scanpackages


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=590806.




More information about the Gstreamer-bugs mailing list