Open
Description
I want to download a file with torrent, but when the torrent is inserted, the aria2 service suddenly restarts forcibly.
it only happens when downloading from the aforementioned torrent url. i don't understand the problem because other urls work.
This is the line of code running my aria2 service:
#!/bin/bash
aria2c \
--dir=/media/keitaro/disk2/Shared/aria2c \
--input-file=/home/keitaro/.config/aria2c/aria2.session \
--log=/home/keitaro/.config/aria2c/aria2.log \
--max-concurrent-downloads=100 \
--continue=true \
--max-connection-per-server=5 \
--max-tries=0 \
--split=16 \
--timeout=600 \
--check-certificate=false \
--http-accept-gzip=true \
--user-agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) C>
--bt-enable-lpd=true \
--bt-hash-check-seed=true \
--bt-save-metadata=true \
--bt-stop-timeout=0 \
--dht-file-path=/home/keitaro/.config/aria2c/dht.dat \
--enable-dht=true \
--enable-dht6=false \
--enable-peer-exchange=true \
--enable-rpc=true \
--rpc-allow-origin-all=true \
--rpc-listen-all=true \
--rpc-listen-port=6800 \
--rpc-secret=maisan4ever \
--disable-ipv6=true \
--file-allocation=falloc \
--log-level=error \
--save-session=/home/keitaro/.config/aria2c/aria2.session \
--save-session-interval=10
this is the log I got before the aria2 forced restart
06/02 10:32:07 [INFO] Executing RPC method aria2.tellActive
/usr/include/c++/12/array:208: constexpr std::array<_Tp, _Nm>::value_type& std::array<_Tp, _Nm>::operator[](size_type) [with _Tp = unsigned char; long unsigned int _Nm = 4096; reference = unsigned char&; size_type = long unsigned int]: Assertion '__n < this->size()' failed.
./aria2-start: line 34: 1544969 Aborted (core dumped) aria2c --dir=/media/keitaro/disk2/Shared/aria2c --input-file=/home/keitaro/.config/aria2c/aria2.session --log=/home/keitaro/.config/aria2c/aria2.log --max-concurrent-downloads=100 --continue=true --max-connection-per-server=5 --max-tries=0 --split=16 --timeout=600 --check-certificate=false --http-accept-gzip=true --user-agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36" --bt-enable-lpd=true --bt-hash-check-seed=true --bt-save-metadata=true --bt-stop-timeout=0 --dht-file-path=/home/keitaro/.config/aria2c/dht.dat --enable-dht=true --enable-dht6=false --enable-peer-exchange=true --enable-rpc=true --rpc-allow-origin-all=true --rpc-listen-all=true --rpc-listen-port=6800 --rpc-secret=maisan4ever --disable-ipv6=true --file-allocation=falloc --log-level=error --console-log-level=debug --save-session=/home/keitaro/.config/aria2c/aria2.session --save-session-interval=10
2023-06-02.10-16-44.mp4
Metadata
Metadata
Assignees
Labels
No labels