* emacs freezes
@ 2004-08-24 13:19 Jose A. Ortega Ruiz
2004-08-24 15:12 ` Stefan Monnier
0 siblings, 1 reply; 7+ messages in thread
From: Jose A. Ortega Ruiz @ 2004-08-24 13:19 UTC (permalink / raw
Hi. Since some time ago, my emacs freezes intermitently. That is, it
ceases to react to any keystroke and all frames become blank. There is
no CPU activity (top lists the emacs process as stopped). The only way
out is kill. If i attach strace to the process instance i got the
following trace continously:
Process 4067 attached - interrupt to quit
futex(0x407d9860, FUTEX_WAIT, 2, NULL) = -1 EINTR (Interrupted system call)
--- SIGIO (I/O possible) @ 0 (0) ---
sigreturn() = ? (mask now [SEGV])
so it seems some kind of problem with the 'futex' syscall. I'm using
linux 2.6.8 (with the futex kernel config flag enabled) on a debian
sid. window manager is usually ion (but, iirc, it also happens with
pekwm and sawfish), and the freeze (almost?) always happen when
switching between emacs frames. i usually have separate emacs frames
with eshell, gnus and w3m, in case that matters.
i've tried both emacs 21.3.1 (the stock debian package) and the latest
cvs (21.3.50). same problem in both, but when using cvs + gtk2.0 the
frequency of the freeze increases dramatically from approx. once a day
(with 21.3.1 and xawd emacs cvs) to once every few minutes (with gtk).
any help would be greatly appreciated, since i spent 90% of my
computer time inside emacs :)
thanks,
jao
--
We shall do a much better programming job, provided we approach the
task with a full appreciation of its tremendous difficulty, provided
that we respect the intrinsic limitations of the human mind and
approach the task as very humble programmers. (Alan Turing)
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: emacs freezes
2004-08-24 13:19 emacs freezes Jose A. Ortega Ruiz
@ 2004-08-24 15:12 ` Stefan Monnier
2004-08-24 17:21 ` Jose A. Ortega Ruiz
0 siblings, 1 reply; 7+ messages in thread
From: Stefan Monnier @ 2004-08-24 15:12 UTC (permalink / raw
> Process 4067 attached - interrupt to quit
> futex(0x407d9860, FUTEX_WAIT, 2, NULL) = -1 EINTR (Interrupted system call)
> --- SIGIO (I/O possible) @ 0 (0) ---
> sigreturn() = ? (mask now [SEGV])
> so it seems some kind of problem with the 'futex' syscall. I'm using
> linux 2.6.8 (with the futex kernel config flag enabled) on a debian
Could you explain what is "futex" ?
> i've tried both emacs 21.3.1 (the stock debian package) and the latest
> cvs (21.3.50). same problem in both, but when using cvs + gtk2.0 the
> frequency of the freeze increases dramatically from approx. once a day
> (with 21.3.1 and xawd emacs cvs) to once every few minutes (with gtk).
Better focus on the 21.3.50 version (the only one that might get fixed
since the other is already released). Send a detailed bug report to
emacs-pretest-bug@gnu.org (ideally via M-x report-emacs-bug).
Stefan
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: emacs freezes
2004-08-24 15:12 ` Stefan Monnier
@ 2004-08-24 17:21 ` Jose A. Ortega Ruiz
0 siblings, 0 replies; 7+ messages in thread
From: Jose A. Ortega Ruiz @ 2004-08-24 17:21 UTC (permalink / raw
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> Process 4067 attached - interrupt to quit
>> futex(0x407d9860, FUTEX_WAIT, 2, NULL) = -1 EINTR (Interrupted system call)
>> --- SIGIO (I/O possible) @ 0 (0) ---
>> sigreturn() = ? (mask now [SEGV])
>
>> so it seems some kind of problem with the 'futex' syscall. I'm using
>> linux 2.6.8 (with the futex kernel config flag enabled) on a debian
>
> Could you explain what is "futex" ?
>
i'm not an expert, but they're a new (as of 2.6 kernels) low level
syncronisation primitive that work in user space and is used to
construct higher level abstractions such as mutexes or semaphores. i
guess they're used internally in calls like select. from the man page,
an EINTR during the system call above is provoked by "signals or other
spurious wakeups"... not that i can make much sense of it :(
>
> Better focus on the 21.3.50 version (the only one that might get fixed
> since the other is already released). Send a detailed bug report to
> emacs-pretest-bug@gnu.org (ideally via M-x report-emacs-bug).
>
that's the version i'm use regularly. bug report sent. thank you.
jao
--
"Beware of bugs in the above code; I have only proved it correct,
not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)
^ permalink raw reply [flat|nested] 7+ messages in thread
* Emacs freezes
@ 2014-03-21 15:29 Christopher Witte
2014-03-21 17:58 ` Harald Hanche-Olsen
2014-03-22 8:19 ` Nicolas Goaziou
0 siblings, 2 replies; 7+ messages in thread
From: Christopher Witte @ 2014-03-21 15:29 UTC (permalink / raw
To: Org Mode
[-- Attachment #1.1: Type: text/plain, Size: 546 bytes --]
Hi all,
I'm getting a weird problem with orgmode and flyspell mode. Using the
latest version of org from git, open the attached file test.org and run M-x
flyspell-mode, emacs will lock up. It has something to do with tables.
Alternatively, make a new (empty) org file, run flyspell-mode, and start
making a new table by writing |sdf|sdf|, and it will lock up emacs.
Using an older version of org (7.9.3) this problem doesn't occur.
I'm using Emacs 24.3.1 on Ubuntu 12.04.
Any ideas what could be causing this?
Thanks for your help.
Chris.
[-- Attachment #1.2: Type: text/html, Size: 727 bytes --]
[-- Attachment #2: test.org --]
[-- Type: application/octet-stream, Size: 10 bytes --]
|sdf|sdf|
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Emacs freezes
2014-03-21 15:29 Emacs freezes Christopher Witte
@ 2014-03-21 17:58 ` Harald Hanche-Olsen
2014-03-22 8:19 ` Nicolas Goaziou
1 sibling, 0 replies; 7+ messages in thread
From: Harald Hanche-Olsen @ 2014-03-21 17:58 UTC (permalink / raw
To: chris; +Cc: emacs-orgmode
[Christopher Witte <chris@witte.net.au> (2014-03-21 15:29:24 UTC)]
> Hi all,
>
> I'm getting a weird problem with orgmode and flyspell mode. Using the
> latest version of org from git, open the attached file test.org and run M-x
> flyspell-mode, emacs will lock up. It has something to do with tables.
There is a thread "bug#17055: 24.3.50; Emacs hangs in Org mode file"
on the list right now which seems to be about this same problem.
I am not following that thread myself, so take this with a grain of
salt. But have a look at it in the list archives for yourself.
– Harald
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Emacs freezes
2014-03-21 15:29 Emacs freezes Christopher Witte
2014-03-21 17:58 ` Harald Hanche-Olsen
@ 2014-03-22 8:19 ` Nicolas Goaziou
2014-03-24 8:12 ` Christopher Witte
1 sibling, 1 reply; 7+ messages in thread
From: Nicolas Goaziou @ 2014-03-22 8:19 UTC (permalink / raw
To: Christopher Witte; +Cc: Org Mode
Hello,
Christopher Witte <chris@witte.net.au> writes:
> I'm getting a weird problem with orgmode and flyspell mode. Using the
> latest version of org from git, open the attached file test.org and run M-x
> flyspell-mode, emacs will lock up. It has something to do with tables.
>
> Alternatively, make a new (empty) org file, run flyspell-mode, and start
> making a new table by writing |sdf|sdf|, and it will lock up emacs.
>
> Using an older version of org (7.9.3) this problem doesn't occur.
>
> I'm using Emacs 24.3.1 on Ubuntu 12.04.
>
> Any ideas what could be causing this?
Yes, two entries with the same key in cache. Anyway it should be fixed
now.
Thank you for the detailed report, and sorry for the delay.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Emacs freezes
2014-03-22 8:19 ` Nicolas Goaziou
@ 2014-03-24 8:12 ` Christopher Witte
0 siblings, 0 replies; 7+ messages in thread
From: Christopher Witte @ 2014-03-24 8:12 UTC (permalink / raw
To: Nicolas Goaziou; +Cc: Org Mode
[-- Attachment #1: Type: text/plain, Size: 917 bytes --]
Fantastic! All working now.
Cheers,
Chris
On 22 March 2014 09:19, Nicolas Goaziou <n.goaziou@gmail.com> wrote:
> Hello,
>
> Christopher Witte <chris@witte.net.au> writes:
>
> > I'm getting a weird problem with orgmode and flyspell mode. Using the
> > latest version of org from git, open the attached file test.org and run
> M-x
> > flyspell-mode, emacs will lock up. It has something to do with tables.
> >
> > Alternatively, make a new (empty) org file, run flyspell-mode, and start
> > making a new table by writing |sdf|sdf|, and it will lock up emacs.
> >
> > Using an older version of org (7.9.3) this problem doesn't occur.
> >
> > I'm using Emacs 24.3.1 on Ubuntu 12.04.
> >
> > Any ideas what could be causing this?
>
> Yes, two entries with the same key in cache. Anyway it should be fixed
> now.
>
> Thank you for the detailed report, and sorry for the delay.
>
>
> Regards,
>
> --
> Nicolas Goaziou
>
[-- Attachment #2: Type: text/html, Size: 1554 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2014-03-24 8:13 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-21 15:29 Emacs freezes Christopher Witte
2014-03-21 17:58 ` Harald Hanche-Olsen
2014-03-22 8:19 ` Nicolas Goaziou
2014-03-24 8:12 ` Christopher Witte
-- strict thread matches above, loose matches on Subject: below --
2004-08-24 13:19 emacs freezes Jose A. Ortega Ruiz
2004-08-24 15:12 ` Stefan Monnier
2004-08-24 17:21 ` Jose A. Ortega Ruiz
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.