[Bug 762765] New: goom: crashes on window resize

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Feb 27 10:59:53 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=762765

            Bug ID: 762765
           Summary: goom: crashes on window resize
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: t.i.m at zen.co.uk
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

$ gst-launch-1.0 audiotestsrc ! goom ! ximagesink

Resize window (make larger) => displays garbage then crashes:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff3696700 (LWP 5065)]
0x00007ffff5030f38 in shader_fade (scope=<optimized out>, sframe=<optimized
out>, dframe=<optimized out>) at gstaudiovisualizer.c:185
185          SHADE (d, s, i, r, g, b);
(gdb) bt
#0  0x00007ffff5030f38 in shader_fade (scope=<optimized out>, sframe=<optimized
out>, dframe=<optimized out>) at gstaudiovisualizer.c:185
#1  0x00007ffff5033e68 in gst_audio_visualizer_chain (pad=<optimized out>,
parent=<optimized out>, buffer=0x7fffe400a360) at gstaudiovisualizer.c:1183
#2  0x00007ffff7b1eca2 in gst_pad_push_data (data=0x7fffe400a360, type=4112,
pad=0x8162b0 [GstPad]) at gstpad.c:4155
#3  0x00007ffff7b1eca2 in gst_pad_push_data (pad=pad at entry=0x816070 [GstPad],
type=type at entry=4112, data=<optimized out>, data at entry=0x7fffe400a360) at
gstpad.c:4407
#4  0x00007ffff7b26e53 in gst_pad_push (pad=pad at entry=0x816070 [GstPad],
buffer=0x7fffe400a360) at gstpad.c:4526
#5  0x00007ffff5b66a75 in gst_base_src_loop (pad=0x816070 [GstPad]) at
gstbasesrc.c:2850
#6  0x00007ffff7b50c51 in gst_task_func (task=0x87b050 [GstTask]) at
gsttask.c:332
#7  0x00007ffff73bc35e in g_thread_pool_thread_proxy (data=<optimized out>) at
/build/glib2.0-2.46.2/./glib/gthreadpool.c:307
#8  0x00007ffff73bb9c5 in g_thread_proxy (data=0x78f680) at
/build/glib2.0-2.46.2/./glib/gthread.c:778
#9  0x00007ffff6d29284 in start_thread (arg=0x7ffff3696700) at
pthread_create.c:333
#10 0x00007ffff6a66a4d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109


==4956== Thread 3 audiotestsrc0:sr:
==4956== Invalid read of size 1
==4956==    at 0x9AC9F38: shader_fade (gstaudiovisualizer.c:185)
==4956==    by 0x9ACCE67: gst_audio_visualizer_chain
(gstaudiovisualizer.c:1183)
==4956==    by 0x4EA3CA1: gst_pad_chain_data_unchecked (gstpad.c:4155)
==4956==    by 0x4EA3CA1: gst_pad_push_data (gstpad.c:4407)
==4956==    by 0x4EABE52: gst_pad_push (gstpad.c:4526)
==4956==    by 0x8F84A74: gst_base_src_loop (gstbasesrc.c:2850)
==4956==    by 0x4ED5C50: gst_task_func (gsttask.c:332)
==4956==    by 0x562835D: g_thread_pool_thread_proxy (in
/lib/x86_64-linux-gnu/libglib-2.0.so.0.4600.2)
==4956==    by 0x56279C4: g_thread_proxy (in
/lib/x86_64-linux-gnu/libglib-2.0.so.0.4600.2)
==4956==    by 0x5CD9283: start_thread (pthread_create.c:333)
==4956==  Address 0x88187a0 is 0 bytes after a block of size 307,328 alloc'd
==4956==    at 0x4C2BBD5: calloc (vg_replace_malloc.c:711)
==4956==    by 0x989BE76: init_buffers (goom_core.c:62)
==4956==    by 0x989BF20: goom_init (goom_core.c:89)
==4956==    by 0x9894420: gst_goom_init (gstgoom.c:138)
==4956==    by 0x5193328: g_type_create_instance (in
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4600.2)
==4956==    by 0x51752BA: g_object_new_internal (in
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4600.2)
==4956==    by 0x5176BA0: g_object_newv (in
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4600.2)
==4956==    by 0x4E8FF54: gst_element_factory_create (gstelementfactory.c:376)
==4956==    by 0x4E9003D: gst_element_factory_make (gstelementfactory.c:446)
==4956==    by 0x4EF9886: priv_gst_parse_yyparse (grammar.y:713)
==4956==    by 0x4EFA908: priv_gst_parse_launch (grammar.y:1075)
==4956==    by 0x4EF1AAE: gst_parse_launch_full (gstparse.c:325)

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