Re: randomly dying xterms: not random
Re: randomly dying xterms: not random
- Subject: Re: randomly dying xterms: not random
- From: Bernard Giroux <email@hidden>
- Date: Sun, 26 Oct 2008 00:12:39 -0400
Le 08-10-26 à 00:05, Bernard Giroux a écrit :
Le 08-10-25 à 16:36, Brandon Allbery a écrit :
On 2008 Oct 25, at 12:48, Ronald Cohen wrote:
Thanks, sorry .cshrc was a typo, should have been .xinitrc.
Haven't tried the default shell.. Anyway my workaround is working
for me. Interesting that you don't see the problem, however.
Thanks for that feedback. Other people have responded saying they
do. I wonder as you say if it is a shell issue.
My shell is /bin/zsh, fwiw. Terminal.app doesn't exit all by
itself, only the occasional xterm.
This is something reproducible on my system, with XQuartz 2.3.1
(xorg-server 1.4.2-apple17) and the following defaults
{505}ardbeg:~% defaults read org.x.x11
{
"NSWindow Frame x11_prefs" = "322 690 478 338 0 0 1680 1028 ";
"app_to_run" = "/usr/X11/bin/xterm";
"apps_menu" = (
(
Terminal,
"xterm",
n
),
(
xman,
xman,
""
),
(
xlogo,
xlogo,
""
)
);
"cache_fonts" = 1;
depth = -1;
"done_xinit_check" = 1;
"enable_fake_buttons" = 0;
"enable_key_equivalents" = 1;
"enable_system_beep" = 0;
"login_shell" = "/bin/sh";
"no_auth" = 0;
"nolisten_tcp" = 1;
"startx_script" = "/usr/X11/bin/startx";
"sync_keymap" = 1;
"wm_click_through" = 0;
"wm_ffm" = 1;
"wm_focus_on_new_window" = 0;
}
1- launch X11 from the dock: an xterm appears since I have
"app_to_run" = "/usr/X11/bin/xterm";
2- open a second xterm with cmd-N (set to "xterm" in the menu)
3- close the second xterm, and the first one disappears (with
eventual child windows, i.e. like emacs).
If I open the second xterm by typing the command in the first xterm,
and the close it, the first remains...
I use bash & have no .xinitrc in my $HOME
The logs look like this
08-10-26 00:09:24 [0x0-0xc80c8].org.x.X11[4760] X11.app: main(): argc=2
08-10-26 00:09:24 [0x0-0xc80c8].org.x.X11[4760] argv[0] = /
Applications/Utilities/X11.app/Contents/MacOS/X11
08-10-26 00:09:24 [0x0-0xc80c8].org.x.X11[4760] argv[1] = -psn_0_819400
08-10-26 00:09:24 [0x0-0xc80c8].org.x.X11[4760] Waiting for startup
parameters via Mach IPC.
08-10-26 00:09:25 org.x.startx[4762] font_cache: Scanning user font
directories to generate X11 font caches
08-10-26 00:09:25 org.x.privileged_startx[4796] font_cache: Scanning
user font directories to generate X11 font caches
08-10-26 00:09:25 org.x.startx[4762] font_cache: Updating FC cache
08-10-26 00:09:25 org.x.privileged_startx[4796] font_cache: Updating
FC cache
08-10-26 00:09:25 org.x.startx[4762] xauth: creating new authority
file /Users/giroux/.serverauth.4762
08-10-26 00:09:25 [0x0-0xc80c8].org.x.X11[4760] X11.app: Listening on
socket for fd handoff: (3) /var/tmp/tmp.0.aYEqs8
08-10-26 00:09:25 [0x0-0xc80c8].org.x.X11[4760] X11.app: Thread
created for handoff. Returning success to tell caller to connect and
push the fd.
08-10-26 00:09:25 org.x.startx[4762] Xquartz: Handoff connection
established. Sending message.
08-10-26 00:09:25 org.x.startx[4762] Xquartz: Message sent. Closing.
08-10-26 00:09:25 [0x0-0xc80c8].org.x.X11[4760] X11.app: Received new
$DISPLAY fd: 5 ... sleeping to allow xinitrc to catchup.
08-10-26 00:09:25 [0x0-0xc80c8].org.x.X11[4760] X11.app:
do_start_x11_server(): argc=6
08-10-26 00:09:25 [0x0-0xc80c8].org.x.X11[4760] argv[0] = /usr/X11/
bin/X
08-10-26 00:09:25 [0x0-0xc80c8].org.x.X11[4760] argv[1] = :0
08-10-26 00:09:25 [0x0-0xc80c8].org.x.X11[4760] argv[2] = -nolisten
08-10-26 00:09:25 [0x0-0xc80c8].org.x.X11[4760] argv[3] = tcp
08-10-26 00:09:25 [0x0-0xc80c8].org.x.X11[4760] argv[4] = -auth
08-10-26 00:09:25 [0x0-0xc80c8].org.x.X11[4760] argv[5] = /Users/
giroux/.serverauth.4762
08-10-26 00:09:25 X11[4760] Could not connect the action
apps_table_cancel: to target of class X11Controller
08-10-26 00:09:25 [0x0-0xc80c8].org.x.X11[4760] Xquartz starting:
08-10-26 00:09:25 [0x0-0xc80c8].org.x.X11[4760] X.Org X Server 1.4.2-
apple17
08-10-26 00:09:25 [0x0-0xc80c8].org.x.X11[4760] Build Date: 20080905
08-10-26 00:09:25 [0x0-0xc80c8].org.x.X11[4760] No matching visual for
__GLcontextMode with visual class = 3 (32772), nplanes = 24
08-10-26 00:09:26 [0x0-0xc80c8].org.x.X11[4760] (EE) XKB: Couldn't
open rules file /usr/X11/share/X11/xkb/rules/base
08-10-26 00:09:27 org.x.startx[4762] font_cache: Done
08-10-26 00:09:27 org.x.privileged_startx[4796] font_cache: Done
08-10-26 00:09:28 [0x0-0xc80c8].org.x.X11[4760] X11.app Handing off fd
to server thread via DarwinListenOnOpenFD(5)
08-10-26 00:09:28 [0x0-0xc80c8].org.x.X11[4760] DarwinListenOnOpenFD: 5
08-10-26 00:09:28 [0x0-0xc80c8].org.x.X11[4760] Calling
ListenOnOpenFD() for new fd: 5
08-10-26 00:09:28 [0x0-0xc80c8].org.x.X11[4760] X11.app: Launching /
usr/X11/bin/xterm:
08-10-26 00:09:28 [0x0-0xc80c8].org.x.X11[4760] argv[0] = /usr/bin/
login
08-10-26 00:09:28 [0x0-0xc80c8].org.x.X11[4760] argv[1] = -fp
08-10-26 00:09:28 [0x0-0xc80c8].org.x.X11[4760] argv[2] = giroux
08-10-26 00:09:28 [0x0-0xc80c8].org.x.X11[4760] argv[3] = /bin/sh
08-10-26 00:09:28 [0x0-0xc80c8].org.x.X11[4760] argv[4] = -c
08-10-26 00:09:28 [0x0-0xc80c8].org.x.X11[4760] argv[5] = /usr/X11/
bin/xterm
08-10-26 00:09:28 [0x0-0xc80c8].org.x.X11[4760] No matching visual for
__GLcontextMode with visual class = 3 (32772), nplanes = 24
08-10-26 00:09:28 login[4761] USER_PROCESS: 4761 tty??
08-10-26 00:09:29 [0x0-0xc80c8].org.x.X11[4760] (EE) XKB: Couldn't
open rules file /usr/X11/share/X11/xkb/rules/base
08-10-26 00:09:31 org.x.startx[4762] waiting for X server to begin
accepting connections
08-10-26 00:09:32 org.x.startx[4762] .
08-10-26 00:09:37 login[4902] USER_PROCESS: 4902 tty??
08-10-26 00:09:45 login[4902] DEAD_PROCESS: 4902 tty??
08-10-26 00:09:45 login[4761] DEAD_PROCESS: 4761 tty??
08-10-26 00:09:45 [0x0-0xc80c8].org.x.X11[4760] xterm: warning, error
event received:
08-10-26 00:09:45 [0x0-0xc80c8].org.x.X11[4760] X Error of failed
request: 37
08-10-26 00:09:45 [0x0-0xc80c8].org.x.X11[4760] Major opcode of
failed request: 3 (X_GetWindowAttributes)
08-10-26 00:09:45 [0x0-0xc80c8].org.x.X11[4760] Serial number of
failed request: 3072
--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] email@hidden
system administrator [openafs,heimdal,too many hats] email@hidden
electrical and computer engineering, carnegie mellon university
KF8NH
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden
---
Bernard Giroux, ing., Ph.D.
Chercheur
http://geo.polymtl.ca/~giroux
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden
---
Bernard Giroux, ing., Ph.D.
Chercheur
http://geo.polymtl.ca/~giroux
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden