[Mono-list] Problem running monodevelop on NetBSD
Miguel Mendez
flynn@energyhq.es.eu.org
Mon, 24 May 2004 15:48:21 +0200
Hi,
I'm porting (read: packaging) monodevelop and its associated
dependencies on NetBSD. Everything built fine, and my C#/Gtk# code seems
to work as expected, but monodevelop crashes on startup. Running
monodevelop on mint works, somehow. My pIII has been generated the code
completion databse for ~5hours. It didn't crash, but didn't seem to be
doing anything either.
Running mono under gdb stops with a SIGSEV fault. Here's the trace...
Starting program: /usr/pkg/bin/mono --debug ./MonoDevelop.exe
(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x48144f65 in GC_find_limit () from /usr/pkg/lib/libmono.so.0
(gdb) bt
#0 0x48144f65 in GC_find_limit () from /usr/pkg/lib/libmono.so.0
#1 0x48144d7c in GC_init_netbsd_elf () from /usr/pkg/lib/libmono.so.0
#2 0x481440ea in GC_init_inner () from /usr/pkg/lib/libmono.so.0
#3 0x48140a11 in GC_generic_malloc_inner () from /usr/pkg/lib/libmono.so.0
#4 0x48140b2d in GC_generic_malloc () from /usr/pkg/lib/libmono.so.0
#5 0x48140cd5 in GC_malloc () from /usr/pkg/lib/libmono.so.0
#6 0x481340c3 in mono_g_hash_table_new_full (
hash_func=0x481f44e8 <g_direct_hash>,
key_equal_func=0x481f44f0 <g_direct_equal>, key_destroy_func=0x8047f00,
value_destroy_func=0x8047f00) at mono-hash.c:152
#7 0x4813409c in mono_g_hash_table_new (hash_func=0x481f44e8 <g_direct_hash>,
key_equal_func=0x481f44f0 <g_direct_equal>) at mono-hash.c:122
#8 0x481327d0 in TlsSetValue (idx=0, value=0x804d220) at threads.c:837
#9 0x480a0f27 in setup_jit_tls_data (stack_start=0x0, abort_func=0x0)
at mini.c:6557
#10 0x480a3bb8 in mini_init (filename=0xbfbff552 "./MonoDevelop.exe")
at mini.c:8304
#11 0x480bce7b in mono_main (argc=3, argv=0xbfbff428) at driver.c:711
#12 0x08049003 in main ()
#13 0x08048d92 in ___start ()
(gdb)
Looks like there's something wierd going on with the JIT engine, any ideas/help?
Some relevant info:
$ uname -srmn
NetBSD scienide.energyhq.es.eu.org 2.0_BETA i386
$ mono -V
Mono JIT compiler version 0.91, (C) 2002-2004 Novell, Inc and Contributors. www.go-mono.com
TLS: normal
GC: Included Boehm (with typed GC)
SIGSEGV : normal
Globalization: ICU
Thanks in advance,
--
Miguel Mendez <flynn@energyhq.es.eu.org>
http://www.energyhq.es.eu.org
PGP Key: 0xDC8514F1