From owner-freebsd-net@FreeBSD.ORG Sun Feb 23 14:53:15 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7E8CDDED for ; Sun, 23 Feb 2014 14:53:15 +0000 (UTC) Received: from nm19-vm1.bullet.mail.ne1.yahoo.com (nm19-vm1.bullet.mail.ne1.yahoo.com [98.138.91.56]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3085E1385 for ; Sun, 23 Feb 2014 14:53:15 +0000 (UTC) Received: from [98.138.100.117] by nm19.bullet.mail.ne1.yahoo.com with NNFMP; 23 Feb 2014 14:53:08 -0000 Received: from [98.138.226.30] by tm108.bullet.mail.ne1.yahoo.com with NNFMP; 23 Feb 2014 14:53:08 -0000 Received: from [127.0.0.1] by smtp201.mail.ne1.yahoo.com with NNFMP; 23 Feb 2014 14:53:08 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1393167188; bh=OmtGSapt49ZI1Z/eXugm7R8vJPz6n/f77O3vknco2x0=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc:Content-Transfer-Encoding:Message-Id:References:To:X-Mailer; b=zzb/Bmky7FquB2thoRyxGn2S4Gto7j//d9ITKc3+Syz98RUH1BUoITAP2NkMBpCHxXGdMNtLWGYzvybtRF3i3DbXFoI4uoxrnPwzNx61dXFgvp4wdchHYXCDV8HTUxaPwVItWK3OrMbiw28wkSGZIFJ/VlZ2XOie+sXu3uZVDDo= X-Yahoo-Newman-Id: 28095.20872.bm@smtp201.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: p4C0dQkVM1k0q8L.D9aUC3a6Kw6BsmoEr3.joB_4WXG9NuP 6nFsBsZ_v_L4JZR92AZvJIaLSAEC1iDW0QP4buAGIGyrrkXeEYUd_0W8haL6 u7xlZqTZe6zpOV3lSz.40wXQzrNz.Id6IhTaKJnekqSVMQKPuAMw5I7wAA2T U5j6vo3HLoqQmXWLqk2lJqwe0wISTNpMUmQmIYhT5XzEjrZEPzuVJpWZy55i M6Wp0Wf6nOLa_tu2fZb5tDRNKwt_jlhzjRLXfqWQ3QpSRgTd39noGuoqDWv. Ui.oVJO7_MVUsE6D3NbiRCZJ86XVYkFGnqFpbw0yTFyiQHaSy7ZeNQ43LvsN OBL3t.B.VaYBaFDozrxCX3b74_2_tM.HAWmhnHIK41qtycF0wgWxYWS1TMv5 v9DdLS6OrTUY1TVQyiZBuTdZPVQwSfcwKK1dlPNnH6ABN3R2PW3oFZVR3qgf 9Bp9lnqnUIMoGM8yCvaushFjZiUvahdK1fJ.6.uG541UWNc2SE1EUCSdUodA RWrJFcgt8flURwG7kbvFZ5Mgg19fSiLhCHc_6OARr1.ecLn4JkMJ4C2SYuhg PL.vZRYtaWaiU3LeuuPd3qaw7c5sZy5uZphBo8WhfNTrXKgrCbrj.xslM7t4 Y07MkF6NXo6guikwutHvo_gKq5ZH6fgPER6c- X-Yahoo-SMTP: z6dQwTeswBDDR3zJap0nVIllEEY- X-Rocket-Received: from [192.168.1.13] (dddaley@173.106.254.70 with plain [63.250.193.228]) by smtp201.mail.ne1.yahoo.com with SMTP; 23 Feb 2014 06:53:07 -0800 PST Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: java.net.PlainDatagramSocketImpl.join(Native Method), invalid argument From: Dan Daley In-Reply-To: Date: Sun, 23 Feb 2014 08:53:02 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <43F3B96E-0BC7-4BEA-BAAF-CD43E69B1152@yahoo.com> References: To: Craig Rodrigues X-Mailer: Apple Mail (2.1499) Cc: freebsd-net@freebsd.org, jenkins-admin@freebsd.org, "freebsd-java@freebsd.org" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Feb 2014 14:53:15 -0000 I ran into this issue about a year and a half ago. If this is the same = issue, it had something to do with the way an IPv4 address is bound to = IPv6. =20 I also ran into the issue on some older flavors of linux, though it = seems that the issue didn't happen on newer flavors. Sorry, I don't remember more details now. But, maybe someone else can = shed more light on the IPv4/IPv6 issue with UDP in Java. On Feb 22, 2014, at 10:45 PM, Craig Rodrigues = wrote: > Hi, >=20 > I can reproduce the following problem pretty easily > on FreeBSD 9, 10, CURRENT. >=20 > (1) Install the devel/jenkins port >=20 > (2) Run: >=20 > service jenkins onestart >=20 > (3) In /var/log/jenkins.log, I see a traceback: >=20 > WARNING: UDP handling problem > java.net.SocketException: Invalid argument > at java.net.PlainDatagramSocketImpl.join(Native Method) > at > = java.net.AbstractPlainDatagramSocketImpl.join(AbstractPlainDatagramSocketI= mpl.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 >=20 >=20 >=20 > I reported this bug against Jenkins: >=20 > https://issues.jenkins-ci.org/browse/JENKINS-21727 >=20 >=20 > but now I suspect that this is a FreeBSD bug or > implementation with respect to multicast. >=20 >=20 > Can someone help me debug this and isolate the problem? > It's been a while since I've debugged Java code. >=20 > Thanks. > -- > Craig > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to = "freebsd-java-unsubscribe@freebsd.org"