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 133390 - Crash in core (gst_structure_free)
Crash in core (gst_structure_free)
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.3.3
Other other
: Normal normal
: 0.7.4
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-02-04 12:28 UTC by Richard Hult
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Richard Hult 2004-02-04 12:28:15 UTC
Recent memory leak fixes introduced a crasher:


gst-launch-0.7 filesrc location=song.mp3 ! mad ! audioscale ! audioconvert
! esdsink

Backtrace:

 
Program received signal SIGSEGV, Segmentation fault.

Thread NaN (LWP 7399)

  • #0 gst_structure_free
    at gststructure.c line 242
  • #1 _gst_event_free
    at gstevent.c line 97
  • #2 gst_data_unref
    at gstdata.c line 243
  • #3 gst_pad_event_default_dispatch
    at gstpad.c line 3487
  • #4 gst_pad_event_default
    at gstpad.c line 3538
  • #5 gst_pad_send_event
    at gstpad.c line 3612
  • #6 gst_opt_scheduler_chain_wrapper
    at gstoptimalscheduler.c line 1155
  • #7 gst_pad_push
    at gstpad.c line 2910
  • #8 gst_mad_chain
    at gstmad.c line 1034
  • #9 gst_pad_push
    at gstpad.c line 2910
  • #10 get_group_schedule_function
    at gstoptimalscheduler.c line 971
  • #11 schedule_group
    at gstoptimalscheduler.c line 842
  • #12 gst_opt_scheduler_schedule_run_queue
    at gstoptimalscheduler.c line 881
  • #13 schedule_chain
    at gstoptimalscheduler.c line 925
  • #14 gst_opt_scheduler_iterate
    at gstoptimalscheduler.c line 2068
  • #15 gst_scheduler_iterate
    at gstscheduler.c line 705
  • #16 gst_bin_iterate_func
    at gstbin.c line 1081
  • #17 gst_marshal_BOOLEAN__VOID
    at gstmarshal.c line 394
  • #18 g_type_class_meta_marshal
    at gclosure.c line 514
  • #19 g_closure_invoke
    at gclosure.c line 437
  • #20 signal_emit_unlocked_R
    at gsignal.c line 2474
  • #21 g_signal_emit_valist
    at gsignal.c line 2205
  • #22 g_signal_emit
    at gsignal.c line 2239
  • #23 gst_bin_iterate
    at gstbin.c line 1120
  • #24 idle_func
    at gst-launch.c line 66
  • #25 g_idle_dispatch
    at gmain.c line 3273
  • #26 g_main_dispatch
    at gmain.c line 1752
  • #27 g_main_context_dispatch
    at gmain.c line 2300
  • #28 g_main_context_iterate
    at gmain.c line 2381
  • #29 g_main_loop_run
    at gmain.c line 2601
  • #30 gst_main
    at gst.c line 788
  • #31 main
    at gst-launch.c line 480

Comment 1 Benjamin Otte (Company) 2004-02-04 23:22:56 UTC
That should already be fixed:

2004-02-04  Benjamin Otte  <in7y118@public.uni-hamburg.de>
                                                                     
                                                                     
                              
        * gst/gstevent.c: (_gst_event_free):
          actually break; inside the switch statement