{"action":"opened","issue":{"url":"https://api.github.com/repos/owncloud/client/issues/4495","repository_url":"https://api.github.com/repos/owncloud/client","labels_url":"https://api.github.com/repos/owncloud/client/issues/4495/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/client/issues/4495/comments","events_url":"https://api.github.com/repos/owncloud/client/issues/4495/events","html_url":"https://github.com/owncloud/client/issues/4495","id":135388511,"number":4495,"title":"Segfault on startup after pausing [2.1.0]","user":{"login":"johncant","id":956903,"avatar_url":"https://avatars.githubusercontent.com/u/956903?v=3","gravatar_id":"","url":"https://api.github.com/users/johncant","html_url":"https://github.com/johncant","followers_url":"https://api.github.com/users/johncant/followers","following_url":"https://api.github.com/users/johncant/following{/other_user}","gists_url":"https://api.github.com/users/johncant/gists{/gist_id}","starred_url":"https://api.github.com/users/johncant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johncant/subscriptions","organizations_url":"https://api.github.com/users/johncant/orgs","repos_url":"https://api.github.com/users/johncant/repos","events_url":"https://api.github.com/users/johncant/events{/privacy}","received_events_url":"https://api.github.com/users/johncant/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-22T11:19:25Z","updated_at":"2016-02-22T11:19:25Z","closed_at":null,"body":"### Expected behaviour\r\n_Please forgive the pseudo-cucumber!_\r\nWhen I start the Owncloud client\r\nAnd I add many small files # ~40Gb of tiny files\r\nAnd I pause the transfer\r\nAnd I exit the Owncloud desktop client\r\nAnd I start the Owncloud desktop client\r\nThen I should not see \"Seg\"\r\n\r\n### Actual behaviour\r\nOwncloud pauses for several minutes, then segfaults without ever opening a GUI window.\r\n\r\n### Steps to reproduce\r\n1. Transfer a large number of files\r\n2. Pause the Owncloud desktop client\r\n3. Exit the Owncloud desktop client\r\n4. Try to start it again from the command line\r\n\r\n### Server configuration\r\nOperating system: Raspbian Wheezy\r\n\r\nWeb server: Apache\r\n\r\nDatabase: MySQL\r\n\r\nPHP version:\r\n```bash\r\n$ php -v\r\nPHP 5.4.39-0+deb7u1 (cli) (built: Mar 22 2015 16:53:32) \r\nCopyright (c) 1997-2014 The PHP Group\r\nZend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies\r\n```\r\n\r\nownCloud version: 8.0.2\r\n\r\nStorage backend: Local\r\n\r\n### Client configuration\r\nClient version:\r\n```bash\r\nowncloud --version\r\nownCloud version 2.1.0\r\nUsing Qt 5.5.1\r\n```\r\n\r\nOperating system: Arch Linux\r\n\r\nOS language: `en_GB.UTF-8`\r\n\r\nInstallation path of client: /usr/bin/owncloud\r\n\r\n### Logs\r\n\r\nPlease use Gist (https://gist.github.com/) or a similar code paster for longer\r\nlogs.\r\n\r\n```Template for output < 10 lines```\r\n\r\n1. Output of `owncloud --logwindow` or `owncloud --logfile log.txt`\r\n(On Windows using `cmd.exe`, you might need to first `cd` into the ownCloud directory)\r\n(See also http://doc.owncloud.org/desktop/1.8/troubleshooting.html#client-logfile )\r\nhttps://gist.github.com/johncant/a51026f49132a2009257\r\n\r\n2. Web server error log:\r\nhttps://gist.github.com/johncant/83ac6bf00119c4d69daf\r\n\r\n3. ownCloud log (data/owncloud.log):\r\nhttps://gist.github.com/johncant/aed735742224274278ec\r\n\r\n4. gdb\r\n```\r\n$ gdb /usr/bin/owncloud        \r\nGNU gdb (GDB) 7.10.1\r\nCopyright (C) 2015 Free Software Foundation, Inc.\r\nLicense GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\r\nThis is free software: you are free to change and redistribute it.\r\nThere is NO WARRANTY, to the extent permitted by law.  Type \"show copying\"\r\nand \"show warranty\" for details.\r\nThis GDB was configured as \"x86_64-unknown-linux-gnu\".\r\nType \"show configuration\" for configuration details.\r\nFor bug reporting instructions, please see:\r\n<http://www.gnu.org/software/gdb/bugs/>.\r\nFind the GDB manual and other documentation resources online at:\r\n<http://www.gnu.org/software/gdb/documentation/>.\r\nFor help, type \"help\".\r\nType \"apropos word\" to search for commands related to \"word\"...\r\nReading symbols from /usr/bin/owncloud...(no debugging symbols found)...done.\r\n(gdb) \r\n(gdb) c\r\nThe program is not being run.\r\n(gdb) run\r\nStarting program: /usr/bin/owncloud \r\n[Thread debugging using libthread_db enabled]\r\nUsing host libthread_db library \"/usr/lib/libthread_db.so.1\".\r\n[New Thread 0x7fffe5a0d700 (LWP 23779)]\r\n[New Thread 0x7fffdcad3700 (LWP 23780)]\r\n \r\n\r\n[New Thread 0x7fffd6b50700 (LWP 23876)]\r\n\r\nProgram received signal SIGPIPE, Broken pipe.\r\n0x00007ffff54a61cd in write () from /usr/lib/libc.so.6\r\n(gdb) \r\n(gdb) \r\n(gdb) bt\r\n#0  0x00007ffff54a61cd in write () from /usr/lib/libc.so.6\r\n#1  0x00007fffe6ed5928 in ?? () from /usr/lib/libICE.so.6\r\n#2  0x00007fffe6ed9fe8 in _IceWrite () from /usr/lib/libICE.so.6\r\n#3  0x00007fffe6eda0c4 in IceFlush () from /usr/lib/libICE.so.6\r\n#4  0x00007fffe7569301 in ?? () from /usr/lib/libQt5XcbQpa.so.5\r\n#5  0x00007fffe756958a in ?? () from /usr/lib/libQt5XcbQpa.so.5\r\n#6  0x00007fffe756a011 in ?? () from /usr/lib/libQt5XcbQpa.so.5\r\n#7  0x00007fffe756abb4 in ?? () from /usr/lib/libQt5XcbQpa.so.5\r\n#8  0x00007fffe70eec38 in _SmcProcessMessage () from /usr/lib/libSM.so.6\r\n#9  0x00007fffe6ede46c in IceProcessMessages () from /usr/lib/libICE.so.6\r\n#10 0x00007ffff6b7431a in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5\r\n#11 0x00007ffff6bf421e in QSocketNotifier::activated(int, QSocketNotifier::QPrivateSignal) () from /usr/lib/libQt5Core.so.5\r\n#12 0x00007ffff6b80e3b in QSocketNotifier::event(QEvent*) () from /usr/lib/libQt5Core.so.5\r\n#13 0x00007ffff758c9ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5\r\n#14 0x00007ffff7591e86 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5\r\n#15 0x00007ffff6b45bab in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5\r\n#16 0x00007ffff6b9ca1d in ?? () from /usr/lib/libQt5Core.so.5\r\n#17 0x00007ffff2021dc7 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0\r\n#18 0x00007ffff2022020 in ?? () from /usr/lib/libglib-2.0.so.0\r\n#19 0x00007ffff20220cc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0\r\n#20 0x00007ffff6b9c54f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5\r\n#21 0x00007ffff6b4357a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5\r\n#22 0x00007ffff6b4b53c in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5\r\n#23 0x00000000004671a0 in main ()\r\n(gdb)\r\n```\r\n\r\n### Related issues\r\nhttps://github.com/owncloud/core/issues/22036 - Though the client still shouldn't crash."}}