Guild icon
DDraceNetwork
Development / bugs
Report client & server bugs, especially but not limited to release candidates.
Between 2023-12-11 00:00:00Z and 2023-12-12 00:00:00Z
Avatar
why is adrenaline 5 displayed as brutal?
Avatar
Avatar
✦GioniX✦
why is adrenaline 5 displayed as brutal?
Someone probably voted the server into brutal but didn’t change map afterwards, as you can see in MOTD section it’s written Insane Server (edited)
06:57
Avatar
Avatar
Learath2
Is it only with the archlinux build? Have you tried building 8.5.0 on your own? I smell LTO issues
the arch linux build is just the AUR build
Avatar
Avatar
Fussel
@Learath2, @heinrich5991 downgrading curl to 8.4.0-2 fixed this, and I can live with this fix
obviously not a long-term fix
Avatar
Avatar
heinrich5991
the arch linux build is just the AUR build
Whatever it is, it seems to employ LTO, we don't (edited)
Avatar
that's right @heinrich5991 but I have other things to do too ^^
Avatar
Avatar
Fussel
that's right @heinrich5991 but I have other things to do too ^^
He means we have to investigate it still. Nothing you need to do 😄
Avatar
Avatar
Learath2
Whatever it is, it seems to employ LTO, we don't (edited)
maybe u should try without LTO,but 8.5, then first?
Avatar
That's the route I would follow. See if it happens with a 8.5.0 debug build, built without lto
Avatar
would be interesting bcs i doubt curl is static built i didnt follow this conv, but when smth so hard breaks with LTO while using shared libs, it kinda must be an obvious bug xd
Avatar
If it does then the next step is a conditional breakpoint at a couple places to see when conn becomes NULL
Avatar
is the connection inside ddnet code?
Avatar
Avatar
Jupstar ✪
is the connection inside ddnet code?
No, it's in libcurl. A pointer somehow becomes NULL before intended
Avatar
and if u swap curl lib without recompiling?
Avatar
Or I might bisect curl if it happens with libs I build myself
Avatar
if it then does not happen, it's at least undefined logic in the sense of using curl lib. As in: curl didnt prevent it in earlier versions
Avatar
@Learath2 should I recompile curl or ddnet?
Avatar
Avatar
heinrich5991
@Learath2 should I recompile curl or ddnet?
I would just recompile curl 8.5.0 with debug symbols and use LD_PRELOAD or some other method to start with
Avatar
I have debug symbols
13:32
debuginfod worked in the end
Avatar
Avatar
Learath2
I would just recompile curl 8.5.0 with debug symbols and use LD_PRELOAD or some other method to start with
ah, you mean rebuild it so it doesn't have LTO?
Avatar
Avatar
heinrich5991
ah, you mean rebuild it so it doesn't have LTO?
Yes. I don't like using other peoples prebuilt stuff when debugging. Especially when I'm suspecting something like LTO being the issue
Exported 25 message(s)