Current version 3.0 of daemon crashing on TR_ASSERT macros.
More info https://github.com/transmission/transmission/issues/1359
I don't know, which way is the best for fix this
via CMakeList in projet
via Makefile port
via patch CMakeList
Thanks for help.
I'm not experiencing this issue but if I understood correctly, for some reason transmission is being built with debug support by default, and due to some bug the debug support is making transmission crash.
So, in this scenario, adding `NDEBUG` should fix the crash but not the bug yet. Is that correct?
That said, enabling it on the port `Makefile` sound more correct but I don't see a reason to check if WITH_DEBUG is ON because it is not, hence
should be enough.
As I understand it, this is not transmission bug. It doesn't crash, its abort.
In my case it abort (SIGABRT) transmission on this:
This TR_ASSERT_MSG marco should by disabled in Release by NDEBUG.
I check WITH_DEBUG because i think NDEBUG should be set for CMAKE_BUILD_TYPE=Release only.
Flag WITH_DEBUG=YES changing CMAKE_BUILD_TYPE to Debug and i don't know if NDEBUG should or should not be set
I got the idea of the bug from this comment:
Please, could you confirm setting `NDEBUG` ON fixed in practice the abort issue for you?
Yes, NDEBUG flag fixed abort issues in my case.
A commit references this bug:
Date: Fri Jul 31 00:52:41 UTC 2020
New revision: 543840
net-p2p/transmission-*: build without debug symbols.
Submitted by: firstname.lastname@example.org
Thank you. :-D