jjfiv / dalvik-js

Project for CS 691ST - Dalvik VM implementation in Javascript
23 stars 11 forks source link

Threads not returning from execution ( John we spoke about this yesterday) #109

Closed VJD215 closed 12 years ago

VJD215 commented 12 years ago

[09:30:17.526] starting VM on Xor_Test @ file:///home/vjd215/workspace/dalvik-js/src/VM.js:41 [09:30:17.527] Thread T2 in LXor_Test;.main([Ljava/lang/String;)V pc=0 nextInstr=new-instance regs: [0, 0, ] @ file:///home/vjd215/workspace/dalvik-js/src/Thread.js:106 [09:30:17.528] execute new-instance @ file:///home/vjd215/workspace/dalvik-js/src/Thread.js:115 [09:30:17.528] new-instance made: {"type" :{"_typeString" :"LXor_Test;", "_arrayDim" :"0", "_type" :"L", "_wide" :"false", "_name" :"Xor_Test", }, "fields" :[], } @ file:///home/vjd215/workspace/dalvik-js/src/icodeExecute.js:84 [09:30:17.530] Thread T2 in LXor_Test;.main([Ljava/lang/String;)V pc=1 nextInstr=invoke regs: [{"type" :{"_typeString" :"LXor_Test;", "_arrayDim" :"0", "_type" :"L", "_wide" :"false", "_name" :"Xor_Test", }, "fields" :[], }, 0, ] @ file:///home/vjd215/workspace/dalvik-js/src/Thread.js:106 [09:30:17.530] execute invoke @ file:///home/vjd215/workspace/dalvik-js/src/Thread.js:115 [09:30:17.531] Thread T2 in LXor_Test;.()V pc=0 nextInstr=invoke regs: [{"type" :{"_typeString" :"LXor_Test;", "_arrayDim" :"0", "_type" :"L", "_wide" :"false", "_name" :"Xor_Test", }, "fields" :[], }, ] @ file:///home/vjd215/workspace/dalvik-js/src/Thread.js:106 [09:30:17.531] execute invoke @ file:///home/vjd215/workspace/dalvik-js/src/Thread.js:115 [09:30:17.532] Skipping super constructor for now. @ file:///home/vjd215/workspace/dalvik-js/src/invoke.js:30 [09:30:17.533] Thread T2 in LXor_Test;.()V pc=1 nextInstr=return regs: [{"type" :{"_typeString" :"LXor_Test;", "_arrayDim" :"0", "_type" :"L", "_wide" :"false", "_name" :"Xor_Test", }, "fields" :[], }, ] @ file:///home/vjd215/workspace/dalvik-js/src/Thread.js:106 [09:30:17.533] execute return @ file:///home/vjd215/workspace/dalvik-js/src/Thread.js:115

This was run from src/index.html

jjfiv commented 12 years ago

Please git pull and retest. I believe this issue should have been resolved last night. Notably, there should only be one failure in vmtest. If not, please upload Xor_Test somewhere, and I'll get someone to look into it.

On 11/02/2012 09:50 AM, VJD215 wrote:

[09:30:17.526] starting VM on Xor_Test @ file:///home/vjd215/workspace/dalvik-js/src/VM.js:41 [09:30:17.527] Thread T2 in LXor_Test;.main([Ljava/lang/String;)V pc=0 nextInstr=new-instance regs: [0, 0, ] @ file:///home/vjd215/workspace/dalvik-js/src/Thread.js:106 [09:30:17.528] execute new-instance @ file:///home/vjd215/workspace/dalvik-js/src/Thread.js:115 [09:30:17.528] new-instance made: {"type" :{"_typeString" :"LXor_Test;", "_arrayDim" :"0", "_type" :"L", "_wide" :"false", "_name" :"Xor_Test", }, "fields" :[], } @ file:///home/vjd215/workspace/dalvik-js/src/icodeExecute.js:84 [09:30:17.530] Thread T2 in LXor_Test;.main([Ljava/lang/String;)V pc=1 nextInstr=invoke regs: [{"type" :{"_typeString" :"LXor_Test;", "_arrayDim" :"0", "_type" :"L", "_wide" :"false", "_name" :"Xor_Test", }, "fields" :[], }, 0, ] @ file:///home/vjd215/workspace/dalvik-js/src/Thread.js:106 [09:30:17.530] execute invoke @ file:///home/vjd215/workspace/dalvik-js/src/Thread.js:115 [09:30:17.531] Thread T2 in LXor_Test;.()V pc=0 nextInstr=invoke regs: [{"type" :{"_typeString" :"LXor_Test;", "_arrayDim" :"0", "_type" :"L", "_wide" :"false", "_name" :"Xor_Test", }, "fields" :[], }, ] @ file:///home/vjd215/workspace/dalvik-js/src/Thread.js:106 [09:30:17.531] execute invoke @ file:///home/vjd215/workspace/dalvik-js/src/Thread.js:115 [09:30:17.532] Skipping super constructor for now. @ file:///home/vjd215/workspace/dalvik-js/src/invoke.js:30 [09:30:17.533] Thread T2 in LXor_Test;.()V pc=1 nextInstr=return regs: [{"type" :{"_typeString" :"LXor_Test;", "_arrayDim" :"0", "_type" :"L", "_wide" :"false", "_name" :"Xor_Test", }, "fields" :[], }, ] @ file:///home/vjd215/workspace/dalvik-js/src/Thread.js:106 [09:30:17.533] execute return @ file:///home/vjd215/workspace/dalvik-js/src/Thread.js:115

This was run from src/index.html

— Reply to this email directly or view it on GitHub https://github.com/jjfiv/dalvik-js/issues/109.

jjfiv commented 12 years ago

Fixed by previous fixes to invoke. Fo shizzle.