[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-smalltalk] JIT user interrupts and updating the context

From: Holger Hans Peter Freyther
Subject: [Help-smalltalk] JIT user interrupts and updating the context
Date: Fri, 7 Feb 2014 21:01:45 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

Dear Paolo,

I get a NULL pointer dereference when using CTRL+C on the below piece
of code in unwind_context but I think the error might happen earlier
or for the same reason

 st>  [[(Delay forSeconds: 3) wait. '123' printNl] repeat] value

MessageNotUnderstood(Exception)>>signal (
UndefinedObject(Object)>>doesNotUnderstand: #goodness: (
optimized [] in BlockClosure class>>exceptionHandlerSearchBlock 
[] in SystemExceptions.UserInterrupt(Exception)>>instantiateNextHandlerFrom: 
MethodContext(ContextPart)>>scanBacktraceForAttribute:do: (
SystemExceptions.UserInterrupt(Exception)>>signal (
SystemExceptions.UserInterrupt class(Exception class)>>signal 
ProcessorScheduler(Object)>>userInterrupt (
optimized [] in Delay class>>initialize (
[] in Process>>onBlock:at:suspend: (
BlockClosure>>on:do: (
[] in Process>>onBlock:at:suspend: (
BlockClosure>>ensure: (
[] in Process>>onBlock:at:suspend: (
[] in BlockClosure>>asContext: (
BlockContext class>>fromClosure:parent: (
lt-gst: interp.c:1035: unwind_context: Assertion `newContextOOP != ((void *)0)' 
stdin:2: Aborted
(ip 12)BlockContext class>>#fromClosure:parent:
Aborted (core dumped)

As usual I don't understand the issue yet. The interrupt should be
queued through a normal SET_EXCEPT_FLAG and all frame information
should be written back. Do you have an idea or time to look into for
a fix?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]