This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: ICE seg fault
- From: Daniel Franke <franke dot daniel at gmail dot com>
- To: fortran at gcc dot gnu dot org
- Cc: Florian Ladstaedter <flad at gmx dot at>, Tobias Burnus <burnus at net-b dot de>
- Date: Mon, 30 Jul 2007 21:58:41 +0200
- Subject: Re: ICE seg fault
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:from:to:subject:date:user-agent:cc:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=jZq9mlhDI6734kSx2XIf2DGg+eOUMKa4g8oXRYVhwj0WlvWCFCYnb56ZmHcw/SLcvx7rLRH5tCrVBr13qdNupvayohuu9O+dBV8VgWetZl5natfT1yRIuHTdwWIwVn5jTfgr4n8xf+HPafRUobi6Inf17olgJHP4dQnwICRZp2M=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:from:to:subject:date:user-agent:cc:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=FDSJf520IF4Tic1J9yEcZSKLkdJuxd37443VHeSHwa39dQmxYdptwcB0scgCd+OGZ+PzBKMOvG/O6epQOmQZXb3Td5aF4vMro3j9nYpRJ9l0siUWRkClutg6CkJzADeykcUjumQCyvSAhgG0oWYTX1HyFiGIO1M7sdMTjnX+ues=
- References: <46AE03FC.7060904@gmx.at> <46AE3BA5.3070708@net-b.de> <46AE3F0E.2070106@gmx.at>
On Monday 30 July 2007 21:42:06 Florian Ladstaedter wrote:
> Program received signal SIGSEGV, Segmentation fault.
> 0x08064563 in check_specification_function (e=<value optimized out>) at
> ../../gcc/gcc/fortran/expr.c:696
> 696 sym = e->symtree->n.sym;
> (gdb) p e->symtree
> Cannot access memory at address 0x28
> (gdb) p e->where
> Cannot access memory at address 0x30
> (gdb) p e->where->lb->file->filename
> Cannot access memory at address 0x34
> (gdb) p e->where->lb->file->line
> Cannot access memory at address 0x34
Although I can't help yet with the actual problem, I can at least contribute
that this function was introduced by me in my recent init-expr patch.
Florian, you need to look for initialization expressions, anything like
integer :: a = somefunction(anyarg)
I'd guess that the passed expression is somehow damaged (for a suitable
definition of damaged).
Hope this helps?!
Daniel