Broken pipe error

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Sat Jul 15 05:44:20 PDT 2006


Petr Janda wrote:
Keep forgetting to say this, to anyone who asked what shell im using. 
For root I use the default csh, for my non-root I use tcsh. I run 
fluxbox and Eterm.
I am almost sure that there is the bug somewhere.  Could you compile + run attached file and mail the output to the list?

How do you start xorg?  via startx or some *dm?

cheers
 simon
--
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \
#include <err.h>
#include <signal.h>
#include <stdio.h>

const char *signames[] = {
	"NULL", "HUP", "INT", "QUIT", "ILL", "TRAP", "IOT",	/*  1 - 6  */
	"EMT", "FPE", "KILL", "BUS", "SEGV", "SYS",		/*  7 - 12 */
	"PIPE", "ALRM",  "TERM", "URG", "STOP", "TSTP",		/* 13 - 18 */
	"CONT", "CHLD", "TTIN", "TTOU", "IO", "XCPU",		/* 19 - 24 */
	"XFSZ", "VTALRM", "PROF", "WINCH", "29", "USR1",	/* 25 - 30 */
	"USR2", NULL,						/* 31 - 32 */
};

int
main(int argc, char **argv)
{
	struct sigaction sa;
	int i;

	for (i = 1; i < 32; i++) {
		if (sigaction(i, NULL, &sa) != 0)
			err(1, "sigaction");
		printf("SIG%s = ", signames[i]);
		if (sa.sa_handler == SIG_DFL)
			printf("SIG_DFL\n");
		else if (sa.sa_handler == SIG_IGN)
			printf("SIG_IGN\n");
		else
			printf("%p", sa.sa_handler);	/* XXX oy? */
	}

	return 0;
}
Attachment:
signature.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00016.pgp
Type: application/octet-stream
Size: 252 bytes
Desc: "Description: OpenPGP digital signature"
URL: <http://lists.dragonflybsd.org/pipermail/bugs/attachments/20060715/31a7ed64/attachment-0022.obj>


More information about the Bugs mailing list