After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 735492 - Repeated crashes on startup - currently unusable
Repeated crashes on startup - currently unusable
Status: RESOLVED OBSOLETE
Product: bijiben
Classification: Applications
Component: general
3.13.x
Other Linux
: Normal critical
: ---
Assigned To: Bijiben maintainer(s)
Bijiben maintainer(s)
: 735519 735708 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2014-08-27 02:26 UTC by Ankur Sinha (FranciscoD)
Modified: 2017-12-27 04:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Complete multithreaded stack trace (18.63 KB, text/x-log)
2014-08-27 02:26 UTC, Ankur Sinha (FranciscoD)
  Details
a simple trial to avoid crash (831 bytes, patch)
2014-09-01 21:40 UTC, Pierre-Yves Luyten
none Details | Review

Description Ankur Sinha (FranciscoD) 2014-08-27 02:26:52 UTC
Created attachment 284570 [details]
Complete multithreaded stack trace

bijiben-3.13.90-1.fc21.x86_64

Crashes on start up. The window just comes up and then it crashes, almost like a flicker. 

Please find the complete multi-threaded trace attached.

Program received signal SIGSEGV, Segmentation fault.
g_type_check_instance_cast (type_instance=type_instance@entry=0xa0b440, iface_type=10827632) at gtype.c:4013
4013              node = lookup_type_node_I (type_instance->g_class->g_type);

Thanks,
Warm regards,
Ankur
Comment 1 Ankur Sinha (FranciscoD) 2014-08-27 11:00:16 UTC
This seems to be owncloud related. I removed my owncloud account and it doesn't crash any more.
Comment 2 Pierre-Yves Luyten 2014-08-27 12:12:49 UTC
Sorry about this.

There was a change in 3.13.90 if you have an ownCloud client installed. Do you have one?

Is there one file "~/.local/share/data/ownCloud/folders/ownCloud" ?
If so, is there a line with "localPath"?

thanks
Comment 3 Ankur Sinha (FranciscoD) 2014-08-27 12:50:03 UTC
(In reply to comment #2)
> Sorry about this.
> 
> There was a change in 3.13.90 if you have an ownCloud client installed. Do you
> have one?
> 
> Is there one file "~/.local/share/data/ownCloud/folders/ownCloud" ?
> If so, is there a line with "localPath"?
> 
> thanks


Hrm. No. I just had an ownCloud account in GOA. I don't have a client installed and there's no file in ~/.local/share/data/ownCloud/folders/ownCloud.
Comment 4 Elad Alfassa 2014-08-30 11:30:40 UTC
*** Bug 735708 has been marked as a duplicate of this bug. ***
Comment 5 Pierre-Yves Luyten 2014-08-31 21:56:22 UTC
*** Bug 735519 has been marked as a duplicate of this bug. ***
Comment 6 Pierre-Yves Luyten 2014-09-01 21:33:45 UTC
Ouch, I cannot reproduce it on three different fedora.

Can you access ownCloud mount from nautilus?

No idea why this happens on g_volume_mount async callback.

If someone could run gdb with a breakpoint on on_owncloud_volume_mounted this would at least confirm the row.

downstream is https://bugzilla.redhat.com/show_bug.cgi?id=1135809
Comment 7 Pierre-Yves Luyten 2014-09-01 21:35:21 UTC
Running with 3.13.4 version would bring back some old code, but I'd be surprised this to change anything.
Comment 8 Pierre-Yves Luyten 2014-09-01 21:40:32 UTC
Created attachment 285100 [details] [review]
a simple trial to avoid crash

This might avoid the crash, but will not bring feature
Comment 9 Ankur Sinha (FranciscoD) 2014-09-02 05:02:49 UTC
Hi Pierre,

I set up a different owncloud account and this crash repeated itself. I'll try to get you a trace. Here's how to reproduce it:


- create a free owncloud account at owndrive.com from this list: https://owncloud.org/providers/  - https://owndrive.com/

- Set it up using GOA.

- start bijiben after

- watch it crash

Thanks,
Ankur
Comment 10 Ankur Sinha (FranciscoD) 2014-09-02 05:04:42 UTC
Removing the account from GOA lets bijiben work just fine, so it is an owncloud related issue. I don't know if I have a notes app on the owncloud instance set up. There isn't anything in the GOA settings. Is such an app required?
Comment 11 Ankur Sinha (FranciscoD) 2014-09-02 05:07:53 UTC
I can access it fine with nautilus. I just transferred a file to check. It mounts it as "webdav". Works just fine.
Comment 12 Pierre-Yves Luyten 2014-09-02 07:27:10 UTC
(In reply to comment #10)

Thanks for the tests Ankur. This is what i tried on my side, without being able to reproduce.

> Removing the account from GOA lets bijiben work just fine, so it is an owncloud
> related issue. I don't know if I have a notes app on the owncloud instance set
> up. There isn't anything in the GOA settings. Is such an app required?

As soon as an ownCloud gnome-online-account is active for "Files", Notes will pick it up. In theory the webdav files are mounted (g_volume_mount, as in Nautilus), but this crash happens at this point.

Recent code (3.13.90) introduced an alternative : if an ownCloud client already does sync files locally, local files are to be used, not webdav. btw this is a possible workaround for anybody impacted : let's install the client, and bijben will use local files.

I first thought this recent feature and related code change did introduce the crash (thus, my request to test 3.13.4, before this). But looking at the code its not obvious. Using a gdb breakpoint would identify precisely what does break here.

> gdb bijiben
> break on_own_cloud_volume_mounted
> run
> next
> next (...)
Comment 13 rems14 2014-09-09 20:03:18 UTC
Hi,

I'm using the 3.13.91 version on archlinux. I've created an free owndrive.com account and I've activated it on GOA, however bijiben works as well.
Comment 14 Isaque Galdino 2017-12-27 04:52:43 UTC
I've just created a owndrive.com account and added to GOA, created a few notes in OD, updated them in Bijiben and everything is fine.

I'll close this bug report and if the problem still happens, please reopen it.
Thanks.