Giter VIP home page Giter VIP logo

Comments (13)

Roland-Brown-Trimble avatar Roland-Brown-Trimble commented on August 11, 2024 1

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.

astrada avatar astrada commented on August 11, 2024 1

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.

knoffelcut avatar knoffelcut commented on August 11, 2024 1

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.

IlgazC avatar IlgazC commented on August 11, 2024 1

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.

astrada avatar astrada commented on August 11, 2024

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.

IlgazC avatar IlgazC commented on August 11, 2024

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.

cbarreholm avatar cbarreholm commented on August 11, 2024

I can invoke gdb if I get some more guidance. I haven't used it for decades.

from google-drive-ocamlfuse.

knoffelcut avatar knoffelcut commented on August 11, 2024

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.

astrada avatar astrada commented on August 11, 2024

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.

IlgazC avatar IlgazC commented on August 11, 2024

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.

astrada avatar astrada commented on August 11, 2024

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.

cbarreholm avatar cbarreholm commented on August 11, 2024

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.

astrada avatar astrada commented on August 11, 2024

@cbarreholm thanks for your feedback!

from google-drive-ocamlfuse.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.