GNOME Bugzilla – Bug 773695
Import hangs for special file ( socket )
Last modified: 2016-10-31 11:26:41 UTC
Import dir: /home/dev/work/bugs/import-special-file-hang/ ( contains 1 socket file ) dev@unstable:~/work/bugs/import-special-file-hang/$ ls -l total 0 srwxr-xr-x 1 dev dev 0 Oct 30 19:00 agent.1857 Relevant log: ------------- (19:04:44) [0x564d20ead130] [start_scanning] rb-import-dialog.c:336: starting file:///home/dev/work/bugs/import-special-file-hang/ (19:04:44) [0x564d20ead130] [rhythmdb_import_job_start] rhythmdb-import-job.c:423: starting (19:04:44) [0x564d20ead130] [next_uri] rhythmdb-import-job.c:398: scanning uri file:///home/dev/work/bugs/import-special-file-hang/ (19:04:44) [0x564d20ead130] [rb_uri_handle_recursively_async] rb-file-helpers.c:1049: processing file:///home/dev/work/bugs/import-special-file-hang/ (19:04:44) [0x564d20ead130] [_uri_handle_recursively_process_files] rb-file-helpers.c:945: got 1 file(s) (19:04:44) [0x564d20ead130] [uri_recurse_func] rhythmdb-import-job.c:344: waiting for entry file:///home/dev/work/bugs/import-special-file-hang/agent.1857 (19:04:44) [0x564d20ead130] [rhythmdb_add_uri_with_types] rhythmdb.c:3175: queueing stat for "file:///home/dev/work/bugs/import-special-file-hang/agent.1857" (19:04:44) [0x564d230320a0] [action_thread_main] rhythmdb.c:3030: executing RHYTHMDB_ACTION_STAT for "file:///home/dev/work/bugs/import-special-file-hang/agent.1857" (19:04:44) [0x564d20ead130] [_uri_handle_recursively_next_dir] rb-file-helpers.c:1019: nothing more to do (19:04:44) [0x564d20ead130] [next_uri] rhythmdb-import-job.c:390: no more uris to scan (19:04:44) [0x564d20ead130] [emit_status_changed] rhythmdb-import-job.c:243: emitting status changed: 0/1 (19:04:44) [0x564d20ead130] [emit_scan_complete_idle] rhythmdb-import-job.c:378: emitting scan complete (19:04:44) [0x564d20ead130] [emit_status_changed] rhythmdb-import-job.c:243: emitting status changed: 0/1 (19:04:44) [0x564d20ead130] [rhythmdb_process_one_event] rhythmdb.c:2633: processing RHYTHMDB_EVENT_STAT (19:04:44) [0x564d20ead130] [rhythmdb_process_stat_event] rhythmdb.c:2243: ignoring stat results for file:///home/dev/work/bugs/import-special-file-hang/agent.1857: is special rhythmdb_process_stat_event() detects the file as special, still this issue is seen.
After canceling the above hanging import, the task bar disappears, but import from any other dir is not possible. Selecting another import dir doesn't result in any dir scanning / progress bar. I have already faced this issue a few times, but could never reproduce it. It is 100% reproducible here. I will open a separate issue, if this is not related to this bug.
Created attachment 338790 [details] Screenshot: Import hanging at "Examining files 0 of 1"
fixed in commit f8e17b9