all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: bruce@perens.com, emacs-devel@gnu.org
Subject: Re: <EMACS> Re: emacs21.2 freezes on hp when calling visible-bell
Date: Wed, 27 Mar 2002 21:56:43 -0700 (MST)	[thread overview]
Message-ID: <200203280456.g2S4uhL09617@aztec.santafe.edu> (raw)
In-Reply-To: <15520.21118.37291.222389@vaire.esat.kuleuven.ac.be> (message from Maarten Vergauwen on Tue, 26 Mar 2002 11:50:38 +0100)

I am amazed that gettimeofday can hang.  I have no idea why.  Perhaps
you need to find an HP wizard for this.  Maybe Bruce Perens can help.

From: Maarten Vergauwen <Maarten.Vergauwen@esat.kuleuven.ac.be>
Date: Tue, 26 Mar 2002 11:50:38 +0100
To: rms@santafe.edu
Subject: Re: <EMACS> Re: emacs21.2 freezes on hp when calling visible-bell
In-Reply-To: <200203221226.NAA05825@barbar.esat.kuleuven.ac.be>

Richard Stallman writes:
 >     This happens only on hp, using X and only for 21.2. No problems
 >     encountered for 21.1 on hp, nor for 21.2 on hp without X, nor for 21.2
 >     on SGI, linux-i386, alpha, solaris or ultrix with X.
 > 
 > Unfortunately that means I can't even try to debug it.
 > Can you please try to debug it?  etc/DEBUG gives some advice.

OK, here goes.

1. If emacs is run under gdb, it hangs when trying to "flash" the visible
   bell.
2. kill -TSTP pid in another shell
3. gdb tells me that it's hanging in gettimeofday()

(gdb) bt
#0  0x7f7aeac8 in gettimeofday () from /usr/lib/libc.2
#1  0x179948 in alarm_signal_handler (signo=14) at atimer.c:372
#2  <signal handler called>
#3  0x7f794384 in fwrite () from /usr/lib/libc.2
#4  0xd0158 in main (argc=2139029609, argv=0x7f7f061c, envp=0x8)
    at emacs.c:1547

4. I added lots of fprintf(stderr,...) stuff to the code in xterm.c
   (function XTflash) and in this way I could determine that emacs was
   hanging on the line that says: 
	    select (0, NULL, NULL, NULL, &timeout);
   A strange thing is that the loop with "select" is sometimes executed 1,
   2, 3	 times before it hangs at this line.

5. I reconfigured and recompiled emacs-21.1 on the same system, with the
   same compiler and here the problem doesn't occur.

I'm at a loss here. Could you tell me what else I could try to find the
source of the problem ?


kind regards,

Maarten


-- 
MAARTEN VERGAUWEN
K.U.Leuven - ESAT-PSI   tel: +32-16-32.10.64  fax: +32-16-32.17.23
Kasteelpark Arenberg 10	e-mail:Maarten.Vergauwen@esat.kuleuven.ac.be
B-3001 Heverlee         http://www.esat.kuleuven.ac.be/~vergauwe




_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel


  parent reply	other threads:[~2002-03-28  4:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200203201517.QAA07702@demer.esat.kuleuven.ac.be>
2002-03-21  6:08 ` emacs21.2 freezes on hp when calling visible-bell Eli Zaretskii
     [not found] ` <200203221225.g2MCPoE01638@aztec.santafe.edu>
     [not found]   ` <200203221226.NAA05825@barbar.esat.kuleuven.ac.be>
     [not found]     ` <15520.21118.37291.222389@vaire.esat.kuleuven.ac.be>
2002-03-28  4:56       ` Richard Stallman [this message]
2002-03-28  5:22         ` <EMACS> " Bruce Perens
2002-03-28  9:11           ` Maarten Vergauwen

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=200203280456.g2S4uhL09617@aztec.santafe.edu \
    --to=rms@gnu.org \
    --cc=bruce@perens.com \
    --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 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.