Generated parser triggers segfault with bison 2.7

Bug #1177303 reported by Chris Hillery
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
New
High
Nicolae Brinza

Bug Description

See discussion here: https://groups.google.com/forum/?hl=en&fromgroups=#!topic/zorba-dev/Qk4ISLlaCgo

It appears that (at least on Paul's Mac), after re-generating the parser with bison 2.7, a relatively simple query causes Zorba to dump core. Valgrind shows many invalid memory reads/writes from a DirAttr that is destroyed. With earlier bison versions, there are memory leaks in a suspiciously close line number in the parser, which leads me to believe that bison either fixed or introduced a bug which slightly changes how it memory-manages some objects in a way that we don't work nicely with.

Chris Hillery (ceejatec)
Changed in zorba:
importance: Undecided → High
assignee: nobody → Nicolae Brinza (nbrinza)
milestone: none → 3.0
Chris Hillery (ceejatec)
Changed in zorba:
milestone: 3.0 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.