Found the problem. I didn't see it earlier because I was running at 320x240 instead of
640x480 I guess?
When the scroll area is larger than or equal to it's preferred size, the scrollbar
isn't necessary. This was causing a divide by zero when the scroll bar resolution was
set to zero. It might be neat to have the scrollbar disappear when the resolution is
zero.
I committed the fix to CVS.
On Wed, 08 August 2001, Olivier Bornet wrote:
>
> Hello Micah,
>
> On Tue, Aug 07, 2001 at 07:37:42PM -0700, Micah Dowty wrote:
> > I tried demo.c, but can't reproduce this bug. Make sure you have the
> > latest pgserver and client library. If it still doesn't work, let me
> > know exactly what CPU, theme, and resolution you are using.
>
> Here is what I do on my Linux RedHat 6.2 with kernel 2.4.4-ac5 :
>
> mkdir NEW
> cd NEW
> cvs -z3 -d :pserver:[EMAIL PROTECTED]:/cvsroot/pgui co pgserver
> cvs -z3 -d :pserver:[EMAIL PROTECTED]:/cvsroot/pgui co cli_c
> cd pgserver/
> ./autogen.sh
> mkdir build_x86
> cd build_x86/
> ../configure
> make
> cd ../../cli_c/
> ./autogen.sh
> cp ~/demo.c demos/
> mkdir build_x86
> cd build_x86/
> ../configure
> make
> ../../pgserver/build_x86/pgserver &
> ./demos/demo
>
> And the server crash with the following messages :
>
> Fatal signal: Floating Point Exception (SDL Parachute Deployed)
> *** PicoGUI ERROR (CLIENT) : Unexpected response type
> Broken pipe
> [1]+ Exit 248 ../../pgserver/build_x86/pgserver
>
> Here is the informations comming from the configure :
>
> --------------------------------------------------
> picogui-server, version 0.0
> --------------------------------------------------
>
> Profile read from: profile.user
>
> widgets: terminal.c canvas.c panel.c
> debug: videotest.c
> vidbase: linear1.c linear2.c linear4.c linear8.c linear16.c linear24.c
> linear32.c
> driver: sdlfb.c null.c nullfb.c fbdev.c scrshot.c
> wrappers: rotate90.c rotate180.c
> input: sdlinput.c
> formats: pnm.c
>
> target: Linux generic
>
> compiler: gcc -g
> linker : ld -lefence
> --------------------------------------------------
>
> Running an old server (my binary is dated of July 10) instead of the
> last one don't crash. Just a message saying the application use a newer
> protocol than the server.
>
> It's also crashing on ChipSlice, but I need to test to see if it's the
> same problem.
>
> Thanks in advance for the help.
>
> Olivier
> --
> Olivier Bornet SMARTDATA SA
> [EMAIL PROTECTED] Centre du Parc
> http://www.smartdata.ch av. des Pr�s-Beudin 20
> Phone +41-27-723'55'03 1920 Martigny
> Fax +41-27-723'55'19 Phone +41-27-723'55'18
>
> _______________________________________________
> Pgui-devel mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/pgui-devel
--
Only you can prevent creeping featurism!
_______________________________________________
Pgui-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/pgui-devel