I am getting SIGSEGV in alloca, what could be the cause ?

Mayank Kumar mayank@microsoft.com
Tue Sep 11 16:31:00 GMT 2007


Hi
With binutils 2.17 compiled programs on interix, I am sometimes getting crashes like

+++++++++++++++++++++++++++++++++++
Program received signal SIGSEGV, Segmentation fault.
0x00405f57 in _alloca () at dfa.c:1777
1777                  pos[j] = lastpos[j];

+++++++++++++++++++++++++++++++++++

Is it because the program is running out of stack space or is there some other reason.
The crash occurs when that 2.17 linked binary is run. This occurs for some programs
Only and not always. Any pointers in this area  would be helpful. I am trying to
Compile GNU packages only.


Thanks
Mayank




More information about the Binutils mailing list