EphyShell test is failing when saving session
Submitted by an unknown user
Link to original bug (#693369)
Description
Seems to be thread related, bt:
- (/home/xan/git/epiphany/build/tests/test-ephy-shell:17454): WARNING **: Error saving session: Error creating backup copy: No such file or directory
Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 0x7ffff1107700 (LWP 17462)]
0x00007ffff4192997 in g_logv (log_domain=0x0, log_level=G_LOG_LEVEL_WARNING, format=0x4b93a4 "Error saving session: %s", args=0x7ffff11069f8) at gmessages.c:974
974 G_BREAKPOINT ();
Missing separate debuginfos, use: debuginfo-install libXres-1.0.5-2.fc15.x86_64 libwebp-0.2.1-1.fc16.x86_64 libwnck3-3.2.1-2.fc16.x86_64 libxkbfile-1.0.7-2.fc15.x86_64 xcb-util-0.3.6-2.fc15.x86_64
(gdb) bt
#0 0x00007ffff4192997 in g_logv (log_domain=0x0, log_level=G_LOG_LEVEL_WARNING, format=0x4b93a4 "Error saving session: %s", args=0x7ffff11069f8) at gmessages.c:974
#1 0x00007ffff4192a97 in g_log (log_domain=0x0, log_level=G_LOG_LEVEL_WARNING, format=0x4b93a4 "Error saving session: %s") at gmessages.c:1010
#2 0x0000000000455d7a in save_session_in_thread (job=0x1170040, cancellable=0x5b8810, user_data=0x669920) at ../../src/ephy-session.c:902
#3 0x00007ffff435fbbc in io_job_thread (task=0x109f830, source_object=0x0, task_data=0x1170040, cancellable=0x5b8810) at gioscheduler.c:89
#4 0x00007ffff4388f5c in g_task_thread_pool_thread (thread_data=0x109f830, pool_data=0x0) at gtask.c:1242
#5 0x00007ffff41b61f6 in g_thread_pool_thread_proxy (data=0xa012a0) at gthreadpool.c:309
#6 0x00007ffff41b5c0b in g_thread_proxy (data=0xa12f20) at gthread.c:798
#7 0x00000037b0407d90 in start_thread (arg=0x7ffff1107700) at pthread_create.c:309
#8 0x00000037afcf119d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115
(gdb) thread apply all bt
Thread 18 (Thread 0x7fff7d7fa700 (LWP 17473)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1 0x00007ffff41da3ed in g_cond_wait_until (cond=0x8362f8, mutex=0x8362f0, end_time=2419032277089) at gthread-posix.c:859
#2 0x00007ffff41548ed in g_async_queue_pop_intern_unlocked (queue=0x8362f0, wait=1, end_time=2419032277089) at gasyncqueue.c:424
#3 0x00007ffff4154b6c in g_async_queue_timeout_pop_unlocked (queue=0x8362f0, timeout=500000) at gasyncqueue.c:572
#4 0x00007ffff41b616d in g_thread_pool_wait_for_new_task (pool=0xa012a0) at gthreadpool.c:264
#5 0x00007ffff41b61aa in g_thread_pool_thread_proxy (data=0xa012a0) at gthreadpool.c:298
#6 0x00007ffff41b5c0b in g_thread_proxy (data=0x11718a0) at gthread.c:798
#7 0x00000037b0407d90 in start_thread (arg=0x7fff7d7fa700) at pthread_create.c:309
#8 0x00000037afcf119d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115
Thread 17 (Thread 0x7fff7dffb700 (LWP 17472)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1 0x00007ffff41da3ed in g_cond_wait_until (cond=0x8362f8, mutex=0x8362f0, end_time=2419032318590) at gthread-posix.c:859
#2 0x00007ffff41548ed in g_async_queue_pop_intern_unlocked (queue=0x8362f0, wait=1, end_time=2419032318590) at gasyncqueue.c:424
#3 0x00007ffff4154b6c in g_async_queue_timeout_pop_unlocked (queue=0x8362f0, timeout=500000) at gasyncqueue.c:572
#4 0x00007ffff41b616d in g_thread_pool_wait_for_new_task (pool=0xa012a0) at gthreadpool.c:264
#5 0x00007ffff41b61aa in g_thread_pool_thread_proxy (data=0xa012a0) at gthreadpool.c:298
#6 0x00007ffff41b5c0b in g_thread_proxy (data=0x107cd90) at gthread.c:798
#7 0x00000037b0407d90 in start_thread (arg=0x7fff7dffb700) at pthread_create.c:309
#8 0x00000037afcf119d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115
Thread 16 (Thread 0x7fff7e7fc700 (LWP 17471)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1 0x00007ffff41da3ed in g_cond_wait_until (cond=0x8362f8, mutex=0x8362f0, end_time=2419032277551) at gthread-posix.c:859
#2 0x00007ffff41548ed in g_async_queue_pop_intern_unlocked (queue=0x8362f0, wait=1, end_time=2419032277551) at gasyncqueue.c:424
#3 0x00007ffff4154b6c in g_async_queue_timeout_pop_unlocked (queue=0x8362f0, timeout=500000) at gasyncqueue.c:572
#4 0x00007ffff41b616d in g_thread_pool_wait_for_new_task (pool=0xa012a0) at gthreadpool.c:264
#5 0x00007ffff41b61aa in g_thread_pool_thread_proxy (data=0xa012a0) at gthreadpool.c:298
#6 0x00007ffff41b5c0b in g_thread_proxy (data=0x8ebf20) at gthread.c:798
#7 0x00000037b0407d90 in start_thread (arg=0x7fff7e7fc700) at pthread_create.c:309
#8 0x00000037afcf119d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115
Thread 15 (Thread 0x7fff7effd700 (LWP 17470)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1 0x00007ffff41da3ed in g_cond_wait_until (cond=0x8362f8, mutex=0x8362f0, end_time=2419032278485) at gthread-posix.c:859
#2 0x00007ffff41548ed in g_async_queue_pop_intern_unlocked (queue=0x8362f0, wait=1, end_time=2419032278485) at gasyncqueue.c:424
#3 0x00007ffff4154b6c in g_async_queue_timeout_pop_unlocked (queue=0x8362f0, timeout=500000) at gasyncqueue.c:572
#4 0x00007ffff41b616d in g_thread_pool_wait_for_new_task (pool=0xa012a0) at gthreadpool.c:264
#5 0x00007ffff41b61aa in g_thread_pool_thread_proxy (data=0xa012a0) at gthreadpool.c:298
#6 0x00007ffff41b5c0b in g_thread_proxy (data=0x100bd40) at gthread.c:798
#7 0x00000037b0407d90 in start_thread (arg=0x7fff7effd700) at pthread_create.c:309
#8 0x00000037afcf119d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115
Thread 14 (Thread 0x7fff7f7fe700 (LWP 17469)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1 0x00007ffff41da3ed in g_cond_wait_until (cond=0x8362f8, mutex=0x8362f0, end_time=2419032318682) at gthread-posix.c:859
#2 0x00007ffff41548ed in g_async_queue_pop_intern_unlocked (queue=0x8362f0, wait=1, end_time=2419032318682) at gasyncqueue.c:424
#3 0x00007ffff4154b6c in g_async_queue_timeout_pop_unlocked (queue=0x8362f0, timeout=500000) at gasyncqueue.c:572
#4 0x00007ffff41b616d in g_thread_pool_wait_for_new_task (pool=0xa012a0) at gthreadpool.c:264
#5 0x00007ffff41b61aa in g_thread_pool_thread_proxy (data=0xa012a0) at gthreadpool.c:298
#6 0x00007ffff41b5c0b in g_thread_proxy (data=0x8598f0) at gthread.c:798
#7 0x00000037b0407d90 in start_thread (arg=0x7fff7f7fe700) at pthread_create.c:309
#8 0x00000037afcf119d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115
Thread 13 (Thread 0x7fff7ffff700 (LWP 17468)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1 0x00007ffff41da3ed in g_cond_wait_until (cond=0x8362f8, mutex=0x8362f0, end_time=2419032318563) at gthread-posix.c:859
#2 0x00007ffff41548ed in g_async_queue_pop_intern_unlocked (queue=0x8362f0, wait=1, end_time=2419032318563) at gasyncqueue.c:424
#3 0x00007ffff4154b6c in g_async_queue_timeout_pop_unlocked (queue=0x8362f0, timeout=500000) at gasyncqueue.c:572
#4 0x00007ffff41b616d in g_thread_pool_wait_for_new_task (pool=0xa012a0) at gthreadpool.c:264
#5 0x00007ffff41b61aa in g_thread_pool_thread_proxy (data=0xa012a0) at gthreadpool.c:298
#6 0x00007ffff41b5c0b in g_thread_proxy (data=0xf6bc50) at gthread.c:798
#7 0x00000037b0407d90 in start_thread (arg=0x7fff7ffff700) at pthread_create.c:309
#8 0x00000037afcf119d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115
Thread 12 (Thread 0x7fff94cec700 (LWP 17467)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1 0x00007ffff41da3ed in g_cond_wait_until (cond=0x8362f8, mutex=0x8362f0, end_time=2419032278015) at gthread-posix.c:859
#2 0x00007ffff41548ed in g_async_queue_pop_intern_unlocked (queue=0x8362f0, wait=1, end_time=2419032278015) at gasyncqueue.c:424
#3 0x00007ffff4154b6c in g_async_queue_timeout_pop_unlocked (queue=0x8362f0, timeout=500000) at gasyncqueue.c:572
#4 0x00007ffff41b616d in g_thread_pool_wait_for_new_task (pool=0xa012a0) at gthreadpool.c:264
#5 0x00007ffff41b61aa in g_thread_pool_thread_proxy (data=0xa012a0) at gthreadpool.c:298
#6 0x00007ffff41b5c0b in g_thread_proxy (data=0xeb3630) at gthread.c:798
#7 0x00000037b0407d90 in start_thread (arg=0x7fff94cec700) at pthread_create.c:309
#8 0x00000037afcf119d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115
Thread 11 (Thread 0x7fff958ed700 (LWP 17466)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1 0x00007ffff5bc6c4b in JSC::GCThread::waitForNextPhase() () from /home/xan/gnome/lib64/libjavascriptcoregtk-3.0.so.0
#2 0x00007ffff5bc6cd0 in JSC::GCThread::gcThreadMain() () from /home/xan/gnome/lib64/libjavascriptcoregtk-3.0.so.0
#3 0x00007ffff5dca761 in WTF::wtfThreadEntryPoint(void*) () from /home/xan/gnome/lib64/libjavascriptcoregtk-3.0.so.0
#4 0x00000037b0407d90 in start_thread (arg=0x7fff958ed700) at pthread_create.c:309
#5 0x00000037afcf119d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115
Thread 10 (Thread 0x7fff960ee700 (LWP 17465)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1 0x00007ffff5bc6c4b in JSC::GCThread::waitForNextPhase() () from /home/xan/gnome/lib64/libjavascriptcoregtk-3.0.so.0
#2 0x00007ffff5bc6cd0 in JSC::GCThread::gcThreadMain() () from /home/xan/gnome/lib64/libjavascriptcoregtk-3.0.so.0
#3 0x00007ffff5dca761 in WTF::wtfThreadEntryPoint(void*) () from /home/xan/gnome/lib64/libjavascriptcoregtk-3.0.so.0
#4 0x00000037b0407d90 in start_thread (arg=0x7fff960ee700) at pthread_create.c:309
#5 0x00000037afcf119d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115
Thread 9 (Thread 0x7fff968ef700 (LWP 17464)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1 0x00007ffff5bc6c4b in JSC::GCThread::waitForNextPhase() () from /home/xan/gnome/lib64/libjavascriptcoregtk-3.0.so.0
#2 0x00007ffff5bc6cd0 in JSC::GCThread::gcThreadMain() () from /home/xan/gnome/lib64/libjavascriptcoregtk-3.0.so.0
#3 0x00007ffff5dca761 in WTF::wtfThreadEntryPoint(void*) () from /home/xan/gnome/lib64/libjavascriptcoregtk-3.0.so.0
#4 0x00000037b0407d90 in start_thread (arg=0x7fff968ef700) at pthread_create.c:309
#5 0x00000037afcf119d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115
Thread 8 (Thread 0x7fff9710f700 (LWP 17463)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1 0x00007ffff5bc5e58 in JSC::BlockAllocator::blockFreeingThreadMain() () from /home/xan/gnome/lib64/libjavascriptcoregtk-3.0.so.0
#2 0x00007ffff5dca761 in WTF::wtfThreadEntryPoint(void*) () from /home/xan/gnome/lib64/libjavascriptcoregtk-3.0.so.0
#3 0x00000037b0407d90 in start_thread (arg=0x7fff9710f700) at pthread_create.c:309
#4 0x00000037afcf119d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115
Thread 7 (Thread 0x7ffff1107700 (LWP 17462)):
#0 0x00007ffff4192997 in g_logv (log_domain=0x0, log_level=G_LOG_LEVEL_WARNING, format=0x4b93a4 "Error saving session: %s", args=0x7ffff11069f8) at gmessages.c:974
#1 0x00007ffff4192a97 in g_log (log_domain=0x0, log_level=G_LOG_LEVEL_WARNING, format=0x4b93a4 "Error saving session: %s") at gmessages.c:1010
#2 0x0000000000455d7a in save_session_in_thread (job=0x1170040, cancellable=0x5b8810, user_data=0x669920) at ../../src/ephy-session.c:902
#3 0x00007ffff435fbbc in io_job_thread (task=0x109f830, source_object=0x0, task_data=0x1170040, cancellable=0x5b8810) at gioscheduler.c:89
#4 0x00007ffff4388f5c in g_task_thread_pool_thread (thread_data=0x109f830, pool_data=0x0) at gtask.c:1242
#5 0x00007ffff41b61f6 in g_thread_pool_thread_proxy (data=0xa012a0) at gthreadpool.c:309
#6 0x00007ffff41b5c0b in g_thread_proxy (data=0xa12f20) at gthread.c:798
#7 0x00000037b0407d90 in start_thread (arg=0x7ffff1107700) at pthread_create.c:309
#8 0x00000037afcf119d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115
Thread 6 (Thread 0x7ffff2b63700 (LWP 17461)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1 0x00007ffff6e67feb in WebCore::IconDatabase::syncThreadMainLoop() () from /home/xan/gnome/lib64/libwebkitgtk-3.0.so.0
#2 0x00007ffff6e681f8 in WebCore::IconDatabase::iconDatabaseSyncThread() () from /home/xan/gnome/lib64/libwebkitgtk-3.0.so.0
#3 0x00007ffff5dca761 in WTF::wtfThreadEntryPoint(void*) () from /home/xan/gnome/lib64/libjavascriptcoregtk-3.0.so.0
#4 0x00000037b0407d90 in start_thread (arg=0x7ffff2b63700) at pthread_create.c:309
#5 0x00000037afcf119d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115
Thread 5 (Thread 0x7ffff2139700 (LWP 17460)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1 0x00007ffff41da2a1 in g_cond_wait (cond=0x5bc2b8, mutex=0x5bc2b0) at gthread-posix.c:750
#2 0x00007ffff41548d0 in g_async_queue_pop_intern_unlocked (queue=0x5bc2b0, wait=1, end_time=-1) at gasyncqueue.c:421
#3 0x00007ffff41549c6 in g_async_queue_pop (queue=0x5bc2b0) at gasyncqueue.c:455
#4 0x000000000049b8e3 in run_history_service_thread (self=0x678370) at ../../../lib/history/ephy-history-service.c:465
#5 0x00007ffff41b5c0b in g_thread_proxy (data=0x63d000) at gthread.c:798
#6 0x00000037b0407d90 in start_thread (arg=0x7ffff2139700) at pthread_create.c:309
#7 0x00000037afcf119d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115
Thread 3 (Thread 0x7ffff347c700 (LWP 17458)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1 0x00007ffff5db79f4 in WTF::TCMalloc_PageHeap::scavengerThread() () from /home/xan/gnome/lib64/libjavascriptcoregtk-3.0.so.0
#2 0x00007ffff5db7a19 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /home/xan/gnome/lib64/libjavascriptcoregtk-3.0.so.0
#3 0x00000037b0407d90 in start_thread (arg=0x7ffff347c700) at pthread_create.c:309
#4 0x00000037afcf119d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115
Thread 2 (Thread 0x7ffff3d5c700 (LWP 17457)):
#0 0x00000037afce8803 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1 0x00007ffff419a727 in g_poll (fds=0x7fffec0010e0, nfds=3, timeout=-1) at gpoll.c:132
#2 0x00007ffff4189bfe in g_main_context_poll (context=0x55ccf0, timeout=-1, priority=2147483647, fds=0x7fffec0010e0, n_fds=3) at gmain.c:3995
#3 0x00007ffff418958b in g_main_context_iterate (context=0x55ccf0, block=1, dispatch=1, self=0x5578a0) at gmain.c:3696
#4 0x00007ffff41899df in g_main_loop_run (loop=0x55cc80) at gmain.c:3895
#5 0x00007ffff43f8aea in gdbus_shared_thread_func (user_data=0x55ccc0) at gdbusprivate.c:278
#6 0x00007ffff41b5c0b in g_thread_proxy (data=0x5578a0) at gthread.c:798
#7 0x00000037b0407d90 in start_thread (arg=0x7ffff3d5c700) at pthread_create.c:309
#8 0x00000037afcf119d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115
Thread 1 (Thread 0x7ffff40f29c0 (LWP 17454)):
#0 0x00000037afc7f3b5 in _int_malloc (av=0x37affb1700, bytes=12) at malloc.c:3467
#1 0x00000037afc82265 in __GI___libc_malloc (bytes=12) at malloc.c:2928
#2 0x00000037afc88222 in __GI___strdup (s=0x7fffffff4be0 "ID_FS_USAGE") at strdup.c:43
#3 0x00000037bcc03cfb in udev_list_entry_add (udev=0xdeb240, list=0x651af0, name=0x7fffffff4be0 "ID_FS_USAGE", value=0x7fffffff4bec "filesystem", flags=1) at libudev/libudev-list.c:153
#4 0x00000037bcc064bc in udev_device_add_property_from_string (udev_device=0x651a50, property=<optimized out>) at libudev/libudev-device.c:376
#5 0x00000037bcc071ab in udev_device_read_db (udev_device=0x651a50, dbfile=<optimized out>) at libudev/libudev-device.c:547
#6 0x00000037bcc0558f in udev_device_get_properties_list_entry (udev_device=0x651a50) at libudev/libudev-device.c:1236
#7 0x00000037bcc05873 in udev_device_get_property_value (udev_device=<optimized out>, key=0x7ffff3dcd3bc "ID_FS_UUID_ENC") at libudev/libudev-device.c:491
#8 0x00007ffff3dc658a in get_tree_from_udev (cache=0x1057a60, devnum=64769) at metatree.c:2779
#9 0x00007ffff3dc666a in get_tree_for_device (cache=0x1057a60, device=64769) at metatree.c:2811
#10 0x00007ffff3dc7435 in meta_lookup_cache_lookup_path (cache=0x1057a60, filename=0x1038010 "/tmp/epiphany-xan-T0YycD/epiphany/.goutputstream-KBHDSW", device=64769, for_write=0, tree_path=0x7fffffffd638) at metatree.c:3307
#11 0x00007ffff3dabd93 in g_daemon_vfs_local_file_removed (vfs=0x54b300, filename=0x1038010 "/tmp/epiphany-xan-T0YycD/epiphany/.goutputstream-KBHDSW") at gdaemonvfs.c:1392
#12 0x00007ffff4411a05 in g_local_file_delete (file=0x66c440, cancellable=0x0, error=0x0) at glocalfile.c:1508
#13 0x00007ffff4340186 in g_file_delete (file=0x66c440, cancellable=0x0, error=0x0) at gfile.c:3715
#14 0x00000000004a3f92 in ephy_file_delete_dir_recursively (directory=0x6370a0, error=0x0) at ../../lib/ephy-file-helpers.c:877
#15 0x00000000004a3f72 in ephy_file_delete_dir_recursively (directory=0x5c6560, error=0x0) at ../../lib/ephy-file-helpers.c:875
#16 0x00000000004a367a in ephy_file_helpers_shutdown () at ../../lib/ephy-file-helpers.c:438
#17 0x00000000004318cb in main ()
(gdb)