[Mono-bugs] [Bug 46363][Wis] Changed - mcs gives sigsegv (mini:6676)

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Wed, 16 Jul 2003 15:21:29 -0400 (EDT)


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 richard.torkar@htu.se.

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

--- shadow/46363	Wed Jul 16 10:08:39 2003
+++ shadow/46363.tmp.22577	Wed Jul 16 15:21:29 2003
@@ -98,6 +98,39 @@
 cfg = (MonoCompile *) 0xb58d3002
 jit_code_hash = (GHashTable *) 0x854f9d0
 code = 0x400e2e29
 
 
 Hmm, corrupt GHashTable?
+
+------- Additional Comments From richard.torkar@htu.se  2003-07-16 15:21 -------
+If I do a bt and then check to local variable's value this is what shows:
+
+(gdb) info local
+target_domain = (MonoDomain *) 0x805ef00
+domain = (MonoDomain *) 0x805ef00
+cfg = (MonoCompile *) 0xb58d3002
+jit_code_hash = (GHashTable *) 0x854f998
+code = 0x400e2e29
+(gdb) info args
+method = (MonoMethod *) 0x89a9d90
+(gdb) print domain->friendly_name
+$5 = 0x854e948 ""
+(gdb) print mono_root_domain->friendly_name
+$6 = 0x808af28 "nunit-console.exe"
+
+
+Is friendly_name suppose to be empty?
+Should the if/else _really_ evaluate to false, and thus set
+target_domain = domain (when domain obviously does _not_ have
+friendly_name set?).
+
+I run this by doing:
+cd /install/mcs/class/corlib
+
+export MONO_PATH="../../class/lib:.:$MONO_PATH"
+
+gdb mono --debug ../../nunit20/nunit-console/nunit-console.exe /nologo
+corlib_test.dll /fixture:MonoTests.System.Text.StringBuilderTest
+
+
+Paolo?