Re: Problem about removing the menuitem which calls the popup menu

Micah Dowty <[email protected]>
Newsgroups gmane.comp.video.picogui.devel
Message-ID <[email protected]>
Thanks for finding this and providing the detailed description.
I just committed a fix for this to CVS.

On Sat, Mar 08, 2003 at 09:24:38AM +0800, Edward Sung wrote:
> Hi Micah and all,
> 
> 
> 
> I got an error about implementing an action.  The action is: I 
> created three menuitems one by one and the popup menu(called by  
> pgNewPopupAt 
> <http://old.picogui.org/doc/doxygen/cli_c/html/group__pgobjects.html#a13> 
> ) will be showed as I clicked one of the menuitems.  One of the 
> choices of the popup menu was to remove the menuitem which had called 
> this popup menu.  The error was occurred (Segmentation fault in client 
> side) when I chose this remove action.  I traced where created this 
> error and I found that the error is occurred in DispatchEvent function.  
> The address of n->next in DispatchEvent became strange when I removed 
> the menuitem which called this popup menu.  Is it a bug? How to solve 
> it? I have modify it before but fail.
> 
> Thanks.
> 
> 
> 
> Best Regards,
> 
> 
> 
> Rex
> 

-- 
Only you can prevent creeping featurism!


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.