emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Segfault and font corruption in menu under Windows


From: Jason Rumney
Subject: Re: Segfault and font corruption in menu under Windows
Date: Wed, 11 Oct 2006 22:30:24 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.0.4) Gecko/20060516 Thunderbird/1.5.0.4 Mnenhy/0.7.4.666

Ralf Angeli wrote:
Perhaps somebody can tell me what the problem was which the check-in
from 2002-02-22 was supposed to solve in order for me being able to
check if this is still an issue.  I could not find anything related to
it in the list archives of emacs-devel or emacs-pretest-bug (the
archives of which only start in December 2002).
There was a resource leak when popup menus were cancelled (by pressing ESC) without selecting any option. To fix this, I initially tried freeing the resources when the WM_EXITMENULOOP message was received, but this was too early for the case where a menu action was selected, since the Lisp code was still dealing with the selection at that point.

It might be possible to fix this with careful use of synchronization between the Lisp thread and the message loop, but there is already some synchronous message passing in the menu code I think, so deadlocks may be difficult to avoid.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]