Re: y fails to start but gives no useful error message
Kristian Mueller <[email protected]> Mon, 23 Jan 2006 04:19:07 +0800
| Newsgroups | gmane.comp.graphics.y.devel |
|---|---|
| Message-ID | <1137961147.3666.32.camel@pismo> |
Hi Jerrit On So, 2006-01-22 at 22:09 -0500, Jerrit Erickson wrote: > 187 else if (pid != 0) > 192 close (pipedes[1]); > 197 ssize_t ret = read (pipedes[0], returns, sizeof (int) * 2); > 198 if (ret > 0) > 217 if (ret == 0 || errno == EPIPE) > 219 fprintf (stderr, "Y: server exited before starting up\n"); > Y: server exited before starting up it seems, that you've got a problem creating the pipe. I don't know the source of Y but maybe you can provide information about the file it happens in and I can have a look at the pipe creation part. I am not shure if we have multitrading here - at least in your strace output you see it is a forked process. Hmm, wait: Maybe the indention is missleading here, and we are past the (ret > 0) then it could be a problem in the parent process. Meaning that the child process (which would be the server) just died. In that case you have to find out, why the child process has finished. - maybe you could debug using DDD. And maybe you have the font problem there. I don't know the code. hope that helps Kristian