[Y-devel] Y hangs on startup or exits with error message

David Vuorio davidtheflyer at hotmail.com
Fri Feb 20 20:12:57 GMT 2004


Basically, I can't get Y to start. Depending on whether I give the parameter 
--no-detach or not, I get different results.

With a modified startY script which uses "Y --no-detach" I get:

david at localhost Y $ startY
/usr/local/bin/startY: line 25: 28338 Aborted                 ${bindir}/Y 
--no-detach
Failed to connect to Y Server via Unix Domain Sockets: No such file or 
directory
libY: Could not establish link to server at unix:/tmp/.Y-0
Aborted

In all other cases trying to run Y yields no results. It just sits there. 
More specifically, I get this from strace:

...

getpid()                                = 7793
rt_sigaction(SIGRTMIN, {0x400a0330, [], 0}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x400a0470, [], 0}, NULL, 8) = 0
rt_sigaction(SIGRT_2, {0x400a0650, [], 0}, NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [33], NULL, 8) = 0
_sysctl({{CTL_KERN, KERN_VERSION}, 2, 0xbffff164, 35, (nil), 0}) = 0
open("/dev/urandom", O_RDONLY)          = 3
read(3, "$p\215\372\316\342\334E.\350$\247\252\nw\342\24\261zu\370"..., 32) 
= 32
close(3)                                = 0
socket(PF_UNIX, SOCK_DGRAM, 0)          = 3
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
connect(3, {sa_family=AF_UNIX, path="/dev/log"}, 16) = 0
pipe([4, 5])                            = 0
fork()                                  = 7794
read(4, 0xbffff4b8, 8)                  = ? ERESTARTSYS (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
read(4,

(No new output ever occurs after that last comma.)

ps ax | grep Y gives:

david at localhost david $ ps ax | grep Y
  PID TTY      STAT   TIME COMMAND
7792 pts/3    S      0:00 strace Y
7793 pts/3    S      0:00 Y
7794 ?        Z      0:00 [Y] <defunct>
7845 pts/4    S      0:00 grep Y

gdb gives (while the Y parent process is still running):

(gdb) attach 7794
Attaching to process 7794
ptrace: Operation not permitted.

System specs:

Gentoo Linux, kernel 2.6.3
gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r2, propolice)
binutils 2.14.90.0.6-r6
glibc 2.3.3_pre20040207
glib 2.2.3
libiterm-mbt 0.5

It seems to be a problem that is in one way or another related to Gentoo. 
Probably a specific library version or system setup that differs from 
"regular" distros. However, I talked to at least one other Gentoo user who 
had it working.

_________________________________________________________________
Chatt: Träffa nya nätkompisar på Habbo Hotel 
https://habbohotel.msn.se/habbo/sv/channelizer




More information about the Y-devel mailing list









2026 © www.Y-Windows.Org - All Rights Reserved