Re: inconsistency in thread/signal interaction in 2.6.5 and previous vs. 2.6.6 and later (possibly a bug?)
From: Paweł Sikora
Date: Mon Aug 16 2004 - 05:22:30 EST
On Monday 16 of August 2004 12:11, Martin Zwickel wrote:
> On Mon, 16 Aug 2004 06:01:05 -0400
>
> Glyph Lefkowitz <glyph@xxxxxxxxxx> bubbled:
> > Hello Kernel People,
> >
> > Firstly, here is a brief example of some code that behaves very
> > differently on 2.6.5 and 2.6.6:
> >
> > http://www.twistedmatrix.com/users/glyph/signal-bug.c
> >
> > I have verified that it says "Completed" on kernel 2.6.5, 2.6.3 and
> > 2.6.1, and says "Died" on 2.6.6, 2.6.7 and 2.6.8.1, so I am pretty
> > sure the difference is between 2.5.6 and 2.6.6.
>
> FYI:
> # gcc signal-bug.c -Wall -lutil -lpthread -o signal-bug; ./signal-bug
> Completed.
>
> # cat /proc/version
> Linux version 2.6.8-rc2-mm1 (root@phoebee) (gcc version 3.3.3 20040412
> (Gentoo Linux 3.3.3-r6, ssp-3.3.2-2, pie-8.7.6)) #1 Wed Jul 28 11:39:48
> CEST 2004
# gcc signal-bug.c -Wall -lpthread -lutil -o signal-bug; ./signal-bug
Died.
# cat /proc/version
Linux version 2.6.8 (pluto@vmx) (gcc version 3.4.2 20040806 (prerelease)
(PLD Linux)) #1 Sun Aug 15 19:58:30 CEST 2004
# rpm -q glibc
glibc-2.3.4-0.20040722.2+nptl
--
/* Copyright (C) 2003, SCO, Inc. This is valuable Intellectual Property. */
#define say(x) lie(x)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/