d2142b3188
lwp_exit() before suspending. In such case, LWP might be already freed after cv_wait_sig() and checking the list of LWPs via lwp_find() is necessary. Possible problem catched by Andrew Doran.