Marc:
The setup is:
I'm in an infinite loop, streaming trace information to the terminal.
I hit ^C to interrupt it.
I get the message
*** ERROR IN Newton-step, "utilities.scm"@93.16 -- Deadlock detected 1>
Can you explain what this message means in this context?
This is gcc -v (with no configuration information ;-):
[lucier@descartes src]$ gsc -v v4.4.2 20090319212953 powerpc64-unknown-linux-gnu
Brad
Afficher les réponses par date
The "trace" subsystem shows the traces on the interaction channel (here the console). To prevent garbled traces from multiple threads, the interaction channel's lock must be acquired before a trace line is printed and it is released when printing the line is done. If you interrupt the thread in the middle of this sequence, then the system will want to start a new REPL at the point of the interrupt. But this means that the interaction channel's lock must be acquired *while it is currently acquired*. So this leads to a deadlock.
Marc
On 2-Apr-09, at 4:07 PM, Bradley Lucier wrote:
Marc:
The setup is:
I'm in an infinite loop, streaming trace information to the terminal.
I hit ^C to interrupt it.
I get the message
*** ERROR IN Newton-step, "utilities.scm"@93.16 -- Deadlock detected 1>
Can you explain what this message means in this context?
This is gcc -v (with no configuration information ;-):
[lucier@descartes src]$ gsc -v v4.4.2 20090319212953 powerpc64-unknown-linux-gnu
Brad