After a time in (almost) every game the linux client dies on a SIGSEV signal. The backtrace below leads me to suspect a bug in the comparison function for the qsort_r() call.

Backtrace: http://pastebin.ca/3772743