GNOME Bugzilla – Bug 792498
Shotwell 0.27.2 segfaults when adding webdav paths to database
Last modified: 2018-01-13 20:58:14 UTC
Created attachment 366769 [details] gdb log when importing #750529 and #740436 may be related to this. On Ubuntu 17.10 I'm trying to import in place some files on a webdav server (nextcloud 12) They seem to import okay, with the images flashing passed briefly as they are processed, but then shotwell will segfault. Trying to start shotwell after will segfault.
Created attachment 366770 [details] gdb log when starting after initial import
Created attachment 366771 [details] ACTUALLY gdb log when starting after initial import
Created attachment 366772 [details] Shotwell Database Archive (3 images all residing on webdav locations)
I just tried with an sftp location, in case it was a gvfs error and not specific to webdav. But that worked fine. No issues importing and then saving tags to a file over sftp.
Can reproduce here. Really odd.
+ Trace 238333
$1 = (GFile *) 0x5555560e0c40 (gdb) call g_file_get_path($1) $2 = 0x0 (gdb) call g_file_get_uri($1) $3 = 0x555555d75390 "davs://jgeorg@home.jensgeorg.de/" (gdb) Issue is that the root node of a davs uri does not seem to have a path available, since it is only mounted some levels below.
Created attachment 366779 [details] [review] Fix folder sidebar with DAV Shotwell tried to go up to the root folder, but if a concrete path is mounted, the parent might not have a path associated So we stop if there is either no parent or the parent does not have a local mount representation
Attachment 366779 [details] pushed as 1786a3a - Fix folder sidebar with DAV