Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.2.5-1 high CPU and RAM usage #591

Closed
dmth opened this issue Apr 29, 2013 · 52 comments
Closed

1.2.5-1 high CPU and RAM usage #591

dmth opened this issue Apr 29, 2013 · 52 comments
Labels

Comments

@dmth
Copy link

dmth commented Apr 29, 2013

Good Morning,

occasionally my OC-Client on my arch-linux box starts freaking out. It starts to eat up RAM (Top was aroung 6 GB) and creates massive CPU-Load (continous load of 60% on a Dualcore-Machine).

The client has to sync 3 folders, with 150 files, total. This is less than 600 MB

Any ideas how to improve this?

BR

@chrisfiesta
Copy link

Hello,
I've got the same problem on Mint 13 with Mate and OC-Client 1.2.5.
My PC has got 16GB RAM installed and one FX-8150. Your Client need after some time all RAM(!) and round about 200% CPU-Usage. Can you help us?

@raid1
Copy link

raid1 commented Apr 29, 2013

I know this problem since OC 4.x. My workaround is to restart the client at least every day.
I'd really like to see a fix for this issue. Let me know if I can be of any help.

@lukasbisdorf
Copy link

I have the same issue on Mac OS X, the cliente uses up to 100%.

@dragotin
Copy link
Contributor

It would help if somebody could provide a log file of the client while its going wild. So if it runs crazy, don't stop it, but open a console and call owncloud --logwindow and after a while (one or two sync runs), click save in the logfile window.

@lukasbisdorf
Copy link

Sorry, my bad. I was in a hurry this morning.
Opening the logwindows succeeds, the first messages appear in the window, but then the process freeze. The CPU usage of the Client increases to above 100%.
Is there an other way to see what's going on? Direct loging to file?

@homann
Copy link

homann commented May 1, 2013

I get the same symptoms on 1.2.5. Ubuntu 12.04, amd64. Just killed and starteed with --logfile. Will get back tomorrrow (I hope).

@raid1
Copy link

raid1 commented May 2, 2013

The logfiles get huge really fast. I cut out the last 500000 lines.
That's where those "sqlite_step error: disk I/O error" lines start.
Hope that's enough to find the problem.

As I don't think there's a way to attach the logfile, I put it there:
http://spiegl.de/public/owncloud-client-crash.log.bz2

Thanks, Andy.

@dmth
Copy link
Author

dmth commented May 2, 2013

I tried to use use --logwindow, unfortunately the window gets unusable when the error occurs, as CPU-Load goes "BOOM" as well does ram-use.

nevertheless: sqlite_step_error and I/O error stuff

will try --logfile now

@homann
Copy link

homann commented May 2, 2013

I have a couple of lines with sqlite_step_error in my log file... The log files i 2.6 GB after 24 hours. A bit unwieldy. ;)
Tried running strace -p, but didnät manage to pipe the output. Copied 500 lines from the console, and there's alot of:

poll([{fd=6, events=POLLIN}], 1, -1) = 1 ([{fd=6, revents=POLLIN}])
recvfrom(6, "\1\1l\230\0\0\0\0\0\0\0\0D\0\374\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096, 0, NULL, NULL) = 32
recvfrom(6, 0x1dfdf24, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=6, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=6, revents=POLLOUT}])
writev(6, [{"(\3\4\0a\2\0\0\5\0\0\3\306\5\24\0", 16}, {NULL, 0}, {"", 0}], 3) = 16
poll([{fd=6, events=POLLIN}], 1, -1) = 1 ([{fd=6, revents=POLLIN}])
recvfrom(6, "\1\1m\230\0\0\0\0\0\0\0\0\16\0\24\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096, 0, NULL, NULL) = 32
recvfrom(6, 0x1dfdf24, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvfrom(6, 0x1dfdf24, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=6, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=6, revents=POLLOUT}])
writev(6, [{"(\3\4\0a\2\0\0pQ\0\3\306\5\24\0", 16}, {NULL, 0}, {"", 0}], 3) = 16
poll([{fd=6, events=POLLIN}], 1, -1) = 1 ([{fd=6, revents=POLLIN}])
recvfrom(6, "\1\1n\230\0\0\0\0\0\0\0\0D\0\374\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096, 0, NULL, NULL) = 32
recvfrom(6, 0x1dfdf24, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvfrom(6, 0x1dfdf24, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)

Any more specific debugging hints? I'd like to help.

@dmth
Copy link
Author

dmth commented May 2, 2013

since 4 hours I have run into 7.6 GB logfile... last 100 lines repeat:

05-02 22:35:03:642 csync_statedb_query: sqlite3_compile error: no such table: metadata - on query SELECT * FROM metadata WHERE phash='1226921628055589682'
05-02 22:35:03:643 csync_statedb_query: sqlite3_compile error: no such table: metadata - on query SELECT * FROM metadata WHERE inode='133658'
05-02 22:35:03:643 _csync_detect_update: file: pppppp/.git/objects/9b/431fad0d4079afd902592878894a32b623a159, instruction: INSTRUCTION_NEW
05-02 22:35:03:643 csync_statedb_query: sqlite3_compile error: no such table: metadata - on query SELECT md5 FROM metadata WHERE phash='1226921628055589682' AND modtime=1363615054

@blackdot
Copy link

blackdot commented May 3, 2013

Same here :-(
05-03 15:35:26:142 csync_ftw: Uniq ID read from Database: folder/file.xls ->
05-03 15:35:26:142 csync_ftw: walk: /home/user/DocumentsCloud/folder/file.xls
05-03 15:35:26:142 csync_walker: file: /home/user/DocumentsCloud/folder/file.xls
05-03 15:35:26:142 _csync_detect_update: file: folder/file.xls - hash 7450337789463772256, mtime: 1353007230
05-03 15:35:26:142 csync_statedb_query: sqlite3_compile error: no such table: metadata - on query SELECT * FROM metadata WHERE phash='7450337789463772256'
05-03 15:35:26:142 csync_statedb_query: sqlite3_compile error: no such table: metadata - on query SELECT * FROM metadata WHERE inode='392585'
05-03 15:35:26:142 _csync_detect_update: file: folder/file.xls, instruction: INSTRUCTION_NEW
05-03 15:35:26:142 csync_statedb_query: sqlite3_compile error: no such table: metadata - on query SELECT md5 FROM metadata WHERE phash='6143964063983818384' AND modtime=1353007226

Server configuration
Operating system: Debian squeeze
Web server: apache2 (2.2.16-6+squeeze11)
Database: php5 (5.3.3-7+squeeze15)
PHP version: mysql-server-5.1 (5.1.66-0+squeeze1)
ownCloud version: version 5.0.6 (versionstring 5.0.5)

Client configuration
Client version: 1.2.5-0
Operating system: Debian wheezy (fully updated)
OS language: English
Installation path of client: /usr/bin/owncloud

@homann
Copy link

homann commented May 4, 2013

I compiled the code from git, and have run 12 hours without problems. Will report back in 36 hours.

Edit: I got the same EAGAIN errors, but no mem or cpu load.

@w41l
Copy link

w41l commented May 4, 2013

Same here, cpu gets very high after runs in few hours. I'm using mirall 1.2.5 with ocsync 0.7.0.7.

@homann
Copy link

homann commented May 5, 2013

My homebuilt binary did not seem to exhibit this problem:

"Byggd från Git revision 105c76 på May 3 2013, 12:46:48
använt OCsync 0.70.9 och Qt 4.8.1."

It says 1.2.9 as version.

@dschmidthawk
Copy link

Having the same issue also. Couldn't figure out why my system slowed down to a crawl until I looked at the resource monitor and filtered owncloud. Shut it down and my system was blazing fast. Working on a Win7 pro pc. Everything else about the sync seems to work fine.opened with the log file for about 10 minutes and the txt file was about 2.4MB. Is there anything that I can do to optimize? Happy to provide the log file.

@ogoffart
Copy link
Contributor

a backtrace sampling at the moment of the 100% CPU usage would be usefull.

run mirall with gdb. when the bug occurs, press ctrl+c, then enter:

thread apply all backtrace

@dschmidthawk
Copy link

As a newbie, what is mirall with gdb?

@bra-tak
Copy link

bra-tak commented May 11, 2013

Same Problem here, on a Windows 7 x64 Machine. The SyncClient causes an average CPU-Load of 30% (!!!) all the time, while NOT Synchronising (no blue circle in the Taskbar). While Syncronising the CPU Load went down to 0-1%.

CPU: Intel Core i5 760 @3,6GHz
RAM: 8GB DDR-1866

@lluuuuuK
Copy link

I have the same problem here and here is a part of the log:

05-14 15:25:26:406 oc_module: Authentication required
05-14 15:25:26:406 oc_module: Call the csync callback for ownCloud
05-14 15:25:26:490 oc_module: Neon error code was 1
05-14 15:25:26:490 oc_module: WRN: propfind named failed with 1, request error: 503 Service Unavailable
05-14 15:25:26:490 oc_module: Errno set to 10014
05-14 15:25:26:490 csync_ftw: opendir failed for ownclouds://cloud.ifisc.uib-csic.es/owncloud/remote.php/webdav/clientsync - Unknown error: 10014 (errno 10014)
05-14 15:25:26:491 csync_update: Update detection for remote replica took 0.19 seconds walking 0 files.
05-14 15:25:26:491 #### ERROR during csync_update : "CSync failed to find a specific file.
Backend Message: 503 Service Unavailable"
05-14 15:25:26:491 CSync run took 274 Milliseconds
05-14 15:25:26:684 status.php returns: "{"installed":"true","version":"5.0.8","versionstring":"5.0.6","edition":""}" 0 Reply: QNetworkReplyImpl(0x101581d40)
05-14 15:25:26:684 #-------# oC found on "https://cloud.ifisc.uib-csic.es/owncloud"
05-14 15:25:26:691 -> CSync Finished slot with error true
05-14 15:25:26:691 ** error Strings: ("CSync failed to find a specific file.
Backend Message: 503 Service Unavailable")
05-14 15:25:26:691 * owncloud csync thread finished with error

I wish i could have this solved since I cant work with owncloud sync client open on my desktop, as it overloads my CPU and RAM usage :(

@chrwen81
Copy link

I'd like to provide a gdb backtrace for the "sqlite_step error: disk I/O error".

Client environment: Debian wheezy, owncloud-client 1.2.5-0, libocsync-plugin-owncloud 0.70.7-, libsqlite3-0 3.7.13-1+deb7u1, libqt4-sql-sqlite 4:4.8.2+dfsg-11
Hardware is a Lenovo T520 with Intel Core i5-2520M CPU, 8 Gigs RAM with plenty of it unused

Server is ownCloud 5.0.5 on a QNAP TS-219P+ (Marvell 6282 1.6GHz ARM-CPU, 512MB RAM), 2.6.33.2 Linux kernel, PHP 5.3.14

^C
Program received signal SIGINT, Interrupt.
0x00007ffff7795dec in QPlainTextDocumentLayout::blockBoundingRect(QTextBlock const&) const () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
(gdb) thread apply all backtrace

Thread 464 (Thread 0x7fffddfcb700 (LWP 8087)):
#0 0x00007ffff602da80 in csync_excluded () from /usr/lib/libocsync.so.0
#1 0x00007ffff6031079 in csync_ftw () from /usr/lib/libocsync.so.0
#2 0x00007ffff6031282 in csync_ftw () from /usr/lib/libocsync.so.0
#3 0x00007ffff6031282 in csync_ftw () from /usr/lib/libocsync.so.0
#4 0x00007ffff602ccfb in csync_update () from /usr/lib/libocsync.so.0
#5 0x00007ffff627f49c in Mirall::CSyncThread::startSync() () from /usr/lib/libowncloudsync.so.0
#6 0x00007ffff6293574 in Mirall::CSyncThread::qt_metacall(QMetaObject::Call, int, void*) () from /usr/lib/libowncloudsync.so.0
#7 0x00007ffff663aa2e in QObject::event(QEvent
) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8 0x00007ffff730370c in QApplicationPrivate::notify_helper(QObject_, QEvent_) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#9 0x00007ffff7307b8a in QApplication::notify(QObject_, QEvent_) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#10 0x00007ffff6625b5e in QCoreApplication::notifyInternal(QObject_, QEvent_) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#11 0x00007ffff66299e1 in QCoreApplicationPrivate::sendPostedEvents(QObject_, int, QThreadData_) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#12 0x00007ffff66540e3 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#13 0x00007ffff47c0355 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x00007ffff47c0688 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007ffff47c0744 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007ffff6654276 in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#17 0x00007ffff66248af in QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#18 0x00007ffff6624b38 in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#19 0x00007ffff6527d70 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#20 0x00007ffff652ad0b in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#21 0x00007ffff4c8eb50 in start_thread (arg=) at pthread_create.c:304
#22 0x00007ffff51b5a7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#23 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fffdb8d2700 (LWP 24508)):
#0 0x00007ffff51aae33 in *__GI___poll (fds=, nfds=, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1 0x00007ffff47c0624 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007ffff47c0744 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007ffff6654276 in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4 0x00007ffff66248af in QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5 0x00007ffff6624b38 in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6 0x00007ffff6527d70 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7 0x00007ffff652ad0b in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8 0x00007ffff4c8eb50 in start_thread (arg=) at pthread_create.c:304
#9 0x00007ffff51b5a7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fffdedf7700 (LWP 24502)):
#0 0x00007ffff51af573 in select () at ../sysdeps/unix/syscall-template.S:82
#1 0x00007ffff6603704 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2 0x00007ffff652ad0b in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3 0x00007ffff4c8eb50 in start_thread (arg=) at pthread_create.c:304
#4 0x00007ffff51b5a7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fffdffff700 (LWP 24500)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1 0x00007ffff652b20b in QWaitCondition::wait(QMutex_, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
---Type to continue, or q to quit---
#2 0x00007ffff65271c7 in QSemaphore::acquire(int) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3 0x00007ffff663ba1d in QMetaObject::activate(QObject_, QMetaObject const_, int, void__) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4 0x00007ffff6a6c554 in ?? () from /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4
#5 0x00007ffff6a0b280 in ?? () from /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4
#6 0x00007ffff6a6cd51 in ?? () from /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4
#7 0x00007ffff663b54f in QMetaObject::activate(QObject_, QMetaObject const_, int, void__) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8 0x00007ffff6a6afd2 in ?? () from /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4
#9 0x00007ffff69d5b02 in ?? () from /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4
#10 0x00007ffff663b54f in QMetaObject::activate(QObject_, QMetaObject const_, int, void__) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#11 0x00007ffff6a599a5 in QSslSocket::sslErrors(QList const&) () from /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4
#12 0x00007ffff6a6284d in ?? () from /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4
#13 0x00007ffff6a6362f in ?? () from /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4
#14 0x00007ffff6a5c589 in ?? () from /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4
#15 0x00007ffff663b54f in QMetaObject::activate(QObject_, QMetaObject const_, int, void__) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#16 0x00007ffff6a3f3cc in ?? () from /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4
#17 0x00007ffff6a47e3d in ?? () from /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4
#18 0x00007ffff730370c in QApplicationPrivate::notify_helper(QObject_, QEvent_) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#19 0x00007ffff7307b8a in QApplication::notify(QObject_, QEvent_) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#20 0x00007ffff6625b5e in QCoreApplication::notifyInternal(QObject_, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#21 0x00007ffff6653a78 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#22 0x00007ffff47c0355 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007ffff47c0688 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007ffff47c0744 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007ffff6654276 in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#26 0x00007ffff66248af in QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#27 0x00007ffff6624b38 in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#28 0x00007ffff6527d70 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#29 0x00007ffff652ad0b in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#30 0x00007ffff4c8eb50 in start_thread (arg=) at pthread_create.c:304
#31 0x00007ffff51b5a7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#32 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fffe5605700 (LWP 24499)):
#0 0x00007ffff51aae33 in *__GI___poll (fds=, nfds=, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1 0x00007ffff47c0624 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007ffff47c0744 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007ffff6654276 in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4 0x00007ffff66248af in QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5 0x00007ffff6624b38 in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6 0x00007ffff6527d70 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7 0x00007ffff652ad0b in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8 0x00007ffff4c8eb50 in start_thread (arg=) at pthread_create.c:304
#9 0x00007ffff51b5a7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fffe5e06700 (LWP 24498)):
#0 0x00007ffff51aae33 in *__GI___poll (fds=, nfds=, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1 0x00007ffff47c0624 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007ffff47c0744 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007ffff6654276 in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4 0x00007ffff66248af in QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
---Type to continue, or q to quit---
#5 0x00007ffff6624b38 in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6 0x00007ffff6527d70 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7 0x00007ffff66051bf in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8 0x00007ffff652ad0b in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9 0x00007ffff4c8eb50 in start_thread (arg=) at pthread_create.c:304
#10 0x00007ffff51b5a7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffff7fba760 (LWP 24495)):
#0 0x00007ffff7795dec in QPlainTextDocumentLayout::blockBoundingRect(QTextBlock const&) const () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#1 0x00007ffff7794b51 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#2 0x00007ffff75474d8 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#3 0x00007ffff754e293 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#4 0x00007ffff663b54f in QMetaObject::activate(QObject_, QMetaObject const_, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5 0x00007ffff75959e5 in QAbstractTextDocumentLayout::updateBlock(QTextBlock const&) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#6 0x00007ffff77960aa in QPlainTextDocumentLayout::documentChanged(int, int, int) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#7 0x00007ffff75857d4 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#8 0x00007ffff7546a2d in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#9 0x00007ffff779ad05 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#10 0x000000000045f2d5 in Mirall::LogBrowser::slotNewLog(QString const&) ()
#11 0x0000000000468349 in Mirall::LogBrowser::qt_metacall(QMetaObject::Call, int, void**) ()
#12 0x00007ffff663aa2e in QObject::event(QEvent_) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#13 0x00007ffff735269a in QWidget::event(QEvent_) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#14 0x00007ffff730370c in QApplicationPrivate::notify_helper(QObject_, QEvent_) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#15 0x00007ffff7307b8a in QApplication::notify(QObject_, QEvent_) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#16 0x00007ffff6625b5e in QCoreApplication::notifyInternal(QObject_, QEvent_) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#17 0x00007ffff66299e1 in QCoreApplicationPrivate::sendPostedEvents(QObject_, int, QThreadData_) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#18 0x00007ffff66540e3 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#19 0x00007ffff47c0355 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007ffff47c0688 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007ffff47c0744 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007ffff6654276 in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#23 0x00007ffff73a483e in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#24 0x00007ffff66248af in QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#25 0x00007ffff6624b38 in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#26 0x00007ffff6629cf8 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#27 0x0000000000426441 in main ()

@chrwen81
Copy link

Here's another backtrace of owncloud-client, which this time actually seems to be stuck in sqlite:

^C
Program received signal SIGINT, Interrupt.
0x00007ffff659fb65 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
(gdb) thread apply all backtrace

Thread 270 (Thread 0x7fffddfcb700 (LWP 30898)):
#0 0x00007ffff2e647f8 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#1 0x00007ffff2e7cba5 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#2 0x00007ffff2e811c2 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#3 0x00007ffff2e82d82 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#4 0x00007ffff2e82fe9 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#5 0x00007ffff2e83445 in sqlite3_prepare () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#6 0x00007ffff602e36f in csync_statedb_query () from /usr/lib/libocsync.so.0
#7 0x00007ffff602e914 in csync_statedb_get_uniqId () from /usr/lib/libocsync.so.0
#8 0x00007ffff6031685 in csync_ftw () from /usr/lib/libocsync.so.0
#9 0x00007ffff6031282 in csync_ftw () from /usr/lib/libocsync.so.0
#10 0x00007ffff6031282 in csync_ftw () from /usr/lib/libocsync.so.0
#11 0x00007ffff602ccfb in csync_update () from /usr/lib/libocsync.so.0
#12 0x00007ffff627f49c in Mirall::CSyncThread::startSync() () from /usr/lib/libowncloudsync.so.0
#13 0x00007ffff6293574 in Mirall::CSyncThread::qt_metacall(QMetaObject::Call, int, void*) () from /usr/lib/libowncloudsync.so.0
#14 0x00007ffff663aa2e in QObject::event(QEvent
) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#15 0x00007ffff730370c in QApplicationPrivate::notify_helper(QObject_, QEvent_) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#16 0x00007ffff7307b8a in QApplication::notify(QObject_, QEvent_) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#17 0x00007ffff6625b5e in QCoreApplication::notifyInternal(QObject_, QEvent_) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#18 0x00007ffff66299e1 in QCoreApplicationPrivate::sendPostedEvents(QObject_, int, QThreadData_) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#19 0x00007ffff66540e3 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#20 0x00007ffff47c0355 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007ffff47c0688 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007ffff47c0744 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007ffff6654276 in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#24 0x00007ffff66248af in QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#25 0x00007ffff6624b38 in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#26 0x00007ffff6527d70 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#27 0x00007ffff652ad0b in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#28 0x00007ffff4c8eb50 in start_thread (arg=) at pthread_create.c:304
#29 0x00007ffff51b5a7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#30 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fffd79ef700 (LWP 19392)):
#0 0x00007ffff51aae33 in *__GI___poll (fds=, nfds=, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1 0x00007ffff47c0624 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007ffff47c0744 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007ffff6654276 in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4 0x00007ffff66248af in QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5 0x00007ffff6624b38 in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6 0x00007ffff6527d70 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7 0x00007ffff652ad0b in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8 0x00007ffff4c8eb50 in start_thread (arg=) at pthread_create.c:304
#9 0x00007ffff51b5a7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fffdedf7700 (LWP 19386)):
#0 0x00007ffff51af573 in select () at ../sysdeps/unix/syscall-template.S:82
#1 0x00007ffff6603704 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2 0x00007ffff652ad0b in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
---Type to continue, or q to quit---
#3 0x00007ffff4c8eb50 in start_thread (arg=) at pthread_create.c:304
#4 0x00007ffff51b5a7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fffdffff700 (LWP 19384)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1 0x00007ffff652b20b in QWaitCondition::wait(QMutex_, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2 0x00007ffff65271c7 in QSemaphore::acquire(int) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3 0x00007ffff663ba1d in QMetaObject::activate(QObject_, QMetaObject const_, int, void__) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4 0x00007ffff6a6c554 in ?? () from /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4
#5 0x00007ffff6a0b280 in ?? () from /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4
#6 0x00007ffff6a6cd51 in ?? () from /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4
#7 0x00007ffff663b54f in QMetaObject::activate(QObject_, QMetaObject const_, int, void__) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8 0x00007ffff6a6afd2 in ?? () from /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4
#9 0x00007ffff69d5b02 in ?? () from /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4
#10 0x00007ffff663b54f in QMetaObject::activate(QObject_, QMetaObject const_, int, void__) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#11 0x00007ffff6a599a5 in QSslSocket::sslErrors(QList const&) () from /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4
#12 0x00007ffff6a6284d in ?? () from /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4
#13 0x00007ffff6a6362f in ?? () from /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4
#14 0x00007ffff6a5c589 in ?? () from /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4
#15 0x00007ffff663b54f in QMetaObject::activate(QObject_, QMetaObject const_, int, void__) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#16 0x00007ffff6a3f3cc in ?? () from /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4
#17 0x00007ffff6a47e3d in ?? () from /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4
#18 0x00007ffff730370c in QApplicationPrivate::notify_helper(QObject_, QEvent_) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#19 0x00007ffff7307b8a in QApplication::notify(QObject_, QEvent_) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#20 0x00007ffff6625b5e in QCoreApplication::notifyInternal(QObject_, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#21 0x00007ffff6653a78 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#22 0x00007ffff47c0355 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007ffff47c0688 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007ffff47c0744 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007ffff6654276 in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#26 0x00007ffff66248af in QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#27 0x00007ffff6624b38 in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#28 0x00007ffff6527d70 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#29 0x00007ffff652ad0b in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#30 0x00007ffff4c8eb50 in start_thread (arg=) at pthread_create.c:304
#31 0x00007ffff51b5a7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#32 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fffe5605700 (LWP 19383)):
#0 0x00007ffff51aae33 in *__GI___poll (fds=, nfds=, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1 0x00007ffff47c0624 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007ffff47c0744 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007ffff6654276 in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4 0x00007ffff66248af in QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5 0x00007ffff6624b38 in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6 0x00007ffff6527d70 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7 0x00007ffff652ad0b in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8 0x00007ffff4c8eb50 in start_thread (arg=) at pthread_create.c:304
#9 0x00007ffff51b5a7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()
---Type to continue, or q to quit---

Thread 2 (Thread 0x7fffe5e06700 (LWP 19382)):
#0 0x00007ffff51aae33 in *__GI___poll (fds=, nfds=, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1 0x00007ffff47c0624 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007ffff47c0744 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007ffff6654276 in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4 0x00007ffff66248af in QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5 0x00007ffff6624b38 in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6 0x00007ffff6527d70 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7 0x00007ffff66051bf in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8 0x00007ffff652ad0b in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9 0x00007ffff4c8eb50 in start_thread (arg=) at pthread_create.c:304
#10 0x00007ffff51b5a7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffff7fba760 (LWP 19379)):
#0 0x00007ffff659fb65 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#1 0x00007ffff659a1dd in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2 0x00007ffff7558f4d in QTextEngine::attributes() const () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#3 0x00007ffff7565026 in QTextLine::layout_helper(int) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#4 0x00007ffff7795955 in QPlainTextDocumentLayout::layoutBlock(QTextBlock const&) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#5 0x00007ffff7795d9b in QPlainTextDocumentLayout::blockBoundingRect(QTextBlock const&) const () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#6 0x00007ffff7794e90 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#7 0x00007ffff75474d8 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#8 0x00007ffff754e293 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#9 0x00007ffff663b54f in QMetaObject::activate(QObject_, QMetaObject const_, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#10 0x00007ffff75959e5 in QAbstractTextDocumentLayout::updateBlock(QTextBlock const&) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#11 0x00007ffff77960aa in QPlainTextDocumentLayout::documentChanged(int, int, int) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#12 0x00007ffff75857d4 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#13 0x00007ffff7546a2d in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#14 0x00007ffff779ad05 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#15 0x000000000045f2d5 in Mirall::LogBrowser::slotNewLog(QString const&) ()
#16 0x0000000000468349 in Mirall::LogBrowser::qt_metacall(QMetaObject::Call, int, void**) ()
#17 0x00007ffff663aa2e in QObject::event(QEvent_) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#18 0x00007ffff735269a in QWidget::event(QEvent_) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#19 0x00007ffff730370c in QApplicationPrivate::notify_helper(QObject_, QEvent_) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#20 0x00007ffff7307b8a in QApplication::notify(QObject_, QEvent_) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#21 0x00007ffff6625b5e in QCoreApplication::notifyInternal(QObject_, QEvent_) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#22 0x00007ffff66299e1 in QCoreApplicationPrivate::sendPostedEvents(QObject_, int, QThreadData_) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#23 0x00007ffff66540e3 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#24 0x00007ffff47c0355 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007ffff47c0688 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007ffff47c0744 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007ffff6654276 in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#28 0x00007ffff73a483e in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#29 0x00007ffff66248af in QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#30 0x00007ffff6624b38 in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#31 0x00007ffff6629cf8 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#32 0x0000000000426441 in main ()

@chrwen81
Copy link

Another backtrace, with some debugging symbols installed now...

the mentioned file "/home/cw/ownCloud/.csync_journal.db.ctmp-journal" does not exist, but there are following dot files present in that directory:

cw@hex:~ -> ll /home/cw/ownCloud/.*
-rw-r--r-- 1 cw cw 202K Mai 16 14:43 /home/cw/ownCloud/.csync_journal.db
-rw-r--r-- 1 cw cw 202K Mai 16 14:43 /home/cw/ownCloud/.csync_journal.db.ctmp

^C
Program received signal SIGINT, Interrupt.
QTextDocument::documentMargin (this=0x83b3c0) at text/qtextdocument.cpp:740
740 text/qtextdocument.cpp: No such file or directory.
(gdb) thread apply all backtrace

Thread 39 (Thread 0x7fffddfcb700 (LWP 12837)):
#0 0x00007ffff51a9b47 in access () at ../sysdeps/unix/syscall-template.S:82
#1 0x00007ffff2e35951 in unixAccess (NotUsed=, zPath=0x7fffd4005eea "/home/cw/ownCloud/.csync_journal.db.ctmp-journal", flags=0, pResOut=0x7fffddfc9600) at sqlite3.c:30458
#2 0x00007ffff2e5ef03 in sqlite3OsAccess (zPath=, pVfs=0x7ffff30c4300, pResOut=0x7fffddfc9600, flags=0) at sqlite3.c:14944
#3 hasHotJournal (pExists=, pPager=0x7fffd4005c78) at sqlite3.c:43888
#4 sqlite3PagerSharedLock (pPager=0x7fffd4005c78) at sqlite3.c:44017
#5 0x00007ffff2e6dc61 in lockBtree (pBt=0x7fffd4030e48) at sqlite3.c:52524
#6 sqlite3BtreeBeginTrans (p=0x7fffd4005b98, wrflag=0) at sqlite3.c:52824
#7 0x00007ffff2e9d171 in sqlite3VdbeExec (p=p@entry=0x7fff9e50e228) at sqlite3.c:68665
#8 0x00007ffff2e83911 in sqlite3Step (p=0x7fff9e50e228) at sqlite3.c:64038
#9 sqlite3_step (pStmt=0x7fff9e50e228) at sqlite3.c:64111
#10 sqlite3_step (pStmt=0x7fff9e50e228) at sqlite3.c:64099
#11 0x00007ffff602e39a in csync_statedb_query () from /usr/lib/libocsync.so.0
#12 0x00007ffff602e9a3 in csync_statedb_get_stat_by_inode () from /usr/lib/libocsync.so.0
#13 0x00007ffff6030e2a in csync_walker () from /usr/lib/libocsync.so.0
#14 0x00007ffff60310fe in csync_ftw () from /usr/lib/libocsync.so.0
#15 0x00007ffff6031282 in csync_ftw () from /usr/lib/libocsync.so.0
#16 0x00007ffff6031282 in csync_ftw () from /usr/lib/libocsync.so.0
#17 0x00007ffff602ccfb in csync_update () from /usr/lib/libocsync.so.0
#18 0x00007ffff627f49c in Mirall::CSyncThread::startSync() () from /usr/lib/libowncloudsync.so.0
#19 0x00007ffff6293574 in Mirall::CSyncThread::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libowncloudsync.so.0
#20 0x00007ffff663aa2e in QObject::event (this=0x7fffe00713a0, e=) at kernel/qobject.cpp:1195
#21 0x00007ffff730370c in QApplicationPrivate::notify_helper (this=this@entry=0x6ae3a0, receiver=receiver@entry=0x7fffe00713a0, e=e@entry=0x9ef920) at kernel/qapplication.cpp:4556
#22 0x00007ffff7307b8a in QApplication::notify (this=0x7fffffffdde0, receiver=0x7fffe00713a0, e=0x9ef920) at kernel/qapplication.cpp:4417
#23 0x00007ffff6625b5e in QCoreApplication::notifyInternal (this=0x7fffffffdde0, receiver=receiver@entry=0x7fffe00713a0, event=event@entry=0x9ef920) at kernel/qcoreapplication.cpp:915
#24 0x00007ffff66299e1 in sendEvent (event=0x9ef920, receiver=0x7fffe00713a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#25 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x7fffe0001e60) at kernel/qcoreapplication.cpp:1539
#26 0x00007ffff66540e3 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#27 postEventSourceDispatch (s=s@entry=0x7fffd402cf10) at kernel/qeventdispatcher_glib.cpp:279
#28 0x00007ffff47c0355 in g_main_dispatch (context=0x9b71a0) at /tmp/buildd/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:2539
#29 g_main_context_dispatch (context=context@entry=0x9b71a0) at /tmp/buildd/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3075
#30 0x00007ffff47c0688 in g_main_context_iterate (context=context@entry=0x9b71a0, block=block@entry=1, dispatch=dispatch@entry=1,
self=<error reading variable: Unhandled dwarf expression opcode 0xfa>) at /tmp/buildd/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3146
#31 0x00007ffff47c0744 in g_main_context_iteration (context=0x9b71a0, may_block=1) at /tmp/buildd/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3207
#32 0x00007ffff6654276 in QEventDispatcherGlib::processEvents (this=0x8f8ca0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#33 0x00007ffff66248af in QEventLoop::processEvents (this=this@entry=0x7fffddfcae40, flags=...) at kernel/qeventloop.cpp:149
#34 0x00007ffff6624b38 in QEventLoop::exec (this=0x7fffddfcae40, flags=...) at kernel/qeventloop.cpp:204
#35 0x00007ffff6527d70 in QThread::exec (this=) at thread/qthread.cpp:501
#36 0x00007ffff652ad0b in QThreadPrivate::start (arg=0x7fffe00dee90) at thread/qthread_unix.cpp:307
#37 0x00007ffff4c8eb50 in start_thread (arg=) at pthread_create.c:304
#38 0x00007ffff51b5a7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#39 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fffdb8d2700 (LWP 10796)):
#0 0x00007ffff51aae33 in *__GI___poll (fds=, nfds=, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1 0x00007ffff47c0624 in g_main_context_poll (n_fds=1, fds=0x7fffd4007d50, timeout=-1, context=0x7fffe01a4d30, priority=)
at /tmp/buildd/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3440
#2 g_main_context_iterate (context=context@entry=0x7fffe01a4d30, block=block@entry=1, dispatch=dispatch@entry=1, self=<error reading variable: Unhandled dwarf expression opcode 0xfa>)
at /tmp/buildd/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3141
#3 0x00007ffff47c0744 in g_main_context_iteration (context=0x7fffe01a4d30, may_block=1) at /tmp/buildd/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3207
---Type to continue, or q to quit---
#4 0x00007ffff6654276 in QEventDispatcherGlib::processEvents (this=0xcc2890, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5 0x00007ffff66248af in QEventLoop::processEvents (this=this@entry=0x7fffdb8d1e40, flags=...) at kernel/qeventloop.cpp:149
#6 0x00007ffff6624b38 in QEventLoop::exec (this=0x7fffdb8d1e40, flags=...) at kernel/qeventloop.cpp:204
#7 0x00007ffff6527d70 in QThread::exec (this=) at thread/qthread.cpp:501
#8 0x00007ffff652ad0b in QThreadPrivate::start (arg=0xcc27a0) at thread/qthread_unix.cpp:307
#9 0x00007ffff4c8eb50 in start_thread (arg=) at pthread_create.c:304
#10 0x00007ffff51b5a7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fffdedf7700 (LWP 10790)):
#0 0x00007ffff51af573 in select () at ../sysdeps/unix/syscall-template.S:82
#1 0x00007ffff6603704 in QProcessManager::run (this=0x7ffff697c500) at io/qprocess_unix.cpp:245
#2 0x00007ffff652ad0b in QThreadPrivate::start (arg=0x7ffff697c500) at thread/qthread_unix.cpp:307
#3 0x00007ffff4c8eb50 in start_thread (arg=) at pthread_create.c:304
#4 0x00007ffff51b5a7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fffdffff700 (LWP 10788)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1 0x00007ffff652b20b in wait (time=18446744073709551615, this=0x7fffa3c5c060) at thread/qwaitcondition_unix.cpp:86
#2 QWaitCondition::wait (this=, mutex=0x7fffb3680900, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3 0x00007ffff65271c7 in QSemaphore::acquire (this=0x7fffdfffcf00, n=1) at thread/qsemaphore.cpp:144
#4 0x00007ffff663ba1d in QMetaObject::activate (sender=0x11f997a0, m=, local_signal_index=, argv=0x7fffdfffcf90) at kernel/qobject.cpp:3525
#5 0x00007ffff6a6c554 in QHttpThreadDelegate::sslErrors (this=, _t1=..., _t2=0x7fffdfffcfcf, _t3=0x7fffdfffcfe0) at .moc/release-shared/moc_qhttpthreaddelegate_p.cpp:192
#6 0x00007ffff6a0b280 in QHttpThreadDelegate::sslErrorsSlot (this=0x11f997a0, errors=...) at access/qhttpthreaddelegate.cpp:536
#7 0x00007ffff6a6cd51 in QHttpThreadDelegate::qt_static_metacall (_o=0x11f997a0, _c=, _id=, _a=)
at .moc/release-shared/moc_qhttpthreaddelegate_p.cpp:127
#8 0x00007ffff663b54f in QMetaObject::activate (sender=0x7fffe335d200, m=, local_signal_index=, argv=0x7fffdfffd1d0) at kernel/qobject.cpp:3547
#9 0x00007ffff6a6afd2 in QHttpNetworkReply::sslErrors (this=, _t1=...) at .moc/release-shared/moc_qhttpnetworkreply_p.cpp:132
#10 0x00007ffff69d5b02 in QHttpNetworkConnectionChannel::_q_sslErrors (this=0x7fffae0789c8, errors=...) at access/qhttpnetworkconnectionchannel.cpp:1158
#11 0x00007ffff663b54f in QMetaObject::activate (sender=0x7fffbe7144d0, m=, local_signal_index=, argv=0x7fffdfffd330) at kernel/qobject.cpp:3547
#12 0x00007ffff6a599a5 in QSslSocket::sslErrors (this=, _t1=...) at .moc/release-shared/moc_qsslsocket.cpp:163
#13 0x00007ffff6a6284d in QSslSocketBackendPrivate::startHandshake (this=this@entry=0x7fffae079150) at ssl/qsslsocket_openssl.cpp:1367
#14 0x00007ffff6a6362f in QSslSocketBackendPrivate::transmit (this=0x7fffae079150) at ssl/qsslsocket_openssl.cpp:1108
#15 0x00007ffff6a5c589 in qt_static_metacall (_a=, _id=, _o=, _c=) at .moc/release-shared/moc_qsslsocket.cpp:98
#16 QSslSocket::qt_static_metacall (_o=, _c=, _id=, _a=) at .moc/release-shared/moc_qsslsocket.cpp:77
#17 0x00007ffff663b54f in QMetaObject::activate (sender=0x7fffc6c311f0, m=, local_signal_index=, argv=0x0) at kernel/qobject.cpp:3547
#18 0x00007ffff6a3f3cc in QAbstractSocketPrivate::canReadNotification (this=0x7fffae07ab80) at socket/qabstractsocket.cpp:654
#19 0x00007ffff6a47e3d in event (this=, e=) at socket/qnativesocketengine.cpp:1151
#20 QReadNotifier::event (this=, e=) at socket/qnativesocketengine.cpp:1148
#21 0x00007ffff730370c in QApplicationPrivate::notify_helper (this=this@entry=0x6ae3a0, receiver=receiver@entry=0x7fffd2e04b40, e=e@entry=0x7fffdfffec20) at kernel/qapplication.cpp:4556
#22 0x00007ffff7307b8a in QApplication::notify (this=0x7fffffffdde0, receiver=0x7fffd2e04b40, e=0x7fffdfffec20) at kernel/qapplication.cpp:4417
#23 0x00007ffff6625b5e in QCoreApplication::notifyInternal (this=0x7fffffffdde0, receiver=0x7fffd2e04b40, event=0x7fffdfffec20) at kernel/qcoreapplication.cpp:915
#24 0x00007ffff6653a78 in sendEvent (event=0x7fffdfffec20, receiver=) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#25 socketNotifierSourceDispatch (source=source@entry=0x7fffe0002990) at kernel/qeventdispatcher_glib.cpp:110
#26 0x00007ffff47c0355 in g_main_dispatch (context=0x7fffe0071c10) at /tmp/buildd/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:2539
#27 g_main_context_dispatch (context=context@entry=0x7fffe0071c10) at /tmp/buildd/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3075
#28 0x00007ffff47c0688 in g_main_context_iterate (context=context@entry=0x7fffe0071c10, block=block@entry=1, dispatch=dispatch@entry=1,
self=<error reading variable: Unhandled dwarf expression opcode 0xfa>) at /tmp/buildd/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3146
#29 0x00007ffff47c0744 in g_main_context_iteration (context=0x7fffe0071c10, may_block=1) at /tmp/buildd/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3207
#30 0x00007ffff6654276 in QEventDispatcherGlib::processEvents (this=0x7fffe0002fc0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
---Type to continue, or q to quit---
#31 0x00007ffff66248af in QEventLoop::processEvents (this=this@entry=0x7fffdfffee40, flags=...) at kernel/qeventloop.cpp:149
#32 0x00007ffff6624b38 in QEventLoop::exec (this=0x7fffdfffee40, flags=...) at kernel/qeventloop.cpp:204
#33 0x00007ffff6527d70 in QThread::exec (this=) at thread/qthread.cpp:501
#34 0x00007ffff652ad0b in QThreadPrivate::start (arg=0x9b9550) at thread/qthread_unix.cpp:307
#35 0x00007ffff4c8eb50 in start_thread (arg=) at pthread_create.c:304
#36 0x00007ffff51b5a7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#37 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fffe5605700 (LWP 10787)):
#0 0x00007ffff51aae33 in *__GI___poll (fds=, nfds=, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1 0x00007ffff47c0624 in g_main_context_poll (n_fds=1, fds=0x7ffb80, timeout=-1, context=0x9f4b10, priority=) at /tmp/buildd/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3440
#2 g_main_context_iterate (context=context@entry=0x9f4b10, block=block@entry=1, dispatch=dispatch@entry=1, self=<error reading variable: Unhandled dwarf expression opcode 0xfa>)
at /tmp/buildd/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3141
#3 0x00007ffff47c0744 in g_main_context_iteration (context=0x9f4b10, may_block=1) at /tmp/buildd/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3207
#4 0x00007ffff6654276 in QEventDispatcherGlib::processEvents (this=0x7122a0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5 0x00007ffff66248af in QEventLoop::processEvents (this=this@entry=0x7fffe5604e40, flags=...) at kernel/qeventloop.cpp:149
#6 0x00007ffff6624b38 in QEventLoop::exec (this=0x7fffe5604e40, flags=...) at kernel/qeventloop.cpp:204
#7 0x00007ffff6527d70 in QThread::exec (this=) at thread/qthread.cpp:501
#8 0x00007ffff652ad0b in QThreadPrivate::start (arg=0x7fffe0001ff0) at thread/qthread_unix.cpp:307
#9 0x00007ffff4c8eb50 in start_thread (arg=) at pthread_create.c:304
#10 0x00007ffff51b5a7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fffe5e06700 (LWP 10786)):
#0 0x00007ffff51aae33 in *__GI___poll (fds=, nfds=, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1 0x00007ffff47c0624 in g_main_context_poll (n_fds=2, fds=0x711200, timeout=-1, context=0x9f45e0, priority=) at /tmp/buildd/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3440
#2 g_main_context_iterate (context=context@entry=0x9f45e0, block=block@entry=1, dispatch=dispatch@entry=1, self=<error reading variable: Unhandled dwarf expression opcode 0xfa>)
at /tmp/buildd/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3141
#3 0x00007ffff47c0744 in g_main_context_iteration (context=0x9f45e0, may_block=1) at /tmp/buildd/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3207
#4 0x00007ffff6654276 in QEventDispatcherGlib::processEvents (this=0x7ff210, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5 0x00007ffff66248af in QEventLoop::processEvents (this=this@entry=0x7fffe5e05e10, flags=...) at kernel/qeventloop.cpp:149
#6 0x00007ffff6624b38 in QEventLoop::exec (this=0x7fffe5e05e10, flags=...) at kernel/qeventloop.cpp:204
#7 0x00007ffff6527d70 in QThread::exec (this=) at thread/qthread.cpp:501
#8 0x00007ffff66051bf in QInotifyFileSystemWatcherEngine::run (this=0x788ea0) at io/qfilesystemwatcher_inotify.cpp:248
#9 0x00007ffff652ad0b in QThreadPrivate::start (arg=0x788ea0) at thread/qthread_unix.cpp:307
#10 0x00007ffff4c8eb50 in start_thread (arg=) at pthread_create.c:304
#11 0x00007ffff51b5a7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffff7fba760 (LWP 10783)):
#0 QTextDocument::documentMargin (this=0x83b3c0) at text/qtextdocument.cpp:740
#1 0x00007ffff7795df4 in blockBoundingRect (block=..., this=0x7fb3c0) at widgets/qplaintextedit.cpp:206
#2 QPlainTextDocumentLayout::blockBoundingRect (this=0x7fb3c0, block=...) at widgets/qplaintextedit.cpp:195
#3 0x00007ffff7794e90 in QPlainTextEditControl::blockBoundingRect (this=0x742330, block=...) at widgets/qplaintextedit.cpp:588
#4 0x00007ffff779ad49 in QPlainTextEditPrivate::append (this=0x82e4f0, text=..., format=Qt::PlainText) at widgets/qplaintextedit.cpp:2771
#5 0x000000000045f2d5 in Mirall::LogBrowser::slotNewLog(QString const&) ()
#6 0x0000000000468349 in Mirall::LogBrowser::qt_metacall(QMetaObject::Call, int, void**) ()
#7 0x00007ffff663aa2e in QObject::event (this=0x82d930, e=) at kernel/qobject.cpp:1195
#8 0x00007ffff735269a in QWidget::event (this=0x82d930, event=0x7fffc1eccd80) at kernel/qwidget.cpp:8830
#9 0x00007ffff730370c in QApplicationPrivate::notify_helper (this=this@entry=0x6ae3a0, receiver=receiver@entry=0x82d930, e=e@entry=0x7fffc1eccd80) at kernel/qapplication.cpp:4556
#10 0x00007ffff7307b8a in QApplication::notify (this=0x7fffffffdde0, receiver=0x82d930, e=0x7fffc1eccd80) at kernel/qapplication.cpp:4417
---Type to continue, or q to quit---
#11 0x00007ffff6625b5e in QCoreApplication::notifyInternal (this=0x7fffffffdde0, receiver=receiver@entry=0x82d930, event=event@entry=0x7fffc1eccd80) at kernel/qcoreapplication.cpp:915
#12 0x00007ffff66299e1 in sendEvent (event=0x7fffc1eccd80, receiver=0x82d930) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#13 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x6ae550) at kernel/qcoreapplication.cpp:1539
#14 0x00007ffff66540e3 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#15 postEventSourceDispatch (s=s@entry=0x6b0c00) at kernel/qeventdispatcher_glib.cpp:279
#16 0x00007ffff47c0355 in g_main_dispatch (context=0x6b0820) at /tmp/buildd/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:2539
#17 g_main_context_dispatch (context=context@entry=0x6b0820) at /tmp/buildd/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3075
#18 0x00007ffff47c0688 in g_main_context_iterate (context=context@entry=0x6b0820, block=block@entry=1, dispatch=dispatch@entry=1,
self=<error reading variable: Unhandled dwarf expression opcode 0xfa>) at /tmp/buildd/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3146
#19 0x00007ffff47c0744 in g_main_context_iteration (context=0x6b0820, may_block=1) at /tmp/buildd/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3207
#20 0x00007ffff6654276 in QEventDispatcherGlib::processEvents (this=0x6af8c0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#21 0x00007ffff73a483e in QGuiEventDispatcherGlib::processEvents (this=, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#22 0x00007ffff66248af in QEventLoop::processEvents (this=this@entry=0x7fffffffdda0, flags=...) at kernel/qeventloop.cpp:149
#23 0x00007ffff6624b38 in QEventLoop::exec (this=0x7fffffffdda0, flags=...) at kernel/qeventloop.cpp:204
#24 0x00007ffff6629cf8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#25 0x0000000000426441 in main ()

