Re: Gnat STORAGE_ERROR



Duncan Sands wrote:
If you don't use a Storage_Size pragma in a task then you get (in
s-parame.adb):

I was using explicit sizes, but thank nonetheless.


From the GNAT user's guide:


A.6 Linux-Specific Considerations The default thread library under
GNU/Linux has the following disadvantages compared to other native
thread libraries: The size of the task's stack is limited to 2
megabytes.

Argh. Thanks! .



Relevant Pages

  • Re: Enlarge the stack size in gcc ?
    ... The stack size is not set in the ELF binary. ... user resource limit; see RLIMIT_STACK in setrlimit. ... Change it with the ulimit bash builtin, or setrlimit, or at login ... GNU/Linux is not DOS. ...
    (comp.os.linux.development.apps)
  • Detecting stack corruption
    ... stack frame is set up, well before the segfault), but I can't for the ... identify the origin/cause of the fault. ... Printing on GNU/Linux? ...
    (comp.os.linux.development.apps)
  • Re: Detecting stack corruption
    ... >> stack frame is set up, well before the segfault), but I can't for the ... The stack is trashed by the time uterm_control_register_moduleis ... Using gdb, I can see the stack is corrupt before it reaches ... Printing on GNU/Linux? ...
    (comp.os.linux.development.apps)
  • Re: newbie to embedded linux on arm
    ... level work that you have to do by hand, strange limitations. ... GNU/Linux. ... The filesystem and TCP/IP stack are there; the USB host is in development. ...
    (comp.arch.embedded)
  • Re: Gnat STORAGE_ERROR
    ... Duncan Sands wrote: ... just to Ada programs) that I've been unable to break. ... I didn't get any linking error, it was simply that the stack size didn't ... needs for so a big stack and didn't explore the matter further. ...
    (comp.lang.ada)