[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gm2] Bug Report
From: |
Gaius Mulley |
Subject: |
Re: [Gm2] Bug Report |
Date: |
Tue, 08 Nov 2011 15:23:26 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Dragiša Durić <address@hidden> writes:
> Hi,
>
> Gaius would probably like it... But apart from "wrong intput does not mean
> your
> program can crash" blame is yours only.
>
> Args is moduse, not ARRAY OF CHAR, and module name in-source is mess.
>
> Regs,
> dd
>
>
> On Apr 3, 2011, at 6:35 PM, Alexandr Simon wrote:
>
>
> Hi, I try to compile the file and the compiler crashes
> with "Segmentation fault".
>
> 1. terminal $ uname -a
> Linux linux 2.6.35-22-generic #33-Ubuntu SMP Sun Sep 19 20:34:50 UTC 2010
> i686 GNU/Linux
> ------------
> 2. nf.mod:
>
> MODULE Example;
> IMPORT Args, STextIO;
> BEGIN
> STextIO.WriteString(Args);
> END nf.
> ------------
> 3.
> terminal $ gm2 -v -save-temps nf.mod
> Using built-in specs.
> Target: i486-linux-gnu
> Configured with: ../gcc-4.1.2+gm2-20110223/configure --enable-languages=
> c,c++,gm2 --prefix=/opt/gm2 --libexecdir=/usr/lib/gm2/libexec --infodir=/
> opt/gm2/share/info --mandir=/opt/gm2/share/man --disable-nls
> --enable-long-long --without-included-gettext --with-dwarf2
> --disable-libssp --disable-multilib --enable-libstdcxx-debug
> --enable-shared --build=i486-linux-gnu --host=i486-linux-gnu
> Thread model: posix
> gcc version 4.1.2
> /usr/lib/gm2/libexec/gcc/i486-linux-gnu/4.1.2/cc1gm2 -quiet -dumpbase
> nf.mod -mtune=i486 -auxbase nf -version -fobject-path=/opt/gm2/lib/gcc/
> i486-linux-gnu/4.1.2/gm2/iso -ftarget-ranlib=/usr/bin/ranlib -ftarget-ar=/
> usr/bin/ar -fobject-path=/opt/gm2/lib/gcc/i486-linux-gnu/4.1.2/gm2/iso
> -ftarget-ranlib=/usr/bin/ranlib -ftarget-ar=/usr/bin/ar
> -I/opt/gm2/lib/gcc/
> i486-linux-gnu/4.1.2/gm2/pim:/opt/gm2/lib/gcc/i486-linux-gnu/4.1.2/gm2/
> logitech:/opt/gm2/lib/gcc/i486-linux-gnu/4.1.2/gm2/iso -o nf.s nf.mod
> GNU Modula-2 version 4.1.2 (i486-linux-gnu)
> compiled by GNU C version 4.4.5.
> GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
> Internal error: Segmentation fault
> Please report this crash to the GNU Modula-2 mailing list <address@hidden>
> ------------
> 4. Thank You for all of you work! ;)
> _______________________________________________
> gm2 mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/gm2
Hi,
many thanks for the bug report - sorry it has taken so long to fix.
But the cvs now contains a bug fix for this bug,
regards,
Gaius
* gm2/Make-lang.in: altered bnf rules to depend upon
gm2/pge$(exeext).
* gm2/bnf/m2-c.bnf: reimplemented Qualident and PushQualident
to fix a bug reported by Alexandr Simon:
<http://lists.gnu.org/archive/html/gm2/2011-04/msg00002.html>