Micah Dowty wrote:
> 
> 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.

Right. Sorry. I haven't push far enough my tests.
I correct this asap.
-philippe


> 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

Reply via email to