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 137306 - gst-shorten crashes on play
gst-shorten crashes on play
Status: VERIFIED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.6.4
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-03-15 23:09 UTC by hofi
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description hofi 2004-03-15 23:09:05 UTC
gst-shorten CVS (from gst-sandbox/gst-shorten)
compiled against 0.7.6 gstreamer and gst-plugins crashes with the following
backtrace (invoked via rhythmbox)

 (gdb) backtrace
  • #0 handle_fn_qlpc
    from /usr/local/gstreamer/lib/gstreamer-0.8/libgstshndec.so
  • #1 shn_decode
    from /usr/local/gstreamer/lib/gstreamer-0.8/libgstshndec.so
  • #2 gst_shndec_loop
    from /usr/local/gstreamer/lib/gstreamer-0.8/libgstshndec.so
  • #3 loop_group_schedule_function
    at gstoptimalscheduler.c line 1129
  • #4 schedule_group
    at gstoptimalscheduler.c line 971
  • #5 gst_opt_scheduler_schedule_run_queue
    at gstoptimalscheduler.c line 1013
  • #6 gst_opt_scheduler_get_wrapper
    at gstoptimalscheduler.c line 1241
  • #7 gst_pad_pull
    at gstpad.c line 3078
  • #8 gst_spider_identity_dumb_loop
    at gstspideridentity.c line 401
  • #9 loop_group_schedule_function
    at gstoptimalscheduler.c line 1129
  • #10 schedule_group
    at gstoptimalscheduler.c line 971
  • #11 gst_opt_scheduler_schedule_run_queue
    at gstoptimalscheduler.c line 1013
  • #12 schedule_chain
    at gstoptimalscheduler.c line 1057
  • #13 gst_opt_scheduler_iterate
    at gstoptimalscheduler.c line 2203
  • #14 gst_scheduler_iterate
    at gstscheduler.c line 705
  • #15 gst_bin_iterate_func
    at gstbin.c line 1100
  • #16 gst_marshal_BOOLEAN__VOID
    at gstmarshal.c line 433
  • #17 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #18 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #19 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #20 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #21 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #22 gst_bin_iterate
    at gstbin.c line 1139
  • #23 gst_thread_main_loop
    at gstthread.c line 558
  • #24 g_static_private_free
    from /usr/lib/libglib-2.0.so.0
  • #25 start_thread
    from /lib/tls/libpthread.so.0
  • #26 ??


invoking via 
gst-launch-0.8 filesrc location=stereophonics2004-02-04t02.shn  ! spider !
osssink works.

obviously some rb/gst interaction, and according to Murphy's law, I have
surely selected the wrong product to file the bug against.

cheers
Comment 1 Colin Walters 2004-03-31 03:50:48 UTC
Looks like the problem is in the GStreamer plugin.  But could you try something
closer to the pipeline that Rhythmbox uses:

gst-launch-0.8 gnomevfssrc location=stereophonics2004-02-04t02.shn  ! typefind !
spider ! volume ! audioconvert ! audioscale ! osssink 
Comment 2 hofi 2004-04-03 11:53:36 UTC
new coredump with suggested pipeline:

  • #0 handle_fn_qlpc
    from /usr/local/gnome26/lib/gstreamer-0.8/libgstshndec.so
  • #0 handle_fn_qlpc
    from /usr/local/gnome26/lib/gstreamer-0.8/libgstshndec.so
  • #1 shn_decode
    from /usr/local/gnome26/lib/gstreamer-0.8/libgstshndec.so
  • #2 gst_shndec_loop
    from /usr/local/gnome26/lib/gstreamer-0.8/libgstshndec.so
  • #3 loop_group_schedule_function
    at gstoptimalscheduler.c line 1164
  • #4 schedule_group
    at gstoptimalscheduler.c line 1007
  • #5 gst_opt_scheduler_schedule_run_queue
    at gstoptimalscheduler.c line 1050
  • #6 gst_opt_scheduler_get_wrapper
    at gstoptimalscheduler.c line 1274
  • #7 gst_pad_pull
    at gstpad.c line 3084
  • #8 gst_spider_identity_dumb_loop
    at gstspideridentity.c line 435
  • #9 loop_group_schedule_function
    at gstoptimalscheduler.c line 1164
  • #10 schedule_group
    at gstoptimalscheduler.c line 1007
  • #11 gst_opt_scheduler_schedule_run_queue
    at gstoptimalscheduler.c line 1050
  • #12 schedule_chain
    at gstoptimalscheduler.c line 1092
  • #13 gst_opt_scheduler_iterate
    at gstoptimalscheduler.c line 2279
  • #14 gst_scheduler_iterate
    at gstscheduler.c line 712
  • #15 gst_bin_iterate_func
    at gstbin.c line 1109
  • #16 gst_marshal_BOOLEAN__VOID
    at gstmarshal.c line 433
  • #17 g_type_class_meta_marshal
    at gclosure.c line 514
  • #18 g_closure_invoke
    at gclosure.c line 437
  • #19 signal_emit_unlocked_R
    at gsignal.c line 2474
  • #20 g_signal_emit_valist
    at gsignal.c line 2205
  • #21 g_signal_emit
    at gsignal.c line 2239
  • #22 gst_bin_iterate
    at gstbin.c line 1146
  • #23 idle_func
    at gst-launch.c line 66
  • #24 g_idle_dispatch
    at gmain.c line 3807
  • #25 g_main_dispatch
    at gmain.c line 1948
  • #26 g_main_context_dispatch
    at gmain.c line 2498
  • #27 g_main_context_iterate
    at gmain.c line 2579
  • #28 g_main_loop_run
    at gmain.c line 2783
  • #29 gst_main
    at gst.c line 856
  • #30 main
    at gst-launch.c line 494

