unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: More info on sporadic OS/X crash
Date: 28 Apr 2004 08:37:19 +0200	[thread overview]
Message-ID: <uvfjkr4kg.fsf@gnu.org> (raw)
In-Reply-To: <wz1xm9wiiz.fsf@Ordesa.local> (message from Piet van Oostrum on 27 Apr 2004 17:24:36 +0200)

> From: Piet van Oostrum <piet@cs.uu.nl>
> Date: 27 Apr 2004 17:24:36 +0200
> 
> However now I have occasional hangs in select(), always when using gnus.
> It could be a server that is not responding, but I am not sure. I attach a
> stack trace below. The hang doesn't get broken with C-g (the well-known
> problem), but sometimes it helps to Ctrl-Z gdb (I am running emacs from
> gdb), and/or hitting Ctrl-C in the gdb terminal window. Continuing then
> resumes normal life but it can take quite some time.
> 
> Program received signal SIGTSTP, Stopped (user).
> 0x9000b308 in select ()
> (gdb) bt
> #0  0x9000b308 in select ()
> #1  0x0012eeac in sys_select (n=126, rfds=0x38e7e4, wfds=0x0, efds=0x0, timeout=0xbfffcb60) at mac.c:2787
> #2  0x00119948 in wait_reading_process_input (time_limit=1, microsecs=0, read_kbd=3506604, do_display=0) at process.c:4311

What is the contents of the struct pointed to by `timeout' in frame #1
above?  Can you tell what GDB prints if you type

	print *timeout

in that frame?

If the contents of that struct are reasonable (i.e. 1 second), is it
possible that Emacs loops infinitely in sys_select, and if so, why?

  reply	other threads:[~2004-04-28  6:37 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-15 23:15 More info on sporadic OS/X crash John Wiegley
2004-04-23 11:41 ` John Wiegley
2004-04-24  1:15   ` YAMAMOTO Mitsuharu
2004-04-25 17:49     ` Steven Tamm
2004-04-26 13:15       ` YAMAMOTO Mitsuharu
2004-04-26 16:27         ` Steven Tamm
2004-04-27  9:52           ` YAMAMOTO Mitsuharu
2004-04-27 15:24       ` Piet van Oostrum
2004-04-28  6:37         ` Eli Zaretskii [this message]
2004-04-28 11:14           ` Piet van Oostrum
2004-04-28 18:53             ` Eli Zaretskii
2004-04-29 12:10               ` Piet van Oostrum
2004-04-29 16:32                 ` Kim F. Storm
2004-04-29 22:24                   ` Steven Tamm
2004-04-29 22:25                   ` Piet van Oostrum
2004-05-01 11:32         ` YAMAMOTO Mitsuharu
2004-04-26 18:08     ` John Wiegley
2004-04-27  9:59       ` YAMAMOTO Mitsuharu
2004-04-29 22:08         ` John Wiegley
2004-05-01 11:09           ` YAMAMOTO Mitsuharu
2004-05-07  1:24             ` John Wiegley
2004-05-10  6:02             ` John Wiegley

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=uvfjkr4kg.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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 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).