The Emacs bug is in the menu-bar code. The Lisp callback gets called
for a menu so it can toggle the menu enabled bit, or something like
that. The new EDE module I had put in called a file-system function
that requested user input. Through A long-convoluted path I had not
anticipated, the file-system call asked EDE a question that made it
want to make this directory. As I had a .ede directory, this was
never a problem for me. When an error is thrown from lisp through the
menu code, it can cause Emacs to crash. In my implementation, it had
something to do with long jumping across X11 system calls which X
usually isn't expecting.
So you are right, it would be nice to make that code more robust,
though as it turns out, there are what, 5 implementations? Perhaps
more?
Requesting user-input from menu-setup code is just a bad idea anyway.
I was pretty sure something similar had been reported in the past. I
guess it wasn't fixed.
Eric
>>> <klaus.berndl@...> seems to think that:
>IMO Emacs should *never* crash cause of emacs-lisp-code - this is
>*always* a Emacs-bug!!
>
>Klaus
>
>Eric M. Ludlam wrote:
>>>>> cezar@... seems to think that:
>>>
>>> Hello,
>>>
>>> Just tryed speedbar today from cedet pre4, with GNU Emacs 23.0.0.1
>>> (i686-pc-linux-gnu, GTK+ Version 2.10.12) of 2007-06-12. Whenever I
>>> right click the speedbar window, it asks to create a directory; by
>>> clicking No, emacs crashes with a segafult.
>> [ ... ]
>>
>> I believe this is fixed in the CVS version of CEDET. I should
>> probably put together a pre5 so this stops surprising people.
>>
>> Eric
>
>-------------------------------------------------------------------------
>This SF.net email is sponsored by: Splunk Inc.
>Still grepping through log files to find problems? Stop.
>Now Search log events and configuration files using AJAX and a browser.
>Download your FREE copy of Splunk now >> http://get.splunk.com/
>_______________________________________________
>Cedet-devel mailing list
>Cedet-devel@...
>https://lists.sourceforge.net/lists/listinfo/cedet-devel
>
--
Eric Ludlam: zappo@..., eric@...
Home: http://www.ludlam.net Siege: http://www.siege-engine.com
Emacs: http://cedet.sourceforge.net GNU: http://www.gnu.org
|