Closed sm00th closed 7 years ago
Can confirm. Crashes on my Raspberry Pi Version B (armv6h) as soon as I activate the discord account with 'account discord on'. I'll try to look into it with my limited knowledge of these things...
ad5b27b fixes that for me, if someone else is still experiences crashes on arm/arm64 please reopen and provide a backtrace.
Ohhh interesting one!
FWIW glib has a portability macro for PRIu64, G_GUINT64_FORMAT
, but not sure what platforms need it.
Might have used that instead, but I assume that'll be identical, just a little bit more readable. This segfault looks like glib's bug but I didn't look deeper into it, only found out this was the issue because standard vprintf started spewing out wrong values.
Yeah it's going to be PRIu64 where PRIu64 is available
Did you actually get any reports of this from arm64? Both reports in this thread are armv6 which is 32 bit and sizeof(long)
is 4 there (as opposed to 8 in 64 bit linux platforms, see https://godbolt.org/g/iPfky8). So the way it broke makes sense
Somebody reported it segfaulting on rpi3, which is arm64, but I didn't get any backtraces from that person. I don't have any arm64 boards handy but I should be able to find one. EDIT: a vm should be enough though
Can confirm this crash is fixed on my armv6h gen 1 RPi. Now I'm affected by https://github.com/sm00th/bitlbee-discord/issues/71 and am unable to log in.
There were reports of bitlbee-discord segfaulting on arm boards. Got a backtrace of one of those and will need to further investigate this.