Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash om startup, FreeBSD 14.1 #1285

Open
jakobbg opened this issue Jun 9, 2024 · 2 comments · May be fixed by #1286
Open

Crash om startup, FreeBSD 14.1 #1285

jakobbg opened this issue Jun 9, 2024 · 2 comments · May be fixed by #1286

Comments

@jakobbg
Copy link

jakobbg commented Jun 9, 2024

Hi,

I built FreeBSD 14.1 from source using GENERIC config, then rebuilt whole ports tree, and now rtorrent crashes like this, what can be the reason for this? rtorrent has behaved nicely for years, but now is a sad puppy…

❯ rtorrent
Caught Illegal instruction, dumping stack:
0x280d90 <_ZTVN7torrent14resource_errorE+0x3c498> at /usr/local/bin/rtorrent
0x827e4f410 <pthread_sigmask+0x540> at /lib/libthr.so.3
0x827e4e9cb <pthread_setschedparam+0x84b> at /lib/libthr.so.3
0x821cc62d3 <???> at ???
0x339d72 <_ZNK7torrent5Event9type_nameEv+0x7372> at /usr/local/bin/rtorrent
0x284882 <_ZN7torrent6ObjectC2ERKS0_+0x2312> at /usr/local/bin/rtorrent
0x286148 <_ZN7torrent6ObjectC2ERKS0_+0x3bd8> at /usr/local/bin/rtorrent
0x28bdd2 <_ZNK7torrent14internal_error4whatEv+0x1f62> at /usr/local/bin/rtorrent
0x335c72 <_ZNK7torrent5Event9type_nameEv+0x3272> at /usr/local/bin/rtorrent
0x337873 <_ZNK7torrent5Event9type_nameEv+0x4e73> at /usr/local/bin/rtorrent
0x33d51e <_ZNK7torrent5Event9type_nameEv+0xab1e> at /usr/local/bin/rtorrent
0x33d823 <_ZNK7torrent5Event9type_nameEv+0xae23> at /usr/local/bin/rtorrent
0x27faef <_ZTVN7torrent14resource_errorE+0x3b1f7> at /usr/local/bin/rtorrent
0x82c242a6a <__libc_start1+0x12a> at /lib/libc.so.7
[1]    38053 abort      rtorrent
❯ uname -a
FreeBSD core24.grimstveit.no 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-10e31f094 CORE24 amd64
❯ pkg info|grep BitT|grep writt
libtorrent-0.13.8              BitTorrent Library written in C++
rtorrent-0.9.8                 BitTorrent Client written in C++
@jakobbg jakobbg changed the title Crash om startpunkt, FreeBSD 14.1 Crash om startup, FreeBSD 14.1 Jun 9, 2024
@jakobbg
Copy link
Author

jakobbg commented Jun 9, 2024

Tried both without .rtorrent.rc and with clean config.

kannibalox added a commit to kannibalox/rtorrent that referenced this issue Jun 10, 2024
Trying to manually predict which bucket a hashed key will land in does not
appear to be well-defined behavior.

Fixes rakshasa#1285
@kannibalox kannibalox linked a pull request Jun 10, 2024 that will close this issue
@kannibalox
Copy link
Contributor

I've put up a pull request that should fix this, it doesn't require any additional changes to backport it to the 0.9.8 code either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants