Coder Social home page Coder Social logo

Not work in Fedora 17 about grive HOT 8 CLOSED

grive avatar grive commented on July 21, 2024
Not work in Fedora 17

from grive.

Comments (8)

nestal avatar nestal commented on July 21, 2024

I am using Fedora 16 and it works fine. Do you have a gdb backtrace?

Also are you using master or v0.0.4?

from grive.

Vascom avatar Vascom commented on July 21, 2024

I am use master.
commit 9b574b5

How can I get gdb backtrace?

from grive.

nestal avatar nestal commented on July 21, 2024

first, load gdb with "gdb grive"
in the gdb prompt, type "run"
when it gets a seg fault, it will stop at the code that triggers the seg fault.
type "bt" to get a backtrace and post it here.

from grive.

Vascom avatar Vascom commented on July 21, 2024

$ gdb grive
GNU gdb (GDB) Fedora (7.4.50.20120120-42.fc17)
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/...
Reading symbols from /home/vascom/match065-grive-9b574b5/grive/grive...(no debugging symbols found)...done.
(gdb) run -a
Starting program: /home/vascom/match065-grive-9b574b5/grive/grive -a
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x0000003503e3388b in ?? () from /lib64/libcurl.so.4
Missing separate debuginfos, use: debuginfo-install cyrus-sasl-lib-2.1.23-29.fc17.x86_64 expat-2.1.0-1.fc17.x86_64 glibc-2.15-35.fc17.x86_64 json-c-0.9-4.fc17.x86_64 keyutils-libs-1.5.5-2.fc17.x86_64 krb5-libs-1.10-6.fc17.x86_64 libcom_err-1.42-4.fc17.x86_64 libcurl-7.24.0-2.fc17.x86_64 libgcc-4.7.0-4.fc17.x86_64 libidn-1.24-1.fc17.x86_64 libselinux-2.1.10-3.fc17.x86_64 libssh2-1.4.1-2.fc17.x86_64 libstdc++-4.7.0-4.fc17.x86_64 nspr-4.9-2.fc17.x86_64 nss-3.13.4-3.fc17.x86_64 nss-softokn-freebl-3.13.4-2.fc17.x86_64 nss-util-3.13.4-2.fc17.x86_64 openldap-2.4.31-1.fc17.x86_64 openssl-1.0.0i-1.fc17.x86_64 zlib-1.2.5-6.fc17.x86_64
(gdb) bt
#0 0x0000003503e3388b in ?? () from /lib64/libcurl.so.4
#1 0x0000003503e0f70a in ?? () from /lib64/libcurl.so.4
#2 0x0000003503e1da02 in ?? () from /lib64/libcurl.so.4
#3 0x00007ffff7ddfd5f in gr::http::Agent::Escape(std::string const&) ()
from /home/vascom/match065-grive-9b574b5/libgrive/libgrive.so.0
#4 0x00007ffff7de0b16 in gr::OAuth2::MakeAuthURL(std::string const&, std::string const&) () from /home/vascom/match065-grive-9b574b5/libgrive/libgrive.so.0
#5 0x00000000004034d8 in main ()

from grive.

nestal avatar nestal commented on July 21, 2024

This is a double free problem. It got fixed by later commits

from grive.

match065 avatar match065 commented on July 21, 2024

I just push the fix. Can you please test again?

from grive.

Vascom avatar Vascom commented on July 21, 2024

OK. Now it work. But it download files in directory where I run grive, not in ~/.grive

from grive.

nestal avatar nestal commented on July 21, 2024

That is expected.

from grive.

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.