-
Notifications
You must be signed in to change notification settings - Fork 351
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
Mount failing with segfault after updating Ubuntu 22.04 #858
Comments
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! |
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. |
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. |
I can invoke gdb if I get some more guidance. I haven't used it for decades. |
I also seem be experience the same or similar issues. In my journalctl output the following is present:
It only failed to mount since I updated on Sunday.
I have two mountpoints configured. The other one is a shared team directory. I successfully mounted this one using the |
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 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. |
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 |
@cbarreholm, to enable saving core dumps on disk, run in a bash shell:
Then, run google-drive-ocamlfuse, and you should see a core dump in
From the gdb console, run:
to get the stack trace. Thanks! |
I updated this morning (from apt) and it seems to have fixed the issue for me. Thank you very much |
Updated to 0.7.32-0ubuntu3 (Side note. I followed the instructions to create core dump before upgrading, but nothing ended up in /var/lib/apport/coredump/) |
@cbarreholm thanks for your feedback! |
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 |
After updating Ubuntu 22.04 my existing use of google-drive-ocamlfuse stopped working.
Running
google-drive-ocamlfuse -debug -label christer@example.com /home/christer/GoogleDrive/christer@example.com/
results in exit code 0 (zero) and no output what so ever. No mount. It results in the following entries in journalctl:
Version
In /var/log/apt/history.log I found
Would be interesting to see if I could downgrade to
0.7.30-1ubuntu1~bpo22.04.1
The text was updated successfully, but these errors were encountered: