[gstreamer-bugs] [Bug 338897] New: Videoscale crashes as part of DVD to Ogg transcoding

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Apr 18 08:21:21 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=338897
 GStreamer | gst-plugins-base | Ver: HEAD CVS

           Summary: Videoscale crashes as part of DVD to Ogg transcoding
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: critical
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: Uraeus at linuxrising.org
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: 2.15/2.16
   GNOME milestone: Unspecified


Steps to reproduce:
gst-launch-0.10 -v dvdreadsrc title="3" ! decodebin name="dvd" dvd. !
ffmpegcolorspace ! videoscale method=1 ! video/x-raw-yuv,width=360,height=288 !
theoraenc ! queue ! oggmux name=mux ! fakesink silent=true dvd. ! audioconvert
!
vorbisenc ! queue ! mux.

This pipeline segfaults. Setting 'method' in videoscale to 0 makes it work.
Probably related to liboil. Using liboil CVS.

Stack trace:
(gdb) thread apply all bt

Thread 7 (process 28646):
#0  0x00918402 in __kernel_vsyscall ()
#1  0x00a21cac in poll () from /lib/libc.so.6
#2  0x00be7363 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#3  0x00be76d9 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#4  0x003138fa in gst_bus_poll (bus=0x87ef0c0, events=GST_MESSAGE_ANY,
    timeout=-1) at gstbus.c:858
#5  0x08049f80 in event_loop (pipeline=0x87ee948, blocking=1,
    target_state=GST_STATE_PAUSED) at gst-launch.c:367
#6  0x0804b09d in main (argc=Cannot access memory at address 0x5
) at gst-launch.c:646

Thread 6 (process 28647):
#0  0x00918402 in __kernel_vsyscall ()
#1  0x00cae216 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x0013790c in gst_queue_loop (pad=0x880c0e0) at gstqueue.c:848
#3  0x00349af3 in gst_task_func (task=0x8843410, tclass=0x8839a50)
    at gsttask.c:193
#4  0x00c0336c in g_thread_pool_push () from /usr/lib/libglib-2.0.so.0
#5  0x00c018ef in g_thread_create_full () from /usr/lib/libglib-2.0.so.0
#6  0x00cab3b6 in start_thread () from /lib/libpthread.so.0
#7  0x00a2b33e in clone () from /lib/libc.so.6

---Type <return> to continue, or q <return> to quit---
Thread 5 (process 28648):
#0  0x00918402 in __kernel_vsyscall ()
#1  0x00cae216 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x0013790c in gst_queue_loop (pad=0x880c6e0) at gstqueue.c:848
#3  0x00349af3 in gst_task_func (task=0x8843460, tclass=0x8839a50)
    at gsttask.c:193
#4  0x00c0336c in g_thread_pool_push () from /usr/lib/libglib-2.0.so.0
#5  0x00c018ef in g_thread_create_full () from /usr/lib/libglib-2.0.so.0
#6  0x00cab3b6 in start_thread () from /lib/libpthread.so.0
#7  0x00a2b33e in clone () from /lib/libc.so.6

Thread 4 (process 28649):
#0  0x00918402 in __kernel_vsyscall ()
#1  0x00cb08c1 in __lll_mutex_unlock_wake () from /lib/libpthread.so.0
#2  0x00cad8f1 in _L_mutex_unlock_397 () from /lib/libpthread.so.0
#3  0x00cad7e1 in pthread_mutex_unlock () from /lib/libpthread.so.0
#4  0x0013b11a in gst_queue_chain (pad=0x8868818, buffer=0x886c118)
    at gstqueue.c:721
#5  0x0033213c in gst_pad_chain (pad=0x8868818, buffer=0x886c118)
    at gstpad.c:3223
#6  0x003328ce in gst_pad_push (pad=0x88306e0, buffer=0x886c118)
    at gstpad.c:3337
#7  0x0058e99c in gst_mpeg_demux_send_subbuffer (mpeg_demux=0x8866018,
---Type <return> to continue, or q <return> to quit---
    outstream=0x886e838, buffer=0x889e6f0, timestamp=18446744073709551615,
    offset=1, size=2025) at gstmpegdemux.c:927
#8  0x00592da3 in gst_dvd_demux_send_subbuffer (mpeg_demux=0x8866018,
    outstream=0x886e838, buffer=0x889e6f0, timestamp=18446744073709551615,
    offset=9, size=2025) at gstdvddemux.c:948
#9  0x0058fb9a in gst_mpeg_demux_parse_pes (mpeg_parse=0x8866018,
    buffer=0x889e6f0) at gstmpegdemux.c:875
#10 0x0058c2ad in gst_mpeg_parse_chain (pad=0x8830320, buffer=0x889e6f0)
    at gstmpegparse.c:732
