Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jun 2007 21:40:09 GMT
From:      Jeff Wheelhouse <jdw_list@wheelhouse.org>
To:        freebsd-amd64@FreeBSD.org
Subject:   Re: amd64/110655: [threads] 32 bit threaded applications crash on amd64 SMP kernel.
Message-ID:  <200706062140.l56Le9lp022465@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR amd64/110655; it has been noted by GNATS.

From: Jeff Wheelhouse <jdw_list@wheelhouse.org>
To: Kris Kennaway <kris@obsecurity.org>
Cc: bug-followup@FreeBSD.org
Subject: Re: amd64/110655: [threads] 32 bit threaded applications crash on
 amd64 SMP kernel.
Date: Wed, 06 Jun 2007 17:11:25 -0400

 Kris Kennaway wrote:
 > -m32 doesn't DTRT on FreeBSD, can you confirm that this problem exists
 > with a binary compiled by an i386 compiler?
 
 I can.
 
 $ uname -m
 i386
 $ cc -o crash32-thr crash32.c -lthr
 $ cc -o crash32-pthread crash32.c -pthread
 $ md5 crash32-thr crash32-pthread
 MD5 (crash32-thr) = 91aea395dd2c5798d7cba9a216c4c227
 MD5 (crash32-pthread) = a590f1c97e5ec11ddc94fa3d7f4bf167
 $ ./crash32-thr
 Thread.
 $ ./crash32-pthread
 Thread.
 $
 
 $ uname -m
 amd64
 $ md5 crash32-thr crash32-pthread
 MD5 (crash32-thr) = 91aea395dd2c5798d7cba9a216c4c227
 MD5 (crash32-pthread) = a590f1c97e5ec11ddc94fa3d7f4bf167
 $ ./crash32-thr
 Bad system call(coredump)
 $ ./crash32-pthread
 Memory fault(coredump)
 $
 
 Thanks,
 Jeff
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706062140.l56Le9lp022465>