Thanks to the gdb guru :). With both drmDropMaster breakpointed in the second server, and drmSetMaster breakpointed in the first server, drmDropMaster is called first in the second server, and the first server doesn't reach drmSetMaster until after I continue the second server from the drmDropMaster breakpoint. No crash.
With only drmSetMaster breakpointed in the first server, but the second server still running with gdb attached for consistency, there is no crash when I continue the first server from the drmSetMaster breakpoint. With both servers running inside gdb, but no breakpoints, it crashes. Hilsen Thue 2011/3/8 Julien Cristau <jcris...@debian.org> > On Tue, Mar 8, 2011 at 20:31:34 +0000, Thue Janus Kristensen wrote: > > > I just tried, and with a gdb attached to both processes, there is no > crash. > > I had to *continue* over some SIGPIPE etc, but I assume that is normal. > > > Yes, you want 'handle SIGPIPE nostop noprint' in gdb. > > Cheers, > Julien >