@davidak
Copy link
Member

davidak commented May 21, 2013

high cpu-load (mostly 100%) while having lots of small files

05-21 12:02:15:578 csync_propagate: Propagation for local replica took 11.72 seconds visiting 3980 files.
05-21 12:02:17:937 csync_destroy: Writing the statedb of 3980 files to disk took 1.80 seconds
05-21 12:02:18:031 CSync run took  43031  Milliseconds 

after deleting lots of them, its only a short peek with 100%

05-21 12:08:10:296 csync_propagate: Propagation for local replica took 0.16 seconds visiting 40 files.
05-21 12:08:12:046 csync_destroy: Writing the statedb of 40 files to disk took 1.75 seconds
05-21 12:08:12:046 CSync run took  3546  Milliseconds 

client log:
https://gist.github.com/davidak/5618863

@hefax
Copy link

hefax commented May 22, 2013

Hi,

I am experiencing similar behavior as well. I have Ubuntu 13.04 installed.
uname -a : Linux Reah 3.8.0-19-generic #30-Ubuntu SMP Wed May 1 16:35:23 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

top - 09:45:28 up 9 days, 55 min, 10 users, load average: 1,45, 1,25, 1,19
Tasks: 303 total, 2 running, 300 sleeping, 0 stopped, 1 zombie
%Cpu(s): 23,0 us, 13,4 sy, 0,0 no, 52,1 id, 10,7 wa, 0,0 hi, 0,9 si, 0,0 st
KiB Mem 16426672 total, 16020876 used, 405796 free, 4360 buffers
KiB Swap 47925244 total, 10907728 used, 37017516 free, 138044 cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
25655 hefa 20 0 22,0g 12g 2944 S 133,6 81,2 1040:29 owncloud

