Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: gabejones@my-dejanews.com
Subject: SIGPIPE->SIGIOT on DU 4.0?
Date: 1999/04/27	[thread overview]
Message-ID: <7g4ksc$t2l$1@nnrp1.dejanews.com> (raw)

I'm doing socket programming, and occasionally an attempt to write to a
closed socket results in a SIGPIPE being thrown.  No problem, I have an
exception handler (using the TRY/CATCH macros) that does the right thing and
gets my sockets back on track.	My problem is that 1 out of every 15 times or
so, I seem to get SIGIOT instead of SIGPIPE.  Further, while I have a handler
to deal with SIGIOT, it seems to just bypass it and I get a crash and core
dump.  (Is it that DU 4.0 does not convert SIGIOT to an exception?)  Just
doing a RAISE(pthread_exc_SIGPIPE_e) also seems to on occasion result in this
behavior. Ideas, anyone?  I don't know enough about signals & exceptions to
know from whence a SIGIOT would come.

Thanks,
Gabe Jones
gjones@atc.skytel.com

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    



             reply	other threads:[~1999-04-27  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-04-27  4:00 gabejones [this message]
1999-05-03  4:00 ` SIGPIPE->SIGIOT on DU 4.0? Dave Butenhof
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox