[Mono-bugs] [Bug 419878] New: mono --trace bails out

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Aug 24 06:46:00 EDT 2008


           Summary: mono --trace bails out
           Product: Mono: Runtime
           Version: SVN
          Platform: x86
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: debug
        AssignedTo: martin at novell.com
        ReportedBy: offer at zingo.org
         QAContact: mono-bugs at lists.ximian.com
          Found By: Community User

I can run the application normally in mono (with some glitches) as I try to fix
the glitches I tried the --trace flag when running with it I get the error
the application in question can be found here

(need to be installed on windows and copied over to linux as the installer)

I have tried both with 2.0Pre2 and SVN (with a fix for bug 419001 applied)
the output below is from SVN.
zingo at dual:~/bin/sporttrack$ mono --trace SportTracks.exe >trace1.txt

  at System.Collections.Generic.Dictionary`2<stringint>.Init
(int,System.Collections.Generic.IEqualityComparer`1<string>) <0xffffffff>
  at System.Collections.Generic.Dictionary`2<stringint>.Init
(int,System.Collections.Generic.IEqualityComparer`1<string>) <0x00044>
  at System.Collections.Generic.Dictionary`2<stringint>..ctor (int) <0x0001d>
  at Mono.Globalization.Unicode.MSCompatUnicodeTable.FillCJKCore
  at Mono.Globalization.Unicode.MSCompatUnicodeTable.FillCJK
  at Mono.Globalization.Unicode.SimpleCollator.SetCJKTable
  at Mono.Globalization.Unicode.SimpleCollator..ctor
(System.Globalization.CultureInfo) <0x0007d>
  at Mono.Globalization.Unicode.SimpleCollator..cctor () <0x00055>
  at (wrapper runtime-invoke) object.runtime_invoke_void
(object,intptr,intptr,intptr) <0xffffffff>
  at System.Globalization.CompareInfo..ctor (System.Globalization.CultureInfo)
  at System.Globalization.CompareInfo..ctor (System.Globalization.CultureInfo)
  at System.Globalization.CultureInfo.get_CompareInfo () <0x0005e>
  at string.IndexOf (string) <0x00047>
  at Microsoft.Win32.KeyHandler.get_MachineStore () <0x00040>
  at Microsoft.Win32.KeyHandler.Lookup (Microsoft.Win32.RegistryKey,bool)
  at Microsoft.Win32.UnixRegistryApi.OpenSubKey
(Microsoft.Win32.RegistryKey,string,bool) <0x0001f>
  at Microsoft.Win32.RegistryKey.OpenSubKey (string,bool) <0x0004b>
  at Microsoft.Win32.RegistryKey.OpenSubKey (string) <0x0001d>
  at (wrapper remoting-invoke-with-check)
Microsoft.Win32.RegistryKey.OpenSubKey (string) <0xffffffff>
  at ZoneFiveSoftware.SportTracks.Util.RegistryHelper.get_InstallFolder ()
  at ZoneFiveSoftware.SportTracks.Application.Main () <0x00035>
  at (wrapper runtime-invoke) object.runtime_invoke_void
(object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

        mono [0x806fd24]
        mono [0x808a671]
        mono [0x8116895]
        mono(mono_runtime_class_init+0x19) [0x8116f19]
        mono [0x81b23e3]
        mono [0x8071d90]
        mono [0x8116895]
        mono(mono_method_to_ir2+0x1408d) [0x81d608d]
        mono [0x81b013e]
        mono [0x81b2101]
        mono [0x8071d90]
        mono(mono_runtime_exec_main+0xeb) [0x8117bbb]
        mono(mono_runtime_run_main+0x173) [0x81190f3]
        mono(mono_main+0x13cb) [0x805c88b]
        mono [0x805af22]
        /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb7ca7450]
        mono [0x805ae91]

Debug info from gdb:

Cannot access memory at address 0x0
[Thread debugging using libthread_db enabled]
[New Thread 0xb7c4f960 (LWP 12726)]
[New Thread 0xb7299b90 (LWP 12728)]
[New Thread 0xb7ee4b90 (LWP 12727)]
0xb7ef8410 in __kernel_vsyscall ()
  3 Thread 0xb7ee4b90 (LWP 12727)  0xb7ef8410 in __kernel_vsyscall ()
  2 Thread 0xb7299b90 (LWP 12728)  0xb7ef8410 in __kernel_vsyscall ()
  1 Thread 0xb7c4f960 (LWP 12726)  0xb7ef8410 in __kernel_vsyscall ()

Thread 3 (Thread 0xb7ee4b90 (LWP 12727)):
#0  0xb7ef8410 in __kernel_vsyscall ()
#1  0xb7e12196 in nanosleep () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0814b1a1 in collection_thread (unused=0x0) at collection.c:34
#3  0xb7e0a4fb in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#4  0xb7d67e5e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xb7299b90 (LWP 12728)):
#0  0xb7ef8410 in __kernel_vsyscall ()
#1  0xb7e0eaa5 in pthread_cond_wait@@GLIBC_2.3.2 () from
#2  0x0815756f in timedwait_signal_poll_cond (cond=0x83234d4, mutex=0x83234bc,
timeout=0x80, alertable=0) at handles.c:1490
#3  0x0815a2ae in _wapi_handle_timedwait_signal_handle (handle=0x404,
timeout=0x0, alertable=0) at handles.c:1570
#4  0x0815a32c in _wapi_handle_wait_signal_handle (handle=0x404, alertable=0)
at handles.c:1530
#5  0x0815b04a in WaitForSingleObjectEx (handle=0x404, timeout=4294967295,
alertable=0) at wait.c:205
#6  0x0821bc6a in finalizer_thread (unused=0x0) at gc.c:905
#7  0x080dde40 in start_wrapper (data=0x8320c50) at threads.c:621
#8  0x08151cd2 in thread_start_routine (args=0x8323714) at threads.c:279
#9  0x0816e103 in GC_start_routine (arg=0x35f20) at pthread_support.c:1382
#10 0xb7e0a4fb in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#11 0xb7d67e5e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7c4f960 (LWP 12726)):
#0  0xb7ef8410 in __kernel_vsyscall ()
#1  0xb7e1199b in read () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0806fe32 in mono_handle_native_sigsegv (signal=11, ctx=0xb7b1ed0c) at
#3  0x0808a671 in mono_arch_handle_altstack_exception (sigctx=0xb7b1ed0c,
fault_addr=0x20, stack_ovf=0) at exceptions-x86.c:854
#4  <signal handler called>
#5  0xb7b1faf4 in ?? ()
#6  0xb769630b in ?? ()
#7  0xb768f2bd in ?? ()
#8  0x08116895 in mono_runtime_class_init_full (vtable=0x83a95b0,
raise_exception=1) at object.c:336
#9  0x08116f19 in mono_runtime_class_init (vtable=0x83a95b0) at object.c:226
#10 0x081b23e3 in mono_jit_compile_method (method=0x83a3258) at mini.c:13302
#11 0x08071d90 in mono_magic_trampoline (regs=0xbfd4c714, code=0xb76961f4
"\211E�\213M�\213E�\211H(�\n", m=0x83a3258, tramp=0x0) at
#12 0xb7b1f066 in ?? ()
#13 0xb769618e in ?? ()
#14 0xb7695dce in ?? ()
#15 0xb7695d0b in ?? ()
#16 0xb7695c0e in ?? ()
#17 0xb769592e in ?? ()
#18 0xb769584e in ?? ()
#19 0xb768f2bd in ?? ()
#20 0x08116895 in mono_runtime_class_init_full (vtable=0x83a914c,
raise_exception=0) at object.c:336
#21 0x081d608d in mono_method_to_ir2 (cfg=0x837a500, method=0x83a82b4,
start_bblock=0x836e4e4, end_bblock=0x836e57c, return_var=0x0,
dont_inline=0x839cdb0, inline_args=0x0, inline_offset=0, 
    is_virtual_call=0) at method-to-ir.c:7773
#22 0x081b013e in mini_method_compile (method=0x83a82b4, opts=30501375,
domain=0x34ea0, run_cctors=<value optimized out>, compile_aot=<value optimized
out>, parts=0) at mini.c:12469
#23 0x081b2101 in mono_jit_compile_method (method=0x83a82b4) at mini.c:13156
#24 0x08071d90 in mono_magic_trampoline (regs=0xbfd4cea0, code=0xb76956d3
"\203�\b\213E�\211F\034\213\005Ա\003", m=0x83a82b4, tramp=0x0) at
#25 0xb7b1f066 in ?? ()
#26 0xb7694d3f in ?? ()
#27 0xb7694c98 in ?? ()
#28 0xb7694871 in ?? ()
#29 0xb76942db in ?? ()
#30 0xb76919a0 in ?? ()
#31 0xb769187c in ?? ()
#32 0xb769180e in ?? ()
#33 0xb76917ad in ?? ()
#34 0xb76915cf in ?? ()
#35 0xb76902ae in ?? ()
#36 0xb768f2bd in ?? ()
#37 0x08117bbb in mono_runtime_exec_main (method=0x39e80, args=0x3be70,
exc=0x0) at object.c:3062
#38 0x081190f3 in mono_runtime_run_main (method=0x830723c, argc=1,
argv=0xbfd4d35c, exc=0x0) at object.c:2848
#39 0x0805c88b in mono_main (argc=3, argv=0xbfd4d354) at driver.c:957
#40 0x0805af22 in main (argc=) at main.c:30
#0  0xb7ef8410 in __kernel_vsyscall ()

Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.

zingo at dual:~/bin/sporttrack$

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list