Comments (13)
I am having a similar result with no output from the command, no mount, and exit code 0. I too have a script to automatically parse the .gdfuse folder with formatted tags, create directories and mount them. My drives and shared folders on one account are mounting fine but another account is failing silently. I am getting nothing in the journalctl output.
I just tried another account and it also failed silently.
I downgraded to google-drive-ocamlfuse_0.7.30-1ubuntu1~bpo20.04.1_amd64.deb and now it works perfectly.
from google-drive-ocamlfuse.
As there aren't hundreds of bug reports as a result of new release, could this be a CPU/package versions specific thing?
I don't know, but I have Ubuntu 22.04 on Intel as the majority of users experiencing this issue, it seems. And I am unable to reproduce it. It probably is a stupid bug in the C code I had to add in order to compile with OCaml 5+. As I am not a C programmer, it's super easy for me to introduce a bug like that. Instead of -d
you can use as a workaround the -f
option that keeps also the process in foreground and doesn't dump tons of text on the console while running.
from google-drive-ocamlfuse.
I think the problem is caused by this issue: astrada/ocamlfuse#26. I thought I included the fix in the Ubuntu package but I probably missed it. I will release a new package when I get home.
I updated this morning (from apt) and it seems to have fixed the issue for me. Thank you very much
from google-drive-ocamlfuse.
As there aren't hundreds of bug reports as a result of new release, could this be a CPU/package versions specific thing?
I don't know, but I have Ubuntu 22.04 on Intel as the majority of users experiencing this issue, it seems. And I am unable to reproduce it. It probably is a stupid bug in the C code I had to add in order to compile with OCaml 5+. As I am not a C programmer, it's super easy for me to introduce a bug like that. Instead of
-d
you can use as a workaround the-f
option that keeps also the process in foreground and doesn't dump tons of text on the console while running.
Interestingly, I created the same issue via 'opam install google-drive-ocamlfuse' and running it. It works perfectly with -d or -f , disappears without a trace otherwise. This is kde neon (22.04 Ubuntu based)
I used the package on this page https://ocaml.org/p/google-drive-ocamlfuse
from google-drive-ocamlfuse.
Sure, you can find old versions here: https://ppa.launchpadcontent.net/alessandro-strada/ppa/ubuntu/pool/main/g/google-drive-ocamlfuse/
But if you know how to use gdb, and you could send me the stack trace of the segmentation fault, I think I can fix the issue (I thought it was the @ character, but I can't reproduce the error on my machine). Thanks!
from google-drive-ocamlfuse.
Sure, you can find old versions here: https://ppa.launchpadcontent.net/alessandro-strada/ppa/ubuntu/pool/main/g/google-drive-ocamlfuse/
But if you know how to use gdb, and you could send me the stack trace of the segmentation fault, I think I can fix the issue (I thought it was the @ character, but I can't reproduce the error on my machine). Thanks!
Is there a easy way to invoke gdb and output a usable file over command line? I am actually having the exact issue @Roland-Brown-Trimble mentions, however it must have a record somewhere.
from google-drive-ocamlfuse.
I can invoke gdb if I get some more guidance. I haven't used it for decades.
from google-drive-ocamlfuse.
I also seem be experience the same or similar issues. In my journalctl output the following is present:
Apr 16 07:56:08 X systemd[1]: google-drive-ocamlfuse-X.service: Main process exited, code=dumped, status=11/SEGV
Apr 16 07:56:08 X systemd[1]: google-drive-ocamlfuse-X.service: Failed with result 'core-dump'.
It only failed to mount since I updated on Sunday.
$ sudo apt show google-drive-ocamlfuse
Package: google-drive-ocamlfuse
Version: 0.7.32-0ubuntu1~bpo22.04.1
Priority: optional
Section: ocaml
Maintainer: Alessandro Strada <[email protected]>
Installed-Size: 8,322 kB
Depends: libc6 (>= 2.35), libcurl3-gnutls (>= 7.66.0), libfuse2 (>= 2.8), libgmp10 (>= 2:6.2.1+dfsg), libsqlite3-0 (>= 3.25.0), zlib1g (>= 1:1.1.4)
I have two mountpoints configured.
One is for my standard Google Drive storage. I seemed to get this one running successfully by adding the -debug
flag (tried twice and worked twice, restart in between). What really confused me is that the command still exited immediately (even though -debug
implies -f
), but the mountpoint is perfectly accessible.
The other one is a shared team directory. I successfully mounted this one using the -debug -s -f
flags and the command runs in the foreground as expected.
from google-drive-ocamlfuse.
I think the problem is caused by this issue: astrada/ocamlfuse#26. I thought I included the fix in the Ubuntu package but I probably missed it. I will release a new package when I get home.
from google-drive-ocamlfuse.
I could mount via '-d' (debug) flag here too, however I see no core-dumps in the journal at all (tried with grep). Additionally, it doesn't "detach" here, e.g. I don't see a command prompt after '-d' argument. It just works.
As there aren't hundreds of bug reports as a result of new release, could this be a CPU/package versions specific thing?
from google-drive-ocamlfuse.
I can invoke gdb if I get some more guidance. I haven't used it for decades.
@cbarreholm, to enable saving core dumps on disk, run in a bash shell:
ulimit -c unlimited
Then, run google-drive-ocamlfuse, and you should see a core dump in /var/lib/apport/coredump/
(on Ubuntu). Then you can run gdb
:
gdb $(which google-drive-ocamlfuse) [path of the core dump file]
From the gdb console, run:
bt
to get the stack trace. Thanks!
from google-drive-ocamlfuse.
Updated to 0.7.32-0ubuntu3
Problem solved. ✔️
(Side note. I followed the instructions to create core dump before upgrading, but nothing ended up in /var/lib/apport/coredump/)
from google-drive-ocamlfuse.
@cbarreholm thanks for your feedback!
from google-drive-ocamlfuse.
Related Issues (20)
- Disable Google App Engine OAuth proxy HOT 1
- Deadlocked file managers HOT 1
- Does not copy content correctly
- Using app password instead of OAuth HOT 1
- Unable to mount Drive without OAuth 2.0 HOT 1
- Documentation: Update wiki/Usage documentation with note that secret credentials will be stored in bash/zsh/etc history HOT 1
- Authorization fails if a process is already bound to 127.0.0.1:8080 HOT 1
- Mounting Google Drive no longer works after changing password. HOT 2
- Question: how to configure systemd to unload/load service on suspend/resume
- not logging in after update HOT 6
- Google has made access to this f*cking impossible HOT 8
- Google complains about invalid request
- The "fusermount -u" operation to unmount needs to be added to 'man' documentation
- Error in access date of files mounted with GD-Ocamlfuse
- Mounted drive disappears HOT 7
- How to mount shared srives
- ubuntu 24.04 freezes with ocamlfuse
- ubuntu-22.04 do nt
- ubuntu-22.04 do not work HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from google-drive-ocamlfuse.