[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[open-cobol-list] BUG: TABLE at LEVEL 01 (generation error --> sigsegv)
From: |
Thomas Biehler |
Subject: |
[open-cobol-list] BUG: TABLE at LEVEL 01 (generation error --> sigsegv) |
Date: |
Sun Aug 15 11:30:08 2004 |
User-agent: |
KMail/1.4.3 |
Hi Keisuke,
as you can see in the attached program "TABBUG2.cob"
the actual snapshot from cobc (20040815) generates wrong
table definition if the OCCURS CLAUSE is at level 01 !
(which causes access out of bounds in real programs and (only) sometimes
sigsegv !)
The test 40 from autotest "run" Skript generates also wrong definition!
(Compile it with -save-temps and look into TABBUG2.c.h !)
But the test 40 from "run" runs without a access to the TABLE
and does not generates runtime error (access out of bounds) :-(
Greetings
Thomas
P.S. a current version of "valgrind" ... is your friend in such situations
with real application programs!
TABBUG2.cob
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [open-cobol-list] BUG: TABLE at LEVEL 01 (generation error --> sigsegv),
Thomas Biehler <=