With your test files I have been able to reproduce this error very easily. Thank you!
I will debug it as soon as possible.
On Tue, 14 August 2001, Olivier Bornet wrote:
>
> Hello,
>
> it seem using an application as a PG_APP_TOOLBAR, which load a theme
> with only some specifications for button, and another application as a
> PG_APP_NORMAL, with a "kind of scrolled list" of PG_WIDGET_FLATBUTTON
> crash the pgserver (at least on Linux/x86/SDL, don't have try other for
> the moment).
>
> You can test this with the attached files :
>
> 1. compile the two files test_sb.c and test2_sb.c
> 2. compile the theme temp.th
> 3. start your server
> 4. start test_sb and test2_sb
> 5. move your mouse on the toolbar (bottom of the window)
>
> It's crash with :
> X Error of failed request: BadValue (integer parameter out of range for
>operation)
> Major opcode of failed request: 146 (MIT-SHM)
> Minor opcode of failed request: 3 (X_ShmPutImage)
> Value in failed request: 0xffe7
> Serial number of failed request: 94
>
> If I change one of the following thing the server don't crash anymore :
> - don't load the theme
> - remove the object button from the theme and put something else (for
> example a default font)
> - don't have two calls to pgRegisterApp() (one application whos create
> the toolbar and the list of flatbuttons.
> - remove the scroll
> - have a pgserver window big enough to have nothing to scroll
>
> Can I make something to have no more crash ?
>
> Thanks in advance.
>
> 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
--
Only you can prevent creeping featurism!
_______________________________________________
Pgui-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/pgui-devel