Skip to content

Segmentation fault with K other than default (2) #2

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Run sequitur with -k 3 (tried K's up to 10)
2. After a short time (1-2 seconds) program segfaults. 

What version of the product are you using? On what operating system?

Using C++ implementation of sequitur downloaded from Google Code. OS: Mac OS X 
10.9, g++ version 4.2.1, Apple LLVM 5.0.

Please provide any additional information below.

I tried different inputs and K's up to 10 -- same behavior. Printing out 
symbols that the program is adding to rules object reveals that seg fault 
arises at different characters given the same input file. I narrowed it down to 
symbols::substitute() in classes.cc, but segfault also shows up in 
symbols::check().

Original issue reported on code.google.com by dasha.fi...@gmail.com on 15 Jan 2014 at 5:21

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions