[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: threads/119920: fork broken in libpthread
- To: Daniel Eischen <deischen_(_at_)_freebsd_(_dot_)_org>
- Subject: Re: threads/119920: fork broken in libpthread
- From: Alfred Perlstein <alfred_(_at_)_freebsd_(_dot_)_org>
- Date: Thu, 24 Jan 2008 14:31:33 -0800
- Cc: Gary Stanley <gary_(_at_)_velocity-servers_(_dot_)_net>, Julian Elischer <julian_(_at_)_elischer_(_dot_)_org>, freebsd-threads_(_at_)_freebsd_(_dot_)_org
* Daniel Eischen <deischen_(_at_)_freebsd_(_dot_)_org> [080124 14:28] wrote:
> On Thu, 24 Jan 2008, Alfred Perlstein wrote:
>
> >* Julian Elischer <julian_(_at_)_elischer_(_dot_)_org> [080124 01:17] wrote:
> >>Gary Stanley wrote:
> >>>The following reply was made to PR threads/119920; it has been noted by
> >>>GNATS.
> >>>
> >>>From: Gary Stanley <gary_(_at_)_velocity-servers_(_dot_)_net>
> >>>To: bug-followup_(_at_)_FreeBSD_(_dot_)_org
> >>>Cc:
> >>>Subject: Re: threads/119920: fork broken in libpthread
> >>>Date: Thu, 24 Jan 2008 03:24:47 -0500
> >>>
> >>>I also have this problem, see threads/118715
> >>>
> >>>I was able to grab some ktrace info, but most of the time the process
> >>>is stuck, and ktrace doesn't display any data.
> >>>
> >>>_______________________________________________
> >>>freebsd-threads_(_at_)_freebsd_(_dot_)_org mailing list
> >>>http://lists.freebsd.org/mailman/listinfo/freebsd-threads
> >>>To unsubscribe, send any mail to
> >>>"freebsd-threads-unsubscribe_(_at_)_freebsd_(_dot_)_org"
> >>
> >>dan what IS the fix for this? I assume you must have fixed it in
> >>-current/7
> >>
> >>what was YOUR fix alfred?
> >
> >Attached.
>
> Which isn't a correct fix, BTW. It is possible that the unlock
> can try to give the lock to a non-existent thread.
Yes, I understand that problem, but it's not clear to my why/how it can happen.
I guess because another thread could put itself on the "blocked queue"
for that lock? Is there a way to prevent that or to clear the lock
afterward?
-Alfred
_______________________________________________
freebsd-threads_(_at_)_freebsd_(_dot_)_org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-threads
To unsubscribe, send any mail to "freebsd-threads-unsubscribe_(_at_)_freebsd_(_dot_)_org"
Visit your host, monkey.org