Messages in this thread |  | | | Subject | Re: inconsistency in thread/signal interaction in 2.6.5 and previous vs. 2.6.6 and later (possibly a bug?) | | From | Glyph Lefkowitz <> | | Date | Mon, 16 Aug 2004 17:14:53 -0400 |
| |
On Mon, 2004-08-16 at 12:48 +0200, Jesper Juhl wrote:
> juhl@dragon:~$ gcc signal-bug.c -Wall -lutil -lpthread -o signal-bug; ./signal-bug > Completed. > juhl@dragon:~$ cat /proc/version > Linux version 2.6.8.1 (juhl@dragon) (gcc version 3.4.1) #1 Sun Aug 15 22:01:56 CEST 2004 > > glibc is 2.3.2
Thanks for the feedback. I will test with 2.6.8.1 myself, just to be sure, but for those interested in the problem, I've included a few other recordings of results I got on hosts with a variety of architectures and kernel versions.
I could swear I tested this on a different host already, but I can't find the results, so I will build a 2.6.8.1 without debian patches, just to be sure.
glyph@trogdor:~% gcc signal-bug.c -Wall -lutil -lpthread -o signal-bug; ./signal-bug Died. glyph@trogdor:~% cat /proc/version Linux version 2.6.7-1-686 (dilinger@toaster.hq.voxel.net) (gcc version 3.3.4 (Debian 1:3.3.4-2)) #1 Thu Jul 8 05:36:53 EDT 2004 glyph@trogdor:~% dpkg -l libc6 | tail -1 ii libc6 2.3.2.ds1-16 GNU C Library: Shared libraries and Timezone glyph@kazekage:~% gcc signal-bug.c -Wall -lutil -lpthread -o signal-bug; ./signal-bug Died. glyph@kazekage:~% cat /proc/version Linux version 2.6.7-1-k7 (dilinger@toaster.hq.voxel.net) (gcc version 3.3.4 (Debian 1:3.3.4-2)) #1 Thu Jul 8 06:45:35 EDT 2004 glyph@kazekage:~% dpkg -l libc6 | tail -1 ii libc6 2.3.2.ds1-16 GNU C Library: Shared libraries and Timezone glyph@wolfwood:~$ gcc signal-bug.c -Wall -lutil -lpthread -o signal-bug; ./signal-bug Completed. glyph@wolfwood:~$ cat /proc/version Linux version 2.4.25vm-1um (root@shared4.tummy.com) (gcc version 3.3.2 20031022 (Red Hat Linux 3.3.2-1)) #2 Fri Feb 20 14:03:26 MST 2004 glyph@wolfwood:~$ dpkg -l libc6 | tail -1 ii libc6 2.3.1-16 GNU C Library: Shared libraries and Timezone glyph@pyramid:~% gcc signal-bug.c -Wall -lutil -lpthread -o signal-bug; ./signal-bug Completed. glyph@pyramid:~% cat /proc/version Linux version 2.4.18 (root@pyramid.twistedmatrix.com) (gcc version 2.95.4 20011002 (Debian prerelease)) #1 SMP Wed Feb 25 14:26:24 MST 2004 glyph@pyramid:~% dpkg -l libc6 | tail -1 ii libc6 2.2.5-11.5 GNU C Library: Shared libraries and Timezone glyph@watt:~$ gcc signal-bug.c -Wall -lutil -lpthread -o signal-bug; ./signal-bug Completed. glyph@watt:~$ cat /proc/version Linux version 2.4.25 (root@sparesolo20040319) (gcc version 2.95.4 20011002 (Debian prerelease)) #1 Wed Apr 7 16:22:47 MDT 2004 glyph@watt:~$ dpkg -l libc6 | tail -1 ii libc6 2.3.2.ds1-12 GNU C Library: Shared libraries and Timezone glyph@erlang:~$ gcc signal-bug.c -Wall -lutil -lpthread -o signal-bug; ./signal-bug Completed. glyph@erlang:~$ cat /proc/version Linux version 2.6.4 (root@erlang) (gcc version 3.3.3 (Debian 20040320)) #10 Mon Mar 22 20:01:54 EST 2004 glyph@erlang:~$ dpkg -l libc6 | tail -1 ii libc6 2.3.2.ds1-10 GNU C Library: Shared libraries and Timezone
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |