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

People
Owner: Nobody in particular
Requestors: peter [...] pjsc.de
Cc:
AdminCc:

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 [...] rt.cpan.org>
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/Fork.pm 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 [...] ca.ibm.com 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 bestpractical.com
Message-ID: <OFC6C455F7.A17E6BF4-ON85257C38.005142FA-85257C38.0051B1EA [...] ca.ibm.com>
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 [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 889EC24060A for <cpan-bug+net-server [...] hipster.bestpractical.com>; Thu, 5 Dec 2013 09:52:31 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gpIgd94ZoBzU for <cpan-bug+net-server [...] hipster.bestpractical.com>; Thu, 5 Dec 2013 09:52:29 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 8121124027C for <bug-net-server [...] rt.cpan.org>; Thu, 5 Dec 2013 09:52:29 -0500 (EST)
Received: (qmail 20211 invoked by alias); 5 Dec 2013 14:52:28 -0000
Received: from e9.ny.us.ibm.com (HELO e9.ny.us.ibm.com) (32.97.182.139) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Thu, 05 Dec 2013 06:52:27 -0800
Received: from /spool/local by e9.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for <bug-net-server [...] rt.cpan.org> from <yaberger [...] ca.ibm.com>; Thu, 5 Dec 2013 09:52:23 -0500
Received: from d01dlp01.pok.ibm.com (9.56.250.166) by e9.ny.us.ibm.com (192.168.1.109) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 5 Dec 2013 09:52:21 -0500
Received: from b01cxnp23033.gho.pok.ibm.com (b01cxnp23033.gho.pok.ibm.com [9.57.198.28]) by d01dlp01.pok.ibm.com (Postfix) with ESMTP id 7949738C8027 for <bug-Net-Server [...] rt.cpan.org>; Thu, 5 Dec 2013 09:52:19 -0500 (EST)
Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [9.56.224.217]) by b01cxnp23033.gho.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id rB5EqLQl3342846 for <bug-Net-Server [...] rt.cpan.org>; Thu, 5 Dec 2013 14:52:21 GMT
Received: from d01av03.pok.ibm.com (localhost [127.0.0.1]) by d01av03.pok.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id rB5EqL6J017504 for <bug-Net-Server [...] rt.cpan.org>; Thu, 5 Dec 2013 09:52:21 -0500
Received: from brmoe1.bromont.ibm.com (dominop1.bromont.ibm.com [9.54.4.140]) by d01av03.pok.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id rB5EqKu6017488 for <bug-Net-Server [...] rt.cpan.org>; Thu, 5 Dec 2013 09:52:20 -0500
X-Content-Scanned: Fidelis XPS MAILER
Delivered-To: cpan-bug+net-server [...] hipster.bestpractical.com
Subject: [rt.cpan.org #85570] Similar bug with another module (Mojolicious) on AIX, point on a bug/issue with IO::Socket
Return-Path: <yaberger [...] ca.ibm.com>
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: cpan-bug+net-server [...] hipster.bestpractical.com
X-RT-Mail-Extension: net-server
Date: Thu, 5 Dec 2013 09:52:19 -0500
X-Spam-Level:
X-Cbid: 13120514-7182-0000-0000-00000946A218
To: bug-Net-Server [...] rt.cpan.org
From: yaberger [...] ca.ibm.com
RT-Message-ID: <rt-4.0.18-17971-1386255152-1676.85570-0-0 [...] rt.cpan.org>
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: https://groups.google.com/forum/#!topic/mojolicious/T34XZX72LaA We've been able to point on the getsockopt() subroutine in IO::Socket and I've opened the following ticket: https://rt.cpan.org/Public/Bug/Display.html?id=91183 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 Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.