[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#297112: marked as done (g77 compiles program that segfaults before executing the Fortran code)



Your message dated Mon, 13 Jun 2005 00:45:35 +0200
with message-id <87br6bgpo0.fsf@debian.org>
and subject line Bug#297112: g77 bug: fixed in sarge
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 27 Feb 2005 06:20:08 +0000
>From aty@hilbert.sdsu.edu Sat Feb 26 22:20:08 2005
Return-path: <aty@hilbert.sdsu.edu>
Received: from hilbert.sdsu.edu [130.191.225.137] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1D5Hmi-0007aQ-00; Sat, 26 Feb 2005 22:20:08 -0800
Received: from aty by hilbert.sdsu.edu with local (Exim 3.35 #1 (Debian))
	id 1D5HmD-0008Ue-00; Sun, 27 Feb 2005 06:19:37 +0000
From: Andrew Young <aty@hilbert>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: g77 compiles program that segfaults before executing the Fortran code
X-Mailer: reportbug 1.50
Date: Sat, 26 Feb 2005 22:19:37 -0800
Message-Id: <E1D5HmD-0008Ue-00@hilbert.sdsu.edu>
Sender: Andrew Young <aty@hilbert.sdsu.edu>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: g77
Version: 2:2.95.4-14
Severity: normal

After making what I thought were minor changes to a working F77 program,
which g77 had been compiling correctly, I find the current version dies
with a segfault before executing any of the Fortran stuff.  The program
was compiled with the  -fbounds-check  option, which produced no output
(though it has in the past when I had indexing errors).

I tried compiling with -g -ggdb and ran the debugger:

	(gdb) bt
	#0  0x0805cf46 in f_setarg ()
	#1  0x0805cab6 in main ()
	#2  0x4005314f in __libc_start_main () from /lib/libc.so.6

Looks as if the problem is in the g77 startup library somewhere.  I
checked the libc md5sum against a machine on which the *identical*
source code compiles and runs fine with g77; the only difference is that
the machine that works is an AMD Athlon, and the one that segfaults is a
Pentium III.  Both boxes run Debian stable.

Please reply to  aty@mintaka.sdsu.edu  rather than this machine.

		-- A. T. Young




-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux hilbert 2.2.20 #1 Thu Feb 26 18:12:28 UTC 2004 i686
Locale: LANG=en_US, LC_CTYPE=en_US

Versions of packages g77 depends on:
ii  cpp                    2:2.95.4-14       The GNU C preprocessor.
ii  g77-2.95               1:2.95.4-11woody1 The GNU Fortran 77 compiler.
ii  gcc-2.95               1:2.95.4-11woody1 The GNU C compiler.


---------------------------------------
Received: (at 297112-done) by bugs.debian.org; 12 Jun 2005 22:46:06 +0000
>From falk@debian.org Sun Jun 12 15:46:06 2005
Return-path: <falk@debian.org>
Received: from smtp07.web.de [217.72.192.225] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DhbDS-0006a6-00; Sun, 12 Jun 2005 15:46:06 -0700
Received: from [82.82.221.84] (helo=juist)
	by smtp07.web.de with asmtp (TLSv1:DES-CBC3-SHA:168)
	(WEB.DE 4.105 #291)
	id 1DhbCx-0005EK-00
	for 297112-done@bugs.debian.org; Mon, 13 Jun 2005 00:45:35 +0200
Received: from falk by juist with local (Exim 4.50)
	id 1DhbCx-00045U-9C
	for 297112-done@bugs.debian.org; Mon, 13 Jun 2005 00:45:35 +0200
To: 297112-done@bugs.debian.org
Subject: Re: Bug#297112: g77 bug: fixed in sarge
References: <[🔎] 200506102104.j5AL40bG000328@sciences.sdsu.edu>
From: Falk Hueffner <falk@debian.org>
X-Face: "iUeUu$b*W_"w?tV83Y3*r:`rh&dRv}$YnZ3,LVeCZSYVuf[Gpo*5%_=/\_!gc_,SS}[~xZ
 wY77I-M)xHIx:2f56g%/`SOw"Dx%4Xq0&f\Tj~>|QR|vGlU}TBYhiG(K:2<T^
Date: Mon, 13 Jun 2005 00:45:35 +0200
In-Reply-To: <[🔎] 200506102104.j5AL40bG000328@sciences.sdsu.edu> (Andrew Young's
 message of "Fri, 10 Jun 2005 14:04:00 -0700 (PDT)")
Message-ID: <87br6bgpo0.fsf@debian.org>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.5 (cilantro, linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: falk@debian.org
X-Sender: falk.hueffner@web.de
Delivered-To: 297112-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Andrew Young <aty@sciences.sdsu.edu> writes:

> I upgraded the P III box from woody to sarge, which changed the g77
> compiler version from 2.95 to 3.3 -- and the bug seems to be gone.

Well, let's just close it, then.

-- 
	Falk



Reply to: