<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic sendmsg() API in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmsg-api/m-p/3705617#M549604</link>
    <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I want to know all the known defects relating to the sendmsg() socket API.&lt;BR /&gt;&lt;BR /&gt;I am using a multi-threaded application which uses sendmsg(), and on two different machines I am seeing different issues (different patch levels)&lt;BR /&gt; &lt;BR /&gt;a) sendmsg() API cores and when using debugger (gdb) on the application we see that errno is set to EPIPE.&lt;BR /&gt;&lt;BR /&gt;b) sendmsg() returns -1, however the errno value it gives is zero. perror prints an error but it looks unreliable.&lt;BR /&gt;&lt;BR /&gt;Could somebody guide me as to how should I know which patches I should apply and if there are any known bugs for sendmsg() API on HP.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Shweta</description>
    <pubDate>Tue, 10 Jan 2006 01:07:17 GMT</pubDate>
    <dc:creator>Shweta_3</dc:creator>
    <dc:date>2006-01-10T01:07:17Z</dc:date>
    <item>
      <title>sendmsg() API</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmsg-api/m-p/3705617#M549604</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I want to know all the known defects relating to the sendmsg() socket API.&lt;BR /&gt;&lt;BR /&gt;I am using a multi-threaded application which uses sendmsg(), and on two different machines I am seeing different issues (different patch levels)&lt;BR /&gt; &lt;BR /&gt;a) sendmsg() API cores and when using debugger (gdb) on the application we see that errno is set to EPIPE.&lt;BR /&gt;&lt;BR /&gt;b) sendmsg() returns -1, however the errno value it gives is zero. perror prints an error but it looks unreliable.&lt;BR /&gt;&lt;BR /&gt;Could somebody guide me as to how should I know which patches I should apply and if there are any known bugs for sendmsg() API on HP.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Shweta</description>
      <pubDate>Tue, 10 Jan 2006 01:07:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmsg-api/m-p/3705617#M549604</guid>
      <dc:creator>Shweta_3</dc:creator>
      <dc:date>2006-01-10T01:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: sendmsg() API</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmsg-api/m-p/3705618#M549605</link>
      <description>Hi Shweta, &lt;BR /&gt;&lt;BR /&gt;You can find more information here, PHNE_33628&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www2.itrc.hp.com/service/patch/patchDetail.do?BC=patch.breadcrumb.main" target="_blank"&gt;http://www2.itrc.hp.com/service/patch/patchDetail.do?BC=patch.breadcrumb.main&lt;/A&gt;|patch.breadcrumb.search|&amp;amp;patchid=PHNE_33628&amp;amp;context=hpux:800:11:11&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Tue, 10 Jan 2006 01:15:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmsg-api/m-p/3705618#M549605</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-01-10T01:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: sendmsg() API</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmsg-api/m-p/3705619#M549606</link>
      <description>Hi Again, &lt;BR /&gt;&lt;BR /&gt;When using AF_UNIX sockets blocking sendmsg()&lt;BR /&gt; returns EMSGSIZE when receive side is&lt;BR /&gt; close to being full.  This can happen on blocking or&lt;BR /&gt; non-blocking.&lt;BR /&gt; ( SR:8606134574 CR:JAGad03709 )&lt;BR /&gt;&lt;BR /&gt;( SR:8606401226 CR:JAGaf61175 )&lt;BR /&gt; Due to race condition between close(2) and sendmsg(2)&lt;BR /&gt; system calls, when sending ancillary data, system can&lt;BR /&gt; panic with DPF.&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Tue, 10 Jan 2006 01:21:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmsg-api/m-p/3705619#M549606</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-01-10T01:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: sendmsg() API</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmsg-api/m-p/3705620#M549607</link>
      <description>which os you are using? uname -r will give that.&lt;BR /&gt;&lt;BR /&gt;Search here,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www1.itrc.hp.com/service/patch/search.do?BC=patch.breadcrumb.main" target="_blank"&gt;http://www1.itrc.hp.com/service/patch/search.do?BC=patch.breadcrumb.main&lt;/A&gt;|&amp;amp;pageContextName=hpux:::&lt;BR /&gt;&lt;BR /&gt;with your operating system and sendmsg keyword.&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Muthu</description>
      <pubDate>Tue, 10 Jan 2006 01:27:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmsg-api/m-p/3705620#M549607</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2006-01-10T01:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: sendmsg() API</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmsg-api/m-p/3705621#M549608</link>
      <description>Read this,&lt;BR /&gt;&lt;BR /&gt;           [EPIPE] and SIGPIPE signal&lt;BR /&gt;                                 An attempt was made to send on a socket&lt;BR /&gt;                                 that was connected, but the connection has&lt;BR /&gt;                                 been shut down, either by the remote peer&lt;BR /&gt;                                 or by this side of the connection.  Note&lt;BR /&gt;                                 that the default action for SIGPIPE, unless&lt;BR /&gt;                                 the process has established a signal&lt;BR /&gt;                                 handler for this signal, is to terminate&lt;BR /&gt;                                 the process.&lt;BR /&gt;&lt;BR /&gt;Remote peer is closing socket connection while sending message. May be a problem with network or programming too.&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Muthu</description>
      <pubDate>Tue, 10 Jan 2006 01:29:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmsg-api/m-p/3705621#M549608</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2006-01-10T01:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: sendmsg() API</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmsg-api/m-p/3705622#M549609</link>
      <description>I downloaded a lot of patches and patched up my system. However the bahavior of the sendmsg() API has not changed for me. I am not sure where is the problem.</description>
      <pubDate>Tue, 10 Jan 2006 08:43:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmsg-api/m-p/3705622#M549609</guid>
      <dc:creator>Shweta_3</dc:creator>
      <dc:date>2006-01-10T08:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: sendmsg() API</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmsg-api/m-p/3705623#M549610</link>
      <description>If after patching behaviour has not changed, it may suggest some issues in the application.&lt;BR /&gt;&lt;BR /&gt;I think the EPIPE has been discussed - it suggests that the app tried to send on a closed connection.  That you get EPIPE in the debugger and probably a core dump outside of it?  stems from debuggers tending to intercept signals.&lt;BR /&gt;&lt;BR /&gt;The errno being zero could be the application making some other call that sets errno between the time sendmsg has failed and when the errno is printed.&lt;BR /&gt;&lt;BR /&gt;FWIW, are you compiling -D_REENTRANT and linking with -lpthread?</description>
      <pubDate>Tue, 10 Jan 2006 20:28:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmsg-api/m-p/3705623#M549610</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2006-01-10T20:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: sendmsg() API</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmsg-api/m-p/3705624#M549611</link>
      <description>Hi Shweta, &lt;BR /&gt;&lt;BR /&gt;To dig further, you can use "tusc" to find out what all the calls being made and where it was stuck. You can download "tusc" from, &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Sysadmin/tusc-7.8/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Sysadmin/tusc-7.8/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Wed, 11 Jan 2006 01:02:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmsg-api/m-p/3705624#M549611</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-01-11T01:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: sendmsg() API</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmsg-api/m-p/3705625#M549612</link>
      <description>Rick,&lt;BR /&gt;&lt;BR /&gt;Thanks a lot. The -D_REENTRANT flag did it. All the time I was under the assumption that by default the renetrant mode is set. Now I feel silly about it.&lt;BR /&gt;&lt;BR /&gt;Thank You once again.&lt;BR /&gt;&lt;BR /&gt;Shweta</description>
      <pubDate>Wed, 11 Jan 2006 01:09:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmsg-api/m-p/3705625#M549612</guid>
      <dc:creator>Shweta_3</dc:creator>
      <dc:date>2006-01-11T01:09:10Z</dc:date>
    </item>
  </channel>
</rss>

