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
v4.0 upgrade: assertion failed: bit_count_ == 0 || n <= bit_count_
#4878
Comments
While looking for any existing issues or other context for this error message, I found #2727 which mentions the same assertion, but that thread is quite long and most of it is greek to me. I thought I'd mention anyways it in case it helps. |
Same error. But transmission4-gtk 4.0.0-2 and whatever version immediately before that did the same. From AUR After having seen rpatterson's "fix" of adding the config directory, I moved my transmission3 config directory out of the way and transmission4-gtk starts up fine, just without my current torrents/settings of course. I shut down t4, moved my original config directory back in place and receive the bitfield error again.
|
That wasn't intended to describe a fix, rather to describe how I reproduced the issue. IOW, running |
I'm experiencing this too ever since 4.0 got released, same linuxserver/transmission docker implementation |
Oh, in case it helps, this is how I'm keeping the image at v3.0 until this issue is resolved. Also, maybe give a thumbs up reaction to the issue, @Eamourinho @boomboxnation in the hopes of drawing attention to this. |
For one thing I don't understand why these builds are being made with assertions enabled, e.g. why that Docker image has assertions at all. Those shouldn't make it into production code; they're only meant for test builds. Whoever made that Docker image should've called cmake with |
We don't build transmission from source for the image, we install from the Alpine repos. If there's an issue with the package it should be reported to their maintainers. |
FYI, this is the "official" image in the sense that it's the one linked to from the official download page.
I went ahead and commented on an existing issue regarding this. |
To clarify, I assume this doesn't mean this issue will be resolved by disabling assertions, @ckerr? |
it is, the assertions are from
transmission/libtransmission/tr-assert.cc Line 13 in 2b35785
and are dropped when NDEBUG is defined. the implicit cmake behaviour is when you pass any of the three "release types" (those being MinSizeRel, Release, RelWithDebInfo (i'm pretty sure it's just the |
Can you clarify, @nekopsykose? Is that in reference to my previous comment? |
I no longer see the assertion errors running the latest Docker image, but I'm still unclear if that's just hiding a real underlying issue. |
How is that related? It's not obvious from looking at that link. |
@rpatterson appears to be the same assertion failure in |
It seems like there may be a real issue underlying this somewhere, but what I encountered is long since resolved. |
What is the issue?
Using the
linuxserver/transmission
container image at time of writing this, everything seems to work fine until I add the./transmission/config/:/config/
volume containing all the real torrent data for the set of running torrents I have working currently under v3.0. With that volume added starting thev4.0
container repeats the following error over and over until the container is killed for being unhealthy:Which application of Transmission?
transmission-daemon
Which version of Transmission?
https://hub.docker.com/layers/linuxserver/transmission/amd64-4.0.0-r5-ls154/images/sha256-bdbbd04d1cbd96aa6a3afe8e215d400d73293dee735a310da9d78aed63548ce8?context=explore
The text was updated successfully, but these errors were encountered: