From: Carsten Bormann <cabo@tzi.org>
To: Adrian Robert <adrian.b.robert@gmail.com>
Cc: 5515@debbugs.gnu.org
Subject: bug#5515: 23.1.92; OSX: Emacs gets stuck while wanting to display a dialog box
Date: Sat, 10 Apr 2010 11:36:22 +0200 [thread overview]
Message-ID: <DD3A5964-29AD-4075-BE98-BB3D1D42D5E4@tzi.org> (raw)
In-Reply-To: <595242C7-4459-464C-837F-5084D2495715@gmail.com>
On Apr 10, 2010, at 08:26, Adrian Robert wrote:
>
> On Apr 3, 2010, at 6:18 PM, Adrian Robert wrote:
>
>>
>> On Apr 3, 2010, at 12:57 PM, Carsten Bormann wrote:
>>
>>> I have distilled the test case to the attached file.
>>> Sorry, I don't know how to reduce this further.
>>> At least it's fully reproduceable with various Emacs versions around 23.1/24.0.
>>> I only tried it on 10.6, though.
>>
>> <dot-emacs-reproduce-5515-1.el>
>
> Hello Carsten,
>
> Thank you for this test case. I tried the procedure outlined, but could not reproduce the issue on a somewhat older (23.1.90) version of emacs, running 64-bit on 10.6.2.
I just tried rebuilding Emacs 24.0. from scratch, from the git version 218181d7f636089824e9f876a5d662bf2e350229.
Using the parameters you told me:
setenv CFLAGS '-g'
./configure --with-ns
make -j3
make install
Running this on 10.6.3 (but I previously reproduced this on 10.6.2).
Now it takes three attempts (not two as previously) to open a Ruby file to reproduce the bug.
(This appears to point to some randomness influencing the occurrence of the bug.)
> I guess we have a regression here. However, I fixed a related dialog problem (bug#5811) with the attached patch. Would you be able to test it and see if it does anything for the issue in your case?
I then applied the patch, rebuilt (make -j3; make install), and retried.
(I cannot reproduce 5811 with the patched version, but I didn't try before patching; I *can* reproduce 5811 with an earlier 24.0.50 from http://emacsformacosx.com/builds -- the one built 2010-03-30; so this bug now seems to be fixed.)
Unfortunately, the patch makes no difference in the behavior wrt 5515.
BTW, if I evoke the print dialog once (CMD-P), click No, and then try the C-x C-f, I need only two attempts to trigger the bug. If I evoke the print dialog twice, click No, and then try the C-x C-f, I trigger the bug immediately. So it looks like the third dialog gets hit, but:
I can evoke the print dialog as much as I want without triggering the bug.
So, it looks like:
-- the bug only happens if dialogs have been active before (used to be once, now twice).
-- the bug only happens if the dialog is evoked in some rather specific circumstances (such as here: from an error handler in the creation of a process that is started from a timer handler).
Looks like this needs more work to properly isolate.
Gruesse, Carsten
next prev parent reply other threads:[~2010-04-10 9:36 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-03 7:36 bug#5515: 23.1.92; OSX: Emacs gets stuck while wanting to display a dialog box Carsten Bormann
2010-03-30 9:31 ` Adrian Robert
[not found] ` <5521A25A-8663-4D07-98D2-7655556495FC@tzi.org>
2010-04-03 15:18 ` Adrian Robert
2010-04-10 6:26 ` Adrian Robert
2010-04-10 9:36 ` Carsten Bormann [this message]
2010-04-11 10:29 ` Adrian Robert
2016-04-05 20:59 ` Alan Third
2010-04-12 15:09 ` Adrian Robert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DD3A5964-29AD-4075-BE98-BB3D1D42D5E4@tzi.org \
--to=cabo@tzi.org \
--cc=5515@debbugs.gnu.org \
--cc=adrian.b.robert@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.