So 133% of cpu and 81% of my ram. The client works fine for a while but after some time is just starts consuming cpu and memory like crazy. The only way to recover is to kill the process.

@stevedowe
Copy link

Adding my "me too" to the list. Debian 7 (Wheezy) and owncloud-client (1.2.5). A quick "top" revealed:

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
7817 steve 20 0 7537m 6.1g 2444 S 2.3 78.9 460:55.47 owncloud

@jinnko
Copy link

jinnko commented Jun 16, 2013

I managed to workaround this issue by increasing the poll intervals in the config file, then re-launching.

localPollinterval=600000
remotePollinterval=600000

I am syncing several large folders and the client seemed to get into a race condition resulting in the high CPU load.

Built from Git revision b4e2e5 on Apr 22 2013, 16:57:46
using OCsync 0.70.6 and Qt 4.8.4.

@Cadair
Copy link

Cadair commented Jun 17, 2013

I am also having this issue. I am running Arch and version 1.2.5-3 from the AUR.

I notice it use a lot of CPU useage, not too much RAM, when it is scanning local files for changes. I have quite a large directory of file I am scanning.

@raid1
Copy link

raid1 commented Jun 25, 2013

I confirm that the problem went away after setting localPollinterval and remotePollinterval to 600000.
--> #591 (comment)

