Runtime error on Windows Client

Expected behaviour

The expected behaviour is to run the desktop client with no crashes.

Actual behaviour

The client just crashes after some minutes trying to index what to syn with a window stating:
Runtime Error!
Program: C:\Program Files (x86)\ownCloud\owncloud.exe
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

Steps to reproduce

  1. Start ownCloud
  2. Wait for it to start the files discovery
  3. After some minutes, the app crashes.

Server configuration

Operating system: Arch GNU/Linux, kernel 4.8.

Web server: Apache 2.4

Database: MySQL 5

PHP version: 7.1

ownCloud version: 10

Storage backend (external storage): Nothing, just plain ext4 filesystem.

Client configuration

Client version: 2.3.2 (build 6928)

Operating system: Windows 10 64 bits.

OS language: English.

Qt version used by client package (Linux only, see also Settings dialog):

Client package (From ownCloud or distro) (Linux only):

Installation path of client: C:\Program Files (x86)\ownCloud

Logs

Template for output < 10 lines

  1. Client logfile: Output of owncloud --logwindow or owncloud --logfile log.txt
    (On Windows using cmd.exe, you might need to first cd into the ownCloud directory)
    (See also http://doc.owncloud.org/desktop/2.2/troubleshooting.html#client-logfile ):

Even executing with "--logfile log.txt", the client is not generating any log.

  1. Web server error log:

Nothing to report. Error log is almost empty, just have the startup typical Apache messages.

  1. Server logfile: ownCloud log (data/owncloud.log):

{"reqId":"lg4fod8SEKzOQyC3GNRb","level":4,"time":"2017-08-27T05:34:19+00:00","remoteAddr":"190.192.149.183","user":"hecsa","app":"webdav","method":"PUT","url":"\/owncloud\/remote.php\/dav\/files\/hecsa\/PA\/PortableApps\/GnuCashPortable\/App\/GnuCash\/share\/pixmaps\/goffice\/0.8.17\/chart_scatter_1_1.png","message":"Exception: {\"Message\":\"HTTP\\/1.1 423 \\"PA\\/PortableApps\\/GnuCashPortable\\/App\\/GnuCash\\/share\\/pixmaps\\/goffice\\/0.8.17\\/chart_scatter_1_1.png\\" is locked\",\"Exception\":\"OCA\\DAV\\Connector\\Sabre\\Exception\\FileLocked\",\"Code\":0,\"Trace\":\"#0 \\/usr\\/share\\/webapps\\/owncloud\\/lib\\/composer\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(1129): OCA\\DAV\\Connector\\Sabre\\File->put(Resource id #427)\n#1 \\/usr\\/share\\/webapps\\/owncloud\\/lib\\/composer\\/sabre\\/dav\\/lib\\/DAV\\/CorePlugin.php(513): Sabre\\DAV\\Server->updateFile('files\\/hecsa\\/PA\\/...', Resource id #427, NULL)\n#2 [internal function]: Sabre\\DAV\\CorePlugin->httpPut(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#3 \\/usr\\/share\\/webapps\\/owncloud\\/lib\\/composer\\/sabre\\/event\\/lib\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#4 \\/usr\\/share\\/webapps\\/owncloud\\/lib\\/composer\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(479): Sabre\\Event\\EventEmitter->emit('method:PUT', Array)\n#5 \\/usr\\/share\\/webapps\\/owncloud\\/lib\\/composer\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#6 \\/usr\\/share\\/webapps\\/owncloud\\/apps\\/dav\\/lib\\/Server.php(229): Sabre\\DAV\\Server->exec()\n#7 \\/usr\\/share\\/webapps\\/owncloud\\/apps\\/dav\\/appinfo\\/v2\\/remote.php(31): OCA\\DAV\\Server->exec()\n#8 \\/usr\\/share\\/webapps\\/owncloud\\/remote.php(165): require_once('\\/usr\\/share\\/weba...')\n#9 {main}\",\"File\":\"\\/usr\\/share\\/webapps\\/owncloud\\/apps\\/dav\\/lib\\/Connector\\/Sabre\\/File.php\",\"Line\":181,\"User\":\"hecsa\"}"}
{"reqId":"Q6E2jskAkoveGYql4ZJI","level":4,"time":"2017-08-27T22:46:55+00:00","remoteAddr":"190.192.149.183","user":"hecsa","app":"webdav","method":"PUT","url":"\/owncloud\/remote.php\/dav\/files\/hecsa\/PA\/PortableApps\/GnuCashPortable\/App\/GnuCash\/share\/pixmaps\/goffice\/0.8.17\/chart_scatter_1_1.png","message":"Exception: {\"Message\":\"HTTP\\/1.1 423 \\"PA\\/PortableApps\\/GnuCashPortable\\/App\\/GnuCash\\/share\\/pixmaps\\/goffice\\/0.8.17\\/chart_scatter_1_1.png\\" is locked\",\"Exception\":\"OCA\\DAV\\Connector\\Sabre\\Exception\\FileLocked\",\"Code\":0,\"Trace\":\"#0 \\/usr\\/share\\/webapps\\/owncloud\\/lib\\/composer\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(1129): OCA\\DAV\\Connector\\Sabre\\File->put(Resource id #427)\n#1 \\/usr\\/share\\/webapps\\/owncloud\\/lib\\/composer\\/sabre\\/dav\\/lib\\/DAV\\/CorePlugin.php(513): Sabre\\DAV\\Server->updateFile('files\\/hecsa\\/PA\\/...', Resource id #427, NULL)\n#2 [internal function]: Sabre\\DAV\\CorePlugin->httpPut(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#3 \\/usr\\/share\\/webapps\\/owncloud\\/lib\\/composer\\/sabre\\/event\\/lib\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#4 \\/usr\\/share\\/webapps\\/owncloud\\/lib\\/composer\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(479): Sabre\\Event\\EventEmitter->emit('method:PUT', Array)\n#5 \\/usr\\/share\\/webapps\\/owncloud\\/lib\\/composer\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#6 \\/usr\\/share\\/webapps\\/owncloud\\/apps\\/dav\\/lib\\/Server.php(229): Sabre\\DAV\\Server->exec()\n#7 \\/usr\\/share\\/webapps\\/owncloud\\/apps\\/dav\\/appinfo\\/v2\\/remote.php(31): OCA\\DAV\\Server->exec()\n#8 \\/usr\\/share\\/webapps\\/owncloud\\/remote.php(165): require_once('\\/usr\\/share\\/weba...')\n#9 {main}\",\"File\":\"\\/usr\\/share\\/webapps\\/owncloud\\/apps\\/dav\\/lib\\/Connector\\/Sabre\\/File.php\",\"Line\":181,\"User\":\"hecsa\"}"}
(...and so on...)

Can you try 2.3.3 RC, please?

You might need to give a full path in a writeable directory as just log.txt might land in an unwriteable directory.

Can you use 2.3.3 release and get a log?