This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Multi threaded server : Segementation fault on ia64 Linux
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: Laxmi P <laxmip_2003 at yahoo dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 19 Aug 2004 23:40:56 +0200 (CEST)
- Subject: Re: Multi threaded server : Segementation fault on ia64 Linux
- References: <20040819213114.45941.qmail@web50810.mail.yahoo.com>
On Thu, 19 Aug 2004, Laxmi P wrote:
I have a multi threaded server which works fine on 32 bit Linux(i686, 4
processor), but on 64 bit SUSE Linux(ia64 Itenium 2 family 16 processor
Linux) it gives Segmentation fault.
[...]
Problem is on 64 bit Linux (16 processors) -
kernel:2.4.19-SMP, gcc version is 2.96 20000731 (Red
Hat Linux 7.1 2.96-101).
Something is fishy here: SUSE LINUX Enterprise Server 8 shipped with GCC
3.2, where SUSE LINUX Enterprise Server 9 ships with GCC 3.3.
None of these shipped with GCC 2.96, which was not even an official GCC
release, but a Red Hat-specific version. (For a statement by the GCC
developers, see <http://gcc.gnu.org/gcc-2.96.html>.)
Please note that system() call and file operations are synchronized. If
I comment out the system() call it's working fine. I replaced system()
by popen() but the problem still exists. Also I added fflush() before as
man page for popen suggests that.
Please note that you did not provide sufficient information to reproduce
this bug, and that this list is on the development *of* GCC, not the
development *with* GCC.
If you have found a bug in the compiler shipped with SUSE LINUX Enterprise
Server, you may want to contact SUSE/Novell technical support; if you can
reproduce the problem with stock GCC, please report a bug following the
instructions at <http://gcc.gnu.org/bugs.html>.
Gerald
--
Gerald Pfeifer (Jerry) gerald@pfeifer.com http://www.pfeifer.com/gerald/