[Mono-list] Mono release 0.12 / RH7.3 / segmentation fault

Tom Fransen t.fransen@mailned.nl
Sun, 16 Jun 2002 13:58:43 +0100


Hi everybody,

I'm a newbie and I'm trying to install mono 0.12 (downloaded from base-labs)
on Red Hat 7.3. The installation seems to go fine (altough when I verify the
installation using RPM -V it indicates 5 files that have a problem something
with MD5 and a time stampe).

When I try to run the compiler or the run-time I get a segment fault.

On the mailing list there was a discussion on this for RH7.3beta (see
below). It seems the problem is still there! Does anybody had more luck in
running mono on RH7.3?

Tom

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