#11 0x0033213c in gst_pad_chain (pad=0x8830320, buffer=0x8843a98)
    at gstpad.c:3223
#12 0x003328ce in gst_pad_push (pad=0x87649d8, buffer=0x8843a98)
    at gstpad.c:3337
#13 0x0013dfda in gst_type_find_element_chain (pad=0x8764918, buffer=0x8843a98)
    at gsttypefindelement.c:565
#14 0x0033213c in gst_pad_chain (pad=0x8764918, buffer=0x8843a98)
    at gstpad.c:3223
#15 0x00325a07 in gst_proxy_pad_do_chain (pad=0x87f8000, buffer=0x8843a98)
    at gstghostpad.c:205
#16 0x0033213c in gst_pad_chain (pad=0x87f8000, buffer=0x8843a98)
    at gstpad.c:3223
#17 0x003328ce in gst_pad_push (pad=0x8764858, buffer=0x8843a98)
    at gstpad.c:3337
---Type <return> to continue, or q <return> to quit---
#18 0x0015a526 in gst_base_src_loop (pad=0x8764858) at gstbasesrc.c:1439
#19 0x00349af3 in gst_task_func (task=0x88434b0, tclass=0x8839a50)
    at gsttask.c:193
#20 0x00c0336c in g_thread_pool_push () from /usr/lib/libglib-2.0.so.0
#21 0x00c018ef in g_thread_create_full () from /usr/lib/libglib-2.0.so.0
#22 0x00cab3b6 in start_thread () from /lib/libpthread.so.0
#23 0x00a2b33e in clone () from /lib/libc.so.6

Thread 3 (process 28651):
#0  0x00329101 in gst_debug_construct_term_color (colorinfo=0) at gstinfo.c:530
#1  0x00329457 in gst_debug_log_default (category=0x879e678,
    level=GST_LEVEL_LOG, file=0x1421c6 "gstqueue.c",
    function=0x14310a "gst_queue_handle_sink_event", line=561,
    object=0x880c918, message=0x227acd0, unused=0x0) at gstinfo.c:572
#2  0x0032958b in gst_debug_log_valist (category=0x879e678,
    level=GST_LEVEL_LOG, file=0x1421c6 "gstqueue.c",
    function=0x14310a "gst_queue_handle_sink_event", line=561,
    object=0x880c918, format=0x1422fc "adding event %p of type %d",
    args=0x227ad4c "��~\b\006\002") at gstinfo.c:422
#3  0x00329631 in gst_debug_log (category=0x879e678, level=GST_LEVEL_LOG,
    file=0x1421c6 "gstqueue.c",
    function=0x14310a "gst_queue_handle_sink_event", line=561,
    object=0x880c918, format=0x1422fc "adding event %p of type %d")
---Type <return> to continue, or q <return> to quit---
    at gstinfo.c:382
#4  0x00139a6c in gst_queue_handle_sink_event (pad=0x880c620, event=0x87ebdb8)
    at gstqueue.c:560
#5  0x0032eb88 in gst_pad_send_event (pad=0x880c620, event=0x87ebdb8)
    at gstpad.c:3788
#6  0x0032f2aa in gst_pad_push_event (pad=0x880c560, event=0x87ebdb8)
    at gstpad.c:3654
#7  0x00828f3c in gst_vorbis_enc_sink_event (pad=0x880c4a0, event=0x87ebdb8)
    at vorbisenc.c:910
#8  0x0032eb88 in gst_pad_send_event (pad=0x880c4a0, event=0x87ebdb8)
    at gstpad.c:3788
#9  0x0032f2aa in gst_pad_push_event (pad=0x880c3e0, event=0x87ebdb8)
    at gstpad.c:3654
#10 0x0015ea1d in gst_base_transform_sink_event (pad=0x880c320,
    event=0x87ebdb8) at gstbasetransform.c:1133
#11 0x0032eb88 in gst_pad_send_event (pad=0x880c320, event=0x87ebdb8)
    at gstpad.c:3788
#12 0x00325cd7 in gst_proxy_pad_do_event (pad=0x8838f08, event=0x87ebdb8)
    at gstghostpad.c:137
#13 0x0032eb88 in gst_pad_send_event (pad=0x8838f08, event=0x87ebdb8)
    at gstpad.c:3788
#14 0x0032f2aa in gst_pad_push_event (pad=0x8868e18, event=0x87ebdb8)
    at gstpad.c:3654
---Type <return> to continue, or q <return> to quit---
#15 0x00330216 in gst_pad_event_default (pad=0x8868d58, event=0x87ebdb8)
    at gstpad.c:2764
