[gstreamer-bugs] [Bug 161179] New: [audioscale] quits with gmem assertion

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Mon Dec 13 09:51:39 PST 2004


http://bugzilla.gnome.org/show_bug.cgi?id=161179
GStreamer | gst-plugins | Ver: HEAD CVS

           Summary: [audioscale] quits with gmem assertion
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: ross at burtonini.com
         QAContact: gstreamer-bugs at lists.sourceforge.net


CVS HEAD as of 2004-12-13, with this pipeline:

adder name=a ! fakesink { filesrc location=songs/disco.wav ! wavparse !
audioconvert ! audioscale ! queue ! a. } { filesrc location=songs/phone.wav !
wavparse ! audioconvert ! audioscale ! queue ! a. }

Results in:

GLib-ERROR **: gmem.c:140: failed to allocate 4294967284 bytes
aborting...

This is the stack from gdb.

Thread 3 (Thread -1216214096 (LWP 12265)):
#0  0xb7c854ec in __lll_mutex_unlock_wake () from /lib/tls/libpthread.so.0
#1  0xb7c82a69 in _L_mutex_unlock_26 () from /lib/tls/libpthread.so.0
#2  0x0812e020 in ?? ()
#3  0xb781f968 in ?? ()
#4  0xb7c82a60 in pthread_mutex_unlock () from /lib/tls/libpthread.so.0
#5  0xb7c82a60 in pthread_mutex_unlock () from /lib/tls/libpthread.so.0
#6  0xb7de2c8f in pthread_mutex_unlock () from /lib/tls/libc.so.6
#7  0xb7e4036b in g_array_sized_new () from /usr/lib/libglib-2.0.so.0
#8  0xb7f1ce6e in gst_value_list_array_copy (src=0x814d640) at gstvalue.c:140
#9  0xb7f1cee4 in gst_value_copy_list (src_value=0x1, dest_value=0x812e020)
    at gstvalue.c:153
#10 0xb7ceee1b in g_value_copy () from /usr/lib/libgobject-2.0.so.0
#11 0xb7f21e5a in gst_value_init_and_copy (dest=0x811b630, src=0x810fa98)
    at gstvalue.c:2258
#12 0xb7f1ceae in gst_value_list_array_copy (src=0x814d7e4) at gstvalue.c:143
#13 0xb7f1cee4 in gst_value_copy_list (src_value=0x1, dest_value=0x812e020)
    at gstvalue.c:153
#14 0xb7ceee1b in g_value_copy () from /usr/lib/libgobject-2.0.so.0
#15 0xb7f21e5a in gst_value_init_and_copy (dest=0xb781fb44, src=0x8125a34)
    at gstvalue.c:2258
#16 0xb7f0ed44 in gst_structure_copy (structure=0x8135e28) at gststructure.c:203
#17 0xb7ede5fa in gst_caps_copy (caps=0x8120928) at gstcaps.c:210
#18 0xb7edf8ae in gst_caps_intersect (caps1=0x8120928, caps2=0x80e8fe0) at
gstcaps.c:833
#19 0xb7efd076 in gst_pad_proxy_getcaps (pad=0x80e9000) at gstpad.c:2373
#20 0xb7f07878 in gst_queue_getcaps (pad=0x80e9000) at gstqueue.c:381
#21 0xb7efdfc3 in gst_pad_get_caps (pad=0x80e9000) at gstpad.c:2662
#22 0xb7ef97cf in gst_pad_renegotiate (pad=0x80ea178) at gstpad.c:1449
#23 0xb7eebbe2 in gst_element_negotiate_pads (element=0x80d5278) at
gstelement.c:2853
#24 0xb7eec50a in gst_element_change_state (element=0x80d5278) at gstelement.c:2956
#25 0xb7ab6510 in gst_adder_change_state (element=0x80d5278) at gstadder.c:512
#26 0xb7eeb8f1 in gst_element_set_state_func (element=0x80d5278,
state=GST_STATE_PLAYING)
    at gstelement.c:2796
#27 0xb7eeb56f in gst_element_set_state (element=0x80d5278, state=GST_STATE_PLAYING)
    at gstelement.c:2739
