This is caused because we call vfprintf with the following string "%s: Forcing close of thread %ld user: '%-.48s'\n", and the arguments to vfprintf doesn't match the specified format.
If you look closely you will see that we specify "%ld" for the thread id, but we pass a 64bit datatype, and on the 32 bit platform that results in that the second 32 bit value is used as the pointer to %-.48s.
Instead the format string should specify %lld for the thread id.
This is caused because we call vfprintf with the following string "%s: Forcing close of thread %ld user: '%-.48s'\n", and the arguments to vfprintf doesn't match the specified format.
If you look closely you will see that we specify "%ld" for the thread id, but we pass a 64bit datatype, and on the 32 bit platform that results in that the second 32 bit value is used as the pointer to %-.48s.
Instead the format string should specify %lld for the thread id.