[nem-en] Nemish return a SIGSEGV

Valdo Ferrari ValdoFerrari at libero.it
Sat Dec 23 18:25:35 CET 2006


Hi all,
I've a problem with nemish under Mono;
the version are nemerle-0.9.3, mono-1.2.2.1 and slackware linux 11.0

This is the output:

$ nemish.exe
Stacktrace:

  at (wrapper managed-to-native) HacksFramework.tgetnum (string) <0x00004>
  at (wrapper managed-to-native) HacksFramework.tgetnum (string) <0xffffffff>
  at HacksFramework.Run () <0x00016>
  at Nemerle.Evaluation.Interpreter.MainClass.Main (string[]) <0x00075>
  at (wrapper runtime-invoke) System.Object.runtime_invoke_void_string[] (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

        /opt/mono/bin/mono [0x815b8ed]
        /opt/mono/bin/mono [0x81457b7]
        [0xb7f29440]
        /usr/lib/libtermcap.so(tgetnum+0x23) [0xb714ca02]
        [0xb74e7254]
        [0xb74e71c7]
        [0xb74e6bf6]
        [0xb74e2063]
        /opt/mono/bin/mono [0x8145660]
        /opt/mono/bin/mono(mono_runtime_invoke+0x27) [0x80d9cb7]
        /opt/mono/bin/mono(mono_runtime_exec_main+0x5c) [0x80dae6c]
        /opt/mono/bin/mono(mono_runtime_run_main+0x182) [0x80daa52]
        /opt/mono/bin/mono(strftime+0x1c46) [0x8058572]
        /opt/mono/bin/mono(mono_main+0x867) [0x8058f77]
        /opt/mono/bin/mono(__fxstat64+0x12f) [0x80578db]
        /lib/tls/libc.so.6(__libc_start_main+0xd4) [0xb7d1ee14]
        /opt/mono/bin/mono(sinh+0x45) [0x8057831]

Debug info from gdb:

(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1211066688 (LWP 5997)]
[New Thread -1219626064 (LWP 5999)]
[New Thread -1219544144 (LWP 5998)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
0xb7d95fe1 in fork () from /lib/tls/libc.so.6
  3 Thread -1219544144 (LWP 5998)  0xb7e6799c in __nanosleep_nocancel ()
   from /lib/tls/libpthread.so.0
  2 Thread -1219626064 (LWP 5999)  0xb7e64b11 in pthread_cond_wait@@GLIBC_2.3.2
    () from /lib/tls/libpthread.so.0
  1 Thread -1211066688 (LWP 5997)  0xb7d95fe1 in fork ()
   from /lib/tls/libc.so.6

Thread 3 (Thread -1219544144 (LWP 5998)):
#0  0xb7e6799c in __nanosleep_nocancel () from /lib/tls/libpthread.so.0
#1  0x081057e0 in mono_pthread_key_for_tls ()
#2  0xb7e6220e in start_thread () from /lib/tls/libpthread.so.0
#3  0xb7dd30de in clone () from /lib/tls/libc.so.6

Thread 2 (Thread -1219626064 (LWP 5999)):
#0  0xb7e64b11 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/libpthread.so.0
#1  0x0810aadf in mono_pthread_key_for_tls ()
#2  0x0810ad7b in mono_pthread_key_for_tls ()
#3  0x0810ac0e in mono_pthread_key_for_tls ()
#4  0x0810e23f in mono_pthread_key_for_tls ()
#5  0x080d663d in mono_gchandle_free ()
#6  0x08094612 in mono_signature_explicit_this ()
#7  0x080fbe97 in mono_environment_exitcode_set ()
#8  0x0811ab95 in GC_end_blocking ()
#9  0xb7e6220e in start_thread () from /lib/tls/libpthread.so.0
#10 0xb7dd30de in clone () from /lib/tls/libc.so.6

Thread 1 (Thread -1211066688 (LWP 5997)):
#0  0xb7d95fe1 in fork () from /lib/tls/libc.so.6
#1  0xb7e69144 in fork () from /lib/tls/libpthread.so.0
#2  0xb7ebd018 in g_spawn_error_quark () from /usr/lib/libglib-2.0.so.0
#3  0xb7ebda3f in g_spawn_sync () from /usr/lib/libglib-2.0.so.0
#4  0xb7ebdef7 in g_spawn_command_line_sync () from /usr/lib/libglib-2.0.so.0
#5  0x0815b996 in mono_debugger_run_finally ()
#6  0x081457b7 in mono_jit_thread_attach ()
#7  <signal handler called>
#8  0xb714c9ac in tgetent () from /usr/lib/libtermcap.so
#9  0xb714ca02 in tgetnum () from /usr/lib/libtermcap.so
#10 0xb74e7254 in ?? ()
#11 0x08306a08 in ?? ()
#12 0x00cecc48 in ?? ()
#13 0xb74e71c7 in ?? ()
#14 0x081ffa40 in ?? ()
#15 0x081ffa08 in ?? ()
#16 0xb74e7231 in ?? ()
#17 0x00000000 in ?? ()
#0  0xb7d95fe1 in fork () from /lib/tls/libc.so.6


=================================================================
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.
=================================================================

Abortito








More information about the devel-en mailing list