poke-devel
[Top][All Lists]
Advanced

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

[Bug default/25378] New: segfault after invalid attribute compiler error


From: jose.marchesi at oracle dot com
Subject: [Bug default/25378] New: segfault after invalid attribute compiler error in `where' clause
Date: Mon, 13 Jan 2020 15:20:34 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=25378

            Bug ID: 25378
           Summary: segfault after invalid attribute compiler error in
                    `where' clause
           Product: poke
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: default
          Assignee: unassigned at sourceware dot org
          Reporter: jose.marchesi at oracle dot com
                CC: poke-devel at nongnu dot org
  Target Milestone: ---

The following program makes poke to raise a segfault:

(poke) for (e in [1,2,3] where e'foo) { } 
<stdin>:1:26: error: invalid attribute 'foo
for (e in [1,2,3] where e'foo) { } ;
                         ^~~~

Thread 1 "poke" received signal SIGSEGV, Segmentation fault.
pkl_typify1_pr_loop_stmt (_compiler=0x5555557f69c0, _toplevel=0x2,
_ast=0x555555a54970, 
    _node=0x555555a65890, _payload=0x7fffffffde94, _restart=0x555555a54970,
_child_pos=0, 
    _parent=0x555555a65940, _dobreak=0x0, _payloads=0x7fffffffdf10,
_phases=0x7fffffffdf60, 
    _flags=1) at ../../src/pkl-typify.c:1741
1741          if (PKL_AST_TYPE_CODE (condition_type) != PKL_TYPE_INTEGRAL

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

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