#16 0x002473d5 in fluac3dec_event (pad=0x8868d58, event=0x87ebdb8)
    at fluac3dec.c:226
#17 0x0032eb88 in gst_pad_send_event (pad=0x8868d58, event=0x87ebdb8)
    at gstpad.c:3788
#18 0x0032f2aa in gst_pad_push_event (pad=0x8868c98, event=0x87ebdb8)
    at gstpad.c:3654
#19 0x00137a3e in gst_queue_loop (pad=0x8868c98) at gstqueue.c:801
#20 0x00349af3 in gst_task_func (task=0x8843b38, tclass=0x8839a50)
    at gsttask.c:193
#21 0x00c0336c in g_thread_pool_push () from /usr/lib/libglib-2.0.so.0
#22 0x00c018ef in g_thread_create_full () from /usr/lib/libglib-2.0.so.0
#23 0x00cab3b6 in start_thread () from /lib/libpthread.so.0
#24 0x00a2b33e in clone () from /lib/libc.so.6

Thread 2 (process 28652):
#0  0x00918402 in __kernel_vsyscall ()
#1  0x00cae48c in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#2  0x057cfbf7 in ?? () from /usr/lib/libgthread-2.0.so.0
#3  0x00bccf41 in g_async_queue_sort () from /usr/lib/libglib-2.0.so.0
#4  0x00c0355f in g_thread_pool_push () from /usr/lib/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#5  0x00c018ef in g_thread_create_full () from /usr/lib/libglib-2.0.so.0
#6  0x00cab3b6 in start_thread () from /lib/libpthread.so.0
#7  0x00a2b33e in clone () from /lib/libc.so.6

Thread 1 (process 28650):
#0  0x00000000 in ?? ()
#1  0x0017004a in vs_scanline_resample_linear_Y (dest=0x886c400 "\2103�",
    src=0xb5ed8008 "\r\023\r\020\r\024\f\022", '\020' <repeats 192 times>...,
    n=360, accumulator=0x1879d68, increment=131254) at vs_scanline.c:74
#2  0x0016f55e in vs_image_scale_linear_Y (dest=0x8806180, src=0x8806170,
    tmpbuf=0x886c400 "\2103�") at vs_image.c:563
#3  0x0016d8fe in gst_video_scale_transform (trans=0x8806008, in=0x88545e8,
    out=0x889e650) at gstvideoscale.c:713
#4  0x0015da25 in gst_base_transform_handle_buffer (trans=0x8806008,
    inbuf=0x88545e8, outbuf=0x1879f08) at gstbasetransform.c:1357
#5  0x0015e90e in gst_base_transform_chain (pad=0x8764cd8, buffer=0x88545e8)
    at gstbasetransform.c:1447
#6  0x0033213c in gst_pad_chain (pad=0x8764cd8, buffer=0x88545e8)
    at gstpad.c:3223
#7  0x003328ce in gst_pad_push (pad=0x8764c18, buffer=0x88545e8)
    at gstpad.c:3337
#8  0x0015e972 in gst_base_transform_chain (pad=0x8764b58, buffer=0x88545e8)
    at gstbasetransform.c:1453
---Type <return> to continue, or q <return> to quit---
#9  0x0033213c in gst_pad_chain (pad=0x8764b58, buffer=0x88545e8)
    at gstpad.c:3223
#10 0x00325a07 in gst_proxy_pad_do_chain (pad=0x8838e40, buffer=0x88545e8)
    at gstghostpad.c:205
#11 0x0033213c in gst_pad_chain (pad=0x8838e40, buffer=0x88545e8)
    at gstpad.c:3223
#12 0x003328ce in gst_pad_push (pad=0x8868a58, buffer=0x88545e8)
    at gstpad.c:3337
#13 0x004d13d9 in flumpeg2vdec_sink_chain (pad=0x906b075, buf=0x0)
    at flumpeg2vdec.c:242
#14 0x0033213c in gst_pad_chain (pad=0x8868998, buffer=0x886c118)
    at gstpad.c:3223
#15 0x003328ce in gst_pad_push (pad=0x88688d8, buffer=0x886c118)
    at gstpad.c:3337
#16 0x00138386 in gst_queue_loop (pad=0x88688d8) at gstqueue.c:769
#17 0x00349af3 in gst_task_func (task=0x8843ae8, tclass=0x8839a50)
    at gsttask.c:193
#18 0x00c0336c in g_thread_pool_push () from /usr/lib/libglib-2.0.so.0
#19 0x00c018ef in g_thread_create_full () from /usr/lib/libglib-2.0.so.0
#20 0x00cab3b6 in start_thread () from /lib/libpthread.so.0
#21 0x00a2b33e in clone () from /lib/libc.so.6

Other information:


-- 
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