home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / sysv386 / 16684 < prev    next >
Encoding:
Text File  |  1992-11-21  |  1.6 KB  |  42 lines

  1. Newsgroups: comp.unix.sysv386
  2. Path: sparky!uunet!usc!rpi!psinntp!psinntp!spike.insci.com!augie!ross
  3. From: ross@insci.com (ross andrus)
  4. Subject: msgrcv(2) bug in SCO ???
  5. Organization: INSCI Inc.
  6. Date: Fri, 20 Nov 1992 19:28:51 GMT
  7. Message-ID: <1992Nov20.192851.25181@spike.insci.com>
  8. Originator: ross@augie
  9. Sender: news@spike.insci.com (News)
  10. Lines: 30
  11.  
  12. Hello world
  13.  
  14.   I'm writing because I've come up against what looks like a bug in 
  15.   SCO's msgrcv(2) implementation. 
  16.   
  17.   It looks like msgrcv(2) is munging my stack. Sometimes after calling 
  18.   msgrcv(), automatic variables in the calling function are munged. Other
  19.   times the process dies when it tries to return from msgrcv(). 
  20.   
  21.   In some cases I've been able to work around it by adding lots of local 
  22.   variables to the calling function - but even that doesn't always work.
  23.   I have a (sort of) little sample program which works fine or dies
  24.   depending on a the number of local variables. 
  25.  
  26.   This is most annoying. And because I don't have luxo development support 
  27.   the best response I can get out of SCO is monday next.
  28.  
  29.   If you have any similar experience, or want a copy of my sample program,
  30.   please email me as I may not have time to browse the news for a while...
  31.  
  32.   thanks in advance
  33.  
  34.   ross
  35.   ross@augie.insci.com
  36.  
  37. -- 
  38. +-----------------------------------------------------------------------------+
  39. |  ross@augie.insci.com                                                       |
  40. |  My opinions and views are not shared or endorsed by my employers. Yet.     |
  41. +-----------------------------------------------------------------------------+
  42.