Skip Menu |

This queue is for tickets about the Net-Server CPAN distribution.

Report information
The Basics
Id: 85570
Status: open
Priority: 0/
Queue: Net-Server

Owner: Nobody in particular
Requestors: peter [...]

Bug Information
Severity: Normal
Broken in: 2.007
Fixed in: (no value)

Subject: Net::Server::Fork - missing unpack using $sock->getsockopt
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
Message-ID: <rt-4.0.12-25091-1369302218-1338.0-0-0 [...]>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 666
Download (untitled) / with headers
text/plain 666b
For every connection I get this output on console: Argument "\0\0\0^A\0\0\0^E\0\0\0\0\0\0\0\0\0\0\0M-\f^A^A\0\0\0M-^A..." isn't numeric in numeric eq (==) at /usr/local/site_perl/aix/Net/Server/ line 171. Line 171 of the module is this: if (SOCK_DGRAM == $sock->getsockopt(SOL_SOCKET,SO_TYPE)) { getsockopt does not return an integer. Out of documentation: "The function returns a packed string representing the requested socket option" So I changed the code to this, which solves the problem: if (SOCK_DGRAM == unpack("i",$sock->getsockopt(SOL_SOCKET,SO_TYPE))) { Version: 2.007 and 0.63 OS: AIX 6.1 Hope this helps Best regards Peter
From yaberger [...] Thu Dec 5 09: 52:31 2013
MIME-Version: 1.0
X-Spam-Status: No, score=-6.234 tagged_above=-99.9 required=10 tests=[AWL=-0.000, BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_SOFTFAIL=0.665] autolearn=ham
X-Mailer: Lotus Notes Release 8.5.3 September 15, 2011
X-Spam-Flag: NO
X-RT-Interface: API
X-Mimetrack: Serialize by Router on brmoe1/Bromont(Release 8.5.3FP5HF134 | September 19, 2013) at 12/05/2013 09:52:20, Serialize complete at 12/05/2013 09:52:20
X-Virus-Scanned: Debian amavisd-new at
Message-ID: <OFC6C455F7.A17E6BF4-ON85257C38.005142FA-85257C38.0051B1EA [...]>
Content-Type: multipart/alternative; boundary="=_alternative 0051B1E785257C38_="
X-TM-As-MML: disable
X-Spam-Score: -6.234
X-Keepsent: C6C455F7:A17E6BF4-85257C38:005142FA; type=4; name=$KeepSent
Received: from localhost (localhost []) by (Postfix) with ESMTP id 889EC24060A for <cpan-bug+net-server [...]>; Thu, 5 Dec 2013 09:52:31 -0500 (EST)
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id gpIgd94ZoBzU for <cpan-bug+net-server [...]>; Thu, 5 Dec 2013 09:52:29 -0500 (EST)
Received: from ( []) by (Postfix) with SMTP id 8121124027C for <bug-net-server [...]>; Thu, 5 Dec 2013 09:52:29 -0500 (EST)
Received: (qmail 20211 invoked by alias); 5 Dec 2013 14:52:28 -0000
Received: from (HELO ( by (qpsmtpd/0.28) with ESMTP; Thu, 05 Dec 2013 06:52:27 -0800
Received: from /spool/local by with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for <bug-net-server [...]> from <yaberger [...]>; Thu, 5 Dec 2013 09:52:23 -0500
Received: from ( by ( with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 5 Dec 2013 09:52:21 -0500
Received: from ( []) by (Postfix) with ESMTP id 7949738C8027 for <bug-Net-Server [...]>; Thu, 5 Dec 2013 09:52:19 -0500 (EST)
Received: from ( []) by (8.13.8/8.13.8/NCO v10.0) with ESMTP id rB5EqLQl3342846 for <bug-Net-Server [...]>; Thu, 5 Dec 2013 14:52:21 GMT
Received: from (localhost []) by (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id rB5EqL6J017504 for <bug-Net-Server [...]>; Thu, 5 Dec 2013 09:52:21 -0500
Received: from ( []) by (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id rB5EqKu6017488 for <bug-Net-Server [...]>; Thu, 5 Dec 2013 09:52:20 -0500
X-Content-Scanned: Fidelis XPS MAILER
Delivered-To: cpan-bug+net-server [...]
Subject: [ #85570] Similar bug with another module (Mojolicious) on AIX, point on a bug/issue with IO::Socket
Return-Path: <yaberger [...]>
X-Original-To: cpan-bug+net-server [...]
X-RT-Mail-Extension: net-server
Date: Thu, 5 Dec 2013 09:52:19 -0500
X-Cbid: 13120514-7182-0000-0000-00000946A218
To: bug-Net-Server [...]
From: yaberger [...]
RT-Message-ID: <rt-4.0.18-17971-1386255152-1676.85570-0-0 [...]>
Content-Length: 0
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
Content-Length: 662
Download (untitled) / with headers
text/plain 662b
Hi, Just to let you know that I've a similar bug with the module Mojolicious. In reference:!topic/mojolicious/T34XZX72LaA We've been able to point on the getsockopt() subroutine in IO::Socket and I've opened the following ticket: However, Mojolicious maintainer has been informed that the "CPAN IO::Socket" module is not maintained anymore but is included as part of the Perl core. So I'll need to report it against Perl itself (P5P). I'll refer my ticket and yours as it seems to be the same or a similar bug. Best regards, Yannick Bergeron Advisory IT Specialist
content-type: text/html; charset="utf-8"
X-RT-Original-Encoding: utf-8
Content-Length: 1283

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to