(gdb) thread apply all bt

Thread 11 (Thread 0x7fffcac21700 (LWP 2685)):
#0  0x0000003a2f60b8c4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003a30e17c50 in g_async_queue_pop_intern_unlocked (queue=0x1322690, try=0, end_time=0x0) at gasyncqueue.c:416
#2  0x0000003a30e18418 in g_async_queue_pop (queue=0x1322690) at gasyncqueue.c:456
#3  0x0000003a49823e1b in sync_request_thread_cb (cFile=0xb62290) at camel-db.c:80
#4  0x0000003a30e69446 in g_thread_create_proxy (data=0x1322700) at gthread.c:1897
#5  0x0000003a2f606d5b in start_thread () from /lib64/libpthread.so.0
#6  0x0000003a2f2e4a7d in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7fffe1707700 (LWP 2683)):
#0  0x0000003a2f60b8c4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003a30e17c50 in g_async_queue_pop_intern_unlocked (queue=0xdb57a0, try=0, end_time=0x0) at gasyncqueue.c:416
#2  0x0000003a30e18418 in g_async_queue_pop (queue=0xdb57a0) at gasyncqueue.c:456
#3  0x0000003a49823e1b in sync_request_thread_cb (cFile=0xd8add8) at camel-db.c:80
#4  0x0000003a30e69446 in g_thread_create_proxy (data=0xdb34f0) at gthread.c:1897
#5  0x0000003a2f606d5b in start_thread () from /lib64/libpthread.so.0
#6  0x0000003a2f2e4a7d in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7fffe2537700 (LWP 2682)):
#0  0x0000003a2f60b8c4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003a30e17c50 in g_async_queue_pop_intern_unlocked (queue=0xdb1350, try=0, end_time=0x0) at gasyncqueue.c:416
#2  0x0000003a30e18418 in g_async_queue_pop (queue=0xdb1350) at gasyncqueue.c:456
#3  0x0000003a49823e1b in sync_request_thread_cb (cFile=0xdb1818) at camel-db.c:80
#4  0x0000003a30e69446 in g_thread_create_proxy (data=0xdb1390) at gthread.c:1897
#5  0x0000003a2f606d5b in start_thread () from /lib64/libpthread.so.0
#6  0x0000003a2f2e4a7d in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7fffe2d38700 (LWP 2680)):
#0  0x0000003a2f60b8c4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003a30e17c50 in g_async_queue_pop_intern_unlocked (queue=0xb69dd0, try=0, end_time=0x0) at gasyncqueue.c:416
#2  0x0000003a30e18418 in g_async_queue_pop (queue=0xb69dd0) at gasyncqueue.c:456
#3  0x0000003a49823e1b in sync_request_thread_cb (cFile=0xb62238) at camel-db.c:80
#4  0x0000003a30e69446 in g_thread_create_proxy (data=0xb69e40) at gthread.c:1897
#5  0x0000003a2f606d5b in start_thread () from /lib64/libpthread.so.0
#6  0x0000003a2f2e4a7d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fffe3539700 (LWP 2677)):
#0  0x0000003a2f60b8c4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003a30e17c50 in g_async_queue_pop_intern_unlocked (queue=0xb36730, try=0, end_time=0x0) at gasyncqueue.c:416
#2  0x0000003a30e18418 in g_async_queue_pop (queue=0xb36730) at gasyncqueue.c:456
#3  0x0000003a49823e1b in sync_request_thread_cb (cFile=0xb36ba8) at camel-db.c:80
#4  0x0000003a30e69446 in g_thread_create_proxy (data=0xb367a0) at gthread.c:1897
#5  0x0000003a2f606d5b in start_thread () from /lib64/libpthread.so.0
#6  0x0000003a2f2e4a7d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7ffff16d7700 (LWP 2676)):
#0  0x0000003a2f2db083 in poll () from /lib64/libc.so.6
#1  0x0000003a30e42374 in g_main_context_poll (context=0x67dfe0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3093
#2  g_main_context_iterate (context=0x67dfe0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2775
---Type <return> to continue, or q <return> to quit---
#3  0x0000003a30e42c82 in g_main_loop_run (loop=0x67e0c0) at gmain.c:2988
#4  0x0000003a326a5774 in gdbus_shared_thread_func (data=<value optimized out>) at gdbusprivate.c:277
#5  0x0000003a30e69446 in g_thread_create_proxy (data=0x67e0e0) at gthread.c:1897
#6  0x0000003a2f606d5b in start_thread () from /lib64/libpthread.so.0
#7  0x0000003a2f2e4a7d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7ffff7fae980 (LWP 2673)):
#0  0x0000003a2f2adbbd in nanosleep () from /lib64/libc.so.6
#1  0x0000003a2f2dd614 in usleep () from /lib64/libc.so.6
#2  0x0000003a42a1fbfa in unixSleep (NotUsed=<value optimized out>, microseconds=22000) at sqlite3.c:26515
#3  0x0000003a42a10a58 in sqlite3OsSleep (ptr=<value optimized out>, count=<value optimized out>) at sqlite3.c:12647
#4  sqliteDefaultBusyCallback (ptr=<value optimized out>, count=<value optimized out>) at sqlite3.c:31759
#5  0x0000003a42a0c23d in sqlite3InvokeBusyHandler (pArg=<value optimized out>) at sqlite3.c:97318
#6  btreeInvokeBusyHandler (pArg=<value optimized out>) at sqlite3.c:40214
#7  0x0000003a42a0bb39 in pager_wait_on_lock (pPager=0xb36a78, locktype=1) at sqlite3.c:34743
#8  0x0000003a42a3983b in sqlite3PagerSharedLock (p=0xb36558, wrflag=0) at sqlite3.c:35779
#9  lockBtree (p=0xb36558, wrflag=0) at sqlite3.c:40803
#10 sqlite3BtreeBeginTrans (p=0xb36558, wrflag=0) at sqlite3.c:41055
#11 0x0000003a42a6b4bc in sqlite3VdbeExec (p=0x23ed808) at sqlite3.c:56074
#12 0x0000003a42a56b38 in sqlite3Step (pStmt=0x23ed808) at sqlite3.c:51732
#13 sqlite3_step (pStmt=0x23ed808) at sqlite3.c:51792
#14 0x0000003a42a5a5d2 in sqlite3_exec (db=0xb35f68, zSql=<value optimized out>, xCallback=<value optimized out>, pArg=0x7fffffffdb10, pzErrMsg=0x7fffffffda98)
    at sqlite3.c:76845
#15 0x0000003a498254ed in camel_db_select (cdb=0xb37a50, stmt=
    0x23f6b68 "SELECT uid, flags, size, dsent, dreceived, subject, mail_from, mail_to, mail_cc, mlist, part, labels, usertags, cinfo, bdata FROM 'Inbox' WHERE uid = '35296'", callback=0x3a4b42e290 <camel_read_mir_callback>, data=0x7fffffffdb10, error=0x0) at camel-db.c:963
#16 0x0000003a4982655e in camel_db_read_message_info_record_with_uid (cdb=0xb37a50, folder_name=<value optimized out>, uid=<value optimized out>, p=
    0x7fffffffdb10, read_mir_callback=0x3a4b42e290 <camel_read_mir_callback>, error=0x0) at camel-db.c:1893
#17 0x0000003a4b42f0d1 in message_info_from_uid (s=0xba8040 [CamelMboxSummary], uid=0xfa8470 "35296") at camel-folder-summary.c:1275
#18 0x0000003a4b45d480 in camel_vee_summary_add (s=0xdca2a0 [CamelVeeSummary], summary=0xba8040 [CamelMboxSummary], uid=0xfa8470 "35296", 
    hash=<value optimized out>) at camel-vee-summary.c:483
#19 0x0000003a4b4572d9 in vee_folder_add_uid (uidin=<value optimized out>, value=<value optimized out>, u=0x7fffffffdca0) at camel-vee-folder.c:89
#20 folder_added_uid (uidin=<value optimized out>, value=<value optimized out>, u=0x7fffffffdca0) at camel-vee-folder.c:719
#21 0x0000003a30e31f83 in g_hash_table_foreach (hash_table=0x12e1370 = {...}, func=0x3a4b4572b0 <folder_added_uid>, user_data=0x7fffffffdca0) at ghash.c:1328
#22 0x0000003a4b45a249 in vee_folder_rebuild_folder (vee_folder=<value optimized out>, source=0x6bc320 [CamelMboxFolder], error=<value optimized out>)
    at camel-vee-folder.c:1781
#23 0x0000003a4b44ee79 in store_get_special (store=<value optimized out>, type=<value optimized out>) at camel-store.c:95
#24 0x00007fffe354505e in local_get_trash (store=0x6ad170 [CamelMboxStore], error=0x0) at camel-local-store.c:226
#25 0x0000003a4b44f64d in camel_store_get_folder (store=0x6ad170 [CamelMboxStore], folder_name=0x3a4b4688cb ".#evolution/Trash", flags=0, error=0x0)
    at camel-store.c:469
#26 0x0000003a4e44a8ba in store_info_new (store=0x6ad170 [CamelMboxStore], display_name=0x3a4e495c0b "On This Computer", callback=
    0x3a4e44aa50 <mail_store_add_local_done_cb>) at e-mail-store.c:89
#27 mail_store_add (store=0x6ad170 [CamelMboxStore], display_name=0x3a4e495c0b "On This Computer", callback=0x3a4e44aa50 <mail_store_add_local_done_cb>)
    at e-mail-store.c:177
#28 0x0000003a4e47ecae in do_async_event (m=0xadf1f0) at mail-mt.c:621
#29 0x0000003a4e4800a0 in idle_async_event (m=0xadf1f0) at mail-mt.c:633
#30 0x0000003a30e41e33 in g_main_dispatch (context=0x645650) at gmain.c:2149
#31 g_main_context_dispatch (context=0x645650) at gmain.c:2702
#32 0x0000003a30e42610 in g_main_context_iterate (context=0x645650, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2780
#33 0x0000003a30e42c82 in g_main_loop_run (loop=0xb03ce0) at gmain.c:2988
---Type <return> to continue, or q <return> to quit---
#34 0x0000003a38b4b0b7 in IA__gtk_main () at gtkmain.c:1237
#35 0x0000000000402679 in main (argc=1, argv=0x7fffffffe188) at main.c:679
(gdb) 
