GNOME Bugzilla – Bug 746241
gnome-boxes stuck, when I run it immediately after system start
Last modified: 2017-01-04 13:46:14 UTC
gnome-boxes stuck, when I run it immediately after system start $ gnome-boxes --version 3.15.91 $ gdb gnome-boxes GNU gdb (GDB) Fedora 7.9-10.fc22 Copyright (C) 2015 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-redhat-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from gnome-boxes...Reading symbols from /usr/lib/debug/usr/bin/gnome-boxes.debug...done. done. (gdb) r Starting program: /usr/bin/gnome-boxes [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Traceback (most recent call last): File "/usr/share/gdb/auto-load/usr/lib64/libstdc++.so.6.0.21-gdb.py", line 58, in <module> import libstdcxx.v6 File "/lib64/../share/gcc-5.0.0/python/libstdcxx/v6/__init__.py", line 19, in <module> from printers import register_libstdcxx_printers ImportError: No module named 'printers' [New Thread 0x7fffd56b5700 (LWP 4670)] ^C[New Thread 0x7fffcddb4700 (LWP 4674)] [New Thread 0x7fffcf7c4700 (LWP 4671)] Program received signal SIGINT, Interrupt. 0x00007ffff253c66d in poll () at ../sysdeps/unix/syscall-template.S:81 81 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS) Missing separate debuginfos, use: debuginfo-install xen-libs-4.5.0-5.fc22.x86_64 (gdb) thread apply all bt
+ Trace 234848
Thread 1 (Thread 0x7ffff7f3aac0 (LWP 4665))
(gdb) (gdb) (gdb)
Seems like some Tracker or even lower-layer issue: #4 g_dbus_connection_send_message_with_reply_sync at gdbusconnection.c line 2255 #5 tracker_sparql_backend_construct at /home/carlos/Source/gnome/tracker/src/libtracker-sparql-backend/tracker-backend.vala line 43 #6 tracker_sparql_backend_new at /home/carlos/Source/gnome/tracker/src/libtracker-sparql-backend/tracker-backend.vala line 31 #7 tracker_sparql_backend_get at /home/carlos/Source/gnome/tracker/src/libtracker-sparql-backend/tracker-backend.vala line 244 #8 tracker_sparql_backend_get_internal at /home/carlos/Source/gnome/tracker/src/libtracker-sparql-backend/tracker-backend.vala line 262 #9 tracker_sparql_connection_get at /home/carlos/Source/gnome/tracker/src/libtracker-sparql-backend/tracker-backend.vala line 402 #10 boxes_media_manager_construct at /home/zeenix/checkout/gnome/gnome-boxes/src/media-manager.vala line 186
Mikhail, I made a guess at your tracker version, please feel free to correct it.
$ tracker --version Tracker 1.3.5
Maybe this helps [ 240.189670] INFO: task tracker-store:2125 blocked for more than 120 seconds. [ 240.189673] Not tainted 4.0.0-0.rc4.git0.1.fc22.x86_64+debug #1 [ 240.189674] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [ 240.189675] tracker-store D ffff8807bb2331f8 10672 2125 1 0x00000000 [ 240.189679] ffff8807bb2331f8 00000000bb2331c8 ffff8807bbe08000 ffff8807bb2331e8 [ 240.189681] ffff8807bb233fd8 ffff8807ffbd62c0 7fffffffffffffff ffffffff8187f6d0 [ 240.189683] ffff8807bb2333b0 ffff8807bb233218 ffffffff8187ec77 0000000000000000 [ 240.189685] Call Trace: [ 240.189689] [<ffffffff8187f6d0>] ? bit_wait_timeout+0x70/0x70 [ 240.189691] [<ffffffff8187ec77>] schedule+0x37/0x90 [ 240.189693] [<ffffffff81883c1c>] schedule_timeout+0x25c/0x420 [ 240.189695] [<ffffffff811095df>] ? mark_held_locks+0x7f/0xc0 [ 240.189708] [<ffffffff8113ff6d>] ? ktime_get+0x7d/0x150 [ 240.189710] [<ffffffff8187f6d0>] ? bit_wait_timeout+0x70/0x70 [ 240.189711] [<ffffffff8110975d>] ? trace_hardirqs_on_caller+0x13d/0x1e0 [ 240.189714] [<ffffffff810275f9>] ? read_tsc+0x9/0x10 [ 240.189716] [<ffffffff8113ff9c>] ? ktime_get+0xac/0x150 [ 240.189720] [<ffffffff81195893>] ? __delayacct_blkio_start+0x23/0x30 [ 240.189722] [<ffffffff8187f6d0>] ? bit_wait_timeout+0x70/0x70 [ 240.189725] [<ffffffff8187e16a>] io_schedule_timeout+0xaa/0x130 [ 240.189749] [<ffffffffa0654950>] ? free_root_pointers+0x60/0x60 [btrfs] [ 240.189752] [<ffffffff8187f705>] bit_wait_io+0x35/0x60 [ 240.189754] [<ffffffff8187f215>] __wait_on_bit+0x65/0x90 [ 240.189757] [<ffffffff811e37af>] wait_on_page_bit+0xcf/0xf0 [ 240.189761] [<ffffffff810fcaf0>] ? autoremove_wake_function+0x40/0x40 [ 240.189776] [<ffffffffa0685bda>] read_extent_buffer_pages+0x2fa/0x330 [btrfs] [ 240.189786] [<ffffffffa0654950>] ? free_root_pointers+0x60/0x60 [btrfs] [ 240.189805] [<ffffffffa0655a21>] btree_read_extent_buffer_pages.constprop.46+0xb1/0x110 [btrfs] [ 240.189826] [<ffffffffa0656e1a>] read_tree_block+0x3a/0x60 [btrfs] [ 240.189834] [<ffffffffa0633e74>] read_block_for_search.isra.34+0x144/0x370 [btrfs] [ 240.189842] [<ffffffffa063627d>] btrfs_search_slot+0x38d/0xaa0 [btrfs] [ 240.189845] [<ffffffff81885030>] ? _raw_spin_unlock_irq+0x30/0x50 [ 240.189854] [<ffffffffa0650a1d>] btrfs_lookup_csum+0x6d/0x180 [btrfs] [ 240.189864] [<ffffffffa067cbc7>] ? btrfs_find_ordered_sum+0x37/0x160 [btrfs] [ 240.189873] [<ffffffffa0650d30>] __btrfs_lookup_bio_sums.isra.6+0x200/0x560 [btrfs] [ 240.189895] [<ffffffffa06568cc>] ? btrfs_bio_wq_end_io+0x2c/0x80 [btrfs] [ 240.189914] [<ffffffffa0651326>] btrfs_lookup_bio_sums+0x36/0x40 [btrfs] [ 240.189934] [<ffffffffa066144f>] btrfs_submit_bio_hook+0x13f/0x1d0 [btrfs] [ 240.189937] [<ffffffff81105e0f>] ? lock_release_holdtime.part.29+0xf/0x200 [ 240.189948] [<ffffffffa067cf98>] submit_one_bio+0x68/0xa0 [btrfs] [ 240.189959] [<ffffffffa06822e7>] submit_extent_page.isra.36+0xd7/0x210 [btrfs] [ 240.189970] [<ffffffffa06836e0>] __do_readpage+0x320/0x820 [btrfs] [ 240.189980] [<ffffffffa0681a00>] ? btrfs_create_repair_bio+0x140/0x140 [btrfs] [ 240.189991] [<ffffffffa0664910>] ? btrfs_writepage_end_io_hook+0x340/0x340 [btrfs] [ 240.190011] [<ffffffffa0683eaa>] __extent_readpages.constprop.41+0x1ca/0x300 [btrfs] [ 240.190021] [<ffffffffa0664910>] ? btrfs_writepage_end_io_hook+0x340/0x340 [btrfs] [ 240.190032] [<ffffffffa0684631>] extent_readpages+0x191/0x1f0 [btrfs] [ 240.190052] [<ffffffffa0664910>] ? btrfs_writepage_end_io_hook+0x340/0x340 [btrfs] [ 240.190063] [<ffffffffa06618bf>] btrfs_readpages+0x1f/0x30 [btrfs] [ 240.190066] [<ffffffff811f535f>] __do_page_cache_readahead+0x2cf/0x350 [ 240.190069] [<ffffffff811f5213>] ? __do_page_cache_readahead+0x183/0x350 [ 240.190072] [<ffffffff811f54c3>] ondemand_readahead+0xe3/0x490 [ 240.190075] [<ffffffff811f5668>] ? ondemand_readahead+0x288/0x490 [ 240.190085] [<ffffffffa0655f5a>] ? btrfs_congested_fn+0x12a/0x1d0 [btrfs] [ 240.190088] [<ffffffff811f58e6>] page_cache_async_readahead+0x76/0xa0 [ 240.190090] [<ffffffff811e6b87>] generic_file_read_iter+0x3d7/0x660 [ 240.190094] [<ffffffff8127374e>] new_sync_read+0x8e/0xd0 [ 240.190097] [<ffffffff81274af8>] __vfs_read+0x18/0x50 [ 240.190099] [<ffffffff81274bba>] vfs_read+0x8a/0x150 [ 240.190101] [<ffffffff81274cdc>] SyS_read+0x5c/0xd0 [ 240.190104] [<ffffffff81885c89>] system_call_fastpath+0x12/0x17 [ 240.190106] 1 lock held by tracker-store/2125: [ 240.190107] #0: (&f->f_pos_lock){+.+.+.}, at: [<ffffffff812999c9>] __fdget_pos+0x49/0x50
Created attachment 299784 [details] kernel 4.0.0-0.rc4 log
I am not able to reproduce the issue...
(In reply to Mikhail from comment #0) > gnome-boxes stuck, when I run it immediately after system start > > $ gnome-boxes --version > 3.15.91 That's pretty old, is an unstable version and completely unsupported in upstream. You want 3.20 at least.
I am not observe gnome-boxes stuck anymore, but instead I observe crashes: https://bugzilla.redhat.com/show_bug.cgi?id=1357556 $ gnome-boxes --version 3.22.3
(In reply to Mikhail from comment #8) > I am not observe gnome-boxes stuck anymore, but instead I observe crashes: > https://bugzilla.redhat.com/show_bug.cgi?id=1357556 OK. Then i'll resolve this issue.