bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: segfault of bison with some parser input


From: Akim Demaille
Subject: Re: segfault of bison with some parser input
Date: Wed, 2 Mar 2011 17:16:35 +0100

Le 8 juin 2010 à 02:16, tys lefering a écrit :

> Hi,
> 
> Getting segfault and glibc message "invalid free()" in Bison:
> 
> *** glibc detected *** bison: free(): invalid pointer: 0x00000000006733a0 ***
> 
> A call to named_ref_free() in symbol_list_free()
> in symlist.c seems to be the reason.
> 
> This is the input parser z9.y:
> 
> %%
> 
> start[as]: foo
> | /* empty */
> ;
> 
> %%

Hi Tys,

Thanks for the bug report.  I have pushed in candidates/named-ref-free a fix 
for branch-2.5, attached below.  Unless someone raises the hand, I'll push it 
in 2.5 and master in the near future.

Cheers,

        Akim

Attachment: 0001-tests-style-changes.txt
Description: Text document


Attachment: 0002-named-references-fix-double-free.txt
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]