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 378130 - mpc decoder crash with libmpcdec3 package from rarewares.org
mpc decoder crash with libmpcdec3 package from rarewares.org
Status: RESOLVED INVALID
Product: GStreamer
Classification: Platform
Component: dont know
0.10.x
Other All
: High critical
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 386625 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-11-22 14:15 UTC by marcinqu
Modified: 2007-01-08 22:34 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
GStreamer log with GST_DEBUG_5 on (187.93 KB, application/x-bzip)
2006-12-18 11:42 UTC, Maurício de Lemos Rodrigues Collares Neto
Details
Valgrind log (47.00 KB, text/x-log)
2006-12-18 11:43 UTC, Maurício de Lemos Rodrigues Collares Neto
Details

Description marcinqu 2006-11-22 14:15:19 UTC
What were you doing when the application crashed?
add .mpc file to exaile / rhythmbox
gstreamer problem
sorry my english	



Distribution: Ubuntu 6.10 (edgy)
Gnome Release: 2.16.1 2006-10-02 (Ubuntu)
BugBuddy Version: 2.16.0

Memory status: size: 93118464 vsize: 0 resident: 93118464 share: 0 rss: 26763264 rss_rlim: 0
CPU usage: start_time: 1164202377 rtime: 0 utime: 397 stime: 0 cutime:358 cstime: 0 timeout: 39 it_real_value: 0 frequency: 6

Backtrace was generated from '/usr/bin/nautilus'

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1227180368 (LWP 4448)]
[New Thread -1294173280 (LWP 5419)]
(no debugging symbols found)
0xffffe410 in __kernel_vsyscall ()

Thread 2 (Thread -1294173280 (LWP 5419))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/tls/i686/cmov/libpthread.so.0
  • #2 gnome_gtk_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 __kernel_vsyscall
  • #5 raise
    from /lib/tls/i686/cmov/libc.so.6
  • #6 abort
    from /lib/tls/i686/cmov/libc.so.6
  • #7 __fsetlocking
    from /lib/tls/i686/cmov/libc.so.6
  • #8 __stack_chk_fail
    from /lib/tls/i686/cmov/libc.so.6
  • #9 gst_musepack_init_reader
    from /usr/lib/gstreamer-0.10/libgstmusepack.so
  • #10 ??
  • #11 gst_musepackdec_get_type
    from /usr/lib/gstreamer-0.10/libgstmusepack.so
  • #12 ??

Comment 1 Tim-Philipp Müller 2006-12-11 18:22:44 UTC
Thanks for the bug report. A few questions:

 1) Can you reproduce the bug?

 2) Does this work?

    $ gst-launch-0.10 playbin uri=file:///path/to/file.mpc

 3) Do you still have the .mpc file that causes this issue? Can you make it
    available somewhere?

Comment 2 Tim-Philipp Müller 2006-12-17 17:59:31 UTC
*** Bug 386625 has been marked as a duplicate of this bug. ***
Comment 3 Maurício de Lemos Rodrigues Collares Neto 2006-12-17 19:19:53 UTC
Distribution: Ubuntu 6.10 (edgy)
Gnome Release: 2.16.1 2006-10-02 (Ubuntu)
BugBuddy Version: 2.16.0

Memory status: size: 133607424 vsize: 0 resident: 133607424 share: 0 rss: 25243648 rss_rlim: 0
CPU usage: start_time: 1166383068 rtime: 0 utime: 132 stime: 0 cutime:124 cstime: 0 timeout: 8 it_real_value: 0 frequency: 11

Backtrace was generated from '/usr/bin/totem'

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1225345360 (LWP 6735)]
[New Thread -1328198752 (LWP 6757)]
[New Thread -1311413344 (LWP 6755)]
[New Thread -1303020640 (LWP 6754)]
[New Thread -1294627936 (LWP 6753)]
[New Thread -1286235232 (LWP 6752)]
[New Thread -1270514784 (LWP 6743)]
[New Thread -1261212768 (LWP 6742)]
0xffffe410 in __kernel_vsyscall ()

