Hi Joanna,

The best way to find the source of your problem is to use the debugger.
If you haven't already, you should get 'ddd'
http://www.gnu.org/software/ddd/ which is an excellent GUI front-end to
gdb and the java, perl and other debuggers.

Set a breakpoint in 'main' first (so that the shared objects are
loaded), run the program with the -sync option (so that the X server
runs synchronously and calls its functions immediately rather than
placing them in the event queue) and then set a breakpoint in
_XmWarning. When the debugger hits the breakpoint you will be able to
traverse 'up' the call stack to find which function caused the warning
to be issued. Check the values passed to each function in the call stack
looking for variables which are outside the legal bounds. 
Check the documentation for any Xbae function which is being called and
make sure that your code is passing correct values.
If you still have a problem then post another message with some
(minimal) sample code and I'm sure the experts will be able to help.

Have Fun,

jostle

Joanna Lee wrote:
> 
> Hi,
> 
> Does anybody know why I keep getting the following warning?  Is it a bug in
> XbaeMatrix?
> 
> Warning:
>     Name: vertScroll
>     Class: XmScrollBar
>     Specified slider size is greater than the scrollbar maximum
>     value minus the scrollbar minimum value.
> 
> Joanna

Reply via email to