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

[2.2.3] client crashing Wingpanel Elementary OS #5171

Closed
lchigami opened this issue Sep 12, 2016 · 25 comments
Closed

[2.2.3] client crashing Wingpanel Elementary OS #5171

lchigami opened this issue Sep 12, 2016 · 25 comments
Assignees
Labels
Milestone

Comments

@lchigami
Copy link

lchigami commented Sep 12, 2016

Expected behaviour

No crashes...

Actual behaviour

Wingpanel crashing randomly and Owncloud client restarting constantly...

Steps to reproduce

  1. Fresh install ElementaryOS Loki Stable
  2. Install Owncloud client from repository (Ubuntu 16.04)
  3. Connect to your account

Server configuration

Operating system: Debian Jessie

Web server: Apache2

Database: PostgreSQL

PHP version: 5.6.24

ownCloud version: 9.1.0 (stable)

Storage backend (external storage): no

Client configuration

Client version: 2.2.3

Operating system: ElementaryOS Loki 0.4.0 (Built on Ubuntu 16.04 LTS)

OS language: English

Installation path of client: /usr/bin/owncloud

Logs

  1. Client logfile: https://gist.github.com/lchigami/43d37fc63f19ac03af5d1afb03096e67
  2. Syslog error: https://gist.github.com/lchigami/22aded9d3a94a9e39cb81cc3f1b6e251
  3. Web server error log: No error on server side, since it's a client-side crashing.
  4. Server logfile: ownCloud log (data/owncloud.log): No error on server side, since it's a client-side crashing.
@dragotin
Copy link
Contributor

Hmm, this sounds like a package incompatibility. We need more info to nail this down. Or somebody who has that system and try...

@lchigami
Copy link
Author

Hmm, this sounds like a package incompatibility. We need more info to nail this down. Or somebody who has that system and try...

I can provide any other info about this issue...
I just don't know what other information I could provide to help...

@lchigami
Copy link
Author

Maybe this issue is related to #5164 ?
I'm using Qt version 5.5.1

@guruz
Copy link
Contributor

guruz commented Sep 13, 2016

Yes, it sounds most probably related to tray menu etc.
Do you have a build of the client?

@guruz guruz changed the title OwnCloud client crashing Wingpanel Elementary OS [2.2.3] client crashing Wingpanel Elementary OS Sep 13, 2016
@guruz
Copy link
Contributor

guruz commented Sep 13, 2016

Can you contact someone from Wingpanel or whatever? Becuase we can't workaround every possible Linux OS issue, we're already having several workarounds for this and that.

@guruz guruz added this to the 2.2.4 milestone Sep 13, 2016
@lchigami
Copy link
Author

lchigami commented Sep 14, 2016

Can you contact someone from Wingpanel or whatever? Becuase we can't workaround every possible Linux OS issue, we're already having several workarounds for this and that.

Already contacted the Wingpanel team, but no response...

Yes, it sounds most probably related to tray menu etc.
Do you have a build of the client?

$ owncloud --version
Gtk-Message: Failed to load module "pantheon-filechooser-module"
ownCloud version 2.2.3
Using Qt 5.5.1

$ dpkg -l | grep owncloud

ii libowncloudsync0:amd64 2.2.3-1.4 amd64 the ownCloud sync library
ii owncloud-client:amd64 2.2.3-1.4 amd64 The ownCloud sync client - github.com/owncloud/client
ii owncloud-client-l10n 2.2.3-1.4 all Internationalization files for ownCloud

@guruz guruz removed this from the 2.2.4 milestone Sep 15, 2016
@lchigami
Copy link
Author

Trying the daily build client...
I've noticed a slight decrease of error frequency, but still Wingpanel is crashing...

@TKLCZ
Copy link

TKLCZ commented Sep 19, 2016

The same situation on my laptop with a fresh installation of Elementary OS Loki.
I remember the similar issue from my other system - laptop with Lubuntu 16.04. There the flashing and increasing copies of the Owncloud client icon in systray appeared.
Now in the Elementary OS the cursor start a flashing in whole system and in all apps and the wingpanel is consuming most of CPU when the synchronization is in progress. I think that the issues in Lubuntu and Elementary OS are very similar.

@ckamm
Copy link
Contributor

ckamm commented Sep 22, 2016

@TKLCZ @lchigami Try setting the OWNCLOUD_MINIMAL_TRAY_MENU environment variable before starting the client. If the problem goes away, it's indeed a tray menu issue.

Pull request #5179 brings a bunch of workarounds for tray issues. In particular it limits one workaround - which might trigger this misbehavior you're seeing - to Qt 5.5.0. If you can compile and test with this patch applied, that would be extraordinarily helpful.

@ckamm ckamm added this to the 2.3.0 milestone Sep 22, 2016
@ckamm
Copy link
Contributor

ckamm commented Sep 23, 2016

The pull request was now merged. So if you test a master (to be 2.3.0) build, things may have improved.

@reykjalin
Copy link

I'm having the same issue and since this bug is tagged with "Needs info" I decided to add a link to this thread I found, since it seems to contain some relevant information: http://elementaryos.stackexchange.com/a/8257

@lchigami
Copy link
Author

lchigami commented Oct 6, 2016

@ckamm Setting the OWNCLOUD_MINIMAL_TRAY_MENU to 1, and Wingpanel is still crashing...
Using the latest 2.2.4 stable client version

@guruz
Copy link
Contributor

guruz commented Oct 6, 2016

@lchigami The 2.2.4 does not have this yet.
The 2.3 nightlies is what you should try for this https://software.opensuse.org/download/package?project=isv:ownCloud:community:nightly&package=owncloud-client

(Note that the builds for all the distros might not have run through yet..)

@lchigami
Copy link
Author

lchigami commented Oct 7, 2016

@guruz Installed the 2.3.0 nightlies, and getting the error:

segfault at 28 ip 00000000004cf404 sp 00007ffc1dd841a8 error 4 in owncloud[400000+211000]

@guruz
Copy link
Contributor

guruz commented Oct 7, 2016

@lchigami Start the client in gdb:
gdb owncloud

Then
r --logfile -

then on crash:
thread apply all bt

@lchigami
Copy link
Author

lchigami commented Oct 7, 2016

@ckamm
Copy link
Contributor

ckamm commented Oct 7, 2016

@lchigami Thanks for the backtrace, it's a crash in contextMenuVisible (called from the ownCloudGui constructor) I'll look at it!

@ckamm
Copy link
Contributor

ckamm commented Oct 7, 2016

67ecca4 calls contextMenuVisible before the context menu is set up and that only works on mac, will fix.

@ckamm
Copy link
Contributor

ckamm commented Oct 7, 2016

@lchigami The bug is unrelated and fixed in 91b6b88 - could you try a new nightly once it becomes available?

@lchigami
Copy link
Author

lchigami commented Oct 7, 2016

@ckamm Sure! Once available, i will test it and report here.

@guruz guruz added the ReadyToTest QA, please validate the fix/enhancement label Oct 7, 2016
@lchigami
Copy link
Author

lchigami commented Oct 10, 2016

@ckamm Testing the 2.3.0nightly2016109 (build 1951) version, and so far so good. Looking very stable, no more crashes.

@lchigami
Copy link
Author

@ckamm @guruz Testing the nightly builds, and so far no crashes...
Closing this issue!
Thanks for the support!

@ckamm ckamm removed the ReadyToTest QA, please validate the fix/enhancement label Oct 11, 2016
@ckamm
Copy link
Contributor

ckamm commented Oct 11, 2016

@lchigami Thanks for testing!

@peteruithoven
Copy link

Is there any estimation on when this will be released? I didn't find it in the changelog yet. When 2.3.0 is released?

@peteruithoven
Copy link

Nightly seems to work great on Elementary OS Loki's Wingpanel.

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

7 participants