[Mono-list] Mono SEGV on RedHat 7.3 system

Christophe VG mono@baselabs.org
30 May 2002 12:51:28 +0200


On Thu, 2002-05-30 at 01:55, Miguel de Icaza wrote:
> > If anyone already knows what is causing the problem, please let us know;
> > this will speed up the solution :)
> Libgc needs to be recompiled for Red Hat 7.3.  That is what a couple of
> people have reported on #mono.
> Miguel

this is how the spec file defines the compilation ...

./configure --prefix=/usr --enable-threads=pthreads
make LIBS=-ldl

Compiling libgc this way results in a segfault. I've tried all
combinations for the three parameters (prefix, threads and -ldl) and
found out that leaving out the threads parameter results in a working
solution (that is ... mono runs if you don't add anything else, probably
due to the missing thread support it segfaults somewhere internally)

Now I'm a bit stuck here ... I presume the library should be
thread-enabled ... one of the main reasons why I had to rebuild the
package a few weeks ago to enable thread support.

Any feedback from someone a bit more knowledgable in this area.
I'll look into the problem again tonight (I'm way beyond my normal
lunchbreak already right now:) )

Christophe

-- 
Supporting the Mono project, and helping you...

  http://mono.baselabs.org              http://mono.baselabs.org/CSAM
             ***                                     ***
"First steps" building guides,        CSAM the C Sharp Archived Modules
daily Mono RPMS, C# tutorial,...