Re: 32-bit segfaults on x86_64 in recent mm kernels

From: Andy Lutomirski
Date: Sun Nov 07 2004 - 16:19:49 EST


Andy Lutomirski wrote:
I've had segfaults in 32-bit emulation in recent (and not-so-recent) -mm
kernels on x86_64.

2.6.7-gentoo-r11 and 2.6.10-rc1 both work fine (even wine works for the most part).

2.6.9-rc3-mm3 can't run wine -- it always segfaults. Other apps seem OK.

2.6.10-rc1-mm1 can't run anything -- even this segfaults (compiled with both
'gcc -o foo -m32 foo.c' and 'gcc -o foo -m32 -Wl,-zexecstack foo.c'):

#include <stdio.h>

int main()
{
printf("Hello %d\n", (int)(sizeof(int*)));
return 0;
}

Sorry, no debug info, since debugging tools segfault too.

This is my syslog for 2.6.10-rc1-mm1, with some userspace stuff stripped:

s/2.6.10-rc1-mm1/2.6.10-rc1-mm3/g, obviously.


Nov 7 08:37:41 luto Linux version 2.6.10-rc1-mm3

etc.

--Andy
-
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/