Hi,
Okay, that would make sense!
It seemed to me that some other thread (not shown by gdb) had received
the signal and freed something the active thread was still using.
Sometimes it caused a segfault, and less often resulted in a hang somehow.
The SIGINT handler sounds buggy, and maybe not that useful (who needs a
half-rendered diagram?) and so it might be best to disable it, which
would fix http://bugs.debian.org/524408
But this was probably unrelated to the cause of the hang seen on the
buildds (#701832). That was hopefully fixed by disabling the relevant
code for now (which didn't seem useful either), with the patch in
http://bugs.debian.org/701832#53.
Regards,