Skip to content

StackOverflowError thrown by getTerm() for large mutable lists #199

Closed
@s-webber

Description

StackOverflowError is thrown from List.getTerm for large mutable lists.

Example of how to observe this bug using Prolog:

?- length(X,10000).

Resulting stacktrace:

Caught: java.lang.StackOverflowError from class: org.projog.core.term.List method: getTerm line: 104
java.lang.StackOverflowError
	at org.projog.core.term.List.getTerm(List.java:104)
	at org.projog.core.term.List.getTerm(List.java:1)
	at org.projog.core.term.List.getTerm(List.java:105)
	at org.projog.core.term.List.getTerm(List.java:1)
	at org.projog.core.term.List.getTerm(List.java:105)

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions