Re: Segmentation violation in display_string

2005-06-01 Thread Milan Zamazal
> "KFS" == Kim F Storm <[EMAIL PROTECTED]> writes: KFS> The problem turned out to be nested calls to format-mode-line, KFS> which caused internal data pointers to be altered in unexpected KFS> ways. KFS> I have just installed a patch to fix this. Pls. try it. It works well no

Re: Segmentation violation in display_string

2005-05-31 Thread Kim F. Storm
Milan Zamazal <[EMAIL PROTECTED]> writes: > I'm able to reproduce the bug now on my Debian GNU/Linux i386 system. Your instructions were very helpful. Thanks. The problem turned out to be nested calls to format-mode-line, which caused internal data pointers to be altered in unexpected ways. I

Re: Segmentation violation in display_string

2005-05-30 Thread Kim F. Storm
Milan Zamazal <[EMAIL PROTECTED]> writes: > Yes, this is a bug, thanks for pointing it out. There's another call to (format-mode-line t) which doesn't work anymore either... > > Nevertheless, this bug has nothing to do with the crash, because the > speechd-speak-read-mode-line function is not ca

Re: Segmentation violation in display_string

2005-05-30 Thread Milan Zamazal
> "KFS" == Kim F Storm <[EMAIL PROTECTED]> writes: KFS> Which version of CVS emacs do you use? 2005-05-08. The bug was also reproducible with 2005-05-23. KFS> (defun speechd-speak-read-mode-line () KFS> "Read mode line. KFS> This function works only in Emacs 21.4 or higher

Re: Segmentation violation in display_string

2005-05-30 Thread Kim F. Storm
Milan Zamazal <[EMAIL PROTECTED]> writes: > I'm able to reproduce the bug now on my Debian GNU/Linux i386 system. Which version of CVS emacs do you use? The following function doesn't work with the latest CVS emacs. (defun speechd-speak-read-mode-line () "Read mode line. This function works

Re: Segmentation violation in display_string

2005-05-30 Thread Milan Zamazal
I'm able to reproduce the bug now on my Debian GNU/Linux i386 system. Here is how I can do it: - Install the w3m-el and w3m Debian packages from the `testing' (sarge) distribution. - Install the following w3m configuration file ~/.w3m/config : config Description: Binary data - Install the e

Re: Segmentation violation in display_string

2005-05-24 Thread Milan Zamazal
> "KFS" == Kim F Storm <[EMAIL PROTECTED]> writes: KFS> No, I actually meant what I wrote :-) OK :-), I'm sorry. When I apply the unchanged patch, Emacs crashes at the same place and with the same backtrace as without the patch. Regards, Milan Zamazal -- Here is my advice, don't try

Re: Segmentation violation in display_string

2005-05-24 Thread Kim F. Storm
Milan Zamazal <[EMAIL PROTECTED]> writes: Thanks for the info. Milan Zamazal <[EMAIL PROTECTED]> writes: > KFS> Can you rerun emacs with the following patch installed, to see if it > catches > KFS> the error earlier. > I think you actually meant > > if (frame_title_ptr == NULL) > >

Re: Segmentation violation in display_string

2005-05-24 Thread Milan Zamazal
> "KFS" == Kim F Storm <[EMAIL PROTECTED]> writes: KFS> Milan Zamazal <[EMAIL PROTECTED]> writes: >> CVS Emacs dated 2005-05-23 often crashes with segmentation violation. KFS> Can you provide some additional info: KFS> p frame_title_ptr $1 = 0x0 KFS> p frame_title_buf

Re: Segmentation violation in display_string

2005-05-23 Thread Kim F. Storm
Milan Zamazal <[EMAIL PROTECTED]> writes: > CVS Emacs dated 2005-05-23 often crashes with segmentation violation. Can you provide some additional info: p frame_title_ptr p frame_title_buf p frame_title_buf_end pp mode_line_string_list I suspect that frame_title_ptr somehow got cleared, but I d

Re: Segmentation violation in display_string

2005-05-23 Thread Kim F. Storm
Milan Zamazal <[EMAIL PROTECTED]> writes: > CVS Emacs dated 2005-05-23 often crashes with segmentation violation. > I'm sorry, I don't know a way how to reproduce the bug and it happens on > a computer of another user. But I have remote access to gdb on that > computer, so I can provide informati

Segmentation violation in display_string

2005-05-23 Thread Milan Zamazal
CVS Emacs dated 2005-05-23 often crashes with segmentation violation. I'm sorry, I don't know a way how to reproduce the bug and it happens on a computer of another user. But I have remote access to gdb on that computer, so I can provide information about Emacs state after the crash. The backtrac