From owner-freebsd-java@FreeBSD.ORG Sun Feb 23 04:45:25 2014 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4398734D; Sun, 23 Feb 2014 04:45:25 +0000 (UTC) Received: from mail-la0-x22f.google.com (mail-la0-x22f.google.com [IPv6:2a00:1450:4010:c03::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5A1801693; Sun, 23 Feb 2014 04:45:24 +0000 (UTC) Received: by mail-la0-f47.google.com with SMTP id hr17so4038894lab.20 for ; Sat, 22 Feb 2014 20:45:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:cc:content-type; bh=MY5P7Ign9QqLjAcldl0ptJd2xaivolpOez2/KtHPEmI=; b=o1Q1/qmo8QQNaVGKZDIwOro7ttXhcu4C3HEAIQTAKR/nJVoxHVVh+XTYunSvfySGo4 fdhn09Ozccc2+nFgotTTDFOAXiquCMeLptSUFU9NNaL1xBqc18R1KidCeUp44w3lWajs Bx4mqPw+JOzDwVnb8qPUxh7OXTFm5Dt6kNJqdGyeSuJzGgf9AxGYC9hmOlD0DewZDOFg sxqgnTFNP7FNWdPDTIA+WUqBvm3gdNqokxp7w4bfW1tsrwgjabDXaIgYjYozBOhM6uyS Cqr0NZUrx8ShxCP1lIyD064jMvsO0HeT7TAxsfolWRDKZzXzaleIiivFKIf0J2s6K0rn peJA== MIME-Version: 1.0 X-Received: by 10.152.9.65 with SMTP id x1mr8444750laa.6.1393130722393; Sat, 22 Feb 2014 20:45:22 -0800 (PST) Sender: crodr001@gmail.com Received: by 10.112.30.211 with HTTP; Sat, 22 Feb 2014 20:45:22 -0800 (PST) Date: Sat, 22 Feb 2014 20:45:22 -0800 X-Google-Sender-Auth: QgatWMUF81WFwF37daHqJKbRKPs Message-ID: Subject: java.net.PlainDatagramSocketImpl.join(Native Method), invalid argument From: Craig Rodrigues To: freebsd-net@freebsd.org, "freebsd-java@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: jenkins-admin@freebsd.org X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Feb 2014 04:45:25 -0000 Hi, I can reproduce the following problem pretty easily on FreeBSD 9, 10, CURRENT. (1) Install the devel/jenkins port (2) Run: service jenkins onestart (3) In /var/log/jenkins.log, I see a traceback: WARNING: UDP handling problem java.net.SocketException: Invalid argument at java.net.PlainDatagramSocketImpl.join(Native Method) at java.net.AbstractPlainDatagramSocketImpl.join(AbstractPlainDatagramSocketImpl.java:168) at java.net.MulticastSocket.joinGroup(MulticastSocket.java:300) at hudson.UDPBroadcastThread.run(UDPBroadcastThread.java:76) Feb 22, 2014 5:21:00 PM hudson.WebAppMain$3 run I reported this bug against Jenkins: https://issues.jenkins-ci.org/browse/JENKINS-21727 but now I suspect that this is a FreeBSD bug or implementation with respect to multicast. Can someone help me debug this and isolate the problem? It's been a while since I've debugged Java code. Thanks. -- Craig