[gstreamer-bugs] [Bug 338636] New: Segmentation fault using shout2send plugin

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sat Apr 15 11:44:48 PDT 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=338636
 GStreamer | gst-plugins-good | Ver: HEAD CVS

           Summary: Segmentation fault using shout2send plugin
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: critical
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: lephilousophe at users.sf.net
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


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  0x00a073c7 in shout_get_errno () from /usr/lib/libshout.so.3
#1  0x00307566 in gst_base_sink_render_object (basesink=0x949e0c0,
pad=0x947d6f0, obj=0x94a1720) at gstbasesink.c:1454
#2  0x00308e5b in gst_base_sink_queue_object_unlocked (basesink=0x949e0c0,
pad=0x947d6f0, obj=0x94a1720, prerollable=1)
    at gstbasesink.c:1628
#3  0x00309624 in gst_base_sink_chain_unlocked (basesink=0x949e0c0,
pad=0x947d6f0, buf=0x94a1720) at gstbasesink.c:1880
#4  0x00309a4e in gst_base_sink_chain (pad=0x947d6f0, buf=0x94a1720) at
gstbasesink.c:1914
#5  0x00577fcc in gst_pad_chain (pad=0x947d6f0, buffer=0x94a1720) at
gstpad.c:3223
#6  0x0057875e in gst_pad_push (pad=0x947d630, buffer=0x94a1720) at
gstpad.c:3337
#7  0x009eb792 in gst_lame_get_type () from
/usr/lib/gstreamer-0.10/libgstlame.so
#8  0x00577fcc in gst_pad_chain (pad=0x947d570, buffer=0x94a16d0) at
gstpad.c:3223
#9  0x0057875e in gst_pad_push (pad=0x947d4b0, buffer=0x94a16d0) at
gstpad.c:3337
#10 0x00313962 in gst_base_transform_chain (pad=0x947d3f0, buffer=0x94a16d0) at
gstbasetransform.c:1453
#11 0x00577fcc in gst_pad_chain (pad=0x947d3f0, buffer=0x94a16d0) at
gstpad.c:3223
#12 0x0057875e in gst_pad_push (pad=0x947d330, buffer=0x94a16d0) at
gstpad.c:3337
#13 0x00313962 in gst_base_transform_chain (pad=0x947d270, buffer=0x94a1680) at
gstbasetransform.c:1453
#14 0x00577fcc in gst_pad_chain (pad=0x947d270, buffer=0x94a1680) at
gstpad.c:3223
#15 0x0057875e in gst_pad_push (pad=0x947d1b0, buffer=0x94a1680) at
gstpad.c:3337
#16 0x00313962 in gst_base_transform_chain (pad=0x947d0f0, buffer=0x94a1680) at
gstbasetransform.c:1453
#17 0x00577fcc in gst_pad_chain (pad=0x947d0f0, buffer=0x94a1680) at
gstpad.c:3223
#18 0x0057875e in gst_pad_push (pad=0x947d030, buffer=0x94a1680) at
gstpad.c:3337
#19 0x0030f516 in gst_base_src_loop (pad=0x947d030) at gstbasesrc.c:1439
#20 0x0058f983 in gst_task_func (task=0x94a1020, tclass=0x947be10) at
gsttask.c:193
#21 0x0413836c in g_thread_pool_push () from /usr/lib/libglib-2.0.so.0
#22 0x041368ef in g_thread_create_full () from /usr/lib/libglib-2.0.so.0
#23 0x00d523b6 in start_thread () from /lib/libpthread.so.0
#24 0x00b8033e in 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


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list