Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StackOverflow exception in GLL #310

Open
darthorimar opened this issue May 30, 2018 · 0 comments
Open

StackOverflow exception in GLL #310

darthorimar opened this issue May 30, 2018 · 0 comments

Comments

@darthorimar
Copy link
Member

Getting StackOverflow exception in pop function of GLL, file GLLAbstractParser/AbstractParser.fs:76

The grammar:

<Start>]
m : ND v D {""}
r1: {""} | m? NA r1 {""}
r2: {""} | A m? r2 {""} 
v : r1 m? r2 {""}

Graph: any of those

Part of stacktrace:

Microsoft.FSharp.Core.FSharpFunc`2<int, Microsoft.FSharp.Core.FSharpFunc`2<YC.GLL.GSS/GSSVertex, Microsoft.FSharp.Core.FSharpFunc`2<Yard.Generators.GLL.ParserCommon.ParseData, Microsoft.FSharp.Core.Unit>>>,int,YC.GLL.GSS/GSSVertex,Yard.Generators.GLL.ParserCommon.ParseData) [0x00013] in <5584aad2904cf4daa7450383d2aa8455>:0
  at Yard.Generators.GLL.AbstractParser/pop@58.Invoke (int,YC.GLL.GSS/GSSVertex,Yard.Generators.GLL.ParserCommon.ParseData) [0x001a8] in /home/ilya/code/YaccConstructor/src/GLLAbstractParser/AbstractParser.fs:76
  at Microsoft.FSharp.Core.FSharpFunc`2<int, YC.GLL.GSS/GSSVertex>.InvokeFast<Yard.Generators.GLL.ParserCommon.ParseData, Microsoft.FSharp.Core.Unit> (Microsoft.FSharp.Core.FSharpFunc`2<int, Microsoft.FSharp.Core.FSharpFunc`2<YC.GLL.GSS/GSSVertex, Microsoft.FSharp.Core.FSharpFunc`2<Yard.Generators.GLL.ParserCommon.ParseData, Microsoft.FSharp.Core.Unit>>>,int,YC.GLL.GSS/GSSVertex,Yard.Generators.GLL.ParserCommon.ParseData) [0x00013] in <5584aad2904cf4daa7450383d2aa8455>:0
  at Yard.Generators.GLL.AbstractParser/pop@58.Invoke (int,YC.GLL.GSS/GSSVertex,Yard.Generators.GLL.ParserCommon.ParseData) [0x001a8] in /home/ilya/code/YaccConstructor/src/GLLAbstractParser/AbstractParser.fs:76
  at Microsoft.FSharp.Core.FSharpFunc`2<int, YC.GLL.GSS/GSSVertex>.InvokeFast<Yard.Generators.GLL.ParserCommon.ParseData, Microsoft.FSharp.Core.Unit> (Microsoft.FSharp.Core.FSharpFunc`2<int, Microsoft.FSharp.Core.FSharpFunc`2<YC.GLL.GSS/GSSVertex, Microsoft.FSharp.Core.FSharpFunc`2<Yard.Generators.GLL.ParserCommon.ParseData, Microsoft.FSharp.Core.Unit>>>,int,YC.GLL.GSS/GSSVertex,Yard.Generators.GLL.ParserCommon.ParseData) [0x00013] in <5584aad2904cf4daa7450383d2aa8455>:0
  at Yard.Generators.GLL.AbstractParser/pop@58.Invoke (int,YC.GLL.GSS/GSSVertex,Yard.Generators.GLL.ParserCommon.ParseData) [0x001a8] in /home/ilya/code/YaccConstructor/src/GLLAbstractParser/AbstractParser.fs:76

May be related to #235

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant