nanogui: Thread: application crashes


[<<] [<] Page 1 of 1 [>] [>>]
Subject: application crashes
From: vikas kedia ####@####.####
Date: 27 Aug 2002 08:12:28 -0000
Message-Id: <3D6A8720.8090100@nexgenix.com>

hi

My application crashes and gives this error:

nano-X: GsError (GrResizeWindow) Illegal on root window: 1
nxclient 2392: Error (GrResizeWindow) Illegal on root window: 1

can someone explain whats wrong .. i am using tinywidgets ... basically 
my application has 2 windows say win1 and win2
when you click next button on win1 win1 is destroyed and win2 is 
displayed .. similarly when you click back button on win2, it is 
destroyed and win1 is displayed .. if i do this too often than my 
application crashes with above mentioned error.


bye
vikas



Subject: Re: [nanogui] application crashes
From: Alex Holden ####@####.####
Date: 27 Aug 2002 09:07:52 -0000
Message-Id: <3D6B4153.80305@linuxhacker.org>

vikas kedia wrote:
> My application crashes and gives this error:
> nano-X: GsError (GrResizeWindow) Illegal on root window: 1
> nxclient 2392: Error (GrResizeWindow) Illegal on root window: 1
 > can someone explain whats wrong .. i am using tinywidgets ...

You're trying to resize the root window, which isn't possible. It sounds 
like a TinyWidgets bug. I would start by grepping through for any 
GrResizeWindow() calls in the library, and when you find them, thinking 
about what could go wrong to cause it to try to resize the root window.

-- 
------------ Alex Holden - http://www.linuxhacker.org ------------
If it doesn't work, you're not hitting it with a big enough hammer

Subject: Re: [nanogui] application crashes
From: vikas kedia ####@####.####
Date: 27 Aug 2002 09:14:27 -0000
Message-Id: <3D6A95A5.6020709@nexgenix.com>

But if that were the case than application should have crashed everytime 
i repeat this procedure .. but as i mentioned earlier it crashes only 
when go back and forth 4-5 times ...

Alex Holden wrote:

> vikas kedia wrote:
>
>> My application crashes and gives this error:
>> nano-X: GsError (GrResizeWindow) Illegal on root window: 1
>> nxclient 2392: Error (GrResizeWindow) Illegal on root window: 1
>
> > can someone explain whats wrong .. i am using tinywidgets ...
>
> You're trying to resize the root window, which isn't possible. It 
> sounds like a TinyWidgets bug. I would start by grepping through for 
> any GrResizeWindow() calls in the library, and when you find them, 
> thinking about what could go wrong to cause it to try to resize the 
> root window.
>



[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.