Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • C compiler
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 15
    • Issues 15
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • clean-compiler-and-rts
  • compiler
  • Issues
  • #50
Closed
Open
Issue created Oct 10, 2019 by Mart Lubbers@mlubbersDeveloper

Compiler crashes for some malformed existential data type

With the latest greatest nightly iTasks compiler when running:

clm -IL iTasks -IL Platform -IL TCPIP -IL ABCInterpreter -IL GraphCopy -IL Dynamics -dynamics test

The following error occurs and the compiler crashes

 Error [test.icl,6,SDSNoNotify]: sds type variable already defined
readPtr: Not a pointer of this heapclm: reading compiler result failed: No such file or directory
module test

import iTasks

:: SDSNoNotify sds p r w = E.sds: SDSNoNotify (sds p r w) & RWShared sds

Start = 42

It is obvious that this is an erroneous program but it shouldn't lead to a compiler crash.

The even simpler program:

module test
:: T a = E.a: T a
Start = 42

crashes with a similar error:

Error [test.icl,3,T]: a type variable already defined
readPtr: Not a pointer of this heapclm: reading compiler result failed: No such file or directory
Edited Oct 10, 2019 by Mart Lubbers
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking