Menu

#938 EVALUATE [...] WHEN - ]...] crashes GC3.2

GC 3.x
closed
5 - default
2024-05-04
2024-01-15
No
identification division.
program-id. prog.
data division.
working-storage section.
77 num pic s9.
procedure division.
move -1  to num
evaluate num
when -
    display "negative"
end-evaluate.
end program prog.

Results in

$cobc -x -free -o gc playpen.cbl

unknown (signal)

cobc: aborting compile of playpen.cbl at line 10 (PROGRAM-ID: prog)
cobc: Please report this!
make: *** [../Makefile.inc:69: gc] Segmentation fault (core dumped)

Related

Commit: [r5454]

Discussion

  • Simon Sobisch

    Simon Sobisch - 2024-01-15

    Thank you for the report and the example. That's 95% a duplicate of [bugs:#933] (I think you did expected a nice error message there).

     

    Related

    Bugs: #933

  • Simon Sobisch

    Simon Sobisch - 2024-05-04
    • labels: --> cobc, SIGSEGV
    • status: open --> closed
    • assigned_to: Simon Sobisch
    • Group: GC 3.2 --> GC 3.x
     
  • Simon Sobisch

    Simon Sobisch - 2024-05-04

    fixed with [r5247]

     

    Related

    Commit: [r5247]


Log in to post a comment.

MongoDB Logo MongoDB