Giter Site home page Giter Site logo

Comments (14)

aldenml avatar aldenml commented on August 19, 2024 1

Hi @proninyaroslav, still nothing, but this is on my list

from libtorrent4j.

aldenml avatar aldenml commented on August 19, 2024 1

@proninyaroslav thank you very much for this information, it is really helpful. I will not be able to work in this for a few more days.

from libtorrent4j.

aldenml avatar aldenml commented on August 19, 2024

sounds like a bug to me, maybe there was a change in the libtorrent source code that I didn't take into account

from libtorrent4j.

proninyaroslav avatar proninyaroslav commented on August 19, 2024

Do you have any news? This issue is quite important compared to other POSIX wrapper problems, without this I can’t make a new release of the app :(

from libtorrent4j.

proninyaroslav avatar proninyaroslav commented on August 19, 2024

1.2.2.0 still has this problem.

from libtorrent4j.

proninyaroslav avatar proninyaroslav commented on August 19, 2024

I made strace and noticed that libtorrent doesn't use the remove() system call, but unlinkat() to delete the file. Therefore, I can't catch file removing in posix_wrapper (Android 10):

unlinkat(AT_FDCWD, "/saf_root(com.android.externalstorage.documents/tree/1018-230F%3A);/CCleaner Professional Plus v5.25.0.5902 x86-x64 Setup + CRACK.7z", 0) = -1 ENOENT (No such file or directory)
unlinkat(AT_FDCWD, "/saf_root(com.android.externalstorage.documents/tree/1018-230F%3A);/.26e8d03aff486d164e262d0a09cadbe8fc4f71a9.parts", 0) = -1 ENOENT (No such file or directory)

from libtorrent4j.

proninyaroslav avatar proninyaroslav commented on August 19, 2024

@aldenml I think you need to add this call to posix_wrapper.

from libtorrent4j.

proninyaroslav avatar proninyaroslav commented on August 19, 2024

On Android 6.0, I have a different situation:

fstatat64(AT_FDCWD, "/saf_root(com.android.externalstorage.documents/tree/10F4-1006%3A);/F-Secure Freedome VPN 2.32.6293 RePack by elchupacabra/", 0x8f7fb458, AT_SYMLINK_NOFOLLOW) = -1 ENOENT (No such file or directory)

Instead of unlinkat() calls, I have many fstatat64() calls, which, of course, are unsuccessful.

from libtorrent4j.

proninyaroslav avatar proninyaroslav commented on August 19, 2024

@aldenml Thank you. If you need other information or strace's from other Android versions, let me know.

from libtorrent4j.

aldenml avatar aldenml commented on August 19, 2024

@proninyaroslav which version of libtorrent4j are you using for this strace?

from libtorrent4j.

proninyaroslav avatar proninyaroslav commented on August 19, 2024

@aldenml 1.2.3.0

from libtorrent4j.

aldenml avatar aldenml commented on August 19, 2024

that's strange, I don't use the weak symbols hack in this version, it should be something else

from libtorrent4j.

proninyaroslav avatar proninyaroslav commented on August 19, 2024

That’s all I could see useful in strace. The only fact is that the POSIX wrapper remove() method is not called.

from libtorrent4j.

proninyaroslav avatar proninyaroslav commented on August 19, 2024

Fixed in 1.3.0-alpha-5

from libtorrent4j.

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.