After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 773695 - Import hangs for special file ( socket )
Import hangs for special file ( socket )
Status: RESOLVED FIXED
Product: rhythmbox
Classification: Other
Component: Importing
HEAD
Other Linux
: Normal normal
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-10-30 13:41 UTC by gnome.vrb
Modified: 2016-10-31 11:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot: Import hanging at "Examining files 0 of 1" (35.09 KB, image/png)
2016-10-30 13:50 UTC, gnome.vrb
Details

Description gnome.vrb 2016-10-30 13:41:53 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.
Comment 1 gnome.vrb 2016-10-30 13:47:55 UTC
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.
Comment 2 gnome.vrb 2016-10-30 13:50:10 UTC
Created attachment 338790 [details]
Screenshot: Import hanging at "Examining files 0 of 1"
Comment 3 Jonathan Matthew 2016-10-31 11:26:41 UTC
fixed in commit f8e17b9