Done.
At this time, I cannot explain exactly why, but passing an empty string break
pgserver running in Copilot environment.
It's now #ifdef'ed
I apologize for the time you maybe lost, guys.
-philippe
> Actually, Philippe, that change to pgmain might be the cause of this problem. I just
>tried running the latest CVS code with no config file, and it segfaulted. The gdb
>backtrace reveals that apparently sscanf() didn't like being passed a NULL string on
>line 400 of pgmain.c
>
> The way the line originally was, an empty string was passed to sscanf if the video
>mode was not found in the config file. sscanf should simply return without changing
>anything. The current version passes a NULL to sscanf, which I think is illegal. I'm
>not sure why this fixes the uclinux version, but if it really does fix uclinux and
>break other OSes it needs to be #ifdef'ed to pass NULL only when in uClinux.
>
> Frederic changed some of the build system macros for SDL, but nothing in the code
>has changed that should break SDL. SDL works fine for me. Make sure you are really
>loading the SDL driver with a '-v sdlfb' on the command line.
>
> On Tue, 17 July 2001, Philippe Ney wrote:
>
> >
> > > It seems like pgserver will crash if you try and start it without a
> > > /etc/pgserver.conf file. Not a big problem, as long as you realize why it's
> > > happening =) You might want to install a basic config file in "make
> > > install"
> >
> > On pc?
> > Strange... I don't saw anything like that, but I had something similar when
> > running on XCopilot
> >
> > -----8<------------------
> > Bus error: wrote a byte to ROM address 0x10c87e39
> > Bus error: attempted translation of odd address 0x20040001
> > FATAL: weird setpc(20040001) at 10ca8682!
> > -----8<------------------
> >
> > I correct a parameter in pgserver/pgmain.c and this solve it
> > Have you grab the last cvs (less than 4 days)?
> >
> > -philippe
> >
> > > Also, I can't seem to run PicoGUI with SDL anymore. Did something important
> > > change in the past couple of weeks that would prevent the driver from
> > > loading?
> > >
> > > -Sean
> > >
> > > PicoVR3
> > > http://picovr3.sourceforge.net
> >
> > _______________________________________________
> > Pgui-devel mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/pgui-devel
>
> --
> To the systems programmer, users and applications serve only to provide a
> test load.
>
> _______________________________________________
> Pgui-devel mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/pgui-devel
--
Philippe Ney
SMARTDATA (http://www.smartdata.ch)
PSE-A / EPFL
1015 Lausanne - SWITZERLAND
_______________________________________________
Pgui-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/pgui-devel