$ gdb eog
GNU gdb (Ubuntu/Linaro 7.3-0ubuntu2) 7.3-2011.08
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /usr/bin/eog...Reading symbols from /usr/lib/debug/usr/bin/eog...done.
done.
(gdb) r
Starting program: /usr/bin/eog
[Thread debugging using libthread_db enabled]
[New Thread 0x7fffec5c5700 (LWP 3241)]
[New Thread 0x7fffebbbb700 (LWP 3242)]
[New Thread 0x7fffeb1b4700 (LWP 3243)]
[New Thread 0x7fffe9594700 (LWP 3244)]
^C
Program received signal SIGINT, Interrupt.
0x00007ffff4041be4 in __lll_lock_wait ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
(gdb) thread apply all bt

Thread 5 (Thread 0x7fffe9594700 (LWP 3244)):
#0  0x00007ffff403f3cb in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007ffff44e9e05 in g_cond_wait_until (cond=0x7efa68,
    mutex=<optimized out>, end_time=<optimized out>)
    at /build/buildd/glib2.0-2.31.0/./glib/gthread-posix.c:870
#2  0x00007ffff448574e in g_async_queue_pop_intern_unlocked (queue=0x7efa60,
    wait=1, end_time=0x7fffe9593c10)
    at /build/buildd/glib2.0-2.31.0/./glib/gasyncqueue.c:418
#3  0x00007ffff4485d5e in g_async_queue_timed_pop (queue=0x7efa60,
    end_time=0x7fffe9593c10)
    at /build/buildd/glib2.0-2.31.0/./glib/gasyncqueue.c:542
#4  0x00007ffff44d07a7 in g_thread_pool_wait_for_new_pool ()
    at /build/buildd/glib2.0-2.31.0/./glib/gthreadpool.c:174
#5  g_thread_pool_thread_proxy (data=<optimized out>)
    at /build/buildd/glib2.0-2.31.0/./glib/gthreadpool.c:374
#6  0x00007ffff44d0024 in g_thread_proxy (data=0x812990)
    at /build/buildd/glib2.0-2.31.0/./glib/gthread.c:796
#7  0x00007ffff403aefc in start_thread ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#8  0x00007ffff3d7589d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fffeb1b4700 (LWP 3243)):
#0  0x00007ffff3d69773 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007ffff44aec66 in g_main_context_poll (n_fds=3, fds=0x7dbd60,
    timeout=-1, context=0x7c05a0, priority=<optimized out>)
    at /build/buildd/glib2.0-2.31.0/./glib/gmain.c:3289
#2  g_main_context_iterate (dispatch=1, block=<optimized out>, context=0x7c05a0,
    self=<optimized out>) at /build/buildd/glib2.0-2.31.0/./glib/gmain.c:2990
#3  g_main_context_iterate (context=0x7c05a0, block=<optimized out>, dispatch=1,
    self=<optimized out>) at /build/buildd/glib2.0-2.31.0/./glib/gmain.c:2932
#4  0x00007ffff44af0ca in g_main_loop_run (loop=0x7c0550)
    at /build/buildd/glib2.0-2.31.0/./glib/gmain.c:3189
#5  0x00007ffff5c31276 in gdbus_shared_thread_func (user_data=0x7c0570)
    at /build/buildd/glib2.0-2.31.0/./gio/gdbusprivate.c:276
#6  0x00007ffff44d0024 in g_thread_proxy (data=0x7c3c50)
    at /build/buildd/glib2.0-2.31.0/./glib/gthread.c:796
#7  0x00007ffff403aefc in start_thread ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#8  0x00007ffff3d7589d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fffebbbb700 (LWP 3242)):
#0  0x00007ffff3d69773 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007ffff44aec66 in g_main_context_poll (n_fds=1, fds=0x7aeb20,
    timeout=-1, context=0x6bbad0, priority=<optimized out>)
    at /build/buildd/glib2.0-2.31.0/./glib/gmain.c:3289
#2  g_main_context_iterate (dispatch=1, block=<optimized out>, context=0x6bbad0,
    self=<optimized out>) at /build/buildd/glib2.0-2.31.0/./glib/gmain.c:2990
#3  g_main_context_iterate (context=0x6bbad0, block=<optimized out>, dispatch=1,
    self=<optimized out>) at /build/buildd/glib2.0-2.31.0/./glib/gmain.c:2932
#4  0x00007ffff44af0ca in g_main_loop_run (loop=0x6bba40)
    at /build/buildd/glib2.0-2.31.0/./glib/gmain.c:3189
#5  0x00007fffebbc09cb in ?? () from /usr/lib/gio/modules/libdconfsettings.so
#6  0x00007ffff44d0024 in g_thread_proxy (data=0x7ae0f0)
    at /build/buildd/glib2.0-2.31.0/./glib/gthread.c:796
#7  0x00007ffff403aefc in start_thread ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#8  0x00007ffff3d7589d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fffec5c5700 (LWP 3241)):
#0  0x00007ffff403f04c in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007ffff44e9d0f in g_cond_wait (cond=0x7a9500, mutex=<optimized out>)
    at /build/buildd/glib2.0-2.31.0/./glib/gthread-posix.c:755
#2  0x0000000000423795 in eog_render_thread (data=<optimized out>)
    at eog-job-queue.c:137
#3  0x00007ffff44d0024 in g_thread_proxy (data=0x7aded0)
    at /build/buildd/glib2.0-2.31.0/./glib/gthread.c:796
#4  0x00007ffff403aefc in start_thread ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007ffff3d7589d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffff7fcc980 (LWP 3238)):
#0  0x00007ffff4041be4 in __lll_lock_wait ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007ffff403d21b in _L_lock_1031 ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#2  0x00007ffff403d19c in pthread_mutex_lock ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#3  0x00007ffff44e9a81 in g_mutex_lock (mutex=<optimized out>)
    at /build/buildd/glib2.0-2.31.0/./glib/gthread-posix.c:211
#4  0x00007ffff60ed318 in gdk_threads_dispatch (data=0xa3fba0)
    at /build/buildd/gtk+3.0-3.2.0/./gdk/gdk.c:751
#5  0x00007ffff44ae90a in g_main_dispatch (context=0x6c54d0)
    at /build/buildd/glib2.0-2.31.0/./glib/gmain.c:2387
#6  g_main_context_dispatch (context=0x6c54d0)
    at /build/buildd/glib2.0-2.31.0/./glib/gmain.c:2924
#7  0x00007ffff44aecd0 in g_main_context_iterate (dispatch=1,
    block=<optimized out>, context=0x6c54d0, self=<optimized out>)
    at /build/buildd/glib2.0-2.31.0/./glib/gmain.c:2995
#8  g_main_context_iterate (context=0x6c54d0, block=<optimized out>, dispatch=1,
    self=<optimized out>) at /build/buildd/glib2.0-2.31.0/./glib/gmain.c:2932
#9  0x00007ffff44aed94 in g_main_context_iteration (context=0x6c54d0,
    may_block=1) at /build/buildd/glib2.0-2.31.0/./glib/gmain.c:3056
#10 0x00007ffff5c09084 in g_application_run (application=0x73e2c0,
    argc=<optimized out>, argv=<optimized out>)
    at /build/buildd/glib2.0-2.31.0/./gio/gapplication.c:1320
#11 0x000000000041ce8f in main (argc=1, argv=0x7fffffffe128) at main.c:168
