Problem with samedit, cmdat

George Cameron george at biomed.abdn.ac.uk
Tue Feb 22 19:10:12 GMT 2000


> Hi
> 
> I Have a problem with samedit, cmdat and all the other new programs.
> If I start them I get a Bus Error, a core is dumped and the program has
> length 0 at the end.
> I use the CVS from this morning on a sparc Solaris 2.7

Hi Andre,

There's a problem in codepage_initialise() which causes all the command-line
programs to crash exactly as you describe (I should say that I'm also using 
sparc Solaris 2.7). Perhaps an endianness problem on sparc? - I haven't had
time to investigate so far.

I've temporarily worked around it with the following in  lib/cmd_interp.c :

#if 0
	codepage_initialise(lp_client_code_page());
#endif

(line 1475 in my version, from yesterday). I've assumed (without checking)
that the omission won't cause me too much grief for the moment, and it has
at least allowed the programs to start.

George

> 
> Andre
> -- 
> Andre Stolze            stolze at math.uni-muenster.de
> IVV FB7 / FB 10         Westf. Wilhelms-Universitaet
> Fliednerstr. 21         support at psy.uni-muenster.de
> 48149 Muenster          Tel.: 0251/83-31357

 ---------------------------------------------------------------------
 George Cameron		   g.cameron at biomed.abdn.ac.uk
 Dept. BioMedical Physics
 Aberdeen University
 Foresterhill		   Fax:	      +44 (0)1224-685645
 Aberdeen AB25 2ZD	   Telephone: +44 (0)1224-553210
 Scotland, UK



More information about the samba-ntdom mailing list