unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#14766: 24.3.50; sometimes "Memory exhausted" on Cygwin
@ 2013-07-02 13:57 Katsumi Yamaoka
  2013-07-02 14:15 ` Angelo Graziosi
  2013-07-02 19:56 ` Ken Brown
  0 siblings, 2 replies; 116+ messages in thread
From: Katsumi Yamaoka @ 2013-07-02 13:57 UTC (permalink / raw)
  To: 14766

Hi,

This sometimes happens on Cygwin since the beginning of Jun
concurrently with Bug#14569 (bootstrap fails on Cygwin):

Memory exhausted--use C-x s then exit and restart Emacs
Error running timer `display-time-event-handler': (error "Memory exhausted--use C-x s then exit and restart Emacs")
Memory exhausted--use C-x s then exit and restart Emacs [3 times]

At that time I can do neither `C-x s' nor exit; what I can do
then is only to kill the Emacs process (so I transcribed the above
messages by hand).

Thanks.





^ permalink raw reply	[flat|nested] 116+ messages in thread
[parent not found: <86d2qz3a7q.fsf@chateau.d.if>]
* Re: bug#14569: 24.3.50; bootstrap fails on Cygwin
@ 2013-06-15 13:54 Angelo Graziosi
  2013-06-16 13:11 ` Ken Brown
       [not found] ` <51BDB979.3040508@cornell.edu>
  0 siblings, 2 replies; 116+ messages in thread
From: Angelo Graziosi @ 2013-06-15 13:54 UTC (permalink / raw)
  To: Cygwin; +Cc: Paul Eggert, bug-emacs

Christopher Faylor wrote
>>On 06/14/2013 11:03 AM, Christopher Faylor wrote:
>>>You pointed to an archived mail messages which implies that was fixed
>>>more than a year ago.  What makes you think it is still a problem?
>>
>>The message I pointed to
>><http://cygwin.com/ml/cygwin/2012-05/msg00472.html> says this:
>>
>>>Testcase signal/kill: Signals may or may not reach the correct thread
>>>with 1.7.12-1 and newer.
>>
>>Confirmed.  I think the reason is that we only have a single event to
>>signal that a POSIX signal arrived instead of a per-thread event, but
>>I'm not sure.  This is cgf's domain so I leave it at that for now.
>>
>>I interpreted this to mean "the existence of the bug is confirmed,
>>here's why the bug occurs, and I'll let cgf deal with it".  I didn't
>>see any followup message where cgf (is that you?) dealt with it.  My
>>apologies if I misinterpreted the email.
>
> Oops.  I didn't read Corinna's message as thoroughly as I should have.
> Sorry.
>
> That particular issue was supposed to have been fixed in Cygwin 1.7.17,
> released in October 2012.

Out of curiosity, I tried the test cases I found in that thread, more 
precisely here:

   http://cygwin.com/ml/cygwin/2012-05/msg00434.html


and the results are:

$ gcc otto_test1.c -o otto_test1
$ ./otto_test1
Testing deferred pthread_cancel()

Thread 0 starting (0x200102c0)
Thread 1 starting (0x20010360)
Thread 2 starting (0x20010400)

Cancelling thread 2 (0x20010400)
Thread 2 exiting (0x20010400)
Cancelling thread 1 (0x20010360)
Thread 1 exiting (0x20010360)
Cancelling thread 0 (0x200102c0)
Thread 0 exiting (0x200102c0)

Thread 0 is gone (0x200102c0)
Thread 1 is gone (0x20010360)
Thread 2 is gone (0x20010400)

$ gcc otto_test2.c -o otto_test2
$ ./otto_test2
Testing asynchronous pthread_cancel()

Thread 0 starting (0x200102c0)
Changing canceltype from 0 to 1
Thread 1 starting (0x20010360)
Changing canceltype from 0 to 1
Thread 2 starting (0x20010400)
Changing canceltype from 0 to 1

Cancelling thread 2 (0x20010400)
Thread 2 exiting (0x20010400)
Cancelling thread 1 (0x20010360)
Thread 1 exiting (0x20010360)
Cancelling thread 0 (0x200102c0)
Thread 0 exiting (0x200102c0)

Thread 0 is gone (0x200102c0)
Thread 1 is gone (0x20010360)
Thread 2 is gone (0x20010400)

$ gcc otto_test3.c -o otto_test3
$ ./otto_test3
Testing pthread_kill()

Thread 0 starting (0x200102c0)
Thread 1 starting (0x20010360)
Thread 2 starting (0x20010400)

