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 338636 - Segmentation fault using shout2send plugin
Segmentation fault using shout2send plugin
Status: RESOLVED DUPLICATE of bug 338715
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other All
: Normal critical
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-04-15 18:44 UTC by Philippe Valembois
Modified: 2006-04-16 17:38 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Philippe Valembois 2006-04-15 18:44:46 UTC
Steps to reproduce:
1. Set up a correct pipeline using shout2send but without a server running
2. Launch gstreamer
3. It crashes in shout_get_errno


Stack trace:
  • #0 shout_get_errno
    from /usr/lib/libshout.so.3
  • #1 gst_base_sink_render_object
    at gstbasesink.c line 1454
  • #2 gst_base_sink_queue_object_unlocked
    at gstbasesink.c line 1628
  • #3 gst_base_sink_chain_unlocked
    at gstbasesink.c line 1880
  • #4 gst_base_sink_chain
    at gstbasesink.c line 1914
  • #5 gst_pad_chain
    at gstpad.c line 3223
  • #6 gst_pad_push
    at gstpad.c line 3337
  • #7 gst_lame_get_type
    from /usr/lib/gstreamer-0.10/libgstlame.so
  • #8 gst_pad_chain
    at gstpad.c line 3223
  • #9 gst_pad_push
    at gstpad.c line 3337
  • #10 gst_base_transform_chain
    at gstbasetransform.c line 1453
  • #11 gst_pad_chain
    at gstpad.c line 3223
  • #12 gst_pad_push
    at gstpad.c line 3337
  • #13 gst_base_transform_chain
    at gstbasetransform.c line 1453
  • #14 gst_pad_chain
    at gstpad.c line 3223
  • #15 gst_pad_push
    at gstpad.c line 3337
  • #16 gst_base_transform_chain
    at gstbasetransform.c line 1453
  • #17 gst_pad_chain
    at gstpad.c line 3223
  • #18 gst_pad_push
    at gstpad.c line 3337
  • #19 gst_base_src_loop
    at gstbasesrc.c line 1439
  • #20 gst_task_func
    at gsttask.c line 193
  • #21 g_thread_pool_push
    from /usr/lib/libglib-2.0.so.0
  • #22 g_thread_create_full
    from /usr/lib/libglib-2.0.so.0
  • #23 start_thread
    from /lib/libpthread.so.0
  • #24 clone
    from /lib/libc.so.6


Other information:
The troubles come from the line 389 of file gstshout2.c:
      shout2send->conn = FALSE;
With that the pointer to the shout connection is lost and next when
shout_get_errno at line 408 is called it segfaults...

Line 400:
      shout_sync (shout2send->conn);
doesn't make the program segfaults because libshout2 is protected in this function
Comment 1 Stefan Sauer (gstreamer, gtkdoc dev) 2006-04-16 17:38:39 UTC
see http://bugzilla.gnome.org/show_bug.cgi?id=338715


*** This bug has been marked as a duplicate of 338715 ***