crazy-max / docker-rtorrent-rutorrent

rTorrent and ruTorrent Docker image
MIT License
457 stars 103 forks source link

rTorrent: Resolve memory access crash #310

Closed stickz closed 5 months ago

stickz commented 5 months ago

rTorrent requires the usage of aligned memory access on all platforms (x86 and ARM) to prevent a memory access crash from happening. As such, we need to configure libtorrent with --enable-aligned to enable the feature.

This is also more efficient for CPU usage at the cost of slightly more memory consumption. However, due to the relatively small usage of memory, all platforms will benefit.

More information can be found here: https://github.com/rakshasa/libtorrent/issues/244

stickz commented 5 months ago

@crazy-max There has been an issue opened #315 about rTorrent segmentation faults during hash checking. This PR might resolve that problem. Could we get this pushed to docker edge, so the user can confirm a resolution or continue testing?