[Mono-list] baselabs binaries + Red Hat Skipjack 7.2.93, segfault

David Kvarnberg monolist@mellow.net
30 Apr 2002 10:26:57 +0200


On Mon, 2002-04-29 at 20:32, Christophe VG wrote:
> On Mon, 2002-04-29 at 13:44, David Kvarnberg wrote:
> > Hi, 
> > I've been trying to use the http://mono.baselabs.org binaries on a
> > couple of machines running the latest Red Hat beta (7.2.93, Skipjack).
> > I keep getting "Segmentation fault" immediately when running
> > /usr/bin/mono
> 
> hm, ... I don't have access to a RH7.3beta setup so I can validate your
> problem :( If you can trace it down a bit (some straces and ...) and
> deliver some crash info we might figure this one out :)
> 

The problem seems to be with libgc6. When building mono with
"--with-gc=none" it starts up without segfaulting (although it bails out
later, when trying to compile something).

Anyway here's the output from gdb:
---
Starting program: /usr/local/bin/mono 
[New Thread 1024 (LWP 21314)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 21314)]
0x400c2a47 in GC_register_dynamic_libraries () at dyn_load.c:488

488	        p = ((ElfW(Phdr) *)(((char *)(e)) + e->e_phoff));
---

I hope this can be of some help.

David