Sending SIGUSR1 to thread 2 (0x20010400)
Thread 2 executes signal handler (0x20010400)
Thread 2 encountered an error: Interrupted system call (0x20010400)
Sending SIGUSR1 to thread 1 (0x20010360)
Thread 1 executes signal handler (0x20010360)
Thread 1 encountered an error: Interrupted system call (0x20010360)
Sending SIGUSR1 to thread 0 (0x200102c0)
Thread 0 executes signal handler (0x200102c0)
Thread 0 encountered an error: Interrupted system call (0x200102c0)

Are the errors in the last test case to be expected under the 20130612 
snapshot (CYGWIN_NT-5.1, 1.7.21s 20130612 21:06:59, i686 Cygwin)?


Ciao,
Angelo.


^ permalink raw reply	[flat|nested] 116+ messages in thread

end of thread, other threads:[~2013-07-17  6:36 UTC | newest]

Thread overview: 116+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-02 13:57 bug#14766: 24.3.50; sometimes "Memory exhausted" on Cygwin Katsumi Yamaoka
2013-07-02 14:15 ` Angelo Graziosi
2013-07-03  2:31   ` Katsumi Yamaoka
2013-07-02 19:56 ` Ken Brown
2013-07-03  2:30   ` Katsumi Yamaoka
2013-07-03  3:24     ` Ken Brown
2013-07-03  4:54       ` Paul Eggert
2013-07-03 10:01         ` Katsumi Yamaoka
2013-07-03 10:57           ` Ken Brown
2013-07-03 11:48             ` Katsumi Yamaoka
2013-07-03  6:36     ` Michael Albinus
2013-07-03 10:01       ` Katsumi Yamaoka
     [not found] <86d2qz3a7q.fsf@chateau.d.if>
2013-07-04  0:58 ` bug#14569: Emacs segfaulting on FreeBSD 9.1-RELEASE (amd64) during memory allocation Paul Eggert
2013-07-04  2:13   ` Ken Brown
     [not found]   ` <86txkbys94.fsf@chateau.d.if>
2013-07-04  6:23     ` Paul Eggert
2013-07-04 10:59       ` Ken Brown
2013-07-04 19:09       ` Ashish SHUKLA
  -- strict thread matches above, loose matches on Subject: below --
2013-06-15 13:54 bug#14569: 24.3.50; bootstrap fails on Cygwin Angelo Graziosi
2013-06-16 13:11 ` Ken Brown
     [not found] ` <51BDB979.3040508@cornell.edu>
     [not found]   ` <20130616150141.GB3622@ednor.casa.cgf.cx>
2013-06-16 17:51     ` Ken Brown
     [not found]     ` <51BDFB25.8080101@cornell.edu>
