Re: bison and malloc

2006-10-11 Thread s88
On 10/11/06, Tim Van Holder <[EMAIL PROTECTED]> wrote: s88 wrote: > Hi all: > I'm confused with the bison and malloc right now... > I'm using the Bison 2.0 on Ubuntu(Linux) 6.06, and everytime when I use > the malloc(actually is strdup) in the produc

bison and malloc

2006-10-11 Thread s88
Hi all: I'm confused with the bison and malloc right now... I'm using the Bison 2.0 on Ubuntu(Linux) 6.06, and everytime when I use the malloc(actually is strdup) in the production rules. It will cause an unpredictable segmentation fault. The stack size on my system is set unlimited. Every time