On Tuesday, April 16, 2024 3:32:45 AM CEST Taylor R Campbell wrote: > It looks like somehow the thread's tls pointer (%gs) is null, but my > guess is that this happens only sometimes, e.g. during involuntary > kernel context switches that involve saving and restoring a trap > frame, which is why it appears to be happening randomly and not > immediately when any process tries to use malloc.
Double check with printf or so first please, that this isn't just a gdb artifact please. Segment registers on amd64 are weird. Joerg