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 343652 - gstfile.py sometimes results in "*** glibc detected *** corrupted double-linked list"
gstfile.py sometimes results in "*** glibc detected *** corrupted double-link...
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-python
0.10.x
Other Linux
: Normal normal
: 0.10.5
Assigned To: GStreamer Maintainers
Johan (not receiving bugmail) Dahlin
Depends on:
Blocks:
 
 
Reported: 2006-06-02 00:44 UTC by Myers Carpenter
Modified: 2006-06-02 13:36 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description Myers Carpenter 2006-06-02 00:44:00 UTC
Run the gstfile.py example a few times any file and you will get this error message:

*** glibc detected *** corrupted double-linked list: 0x0819f610 ***
Aborted


I loaded python into gdb and ran it again.  There were 5 threads running and this is the backtrace:

(gdb) bt
  • #0 __kernel_vsyscall
  • #1 raise
    from /lib/tls/i686/cmov/libc.so.6
  • #2 abort
    from /lib/tls/i686/cmov/libc.so.6
  • #3 __fsetlocking
    from /lib/tls/i686/cmov/libc.so.6
  • #4 malloc_usable_size
    from /lib/tls/i686/cmov/libc.so.6
  • #5 free
    from /lib/tls/i686/cmov/libc.so.6
  • #6 PyFrame_Fini
  • #7 Py_Finalize
  • #8 PyOS_setsig
  • #9 PyErr_PrintEx
  • #10 PyRun_SimpleFileExFlags
  • #11 Py_Main
  • #12 __libc_start_main
    from /lib/tls/i686/cmov/libc.so.6
  • #13 _start


I'd welcome any other tips on how I could provide more debugging info.

Here is one file that I can get it to happen with:

http://www.rasterman.com/files/rage2.avi
Comment 1 Edward Hervey 2006-06-02 09:54:32 UTC
could you try again with cvs of gst-python ? I think this issue by the following commit : 

2006-04-29  Edward Hervey  <edward@fluendo.com>

	* examples/gstfile.py:
	Threaded application, we NEED gobject.threads_init().
	This should finally gets rid of the crashes when used on single files.
Comment 2 Myers Carpenter 2006-06-02 13:13:46 UTC
While I didn't check out the latest CVS, I added gobject.threads_init() to the top of my copy of gstfile.py and ran it a 50 times with "watch -n 0.5 python gstfile.py rage2.avi" and it did not have the same problem.

I think you can close this bug!

Thanks,

myers