Skip to content

Inconsistent storage error during compilation #29

@RajaSrinivasan

Description

@RajaSrinivasan

One of my projects is not building - randomly.

Error message:

Compile
[Ada] cvars.adb
+===========================GNAT BUG DETECTED==============================+
| 14.2.0 (aarch64-apple-darwin23) Storage_Error stack overflow |
| Error detected at cvars.adb:9:5 |
| Compiling /Users/rajasrinivasan/Prj/GitLab/toolkit/examples/cvar/src/cvars.adb|
| Please submit a bug report; see https://gcc.gnu.org/bugs/ . |
| Use a subject line meaningful to you and us to track the bug. |
| Include the entire contents of this bug box in the report. |
| Include the exact command that you entered. |
| Also include sources listed below. |
+==========================================================================+

Please include these source files with error report

identical files will fail randomly. The file - package and spec look like this:

--codemd: begin segment=Variables caption=declaration
with critical_float ;
package cvars is
tempSetpoint : critical_float.Variable_Type ;
pressureSetpoint : critical_float.Variable_Type ;
function allocator( secondary : boolean ) return access Float ;
end cvars ;
--codemd: end

-- codemd: begin segment=Implement caption=Implementation
package body cvars is
function allocator( secondary : boolean ) return access Float is
begin
return new Float ;
end allocator ;
begin
critical_float.SetAllocators( allocator'access );
end cvars ;
--codemd: end

I can provide the package "Critical_float" WHICH IS in a different project - if it will help.

Project builds on linux VMs and Docker - reliably. Hence this "ISSUE"
any clues?

Srini

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions