solaris 2.2 hangs on SIGURG upon receiving an OOB-msg

solaris 2.2 hangs on SIGURG upon receiving an OOB-msg

Post by Sundar Narasimh » Mon, 13 Dec 1993 14:15:12

Hi, we are running 5.2 Generic on our sparc 10 (sun4m) with
the foll. patches applied:

Our application relies on receiving a SIGURG signal in response
to an out-of-band message on a socket. Solaris 2.2 hangs when
we try to do this. Using truss/dbx we can see that it sometimes is
in the signal handler and usually after processing the OOB msg
that this happens.

This is a MAJOR bug, and I'm surprised that it hasn't been fixed

Any suggestions to debug/fix this would be enormously appreciated.



1. OOB socket xfer and SIGURG

when sending out-of-band data over an internet socket [using TCP] thus:

#define ABORT (-1)
int mesg = ABORT;
int res = send( sock_desc, (const void*) &mesg, sizeof(int), MSG_OOB );

to another process that catched SIGURG thus:

extern void sigurg_handler(int mesg);

signal(SIGURG, sigurg_handler);

this *should* generate a SIGURG signal for the receiving process,
providing it is in an interuptible state, correct? Or am I missing

Thanks for any replies!

         : Timothy A. Sandstrom        : Mail Stop N258-2            :

         : NASA Ames Research Center   : PHONE : (415) 604-1429      :
         : Moffett Field, CA 94035     : FAX   : (415) 604-4377      :
         :              Member of the FAST development team          :

2. OLVWM errors

3. signalling urgent (aka OOB) data received on a socket

4. Real Player G2 for Linux?

5. SUMMARY: "find" in root crontab hangs Solaris 2.2

6. FIPS Error/Win98

7. Solaris 2.2 hangs

8. Problems Compiling Kernel

9. tcp/ip hangs on Solaris 2.2

10. Solaris 2.2 and NFS hang.

11. audioplay hangs on Solaris 2.2

12. Solaris 2.2: incoming/outgoing connections hanging?

13. "find" in root crontab hangs Solaris 2.2