Re: [buffer] enhanced buffer problems!

From: George (greerga@CIRCLEMUD.ORG)
Date: 08/30/98


On Sun, 30 Aug 1998, Dark Vision MUD wrote:

>I have recently patched George Greers wonderful enhanced buffer allocation
>system. But it seems it won't work under redhat linux tried both
>5.0/5.1/5.2 dosn't work on any of them, however on a slackware unix
>there's no problem. It compiles fine but when i try to boot it up it come
>with this error:

Redhat has the new GNU libc 6. I developed that under Slackware libc 5.

>Program received signal SIGSEGV, Segmentation fault.
>0x400492fd in _IO_vfprintf (s=0x0, format=0x812a8cf "%-15.15s :: ",
>ap=0xbffffc84)
>    at vfprintf.c:881
>vfprintf.c:881: No such file or directory.
>(gdb)

Hm, looks like it's trying to log before there is a valid 'logfile'.  Since
you're under RedHat, change the line 'FILE *logfile = NULL;' to 'FILE
*logfile = stderr;' and you should be ok.

--
George Greer, greerga@circlemud.org | Genius may have its limitations, but
http://mouse.van.ml.org/ (not done) | stupidity is not thus handicapped.
http://www.van.ml.org/CircleMUD/    |                  -- Elbert Hubbard


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST