(gdb) thread apply all bt
Thread 14 (Thread -1217700976 (LWP 11915)):
#0 0xb7b4c624 in ioctl () from /lib/libc.so.6
#1 0xb77cb68b in drmCommandWrite () from /usr/lib/libdrm.so.2
#2 0xb6ce221c in intelWaitIrq () from /usr/lib/dri/i915_dri.so
#3 0xb6ce3035 in intelWaitForIdle () from /usr/lib/dri/i915_dri.so
#4 0xb6ceb123 in intelUploadTexImages () from /usr/lib/dri/i915_dri.so
#5 0xb6cdb0b5 in i830AllocTexObj () from /usr/lib/dri/i915_dri.so
#6 0xb6cdb587 in i830AllocTexObj () from /usr/lib/dri/i915_dri.so
#7 0xb6cdb6b1 in i830AllocTexObj () from /usr/lib/dri/i915_dri.so
#8 0xb6cdb88c in i830UpdateTextureState () from /usr/lib/dri/i915_dri.so
#9 0xb6cf54df in intelChooseRenderState () from /usr/lib/dri/i915_dri.so
#10 0xb6d7af83 in _tnl_draw_prims () from /usr/lib/dri/i915_dri.so
#11 0xb6d73f25 in vbo_exec_array_destroy () from /usr/lib/dri/i915_dri.so
#12 0xb7a104d4 in pgm_gl_image_draw (gldrawable=0x8657248) at pgmglimage.c:427
#13 0xb7a0b0ab in pgm_gl_drawable_draw (gldrawable=0x8657248)
at pgmgldrawable.c:175
#14 0xb7c0cc81 in g_list_foreach () from /usr/lib/libglib-2.0.so.0
#15 0xb7a06561 in update_cb (source=0x8103e90, condition=G_IO_IN,
data=0x8105028) at pgmcontext.c:681
#16 0xb7c3e4ad in g_io_channel_unix_get_fd () from /usr/lib/libglib-2.0.so.0
#17 0xb7c0f186 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#18 0xb7c12512 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#19 0xb7c128f7 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#20 0xb7a05daf in render_loop (data=0x8105028) at pgmcontext.c:1034
#21 0xb7c324bf in g_thread_create_full () from /usr/lib/libglib-2.0.so.0
#22 0xb7bce2d3 in start_thread () from /lib/libpthread.so.0
#23 0xb7b542fe in clone () from /lib/libc.so.6
Thread 13 (Thread -1311540336 (LWP 11916)):
#0 0xb7b4a45d in poll () from /lib/libc.so.6
#1 0xb7c12545 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#2 0xb7c128f7 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#3 0xb7a09e9d in event_loop (data=0x810a030) at pgmglxbackend.c:841
#4 0xb7c324bf in g_thread_create_full () from /usr/lib/libglib-2.0.so.0
#5 0xb7bce2d3 in start_thread () from /lib/libpthread.so.0
#6 0xb7b542fe in clone () from /lib/libc.so.6
Thread 12 (Thread -1335485552 (LWP 11927)):
#0 0xb7b4a45d in poll () from /lib/libc.so.6
#1 0xb077d349 in gst_neonhttp_src_create (psrc=0x8602140, outbuf=0xb06612f4)
at gstneonhttpsrc.c:979
#2 0xb7a36715 in gst_push_src_create (bsrc=0x8602140, offset=256385024,
length=4096, ret=0xb06612f4) at gstpushsrc.c:117
#3 0xb7a2a036 in gst_base_src_get_range (src=0x8602140, offset=256385024,
length=4096, buf=0xb06612f4) at gstbasesrc.c:1542
#4 0xb7a2c80d in gst_base_src_loop (pad=0x8469b40) at gstbasesrc.c:1711
#5 0xb7e92320 in gst_task_func (task=0x846be88, tclass=0x8612c08)
at gsttask.c:192
#6 0xb7c3414b in g_thread_pool_push () from /usr/lib/libglib-2.0.so.0
#7 0xb7c324bf in g_thread_create_full () from /usr/lib/libglib-2.0.so.0
#8 0xb7bce2d3 in start_thread () from /lib/libpthread.so.0
#9 0xb7b542fe in clone () from /lib/libc.so.6
Thread 11 (Thread -1344255088 (LWP 11929)):
#0 0xb7bd2451 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1 0xb0677f20 in gst_queue_loop (pad=0x86176e8) at gstqueue.c:983
#2 0xb7e92320 in gst_task_func (task=0x8615860, tclass=0x8612c08)
at gsttask.c:192
#3 0xb7c3414b in g_thread_pool_push () from /usr/lib/libglib-2.0.so.0
#4 0xb7c324bf in g_thread_create_full () from /usr/lib/libglib-2.0.so.0
#5 0xb7bce2d3 in start_thread () from /lib/libpthread.so.0
#6 0xb7b542fe in clone () from /lib/libc.so.6
Thread 10 (Thread -1353106544 (LWP 11930)):
#0 0xb7b4a45d in poll () from /lib/libc.so.6
#1 0xb077d349 in gst_neonhttp_src_create (psrc=0x8602368, outbuf=0xaf5932f4)
at gstneonhttpsrc.c:979
#2 0xb7a36715 in gst_push_src_create (bsrc=0x8602368, offset=256352256,
length=4096, ret=0xaf5932f4) at gstpushsrc.c:117
#3 0xb7a2a036 in gst_base_src_get_range (src=0x8602368, offset=256352256,
length=4096, buf=0xaf5932f4) at gstbasesrc.c:1542
#4 0xb7a2c80d in gst_base_src_loop (pad=0x8469d80) at gstbasesrc.c:1711
#5 0xb7e92320 in gst_task_func (task=0x846bed8, tclass=0x8612c08)
at gsttask.c:192
#6 0xb7c3414b in g_thread_pool_push () from /usr/lib/libglib-2.0.so.0
#7 0xb7c324bf in g_thread_create_full () from /usr/lib/libglib-2.0.so.0
#8 0xb7bce2d3 in start_thread () from /lib/libpthread.so.0
#9 0xb7b542fe in clone () from /lib/libc.so.6
Thread 9 (Thread -1376494704 (LWP 11933)):
#0 0xb7bd2451 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1 0xb7e9245f in gst_task_func (task=0x86134b0, tclass=0x8612c08)
at gsttask.c:180
#2 0xb7c3414b in g_thread_pool_push () from /usr/lib/libglib-2.0.so.0
#3 0xb7c324bf in g_thread_create_full () from /usr/lib/libglib-2.0.so.0
#4 0xb7bce2d3 in start_thread () from /lib/libpthread.so.0
#5 0xb7b542fe in clone () from /lib/libc.so.6
Thread 8 (Thread -1386116208 (LWP 11934)):
#0 0xb7bd2451 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1 0xb0677f20 in gst_queue_loop (pad=0x862f410) at gstqueue.c:983
#2 0xb7e92320 in gst_task_func (task=0x86581a0, tclass=0x8612c08)
at gsttask.c:192
#3 0xb7c3414b in g_thread_pool_push () from /usr/lib/libglib-2.0.so.0
#4 0xb7c324bf in g_thread_create_full () from /usr/lib/libglib-2.0.so.0
#5 0xb7bce2d3 in start_thread () from /lib/libpthread.so.0
#6 0xb7b542fe in clone () from /lib/libc.so.6
Thread 7 (Thread -1410180208 (LWP 11937)):
#0 0xb7b4a45d in poll () from /lib/libc.so.6
#1 0xb077d349 in gst_neonhttp_src_create (psrc=0x8602590, outbuf=0xabf252f4)
at gstneonhttpsrc.c:979
#2 0xb7a36715 in gst_push_src_create (bsrc=0x8602590, offset=366489600,
length=4096, ret=0xabf252f4) at gstpushsrc.c:117
#3 0xb7a2a036 in gst_base_src_get_range (src=0x8602590, offset=366489600,
length=4096, buf=0xabf252f4) at gstbasesrc.c:1542
#4 0xb7a2c80d in gst_base_src_loop (pad=0x84419e0) at gstbasesrc.c:1711
#5 0xb7e92320 in gst_task_func (task=0x8613500, tclass=0x8612c08)
at gsttask.c:192
#6 0xb7c3414b in g_thread_pool_push () from /usr/lib/libglib-2.0.so.0
#7 0xb7c324bf in g_thread_create_full () from /usr/lib/libglib-2.0.so.0
#8 0xb7bce2d3 in start_thread () from /lib/libpthread.so.0
#9 0xb7b542fe in clone () from /lib/libc.so.6
Thread 6 (Thread -1419773040 (LWP 11939)):
#0 0xb7b4a45d in poll () from /lib/libc.so.6
#1 0xb077d349 in gst_neonhttp_src_create (psrc=0x86027b8, outbuf=0xab5ff2f4)
at gstneonhttpsrc.c:979
#2 0xb7a36715 in gst_push_src_create (bsrc=0x86027b8, offset=140050432,
length=4096, ret=0xab5ff2f4) at gstpushsrc.c:117
#3 0xb7a2a036 in gst_base_src_get_range (src=0x86027b8, offset=140050432,
length=4096, buf=0xab5ff2f4) at gstbasesrc.c:1542
#4 0xb7a2c80d in gst_base_src_loop (pad=0x8441c20) at gstbasesrc.c:1711
#5 0xb7e92320 in gst_task_func (task=0x846bf28, tclass=0x8612c08)
at gsttask.c:192
#6 0xb7c3414b in g_thread_pool_push () from /usr/lib/libglib-2.0.so.0
#7 0xb7c324bf in g_thread_create_full () from /usr/lib/libglib-2.0.so.0
#8 0xb7bce2d3 in start_thread () from /lib/libpthread.so.0
#9 0xb7b542fe in clone () from /lib/libc.so.6
Thread 5 (Thread -1428161648 (LWP 11940)):
#0 0xb7bd2451 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1 0xb0677f20 in gst_queue_loop (pad=0x86656d8) at gstqueue.c:983
#2 0xb7e92320 in gst_task_func (task=0x86699e0, tclass=0x8612c08)
at gsttask.c:192
#3 0xb7c3414b in g_thread_pool_push () from /usr/lib/libglib-2.0.so.0
#4 0xb7c324bf in g_thread_create_full () from /usr/lib/libglib-2.0.so.0
#5 0xb7bce2d3 in start_thread () from /lib/libpthread.so.0
#6 0xb7b542fe in clone () from /lib/libc.so.6
Thread 4 (Thread -1436550256 (LWP 11941)):
#0 0xb7bd2451 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1 0xb0677f20 in gst_queue_loop (pad=0x8633588) at gstqueue.c:983
#2 0xb7e92320 in gst_task_func (task=0x86a2408, tclass=0x8612c08)
at gsttask.c:192
#3 0xb7c3414b in g_thread_pool_push () from /usr/lib/libglib-2.0.so.0
#4 0xb7c324bf in g_thread_create_full () from /usr/lib/libglib-2.0.so.0
#5 0xb7bce2d3 in start_thread () from /lib/libpthread.so.0
#6 0xb7b542fe in clone () from /lib/libc.so.6
Thread 3 (Thread -1396663408 (LWP 11946)):
#0 0xb7b4a45d in poll () from /lib/libc.so.6
#1 0xb077d349 in gst_neonhttp_src_create (psrc=0x86029e0, outbuf=0xacc092f4)
at gstneonhttpsrc.c:979
#2 0xb7a36715 in gst_push_src_create (bsrc=0x86029e0, offset=255377408,
length=4096, ret=0xacc092f4) at gstpushsrc.c:117
#3 0xb7a2a036 in gst_base_src_get_range (src=0x86029e0, offset=255377408,
length=4096, buf=0xacc092f4) at gstbasesrc.c:1542
#4 0xb7a2c80d in gst_base_src_loop (pad=0x86966c0) at gstbasesrc.c:1711
#5 0xb7e92320 in gst_task_func (task=0x846bf78, tclass=0x8612c08)
at gsttask.c:192
#6 0xb7c3414b in g_thread_pool_push () from /usr/lib/libglib-2.0.so.0
#7 0xb7c324bf in g_thread_create_full () from /usr/lib/libglib-2.0.so.0
#8 0xb7bce2d3 in start_thread () from /lib/libpthread.so.0
#9 0xb7b542fe in clone () from /lib/libc.so.6
Thread 2 (Thread -1362420848 (LWP 11947)):
#0 0xb7bd2451 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1 0xb0677f20 in gst_queue_loop (pad=0x86beed8) at gstqueue.c:983
#2 0xb7e92320 in gst_task_func (task=0x8675698, tclass=0x8612c08)
at gsttask.c:192
#3 0xb7c3414b in g_thread_pool_push () from /usr/lib/libglib-2.0.so.0
#4 0xb7c324bf in g_thread_create_full () from /usr/lib/libglib-2.0.so.0
#5 0xb7bce2d3 in start_thread () from /lib/libpthread.so.0
#6 0xb7b542fe in clone () from /lib/libc.so.6
Thread 1 (Thread -1213974864 (LWP 11913)):
#0 0xb7bd4d41 in __write_nocancel () from /lib/libpthread.so.0
#1 0xb7c3e8f6 in g_io_channel_unix_get_fd () from /usr/lib/libglib-2.0.so.0
#2 0xb7c047a6 in g_io_channel_flush () from /usr/lib/libglib-2.0.so.0
#3 0xb7a0668f in pgm_context_update (context=0x8105028) at pgmcontext.c:910
#4 0xb7a0dc76 in pgm_gl_viewport_update (viewport=0x81040b0)
at pgmglviewport.c:695
#5 0xb7eddfdf in pgm_viewport_update (viewport=0x81040b0)
at ./pgmviewport.c:703
#6 0x0804d5c2 in viewport_update (viewport=0x81040b0) at gstreamer.c:1202
#7 0xb7c0f8f6 in g_source_get_current_time () from /usr/lib/libglib-2.0.so.0
#8 0xb7c0f186 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#9 0xb7c12512 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#10 0xb7c128f7 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#11 0x0804f705 in main (argc=2, argv=0xbf959d94) at main.c:97
#0 0xb7bd4d41 in __write_nocancel () from /lib/libpthread.so.0