Comments (14)
Hi @proninyaroslav, still nothing, but this is on my list
from libtorrent4j.
@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.
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.
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.
1.2.2.0
still has this problem.
from libtorrent4j.
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.
@aldenml I think you need to add this call to posix_wrapper
.
from libtorrent4j.
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.
@aldenml Thank you. If you need other information or strace's from other Android versions, let me know.
from libtorrent4j.
@proninyaroslav which version of libtorrent4j
are you using for this strace?
from libtorrent4j.
@aldenml 1.2.3.0
from libtorrent4j.
that's strange, I don't use the weak symbols hack in this version, it should be something else
from libtorrent4j.
That’s all I could see useful in strace. The only fact is that the POSIX wrapper remove()
method is not called.
from libtorrent4j.
Fixed in 1.3.0-alpha-5
from libtorrent4j.
Related Issues (20)
- Does anyone has WebTorrent working? HOT 9
- Piece Priority behaves erratically HOT 1
- Support for Raspberry Pi HOT 5
- Support for BEP 53 - Select specific files indices for download. HOT 1
- java: package org.libtorrent4j does not exist HOT 2
- No libtorrent4j in java.library.path
- AddTorrentParams getTrackers() returns empty list
- [Android] Fatal Exception: java.lang.LinkageError
- Fetch v2 Magnet failed HOT 3
- Please migrate your websites to cloudflare-pages [FREE HOSTING] HOT 2
- Crash on docker alpine image HOT 1
- Support for Linux ARM64?
- Linking error : no torrent4j in java.library.path HOT 2
- How to create torrents from torrent info HOT 2
- How to get data from ReadPieceAlert
- build libtorrent4j.so failed
- Crashes on Mac OS
- Is project alive? HOT 2
- fetchMagnet(String uri, int timeout, File tempDir) method can't save the torrent file HOT 2
- Add an ability to set custom `disk_interface`
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 libtorrent4j.