[Drbd-dev] DRBD-8: crash due to incorrect thread termination

Philipp Reisner philipp.reisner at linbit.com
Mon Sep 18 14:01:16 CEST 2006

Am Freitag, 15. September 2006 00:49 schrieb Graham, Simon:
> I reported the issue with threads being stopped synchronously from the
> wrong context a while ago but now I've found an actual case that causes
> a panic() - if BOTH sides are detached, and you attach one side, the
> other will crash apparently because the code attempts to synchronously
> stop the sender thread, fails, then discards all the network connection
> data as the sender thread is still attempting to use it...
> Just thought I'd pass on an easy test case (since I don't know how to
> fix this one ;-).

Hi Simon,

I think I could reporduce a similar case. They crashed in the process of 
connecting two diskless nodes. 
I fixed the issue with this commit:

Could you please verify that the crash you experienced is also gone.

: Dipl-Ing Philipp Reisner                      Tel +43-1-8178292-50 :
: LINBIT Information Technologies GmbH          Fax +43-1-8178292-82 :
: Schönbrunnerstr 244, 1120 Vienna, Austria    http://www.linbit.com :

More information about the drbd-dev mailing list