2013-06-16 18:20       ` Ken Brown
2013-06-22 20:49         ` Angelo Graziosi
2013-06-23 19:49           ` Angelo Graziosi
2013-06-23 20:47             ` Angelo Graziosi
2013-06-24  2:43               ` Eli Zaretskii
2013-06-24  0:34             ` Paul Eggert
2013-06-24 11:02               ` Ken Brown
2013-06-24 14:34                 ` Paul Eggert
2013-06-24 15:51                   ` Ken Brown
2013-06-24 16:55                     ` Paul Eggert
2013-06-24 17:16                       ` Ken Brown
2013-06-24 17:50                 ` Angelo Graziosi
2013-06-24 21:05                   ` Paul Eggert
2013-06-24 23:50                     ` Angelo Graziosi
2013-06-25 13:34                       ` Ken Brown
2013-06-25 13:55                         ` Ken Brown
2013-06-25 14:51                           ` Paul Eggert
2013-06-25 15:51                             ` Ken Brown
2013-06-25 16:18                               ` Paul Eggert
2013-06-27 14:56                       ` Paul Eggert
2013-06-27 16:44                         ` Angelo Graziosi
2013-06-27 16:54                           ` Angelo Graziosi
2013-06-28  5:16                           ` Paul Eggert
2013-06-27 19:32                         ` Ken Brown
2013-06-28 12:20                           ` Ken Brown
2013-06-28 14:50                             ` Paul Eggert
2013-06-28 15:29                               ` Ken Brown
2013-06-28 16:22                                 ` Angelo Graziosi
2013-06-28 21:40                                 ` Ken Brown
2013-07-01 11:21                                   ` Ken Brown
2013-07-01 12:28                                     ` Angelo Graziosi
2013-07-01 13:51                                       ` Ken Brown
2013-07-01 14:04                                         ` Ken Brown
2013-07-01 14:19                                     ` Paul Eggert
2013-07-01 16:16                                       ` Ken Brown
2013-07-01 17:31                                       ` Angelo Graziosi
2013-07-01 18:40                                       ` Ken Brown
2013-07-01 21:07                                         ` Paul Eggert
2013-07-01 21:47                                           ` Angelo Graziosi
2013-07-01 22:41                                             ` Ken Brown
2013-06-07  0:16                                               ` Katsumi Yamaoka
2013-06-10 13:54                                                 ` Angelo Graziosi
2013-06-10 16:27                                                   ` Jan Djärv
2013-06-10 18:56                                                     ` Angelo Graziosi
2013-06-10 20:10                                                       ` Paul Eggert
2013-06-10 21:15                                                         ` Angelo Graziosi
2013-06-10 21:52                                                           ` Paul Eggert
2013-06-10 22:06                                                             ` Angelo Graziosi
2013-06-10 23:23                                                             ` Angelo Graziosi
2013-06-11 15:13                                                             ` Angelo Graziosi
2013-06-11 18:10                                                               ` Paul Eggert
2013-06-11 20:13                                                                 ` Angelo Graziosi
2013-06-11 15:39                                                       ` Jan Djärv
2013-06-11 16:58                                                         ` Eli Zaretskii
2013-06-11 18:50                                                           ` Paul Eggert
2013-06-11 19:26                                                             ` Ken Brown
2013-06-11 19:53                                                               ` Eli Zaretskii
2013-06-11 20:06                                                                 ` Ken Brown
2013-06-11 20:58                                                                   ` Jan Djärv
2013-06-11 20:59                                                                     ` Jan Djärv
2013-06-12  7:00                                                                       ` Jan Djärv
2013-06-12 18:33                                                                         ` Paul Eggert
2013-06-12 20:11                                                                           ` Angelo Graziosi
2013-06-13  7:08                                                                             ` Jan Djärv
2013-06-13 17:39                                                                               ` Paul Eggert
2013-06-14  9:11                                                                                 ` Jan Djärv
2013-06-14 17:45                                                                                   ` Paul Eggert
     [not found]                                                                                   ` <51BB56CB.7030209@cs.ucla.edu>
2013-06-14 18:03                                                                                     ` Christopher Faylor
2013-06-14 18:03                                                                                     ` Christopher Faylor
2013-06-14 18:16                                                                                     ` Eli Zaretskii
     [not found]                                                                                     ` <20130614180359.GA5295@ednor.casa.cgf.cx>
2013-06-14 20:22                                                                                       ` Ken Brown
     [not found]                                                                                       ` <51BB7B82.4010204@cornell.edu>
2013-06-15  7:04                                                                                         ` Eli Zaretskii
2013-06-15  9:54                                                                                           ` Jan Djärv
2013-06-15 10:42                                                                                             ` Eli Zaretskii
2013-06-15 12:47                                                                                               ` Jan Djärv
2013-06-17  1:56                                                                                                 ` Ken Brown
2013-06-17  6:22                                                                                                   ` Jan Djärv
2013-06-17 15:06                                                                                                     ` Eli Zaretskii
2013-06-17 20:15                                                                                                       ` Ken Brown
2013-06-18 15:53                                                                                                         ` Eli Zaretskii
2013-06-19 20:24                                                                                                           ` Ken Brown
2013-06-20  2:45                                                                                                             ` Eli Zaretskii
2013-06-20  3:00                                                                                                               ` Ken Brown
2013-06-20 15:54                                                                                                                 ` Eli Zaretskii
2013-06-22 15:13                                                                                                                   ` Ken Brown
2013-06-22 19:04                                                                                                                     ` Paul Eggert
2013-06-23 15:56                                                                                                                       ` Ken Brown
2013-06-23 16:13                                                                                                                         ` Eli Zaretskii
2013-06-23 18:22                                                                                                                           ` Paul Eggert
2013-06-12  4:29                                                 ` Katsumi Yamaoka
2013-07-02  2:19                                                 ` Katsumi Yamaoka
2013-07-02  5:23                                                 ` Katsumi Yamaoka
2013-07-02 11:22                                                   ` Ken Brown
2013-07-02 13:57                                                 ` Katsumi Yamaoka
2013-07-04  2:27                                                 ` bug#14569: Emacs segfaulting on FreeBSD 9.1-RELEASE (amd64) during memory allocation wahjava.ml
2013-07-17  6:36                                                 ` bug#14569: bug#14766: 24.3.50; sometimes "Memory exhausted" on Cygwin Katsumi Yamaoka

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).