Thanks, jinnko!

@Cadair
Copy link

Cadair commented Jun 25, 2013

I also tried the pollinterval fix and it has not worked :(

@danimo
Copy link
Contributor

danimo commented Jun 25, 2013

Everyone, please give 1.3.0 a try.

@1of16
Copy link

1of16 commented Jun 25, 2013

you're kidding, right? 1.3.0 isn't better, its worse. constant 100% cpu usage on ubuntu 13.04
not even the tweaks (localPollinterval=600000 - remotePollinterval=600000) are helping....

@lukasbisdorf
Copy link

I totally agree with 1of16! 1.3.0 is even worse. During the sync, the CPU usage goes down to a normal value. But if it's watching the folder, the usage goes up to 100%.
Is it so hard to find out, which loop causes the huge load???

@jinnko
Copy link

jinnko commented Jun 25, 2013

I have upgraded to 1.3.0 on OSX, without changing my poll intervals away from the 600000 and it has continued to work fine without high CPU usage, at least during the first cycles after the upgrade.

1of16 & inf1832, it's a good idea to see if the devs are able to reproduce the problem as that's the only way it's gonna get fixed. Remember this is OSS and people work on it with good will.

@lukasbisdorf
Copy link

Of curse I remember that it's only the good will of the devs. :-)
I am a software developer too, and I thought of setting up an owncloud dev environment for further debugging...
But until I know how the client works and where the bug is or could be, it could take me a month or two. Currently there are finals at my university so time is a bit rare :D so don't expect to much from my approaches...

@Cadair
Copy link

Cadair commented Jun 25, 2013

I have tried 1.3.0, it seems that it does suffer from the same problem. It does a load of sync then starts eating CPU. I can't workout if it is doing anything useful while it is eating the CPU or if it is just going round in pointless circles.

Is there any further info I can provide to help you debug this?

@DanScharon
Copy link

I experienced the same issues like 1of16. After the upgrade to 1.3.0 it got even worse, i.e. cpu was at 100% immediately on all cores (before the upgrade it took some time...).
what I tried just now is the following: I deleted the configuration in ~/.local/share/data/ownCloud and the .csync_journal.db witihin each shared folder.
Afterwards I had to reconfigure everything of course, but the issue has seemed to disappear.

(for the record: I'm using Debian Squeeze with backports kernel)

@danimo
Copy link
Contributor

danimo commented Jun 26, 2013

There is now a button called "Reset" which resets the journal and spares you the reconfiguration. It should do the same, please give it a try.

@raid1
Copy link

raid1 commented Jun 26, 2013

I can NOT confirm the above posts.
I updated yesterday and the CPU+Memory problems have disappeared!
owncloud-client 1.3.0 has been running for almost a day without noticeable problems.

lama:> uname -a
Linux lama 3.8.0-25-generic #37-Ubuntu SMP Thu Jun 6 20:47:07 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
lama:
> lsb_release -a
LSB Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch
Distributor ID: Ubuntu
Description: Ubuntu 13.04
Release: 13.04
Codename: raring

@1of16
Copy link

1of16 commented Jun 26, 2013

indeed...today the problems are gone and I haven't done anything.
no (extreme) high cpu load on my 13.04 and 12.04 clients.

I have to apologise, it seems you fixed it! good work!

@danimo
Copy link
Contributor

danimo commented Jun 26, 2013

@1of16 Pheew, that probably was our "detect broken database and rebuild it"-Algorithm working its wonders (hence the added spikes after installation of 1.3). Glad it worked :-)

@danimo
Copy link
Contributor

danimo commented Jun 26, 2013

@Cadair @inf1832: Can you try to either wait some more or try the reset button if rebuilding fails?

@davidak
Copy link
Member

davidak commented Jun 26, 2013

the ui of the client 1.3.0 on windows 7 hangs while it syncs, i cant move the window or click a button. 1.2.5 doesn't do that

2013-06-25 14_34_35-program manager

it also has 100% usage of 1 cpu core.

on a pc with only 1 core (win xp) it uses all cpu ressources and the pc is not usable anymore. the ui freezes also.

it uses 85 - 92 MB RAM, i think that is ok.

@lukasbisdorf
Copy link

ok, I have tested a bit around.
The Solution with the Reset Button works for me on one Machine... On the other (MacBookPro 2009) it doesn't work. So I decided to reset the whole thing. I deleted everything related to owncloud, (Library, Application, SyncDB).
Now the Issue with the high CPU usage seems to be resolved...

I'm syncing two different folders, each to an other Directory in my Folder Structure. Both are larger than 1GB and with more than 10K files.

One of the Folders is also synced via Dropbox, it could be, that Dropbox messed up the Database, because its much faster. For Testing I turned off the Dropbox.

For me the CPU issue is resolved, but now I ran in another issue, that it will not sync anything (I'm going to search the Tickets if someone else had a similar Problem).

Short Notice about my OS config:
Mac OS X 10.8.4 (both)
CPU: i7 3770 and Core2Duo @2.4 Ghz
RAM 16GB and 6 GB

Thanks to all developers and Bug reporters helping to get a better software ;)

inf1832

@danimo
Copy link
Contributor

danimo commented Jun 27, 2013

@inf1832 You can't sync a folder with Dropbox and ownCloud at the same time. The results are unpredictible.

@lukasbisdorf
Copy link

Yes that was my fault. I have forgotten to turn it off (It is now off, since the hint with the reset button yesterday). Now only owncloud is running...

The last hour everything went well (expect some delays in syncing), but now again: 100% CPU - with short intervals of 0-4% usage.

@homann
Copy link

homann commented Jun 27, 2013

This version seems to work for me. Thanks to the devs for keep improving owncloud.

@danimo
Copy link
Contributor

danimo commented Jul 8, 2013

@inf1832: "At the same time" was meant as an absolute statement. You cannot alternate the two either.

Closing since it seems to work for the others.

@danimo danimo closed this as completed Jul 8, 2013
@Cadair
Copy link

Cadair commented Jul 9, 2013

I am sad to report that the upgrade does not seem to have fixed this for me either.

I updated the client, and completely rest the database and the client. It has taken it a while to rebuild and sync, but it does still seem to be running two processes at 100% cpu. I will leave it for a couple of hours to see if it is just transient.

@monreal
Copy link

monreal commented Sep 1, 2013

I needed to kill the client (latest stable version) today because it was taking 100% of one core.

@danimo
Copy link
Contributor

danimo commented Sep 1, 2013

@monreal Please try with 1.4.0rc1, available at owncloud.org/sync-clients/#testing.

@sasch
Copy link

sasch commented Mar 23, 2014

What is the sollution for the high CPU problem?
Version 1.5.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests