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 161624 - [alsasink] crash at end of playing this file
[alsasink] crash at end of playing this file
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
git master
Other Linux
: High critical
: 0.8.7
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 152702 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-12-18 14:33 UTC by Stephane Loeuillet
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.7/2.8



Description Stephane Loeuillet 2004-12-18 14:33:54 UTC
i used the 12-Toxicity.mpc file from ronald's FTP (in /musepack)

it is an APE tagged musepack file, so to play it, i tried the following pipeline :
filesrc location=12-Toxicity.mpc ! apedemux ! musepackdec ! alsasink

the crash happens just after gst-launch -v said :
/pipeline0/filesrc0.src: active = FALSE
(and sounds stop a few seconds after)

it played the file fine, but at the end, it segfaulted, got a backtrace :
  • #0 memcpy
    from /lib/libc.so.6
  • #1 snd_pcm_area_copy
    at pcm.c line 2335
  • #2 snd_pcm_areas_copy
    at pcm.c line 2470
  • #3 gst_alsa_sink_mmap
    at gstalsasink.c line 301
  • #4 gst_alsa_sink_loop
    at gstalsasink.c line 520
  • #5 loop_group_schedule_function
    at gstoptimalscheduler.c line 1332
  • #6 schedule_group
    at gstoptimalscheduler.c line 1154
  • #7 gst_opt_scheduler_schedule_run_queue
    at gstoptimalscheduler.c line 1205
  • #8 schedule_chain
    at gstoptimalscheduler.c line 1258
  • #9 gst_opt_scheduler_iterate
    at gstoptimalscheduler.c line 2629
  • #10 gst_scheduler_iterate
    at gstscheduler.c line 738
  • #11 gst_bin_iterate_func
    at gstbin.c line 1216
  • #12 gst_marshal_BOOLEAN__VOID
    at gstmarshal.c line 509
  • #13 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #14 ??
  • #15 ??
  • #16 ??
  • #17 ??
  • #18 ??
  • #19 gst_bin_restore_thyself
    at gstbin.c line 1204

Comment 1 Elijah Newren 2004-12-18 16:19:55 UTC
Looks just like the stack trace in bug 152702, though I hesitate to mark it as a
duplicate since that bug was closed...
Comment 2 Stephane Loeuillet 2004-12-18 16:57:15 UTC
*** Bug 152702 has been marked as a duplicate of this bug. ***
Comment 3 Stephane Loeuillet 2004-12-18 17:10:49 UTC
Elijah is right, it is the same bug.

the only differences are :
152702 : generated via a new experimental gst-player which is now deprecated
161624 : generated via a simple gst-launch pipeline
=> simplier to reproduce, less elements involved

my alsa-lib is also compiled with debug info/not stripped
Comment 4 Ronald Bultje 2004-12-18 21:32:04 UTC
It's also reproduceable using osssink:

Program received signal SIGSEGV, Segmentation fault.

Thread NaN (LWP 31055)

  • #0 gst_audio_convert_buffer_from_default_format
    at gstaudioconvert.c line 798
  • #1 gst_audio_convert_chain
    at gstaudioconvert.c line 265
  • #2 gst_pad_call_chain_function
    at gstpad.c line 4430
  • #3 gst_pad_push
    at gstpad.c line 3241
  • #4 gst_musepackdec_loop
    at gstmusepackdec.cpp line 468

Comment 5 Ronald Bultje 2004-12-18 21:54:33 UTC
Fixed in CVS.