[Mono-bugs] [Bug 69418][Nor] New - signcode.exe hangs on SMP SPARC JIT

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 12 Nov 2004 15:00:54 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by sebastien@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=69418

--- shadow/69418	2004-11-12 15:00:54.000000000 -0500
+++ shadow/69418.tmp.8349	2004-11-12 15:00:54.000000000 -0500
@@ -0,0 +1,75 @@
+Bug#: 69418
+Product: Mono: Runtime
+Version: 1.0
+OS: Solaris [Other]
+OS Details: SunOS dc1dev01 5.8 Generic_117350-11 sun4u sparc SUNW,Ultra-Enterprise
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: sebastien@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: signcode.exe hangs on SMP SPARC JIT
+
+Description of Problem:
+* I let the signcode run for > 1 minutes.
+* I was not able to break out the program with (Ctrl+C).  The processes was
+marked as <defunct> once I hit (Ctrl+C) and I have to kill the shell/terminal.
+* I ran the following signcode command for a couple time.  It seems they
+all ended up at the same place.
+
+[Sebastien] Signing a smaller file fails at a different place. However it
+still located just after (or during) BigInteger calculation.
+
+
+Steps to reproduce the problem:
+1. mono --trace ~/bin/signcode.exe -spc dr.spc -v myprivatekey.pvk dm12.exe
+> signcode1.log
+ 
+
+Actual Results:
+Hangs
+
+tail of the log file
+
+. . . . . . ENTER: System.IO.FileStream:.ctor
+(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,bool)(this:62ad20[System.IO.FileStream
+signcode.exe], [STRING:4ac20:dm12.exe], [00,00,00,02,], [00,00,00,02,],
+[00,00,00,00,], 8192, 0, )
+. . . . . . . ENTER: System.IO.Stream:.ctor
+()(this:62ad20[System.IO.FileStream signcode.exe], )
+. . . . . . . . ENTER: System.MarshalByRefObject:.ctor
+()(this:62ad20[System.IO.FileStream signcode.exe], )
+. . . . . . . . LEAVE: System.MarshalByRefObject:.ctor ()
+. . . . . . . LEAVE: System.IO.Stream:.ctor ()
+. . . . . . . ENTER: System.String:op_Equality
+(string,string)([STRING:4ac20:dm12.exe], [STRING:4cc30:], )
+. . . . . . . . ENTER: System.String:Equals
+(string,string)([STRING:4ac20:dm12.exe], [STRING:4cc30:], )
+. . . . . . . . LEAVE: System.String:Equals (string,string)FALSE
+. . . . . . . LEAVE: System.String:op_Equality (string,string)FALSE
+. . . . . . . ENTER: System.String:IndexOfAny
+(char[])(this:[STRING:4ac20:dm12.exe], 629a50, )
+. . . . . . . . ENTER: (wrapper managed-to-native)
+System.String:InternalIndexOfAny (char[],int,int)(this:[
+
+
+Expected Results:
+File should be signed.
+
+
+How often does this happen? 
+Always
+
+
+Additional Information:
+* The SPARC machine has 6 CPUs
+* uname -a
+SunOS dc1dev01 5.8 Generic_117350-11 sun4u sparc SUNW,Ultra-Enterprise
+* You must be using Mono.Security from CVS/SVN as it contains endian fixes
+not part of 1.0.4/1.1.2.