bug-gnucobol
[Top][All Lists]
Advanced

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

[Bug-GnuCOBOL] gnucobol 2.2 latest download ... sigsegv crash on CLOSE-s


From: Veit Heise
Subject: [Bug-GnuCOBOL] gnucobol 2.2 latest download ... sigsegv crash on CLOSE-statement
Date: Sun, 17 Sep 2017 19:30:56 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0

Hello....

       DECLARATIVES.

       FILE002-HANDLER SECTION.
           USE AFTER STANDARD ERROR PROCEDURE ON FILE002.
       FILE002-ERROR.
           MOVE "FILE002" TO ZZ-ERRFILE.
           MOVE FILE002-STATUS TO ZZ-ERROR.
           CALL "ERROR-MESSAGE" USING ZZ-ERRFILE, ZZ-ERROR,
                ZZ-ERRMESSAGE.
           EVALUATE ZZ-ERROR
               WHEN 35 PERFORM
                           OPEN OUTPUT FILE002
                           CLOSE FILE002
                           OPEN I-O FILE002
                       END-PERFORM
           END-EVALUATE.

       END DECLARATIVES.

such as example in the source code ends with this crash-message:

artikel01.cob: 171: attempt to reference unallocated memory (signal SIGSEGV)
abnormal termination - file contents may be incorrect

implemented yesterday from latest download on source-forge on ubuntu 16.04-lts-64bit on an
asus Intel® Core™ i7-6700K CPU @ 4.00GHz × 8
Gallium 0.4 on llvmpipe (LLVM 4.0, 256 bits), Ubuntu 16.04.3 LTS 64-Bit


--
Veit Heise, Breslauer Str. 24, D-63477 Maintal Germany Member of ACM, Association for Computer Machinery, Chapter Munich, Germany Member of AFCEA, Armed Forces Communication and Electronics Association, Brussels, Chapter Bonn Member of FREELENS, Bundesvereinig. d. FotojournalistInnen, Hamburg, Germany



reply via email to

[Prev in Thread] Current Thread [Next in Thread]