#28 0xb7f29456 in gst_parse_element_lock (element=0x80d5278, lock=0) at
grammar.y:319
#29 0xb7f295b6 in gst_parse_element_lock (element=0x80e8c90, lock=0) at
grammar.y:333
#30 0xb7f295b6 in gst_parse_element_lock (element=0x80e8440, lock=0) at
grammar.y:333
#31 0xb7f295b6 in gst_parse_element_lock (element=0x80e6fb8, lock=0) at
grammar.y:333
#32 0xb7f29965 in gst_parse_found_pad (src=0x0, pad=0x8114130, data=0x80eb9d8)
    at grammar.y:356
#33 0xb7ce3e1e in g_cclosure_marshal_VOID__OBJECT () from
/usr/lib/libgobject-2.0.so.0
#34 0xb7ccec20 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#35 0xb7ce2c28 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#36 0xb7ce1be7 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#37 0xb7ce1ee4 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#38 0xb7ee6826 in gst_element_add_pad (element=0x80e6bd8, pad=0x8114130)
    at gstelement.c:1147
#39 0xb7a50f9e in gst_wavparse_fmt (wav=0x80e6bd8) at gstwavparse.c:563
#40 0xb7a51b29 in gst_wavparse_loop (element=0x1) at gstwavparse.c:777
#41 0xb7a254e6 in loop_group_schedule_function (argc=0, argv=0x80e94e8)
    at gstoptimalscheduler.c:1330
#42 0xb7a24d9f in schedule_group (group=0x80e94e8) at gstoptimalscheduler.c:1152
#43 0xb7a24fff in gst_opt_scheduler_schedule_run_queue (osched=0x80e9388,
only_group=0x0)
    at gstoptimalscheduler.c:1203
#44 0xb7a25170 in schedule_chain (chain=0x80e94c8) at gstoptimalscheduler.c:1256
#45 0xb7a28fbf in gst_opt_scheduler_iterate (sched=0x80e9388)
    at gstoptimalscheduler.c:2618
#46 0xb7f0e059 in gst_scheduler_iterate (sched=0x80e9388) at gstscheduler.c:738
#47 0xb7edd328 in gst_bin_iterate_func (bin=0x80e9288) at gstbin.c:1216
#48 0xb7f270f9 in gst_marshal_BOOLEAN__VOID (closure=0x80594a0,
return_value=0xb7820760,
    n_param_values=1, param_values=0x1, invocation_hint=0xb7820788,
    marshal_data=0xb7edd2a0) at gstmarshal.c:509
#49 0xb7ccefb7 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#50 0xb7ccec20 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#51 0xb7ce2655 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#52 0xb7ce19be in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#53 0xb7ce1ee4 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#54 0xb7edd51b in gst_bin_iterate (bin=0x80e9288) at gstbin.c:1269
#55 0xb7f18d5d in gst_thread_main_loop (arg=0x80e9288) at gstthread.c:671
#56 0xb7e72c8d in g_static_private_free () from /usr/lib/libglib-2.0.so.0
#57 0xb7c80b63 in start_thread () from /lib/tls/libpthread.so.0
#58 0xb7dd6c4a in clone () from /lib/tls/libc.so.6

Thread 2 (Thread -1214116944 (LWP 12264)):
#0  0xb7d277ab in raise () from /lib/tls/libc.so.6
#1  0xb7d28f12 in abort () from /lib/tls/libc.so.6
#2  0xb7e60c37 in g_logv () from /usr/lib/libglib-2.0.so.0
#3  0xb7e60c74 in g_log () from /usr/lib/libglib-2.0.so.0
#4  0xb7e5e484 in g_malloc () from /usr/lib/libglib-2.0.so.0
#5  0xb7a348a2 in gst_audioscale_get_buffer (priv=0x80e3a10, size=4294967284)
    at gstaudioscale.c:457
#6  0xb7a2f143 in gst_resample_scale (r=0x80f6568, i_buf=0x0, i_size=0) at
resample.c:168
#7  0xb7a35230 in gst_audioscale_chain (pad=0x80e3a10, _data=0x8064714)
    at gstaudioscale.c:656
#8  0xb7f033a4 in gst_pad_call_chain_function (pad=0x80e3e88, data=0x8064714)
    at gstpad.c:4430
