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

Crashes with Iterator exception #244

Closed
rahulmutt opened this issue Mar 25, 2017 · 0 comments
Closed

Crashes with Iterator exception #244

rahulmutt opened this issue Mar 25, 2017 · 0 comments

Comments

@rahulmutt
Copy link
Member

rahulmutt commented Mar 25, 2017

The code in:
https://gist.github.com/csierra/7c2f913a85680e55bb71df6e05bdd7c7

crashes with:

Exception in thread "main" java.util.NoSuchElementException
	at java.util.Vector$Itr.next(Vector.java:1140)
	at eta.runtime.thunk.UpdateFrame.mark(UpdateFrame.java:89)
	at eta.runtime.stg.Capability.threadPaused(Capability.java:629)
	at eta.runtime.stg.Capability.suspendThread(Capability.java:1077)
	at main.Main$lvlzus6T9.thunkEnter(Unknown Source)
	at eta.runtime.thunk.StgInd.enter(StgInd.java:12)
	at eta.runtime.stg.StgClosure.evaluate(StgClosure.java:23)
	at eta.runtime.apply.Apply$Ap0Fast.enter(Apply.java:34)
	at base.java.TopHandler$satzusI9KE.enter(Unknown Source)
	at eta.runtime.apply.StgFun.apply(StgFun.java:19)
	at eta.runtime.apply.Apply$ApVFast.enter(Apply.java:42)
	at eta.runtime.exception.StgException$Catch.enter(StgException.java:194)
	at base.java.TopHandler$runJava1.enter(Unknown Source)
	at base.java.TopHandler$runJava.enter(Unknown Source)
	at eta.runtime.apply.Apply$PAPApply.enter(Apply.java:231)
	at eta.runtime.apply.StgPAP.apply(StgPAP.java:131)
	at eta.runtime.apply.ApO.stackEnter(ApO.java:17)
	at eta.runtime.stg.StackFrame.enter(StackFrame.java:43)
	at eta.runtime.stg.StackFrame.enter(StackFrame.java:26)
	at eta.runtime.stg.StackFrame.enter(StackFrame.java:26)
	at eta.runtime.stg.Capability.schedule(Capability.java:260)
	at eta.runtime.RtsScheduler.scheduleWaitThread(RtsScheduler.java:57)
	at eta.runtime.Rts.evalJava(Rts.java:107)
	at eta.java.util.function.Function$Eta.apply(Unknown Source)
	at java.util.Optional.flatMap(Optional.java:241)
	at main.Main$main2.thunkEnter(Unknown Source)
	at eta.runtime.thunk.StgIndStatic.enter(StgIndStatic.java:27)
	at eta.runtime.stg.StgClosure.evaluate(StgClosure.java:23)
	at base.ghc.io.handle.Text$zdwa7.enter(Unknown Source)
	at base.ghc.io.handle.Text$hPutStr2.enter(Unknown Source)
	at main.Main$main1.enter(Unknown Source)
	at eta.runtime.apply.StgFun.apply(StgFun.java:19)
	at eta.runtime.apply.Apply$ApVFast.enter(Apply.java:42)
	at eta.runtime.exception.StgException$Catch.enter(StgException.java:194)
	at main.Main$main7.enter(Unknown Source)
	at main.Main$DZCmain.enter(Unknown Source)
	at eta.runtime.apply.StgFun.apply(StgFun.java:19)
	at eta.runtime.apply.ApV.stackEnter(ApV.java:12)
	at eta.runtime.stg.StackFrame.enter(StackFrame.java:43)
	at eta.runtime.stg.StackFrame.enter(StackFrame.java:26)
	at eta.runtime.stg.Capability.schedule(Capability.java:260)
	at eta.runtime.RtsScheduler.scheduleWaitThread(RtsScheduler.java:57)
	at eta.runtime.Rts.evalLazyIO(Rts.java:95)
	at eta.runtime.Rts.hsMain(Rts.java:38)
	at eta.main.main(Unknown Source)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant