From owner-freebsd-ports Wed Mar 24 21:10:20 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 8A95315147 for ; Wed, 24 Mar 1999 21:10:19 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id VAA43764; Wed, 24 Mar 1999 21:10:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from alcanet.com.au (border.alcanet.com.au [203.62.196.10]) by hub.freebsd.org (Postfix) with ESMTP id AD90815099 for ; Wed, 24 Mar 1999 21:02:35 -0800 (PST) (envelope-from jeremyp@gsmx07.alcatel.com.au) Received: by border.alcanet.com.au id <40402>; Thu, 25 Mar 1999 14:49:14 +1000 Message-Id: <99Mar25.144914est.40402@border.alcanet.com.au> Date: Thu, 25 Mar 1999 15:02:05 +1000 From: Peter Jeremy Reply-To: peter.jeremy@alcatel.com.au To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: ports/10783: ELF emacs 19.34 hangs under X windows Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 10783 >Category: ports >Synopsis: ELF emacs 19.34 hangs under X windows >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Mar 24 21:10:00 PST 1999 >Closed-Date: >Last-Modified: >Originator: Peter Jeremy >Release: FreeBSD 4.0-CURRENT i386 >Organization: Alcatel Australia Limited >Environment: -current from about two weeks ago, the latest emacs 19.34b and XFree86 ports. (The emacs port includes the patch mentioned in ports/10782). >Description: When an ELF emacs is started as an X11 client, emacs opens a window and then nothing happens. ktrace and and xscope show emacs is continuously sending GetInputFocus commands to the X-server. The immediate cause is emacs looping in x_make_frame_visible(). It is apparently waiting for an input event indicating that the window has been mapped. It expects to get informed of this when a signal (presumably SIGIO) invokes XTread_socket(). The only problem is that I can't find anything to enable SIGIO and sigaction(2) is never called. This problem does not occur with a 2.x aout emacs running with 2.x X11 libraries. (Although I don't have an aout debugger to follow the control flow). >How-To-Repeat: cd /usr/ports/editors/emacs make make install DISPLAY=:0 emacs >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message