Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* SIGPIPE->SIGIOT on DU 4.0?
@ 1999-04-27  4:00 gabejones
  1999-05-03  4:00 ` Dave Butenhof
  0 siblings, 1 reply; 2+ messages in thread
From: gabejones @ 1999-04-27  4:00 UTC (permalink / 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    



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-05-03  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-04-27  4:00 SIGPIPE->SIGIOT on DU 4.0? gabejones
1999-05-03  4:00 ` Dave Butenhof

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