#9  0xb7efff0d in gst_pad_push (pad=0x80e2918, data=0x8064714) at gstpad.c:3241
#10 0xb7a3fa1c in gst_audio_convert_chain (pad=0x80e1d28, data=0x80646a0)
    at gstaudioconvert.c:267
#11 0xb7f033a4 in gst_pad_call_chain_function (pad=0x80e1d28, data=0x80646a0)
    at gstpad.c:4430
#12 0xb7efff0d in gst_pad_push (pad=0x80ef898, data=0x80646a0) at gstpad.c:3241
#13 0xb7a51c4b in gst_wavparse_loop (element=0x0) at gstwavparse.c:752
#14 0xb7a254e6 in loop_group_schedule_function (argc=0, argv=0x80e6798)
    at gstoptimalscheduler.c:1330
#15 0xb7a24d9f in schedule_group (group=0x80e6798) at gstoptimalscheduler.c:1152
#16 0xb7a24fff in gst_opt_scheduler_schedule_run_queue (osched=0x80e65c0,
only_group=0x0)
    at gstoptimalscheduler.c:1203
#17 0xb7a25170 in schedule_chain (chain=0x80e6740) at gstoptimalscheduler.c:1256
#18 0xb7a28fbf in gst_opt_scheduler_iterate (sched=0x80e65c0)
    at gstoptimalscheduler.c:2618
#19 0xb7f0e059 in gst_scheduler_iterate (sched=0x80e65c0) at gstscheduler.c:738
#20 0xb7edd328 in gst_bin_iterate_func (bin=0x80e5c08) at gstbin.c:1216
#21 0xb7f270f9 in gst_marshal_BOOLEAN__VOID (closure=0x80594a0,
return_value=0xb7a20760,
    n_param_values=1, param_values=0x0, invocation_hint=0xb7a20788,
    marshal_data=0xb7edd2a0) at gstmarshal.c:509
#22 0xb7ccefb7 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#23 0xb7ccec20 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#24 0xb7ce2655 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#25 0xb7ce19be in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#26 0xb7ce1ee4 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#27 0xb7edd51b in gst_bin_iterate (bin=0x80e5c08) at gstbin.c:1269
#28 0xb7f18d5d in gst_thread_main_loop (arg=0x80e5c08) at gstthread.c:671
#29 0xb7e72c8d in g_static_private_free () from /usr/lib/libglib-2.0.so.0
#30 0xb7c80b63 in start_thread () from /lib/tls/libpthread.so.0
#31 0xb7dd6c4a in clone () from /lib/tls/libc.so.6

Thread 1 (Thread -1211676224 (LWP 12259)):
#0  0xb7da85dc in __nanosleep_nocancel () from /lib/tls/libc.so.6
#1  0xb7e7566c in g_usleep () from /usr/lib/libglib-2.0.so.0
#2  0xb7edd39b in gst_bin_iterate_func (bin=0x80d13e0) at gstbin.c:1235
#3  0xb7f270f9 in gst_marshal_BOOLEAN__VOID (closure=0x80594a0,
return_value=0xbfffedb0,
    n_param_values=1, param_values=0xfffffdfc, invocation_hint=0xbfffedd8,
    marshal_data=0xb7edd2a0) at gstmarshal.c:509
#4  0xb7ccefb7 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#5  0xb7ccec20 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#6  0xb7ce2655 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#7  0xb7ce19be in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#8  0xb7ce1ee4 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#9  0xb7edd51b in gst_bin_iterate (bin=0x80d13e0) at gstbin.c:1269
#10 0x080495a5 in idle_func (data=0xfffffdfc) at gst-launch.c:79
#11 0xb7e5b033 in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
#12 0xb7e57c02 in g_main_depth () from /usr/lib/libglib-2.0.so.0
#13 0xb7e58cf8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#14 0xb7e59030 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#15 0xb7e59673 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#16 0xb7ed74eb in gst_main () at gst.c:862
#17 0x0804a538 in main (argc=33, argv=0xbffff414) at gst-launch.c:542
#0  0xb7d277ab in raise () from /lib/tls/libc.so.6

------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list