Comment 3 hofi 2004-04-03 11:55:49 UTC
oh and gst is  Version: 0.8.0.1 by now.
Comment 4 Christophe Fergeau 2004-04-03 17:53:16 UTC
Could you recompile the shorten plugin with debugging enabled ? (set CFLAGS to
-g -ggdb before running configure). Is it doing that for all files ?
Comment 5 hofi 2004-04-06 22:50:41 UTC
recompiled -g -ggdb.

btw i'm compiling this inside a jhbuild shell, for a jhbuild gnome26 build. and
it has big problems picking up the necessary includes. here's my full autogen
line that finds all the includes necessary. I hope it's not this that's causing
the error.

CFLAGS="-g -ggdb -I/usr/local/gnome26/include/libxml2
-I/usr/local/gnome26/lib/glib-2.0/include -I/usr/local/gnome26/include/glib-2.0
-I/usr/local/gnome26/include/gstreamer-0.8" ./autogen.sh
--prefix=/usr/local/gnome26/

here's the bt for the file discussed above, with the pipeline suggested by colin:

  • #0 handle_fn_qlpc
    at shorten.c line 484
  • #0 handle_fn_qlpc
    at shorten.c line 484
  • #1 shn_decode
    at shorten.c line 584
  • #2 gst_shndec_loop
    at gstshndec.c line 240
  • #3 loop_group_schedule_function
    at gstoptimalscheduler.c line 1164
  • #4 schedule_group
    at gstoptimalscheduler.c line 1007
  • #5 gst_opt_scheduler_schedule_run_queue
    at gstoptimalscheduler.c line 1050
  • #6 gst_opt_scheduler_get_wrapper
    at gstoptimalscheduler.c line 1274
  • #7 gst_pad_pull
    at gstpad.c line 3084
  • #8 gst_spider_identity_dumb_loop
    at gstspideridentity.c line 435
  • #9 loop_group_schedule_function
    at gstoptimalscheduler.c line 1164
  • #10 schedule_group
    at gstoptimalscheduler.c line 1007
  • #11 gst_opt_scheduler_schedule_run_queue
    at gstoptimalscheduler.c line 1050
  • #12 schedule_chain
    at gstoptimalscheduler.c line 1092
  • #13 gst_opt_scheduler_iterate
    at gstoptimalscheduler.c line 2279
  • #14 gst_scheduler_iterate
    at gstscheduler.c line 712
  • #15 gst_bin_iterate_func
    at gstbin.c line 1109
  • #16 gst_marshal_BOOLEAN__VOID
    at gstmarshal.c line 433
  • #17 g_type_class_meta_marshal
    at gclosure.c line 514
  • #18 g_closure_invoke
    at gclosure.c line 437
  • #19 signal_emit_unlocked_R
    at gsignal.c line 2474
  • #20 g_signal_emit_valist
    at gsignal.c line 2205
  • #21 g_signal_emit
    at gsignal.c line 2239
  • #22 gst_bin_iterate
    at gstbin.c line 1146
  • #23 idle_func
    at gst-launch.c line 66
  • #24 g_idle_dispatch
    at gmain.c line 3807
  • #25 g_main_dispatch
    at gmain.c line 1948
  • #26 g_main_context_dispatch
    at gmain.c line 2498
  • #27 g_main_context_iterate
    at gmain.c line 2579
  • #28 g_main_loop_run
    at gmain.c line 2783
  • #29 gst_main
    at gst.c line 856
  • #30 main
    at gst-launch.c line 494


other files do not segfault, but emit this line in rapid succession:
(process:20117): GStreamer-WARNING **: push on peer of pad sink_ident:src but
peer is not active

no sound can be heard.

hope that helps
Comment 6 Christophe Fergeau 2004-04-07 08:44:28 UTC
Would it be possible to have access to the file causing the crash ?
Comment 7 hofi 2004-04-07 09:49:46 UTC
sure :)

http://fhofmann.com/stereophonics2004-02-04t02.shn
Comment 8 Ronald Bultje 2004-10-01 12:45:30 UTC
The file gives a 404. Please provide a link to some shorten file.
Comment 9 hofi 2004-10-01 12:54:15 UTC
don't have that file anymore.