Re: inconsistency in thread/signal interaction in 2.6.5 andprevious vs. 2.6.6 and later (possibly a bug?)

From: Martin Zwickel
Date: Mon Aug 16 2004 - 05:12:38 EST


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

--
MyExcuse:
Flat tire on station wagon with tapes. ("Never underestimate the
bandwidth of a station wagon full of tapes hurling down the highway"
Andrew S. Tannenbaum)

Martin Zwickel <martin.zwickel@xxxxxxxxxxxxxx>
Research & Development

TechnoTrend AG <http://www.technotrend.de>

Attachment: pgp00000.pgp
Description: PGP signature