bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ext2fs.static: thread-cancel.c:55: hurd_thread_cancel: Assertion '!


From: Thomas Schwinge
Subject: Re: ext2fs.static: thread-cancel.c:55: hurd_thread_cancel: Assertion '! __spin_lock_locked (&ss->critical_section_lock)' failed
Date: Fri, 20 Jul 2007 00:48:38 +0200
User-agent: Mutt/1.5.11

Hello!

On Sun, Aug 06, 2006 at 01:57:34PM -0700, Roland McGrath wrote:
> > Samuel Thibault, le Sat 05 Aug 2006 02:45:34 +0200, a écrit :
> > > Samuel Thibault, le Sat 05 Aug 2006 02:27:35 +0200, a écrit :
> > > >   assert (! __spin_lock_locked (&ss->critical_section_lock));
> > > >   __spin_lock (&ss->critical_section_lock);

I've now also hit that one (for the first time, as far as I can tell).

> > > > Why should one check that a spinlock is free before taking it?? Here the
> > > > purpose is to cancel _another_ thread, so it _can_ happen that the lock
> > > > be taken any time...
> > > > 
> > > > Shouldn't at least these assertion just be dropped?
> > > 
> > > Maybe not the ones from other files, which are not trivial, but at least
> > > this one (thread-cancel), which was reported to actually happen, and
> > > which to my mind is really arguable.
> > 
> > I got it again this afternoon...
> 
> Please show the backtraces of relevant threads.

Given that I got it on the root file system server and we (so far) have
no measures of reproducing it reliably, that'd be a bit difficult.


Regards,
 Thomas

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]