Summary: | net-libs/libtorrent-rasterbar: crash with dev-libs/boost-1.77.0-r2 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | 12101111 <w12101111> |
Component: | Current packages | Assignee: | Mikle Kolyada (RETIRED) <zlogene> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | candrews, sam, slashbeast, voron1 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/arvidn/libtorrent/issues/6468 | ||
Whiteboard: | musl/clang | ||
Package list: | Runtime testing required: | --- |
Description
12101111
2021-09-27 12:37:00 UTC
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fd62ae6124f090f65aeddf2aa47744b0c2be9b5 commit 9fd62ae6124f090f65aeddf2aa47744b0c2be9b5 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-10-31 04:44:41 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-10-31 04:45:13 +0000 net-libs/libtorrent-rasterbar: depend on older Boost (<1.77) for now, runtime crashes Bug: https://github.com/arvidn/libtorrent/issues/6468 Bug: https://bugs.gentoo.org/815145 Signed-off-by: Sam James <sam@gentoo.org> ...rasterbar-2.0.4-r4.ebuild => libtorrent-rasterbar-2.0.4-r5.ebuild} | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Thanks! Doesn't crash for me. Could be clang-specific, as I have it built with gcc. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4187e6957ace5bebdd22b8ad44a404566baeed57 commit 4187e6957ace5bebdd22b8ad44a404566baeed57 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-10-31 10:21:32 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-10-31 10:21:32 +0000 net-libs/libtorrent-rasterbar: undo boost upper bound I think I was too hasty here. Bug: https://bugs.gentoo.org/815145 Signed-off-by: Sam James <sam@gentoo.org> ...rasterbar-2.0.4-r5.ebuild => libtorrent-rasterbar-2.0.4-r4.ebuild} | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (In reply to 12101111 from comment #0) > OpenBSD report this to upstream: I am the OpenBSD developer that opened the ticket. I am curious if you rebuild just libtorrent-rasterbar with -O1 when using Clang does it still crash? Also what version of Clang are you using? We're currently using 11.1.0 as our system compiler. (In reply to Brad Smith from comment #5) > (In reply to 12101111 from comment #0) > > OpenBSD report this to upstream: > > I am the OpenBSD developer that opened the ticket. I am curious if you > rebuild just libtorrent-rasterbar with -O1 when using Clang does it still > crash? Also what version of Clang are you using? We're currently using > 11.1.0 as our system compiler. I compile libtorrent-rasterbar and qbittorrent with -O1 -g -fsanitize=address using clang 13, and boost 1.77.0 with -O3 -flto=thin. It crash and address sanitizer print the bad free issue. My system don't have gcc installed and all packages are built use musl libc, libc++ and libc++abi and clang/clang++ as compiler from source code. this must not further block boost-1.77 stabilisation if it is not reproduced on standard configurations. I agree with asturm. If it is not reproducible with gcc and only clang this is not a valid candidate for block. it don't crash after built with c++17 (change -DCMAKE_CXX_STANDARD=14 to -DCMAKE_CXX_STANDARD=17) (In reply to 12101111 from comment #9) > it don't crash after built with c++17 (change -DCMAKE_CXX_STANDARD=14 to > -DCMAKE_CXX_STANDARD=17) Well, it's a harmless change, so why not if it helps? The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f41639d8233c787d370e55f518d6de0812a15ce commit 8f41639d8233c787d370e55f518d6de0812a15ce Author: Sam James <sam@gentoo.org> AuthorDate: 2021-12-08 06:06:03 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-12-08 06:13:35 +0000 net-libs/libtorrent-rasterbar: add 2.0.5 Just includes a bunch of the patches we upstreamed. Bug: https://bugs.gentoo.org/815145 Signed-off-by: Sam James <sam@gentoo.org> net-libs/libtorrent-rasterbar/Manifest | 1 + .../libtorrent-rasterbar-2.0.5.ebuild | 74 ++++++++++++++++++++++ 2 files changed, 75 insertions(+) |