Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#52 INITIAL clause (PROGRAM-ID paragraph) leads to crashes

open
accepted
None
1
2014-04-07
2013-12-17
Simon Sobisch
No

GNU Cobol 2.0 - bug in r103, discussion at [9629a677]
The samples are attached.

Result with GNU Cobol 2.0 (r103):

COUNTER = 001 LPARAM1 = 00000010

TESTINIT.cbl: 14: Attempt to reference unallocated memory (Signal SIGSEGV)
Abnormal termination - File contents may be incorrect

Result with GNU Cobol 2.0 C++:

COUNTER = 001 LPARAM1 = 00000010
COUNTER = 001 LPARAM1 = 04332656
COUNTER = 001 LPARAM1 = 04332656
COUNTER = 001 LPARAM1 = 04332656
COUNTER = 001 LPARAM1 = 04332656
COUNTER = 001 LPARAM1 = 04332656
COUNTER = 001 LPARAM1 = 04332656
COUNTER = 001 LPARAM1 = 04332656
COUNTER = 001 LPARAM1 = 04332656
COUNTER = 001 LPARAM1 = 04332656

TESTINITM.cbl: 13: Attempt to reference unallocated memory(Signal SIGSEGV)
Abnormal termination - File contents may be incorrect

Assigned to Sergey in the hope he finds the time to investigate this issue.

Simon

2 Attachments

Related

Discussion: 9629a677

Discussion