Subject: Re: Resolving Conflicts between (invoke-restart) and (in-package)?
From: (Rob Warnock)
Date: Fri, 16 Mar 2007 04:31:38 -0500
Newsgroups: comp.lang.lisp
Message-ID: <>
dpapathanasiou <> wrote:
| I'd been running modlisp in a test environment,
| and I'd get these errors, in rare cases:
| Error in function UNIX::SIGPIPE-HANDLER:  SIGPIPE at #x6E87A2.

This happens when a user hits "Stop" or closes a window on the browser
before the page finishes downloading. Get used to it -- it will happen
a *lot* more odten when you go into production with your site.

While the other repliers gave you good advice about avoiding namespace
conflicts, I'm going to suggest something radically different which I
learned from Dan Barlow [thanks, Dan!]:

Instead of trying to *handle* SIGPIPE, simply *ignore* it instead
(set it to SIG_IGN), and handle the much simpler I/O errors you're
going to get when you WRITE (or PRINC or FORMAT) into a closed pipe
or socket. Code for doing this in CMUCL may be found here:


Rob Warnock			<>
627 26th Avenue			<URL:>
San Mateo, CA 94403		(650)572-2607