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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=77774 --- shadow/77774 2006-03-13 06:03:08.000000000 -0500 +++ shadow/77774.tmp.15716 2006-03-13 06:03:08.000000000 -0500 @@ -0,0 +1,103 @@ +Bug#: 77774 +Product: Mono: Runtime +Version: 1.1 +OS: +OS Details: gentoo - amd64 +Status: NEW +Resolution: +Severity: +Priority: Normal +Component: JIT +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: amd64: Sigsegv with boo interpreter + +Description of Problem: + + +Steps to reproduce the problem: + + using System; + using Mono.Math; + using Boo.Lang.Interpreter; + + public static class MainClass + { + public static InteractiveInterpreter booInterpreter; + public static void Main (string[] args) + { + booInterpreter = new InteractiveInterpreter(); +booInterpreter.References.Add(System.Reflection.Assembly.GetExecutingAssembly()); + booInterpreter.Eval("def mymethod(x as +double):\n\treturn System.Math.Cos(0.2*x)\n"); + for (int i=0;i<=3;i++) + booInterpreter.Eval("print mymethod(10)\n"); + } + } + +Actual Results: +prints -0,416146836547142 once and then i get a sigsegv: + +Native stacktrace: + + mono(mono_handle_native_sigsegv+0x8a) [0x50728a] + mono [0x4f3fac] + /lib/libpthread.so.0 [0x2aaaab180e80] + +Expected Results: +It should print 4 times the same number + + +How often does this happen? +Always + +Additional Information: + +(gdb) mono_backtrace 30 +#0 0x0000000000000000 in ?? () +#1 0x40237008 in System.Type:get_Attributes () + 0x18 (0x40236ff0 +0x4023700d) [ 0x2aaaaaae7e60 - test.exe] +#2 0x00000000012bb260 in ?? () +#3 0x00002aaaaaaf0de0 in ?? () +#4 0x00002aaaac909820 in ?? () +#5 0x402c109f in System.Type:get_IsPublic () + 0x17 (0x402c1088 +0x402c10bd) [0x 2aaaaaae7e60 - test.exe] +#6 0x00002aaaac689ab0 in ?? () +#7 0x00002aaaac689ab0 in ?? () +#8 0x00007fffffad8eb0 in ?? () +#9 0x402c0ca6 in +Boo.Lang.Compiler.TypeSystem.NameResolutionService:OrganizeAss emblyTypes +(System.Reflection.Assembly) + 0x76 (0x402c0c30 0x402c0d38) [0x2aaaaa +ae7e60 - test.exe] +#10 0x00002aaaaab2ac60 in ?? () +#11 0x00007fffffad8eb0 in ?? () +#12 0x00002aaaac683b60 in ?? () +#13 0x00002aaaac907208 in ?? () +#14 0x00002aaaaab2ac60 in ?? () +#15 0x00002aaaaab27070 in ?? () +#16 0x00002aaaac907208 in ?? () +#17 0x00002aaaac683690 in ?? () +#18 0x00002aaaac82e270 in ?? () +---Type <return> to continue, or q <return> to quit--- +#19 0x00002aaaaab2ac60 in ?? () +#20 0x00002aaaaab2ac60 in ?? () +#21 0x402c0832 in +Boo.Lang.Compiler.Steps.InitializeNameResolutionService:OrganizeExternalNamespaces +() + 0x102 (0x402c0730 0x402c0b7f) [0x2aaaaaae7e60 - test.exe] +#22 0x402c0175 in +Boo.Lang.Compiler.Steps.InitializeNameResolutionService:ResolveImportAssemblyReferences +() + 0x355 (0x402bfe20 0x402c02bd) [0x2aaaaaae7e60 - test.exe] +#23 0x00002aaaaab2ac60 in ?? () +#24 0x00002aaaaab2ac60 in ?? () +#25 0x00002aaaaca1cd80 in ?? () +#26 0x00002aaaaab2bfe0 in ?? () +#27 0x40019193 in (wrapper managed-to-native) +System.Object:__icall_wrapper_mono_array_new_specific (intptr,int) + 0xb +(0x40019188 0x40019227) [0x2aaaaaae7e60 - test.exe] +#28 0x000000000000000b in ?? () +#29 0x4001b1fa in System.Collections.Hashtable:GetHash (object) + 0x52 +(0x4001b1a8 0x4001b227) [0x2aaaaaae7e60 - test.exe] _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
