[comp.unix.xenix] XBBS question

palowoda@megatest.UUCP (Bob Palowoda) (04/10/89)

 I have been running a XBBS for
 a little while now and I am haveing a problem with getting a newer 
 version running that I hope someone can an insight to going on here. 
 Or has seen this before.

 First some config details:
 Machine: 286, 6meg mem, Xenix 2.2.1. TrailBlazier+ modem.
 bbsc1 is located in /v/bbs/bbsfiles/bbsc1
 areas.bbs is located /v/bbs/bbsfiles/areas.bbs 
 My ORGPATH is /v/bbs/bbsfiles/
 ------------------------------------------------------
 I'm running XBBS 7.2.3 and want to upgrade to 7.3.0. I have
 the sources and compiled it. I had to add the -LARGE switch
 to compile bbsc1.c (to get rid of OUT OF HEAP message) other
 than that the Make file is what is supplied.
 -----------------------------------------------------------
 Now for the problem. When I run the new bbsc1 and go to the
 (F)iles area it reports that there is a problem opening the
 files area. I did some printf's after it does a 
 strcpy(buf128,AREAS) and it looks as if it's a NULL. Nothing
 prints out. Everything else works fine except for the files
 area and when the bbs starts up striping the config file strings 
 and that dosn't report an error.
 It appears that the AREAS string got trashed, zeroed out somewhere
 but I don't have a clue where?
 As a standby I have the binary bbsc1 from 7.2.3 which I copy back 
 and it works with the same .config.bbs file the 7.3.0 is 
 bombing out on.
 Any ideas of what could be happening?

 ---Bob
 
-- 
 Bob Palowoda                               
 Work: {sun,decwrl,pyramid}!megatest!palowoda                           
 Home: {sun}ys2!fiver!palowoda                
 BBS:  (415)796-3686 2400/1200   Voice:(415)745-7749                  

sandy@conexch.UUCP (Sandford Zelkovitz) (04/13/89)

In article <3724@megatest.UUCP>, palowoda@megatest.UUCP (Bob Palowoda) writes:
> 
> 
>  ------------------------------------------------------
>  I'm running XBBS 7.2.3 and want to upgrade to 7.3.0. I have
>  the sources and compiled it. I had to add the -LARGE switch
>  to compile bbsc1.c (to get rid of OUT OF HEAP message) other
>  than that the Make file is what is supplied.
>  -----------------------------------------------------------
>  Now for the problem. When I run the new bbsc1 and go to the
>  (F)iles area it reports that there is a problem opening the
>  files area. I did some printf's after it does a 
>  strcpy(buf128,AREAS) and it looks as if it's a NULL. Nothing

Bob.... The problems is that Xenix286 is running out of heap space. This
problem actually started with version 7.2.5 and I haven't really had the
time to fix it for the 286 version. Under Xenix386, all is well. Until I
get the chance, you can easily modify the strcpy line to implicity load
into buf128 the actually "ORGPATH" for your system. This, I know, will
work until I move some of the dynamic buffers to a static region.
 
Sandy

P.S.    I have/had a message on my system about the 286 problem. Know you
        know why I went to a 386 machine under Xenix386!


Sanford <sandy> Zelkovitz     XBBS  ---- 714-898-8634