This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
I am getting SIGSEGV in alloca, what could be the cause ?
- From: Mayank Kumar <mayank at microsoft dot com>
- To: "binutils at sources dot redhat dot com" <binutils at sources dot redhat dot com>
- Date: Wed, 12 Sep 2007 00:30:53 +0800
- Subject: I am getting SIGSEGV in alloca, what could be the cause ?
- Accept-language: en-US
- Acceptlanguage: en-US
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