[Mono-list] Mono SEGV on RedHat 7.3 system

Jared Smith jaredsmith@jaredsmith.net
28 May 2002 14:19:58 -0600


I have the same problem, so it's not something particular to your
setup... I gave a stack trace to Miguel on IRC a week or so ago, but we
never figured out the problem.  Hopefully someone reading the list has
the answer.

Jared Smith

On Tue, 2002-05-28 at 13:11, Chris J. Breisch wrote:
> System:
> Virgin RedHat 7.3 system
> 
> Scenario:
> Attempting the "5 step tour to building the Mono project" from
> mono.baselabs.org
> 
> Installed all requested RPM's.
> 
> Glib2 included with RedHat 7.3 newer than one listed
> Glib2-devel, ditto.
> Pkgconfig - same version included.
> 
> Libgc6 and libgc6-devel installed correctly.
> 
> Step 2:
> Build mono.  Result:
> [cbreisch@geryon mono] # ./mono/jit/mono
> Segmentation fault
> [cbreisch@geryon mono] # ./mono/interpreter/mint
> Segmentation fault
> [cbreisch@geryon mono] # ./mono/dis/monodies
> Segmentation fault
> [cbreisch@geryon mono] # gdb ./mono/jit/mono
> GNU gdb Red Hat Linux (5.1.90CVS-5)
> Copyright 2002 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you
> are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB. Type "show warranty" for
> details.
> This GDB was configured as "i386-redhat-linux".
> (gdb) run
> Starting program: /home/cbreisch/Stuff/mono/mono/mono/jit/mono
> [New Thread 1024 (LWP 11277)]
> 
> Program received signal SIGSEGV, Segmentation fault.
> (Switching to Thread 1024 (LWP 11277)]
> 0x400c2a47 in GC_register_dynamic_libraries () at dyn_load.c:488
> 488	dyn_load.c: No such file or directory.
> 	in dyn_load.c
> 
> 
> Help?
> 
> It appears to me that there is still some dependency that it can't find,
> based on the output from GDB.  Have tried various things with
> LD_LIBRARY_PATH.  No luck.  The page mentions an error from mcs if
> libmonowrapper.so isn't in the LD_LIBRARY_PATH, but it doesn't appear
> that I'm even building a libmonowrapper.so.
> 
> Chris J. Breisch, MCSD, MCDBA
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list