Thread 3 (Thread -1311413344 (LWP 6755))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/tls/i686/cmov/libpthread.so.0
  • #2 gnome_gtk_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 __kernel_vsyscall
  • #5 raise
    from /lib/tls/i686/cmov/libc.so.6
  • #6 abort
    from /lib/tls/i686/cmov/libc.so.6
  • #7 __fsetlocking
    from /lib/tls/i686/cmov/libc.so.6
  • #8 __stack_chk_fail
    from /lib/tls/i686/cmov/libc.so.6
  • #9 __stack_chk_fail_local
    at stack_chk_fail_local.c line 29
  • #10 gst_musepackdec_loop
    at gstmusepackdec.c line 563
  • #11 gst_task_func
    at gsttask.c line 192
  • #12 g_thread_pool_push
    from /usr/lib/libglib-2.0.so.0
  • #13 g_thread_create_full
    from /usr/lib/libglib-2.0.so.0
  • #14 start_thread
    from /lib/tls/i686/cmov/libpthread.so.0
  • #15 clone
    from /lib/tls/i686/cmov/libc.so.6

Comment 4 Tim-Philipp Müller 2006-12-18 10:35:41 UTC
Thanks for the detailed stack trace! Not sure what's going on here though I'm afraid. If you could make the .mpc file available somewhere (or send it by e-mail) that would be really useful [*].

Does this crash as well?

  $ gst-launch-0.10 playbin uri=file:///path/to/foo.mpc


If yes, could you also do one or both of these things:


1) create a full debug log with:

  $ export GST_DEBUG_NO_COLOR=1
  $ GST_DEBUG=*:5 gst-launch-0.10 playbin uri=file:///path/to/foo.mpc 2>dbg.log
  $ bzip2 dbg.log

and then attach the dbg.log.bz2 file to this bug report.


2) run things in valgrind (after' sudo apt-get install valgrind')

  $ valgrind gst-launch-0.10 playbin uri=file:///path/to/foo.mpc 2> valgrind.log

and then attach the valgrind.log file to this bug report.




[*] if it crashes at the beginning, maybe part of the file can reproduce the problem too:

  $ head --bytes=900k file.mpc > file-beginning.mpc
  $ gst-launch-0.10 playbin uri=file:///path/to/file-beginning.mpc

if the above crashes too, please attach file-beginning.mpc to this bug report or send it to me by e-mail if possible.

Comment 5 Maurício de Lemos Rodrigues Collares Neto 2006-12-18 11:42:38 UTC
Created attachment 78552 [details]
GStreamer log with GST_DEBUG_5 on

Thanks for the answer, tpm! Your (and all of GStreamer developer's) work is greatly appreciated.

As for the questions:

1) Yes, gst-launch-0.10 crashes too. Even the first 900k. I will email you the file.
2) No problem! I just attached those logs.

I spent a few hours trying to look at your code, and I can't see what's wrong, too. Please attach the patch in this bug once you discover that. I'm curious ;)
Comment 6 Maurício de Lemos Rodrigues Collares Neto 2006-12-18 11:43:16 UTC
Created attachment 78553 [details]
Valgrind log
Comment 7 Maurício de Lemos Rodrigues Collares Neto 2006-12-18 11:55:00 UTC
I am stupid, stupid, stupid! Rarewares, which I added to my sources.list for a totally different reason, had updated my libmpcdec3. After I downgraded things, they worked fine.

Here is the line that caused the trouble, just in case someone else reports the same thing:

#deb http://www.rarewares.org/debian/packages/unstable/ ./

Thanks for your time, and sorry for the confusion.
Comment 8 Tim-Philipp Müller 2007-01-08 22:34:33 UTC
Ah, thanks. So it's an ABI issue of some sort then.

Could you tell me what the libmpcdec3 version number was that caused the breakage?