[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Installing version 2.1 on Solaris



Padraic Monaghan <pmon@cogsci.ed.ac.uk> writes:
> If I run 
> -> bp++
> there's no complaints, but nothing happens, and
> -> top
> shows that the bp++ process is sleeping.
> However, if I use the -nogui option:
> -> bp++ -nogui
> then it runs fine.

I suspect that this is due to a bug with the parallel threading code
on solaris -- the system I used to compile to code on got a specific
error about a rmutex problem (see below), but yours might be hanging
anyway w/out giving the error.  It looked like this error was a
solaris bug but then it appears now that maybe it is not.. Anyway, I
compiled a version without parallel threading enabled, and this is now
available on the grey ftp site, as the standard
pdp++_2.1_bin_SUN4.tar.gz file -- I moved the pthread ones to
SUN4pthread, etc.  Give this a try and let me know if it fixes the
problem.  If anyone has more info about how to get pthread working on
solaris, let me know..

				- Randy

Stuart Goldkind <sg@iac3.wustl.edu> writes:

> We cannot apply the patch below, since we are running only
> Solaris 2.6 and 2.7 (since the patch indicated is for 2.5, it is surely
> included in 2.6 and 2.6).  Not to say that the error is not Sun's! :)
> 
> I did check other patches mentioned in connection with mutex problems
> for 2.6, and we already had them...
> 
> Thanks for fixing this Randy.
> 
> 
> Stuart
> 
> 
> In-reply-to: <Pine.GSO.3.96.1010912141841.24156C-100000@iac3> (message from
> Joshua Brown on Wed, 12 Sep 2001 14:32:54 -0500 (CDT))
> Subject: Re: leabra++ hangs
> Reply-to: oreilly@psych.colorado.edu
> References:  <Pine.GSO.3.96.1010912141841.24156C-100000@iac3>
> 
> looks like this is a solaris bug:
> 
> from: http://www.sleepycat.com/docs/ref/build_unix/solaris.html
> 
>> * I get the error "libc internal error: _rmutex_unlock: rmutex not
>> * held", followed by a core dump when running threaded or JAVA
>> * programs.
>> 
>> This is a known bug in Solaris 2.5 and it is fixed by Sun patch 103187-25.
> 
> If you can get the patch then you should apply it.  Meanwhile, I
> recompiled the executables on your system without the pthread feature
> so it now works.. I thought I tested this but I guess not.. Let me
> know if you have the patch and then I can recompile for pthread.
> 
> - Randy