client icon indicating copy to clipboard operation
client copied to clipboard

[Crash] [macOS 10.14.1] ownCloud crashes when trying to synchronise

Open rei-vilo opened this issue 8 years ago • 27 comments

Expected behaviour

ownCloud synchronises without crashing.

Actual behaviour

ownCloud crashes when trying to synchronise.

Steps to reproduce

  1. Launch ownCloud.
  2. Wait for the automatic synchronisation.

Server configuration

Operating system: Linux 4.14.71-v7+ #1145 SMP Fri Sep 21 15:38:35 BST 2018 armv7l GNU/Linux

Web server: 10.0.8.5

Database: mysql Ver 15.1 Distrib 10.1.23-MariaDB, for debian-linux-gnueabihf (armv7l) using readline 5.2

PHP version: PHP 7.0.30-0+deb9u1 (cli) (built: Jun 14 2018 13:50:25) ( NTS )

ownCloud version:

Storage backend (external storage): yes

Client configuration

Client version: Version 2.5.1 (build 10818)

Operating system: macOS 10.14.1

OS language: French

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

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

Installation path of client: /Applications

Logs

crash bp-6835b2d3-a6f3-454e-82ba-9a1c72181122

rei-vilo avatar Nov 22 '18 18:11 rei-vilo

Again with Version 2.6.0-daily20181122 (build 10867) reported as crash bp-7c134c8d-d1f6-4b56-ae6f-7f9dc2181123

rei-vilo avatar Nov 23 '18 13:11 rei-vilo

@rei-vilo I think we've seem this before, but were never able to reproduce this. The information in the crash report isn't sufficient. Please enable permanent debug logging, so you will capture the actions performed right before the next crash…: https://doc.owncloud.com/desktop/latest/troubleshooting.html#logging-to-a-temporary-directory

michaelstingl avatar Nov 23 '18 14:11 michaelstingl

I've tried the permanent debug logging, but saw nothing labelled as error after the crash.

So I've reverted back to Version 2.4.3 (build 10347), which was stable.

rei-vilo avatar Nov 23 '18 14:11 rei-vilo

Could you send the lines before the crash to apps<at>owncloud.com ?

michaelstingl avatar Nov 23 '18 14:11 michaelstingl

I've been running ownCloud with logging on but I've faced no crash for the last 24 hours.

Random errors are the most difficult to spot and fix.

rei-vilo avatar Nov 24 '18 14:11 rei-vilo

This is https://sentry.io/owncloud/desktop-win-and-mac/issues/231973066/

Crash: EXC_BAD_ACCESS / KERN_INVALID_ADDRESS at 0x38303948
  Module "libqcocoa.dylib", in QCocoaEventDispatcher::processEvents
  Module "QtCore", in QEventLoop::exec
  Module "QtCore", in QCoreApplication::exec
  Module "owncloud", in _main
  Module "owncloud", in start

The backtrace is not so usefull.

ogoffart avatar Nov 26 '18 09:11 ogoffart

This is the same (so far unresolved) crash as in https://github.com/owncloud/client/issues/6787

So I've reverted back to Version 2.4.3 (build 10347), which was stable.

That's interesting because we also have users reporting this crash with 2.4.3 e.g. https://sentry.io/owncloud/desktop-win-and-mac/issues/231973066/events/37195904808/

guruz avatar Nov 26 '18 13:11 guruz

QCocoaEventDispatcher::processEvents is the root of the event loop, so maybe it's a catch all for all the crashes.

Perhaps running the application in a debugger could give a more interesting backtrace.

ogoffart avatar Nov 29 '18 11:11 ogoffart

I am using MacOS 10.14.2, and have had a number of crashes in the last few days. I don’t know whether this is the same issue.

manngo avatar Dec 12 '18 03:12 manngo

@japerki You can mute the thread (on the email) or unsubscribe from it (on this page) to no longer receive updates from it.

rei-vilo avatar Dec 12 '18 15:12 rei-vilo

I am using MacOS 10.14.2, and have had a number of crashes in the last few days.

What's the crash ID (the long number separated by dashes) that is reported when submitting the crash report?

guruz avatar Dec 17 '18 13:12 guruz

QCocoaEventDispatcher::processEvents is the root of the event loop, so maybe it's a catch all for all the crashes.

if you click the full_report_url you can see the crash is actually much longer and happens somewhere inside macOS related to HIToolbox and AppKit. So somehow GUI-triggered? or only GUI involved?

guruz avatar Dec 17 '18 13:12 guruz

Crash here as well: bp-64b4ebe9-5a37-46d2-b2f7-19ff02181221

I can't figure out how to turn on permanent debugging in my client

japostoles avatar Dec 21 '18 22:12 japostoles

It took 5 days to happen again, but I got bp-0b3c52a4-77c6-46ad-93a0-39c002181223

manngo avatar Dec 23 '18 04:12 manngo

how about this solution? I can't understand why it works, but my problem(oc desktop client for mac crashes) has solved. ref-> https://central.owncloud.org/t/owncloud-desktop-client-2-5-1-doesnt-start-on-macos-10-11-6/17338

at your environment, when you open the application in Terminall.app(type /Applications/owncloud.app/Contents/MacOS/owncloud ), you've got the message "dyld: lazy symbol binding failed: Symbol not found…", it's worth to try. •delete oc client completely(just type sudo rm -rf sudo rm /Applications/owncloud.app) •install oc desktop for mac (i tryied oc2.6 on mac os 10.13.6, it works!)

hidakat avatar Dec 28 '18 01:12 hidakat

Thank you for the reports. Unfortunately the crash reports don't contain useful backtraces so this is still a mystery issue. If you can, try running the client in a debugger and get a backtrace when the crash happens. That would be enormously helpful for addressing the problem. Currently we have little idea about what's causing it.

#6930 may be related and we're working on a fix there, but there's a chance this issue is a separate problem and still needs more information before it can be fixed.

ckamm avatar Jan 07 '19 13:01 ckamm

Please also watch the memory usage "before" the crash (which is hard of course. so you'd check it each hour and note it down and then when it crashes you take the last value you wrote down).

guruz avatar Jan 07 '19 13:01 guruz

I have this problem of crashes on Mac OS desktop client 2.5.1 (build 10818) running on High Sierra (10.13.5). I have the app "memory clean", so the state of the memory is displayed. I did not observe any problem of low memory when the crash happens (once or twice a day). It did happen few minutes ago, and I have 1.36GB of free memory. I don't know whether it might be useful, but I found that in the system log

Path: /Applications/owncloud.app/Contents/PlugIns/FinderSyncExt.appex/Contents/MacOS/FinderSyncExt Identifier: com.owncloud.desktopclient.FinderSyncExt 0x10d512000 - 0x10d516ff7 +com.owncloud.desktopclient.FinderSyncExt (1.0 - 1) <7756C8C6-7C1E-341A-BF8C-D21DDB15B844> /Applications/owncloud.app/Contents/PlugIns/FinderSyncExt.appex/Contents/MacOS/FinderSyncExt

Rene33 avatar Jan 14 '19 19:01 Rene33

We (mostly @ckamm ..) made some patches that could fix this. They made it into the rc2. Could you give this a try? https://download.owncloud.com/desktop/testing/ownCloud-2.5.2.11135rc2.pkg

guruz avatar Jan 17 '19 20:01 guruz

Thanks! It is installed! We have now to wait and see.

Rene33 avatar Jan 17 '19 20:01 Rene33