Hi, Sorry for the cross-posting, but I'm not 100% sure where the problem is, either with the Jenkins port, Java, or FreeBSD networking code..
I recently tried to install the devel/jenkins port on two separate boxes: (1) box 1 running FreeBSD-9-STABLE. (2) box 2 running running FreeBSD-CURRENT r254815 On box 1 when I tried to run jenkins with "service jenkins start", I got a Java error with backtrace: WARNING: Failed to advertise the service to DNS multi-cast (see attached jenkins.log.txt) On box 2, since I this is a debug kernel with WITNESS and INVARIANTS enabled, I get a kernel panic. (see attached core.txt.gz) The panic occurs here on line 1779: 1768 static struct ifnet * 1769 in6p_lookup_mcast_ifp(const struct inpcb *in6p, 1770 const struct sockaddr_in6 *gsin6) 1771 { 1772 struct route_in6 ro6; 1773 struct ifnet *ifp; 1774 1775 KASSERT(in6p->inp_vflag & INP_IPV6, 1776 ("%s: not INP_IPV6 inpcb", __func__)); 1777 KASSERT(gsin6->sin6_family == AF_INET6, 1778 ("%s: not AF_INET6 group", __func__)); 1779 KASSERT(IN6_IS_ADDR_MULTICAST(&gsin6->sin6_addr), 1780 ("%s: not multicast", __func__)); If I look at gsin6->sin6_addr inside kgdb, I see: (kgdb) p gsin6->sin6_addr $1 = {__u6_addr = {__u6_addr8 = "\000\000\000\000\000\000\000\000\000\000���M|�", __u6_addr16 = {0, 0, 0, 0, 0, 65535, 19951, 54652}, __u6_addr32 = {0, 0, 4294901760, 3581693423}}} I am not so familiar with this part of the networking code. Can someone recommend where is the best place to fix this would be? Thanks. -- Craig
Running from: /usr/local/share/jenkins/jenkins.war Aug 26, 2013 9:58:27 AM winstone.Logger logInternal INFO: Beginning extraction from war file Jenkins home directory: /usr/local/jenkins found at: System.getProperty("JENKINS_HOME") Aug 26, 2013 9:58:30 AM winstone.Logger logInternal INFO: HTTP Listener started: port=8180 Aug 26, 2013 9:58:30 AM winstone.Logger logInternal INFO: AJP13 Listener started: port=8009 Aug 26, 2013 9:58:30 AM winstone.Logger logInternal INFO: Winstone Servlet Engine v0.9.10 running: controlPort=disabled Aug 26, 2013 9:58:30 AM jenkins.InitReactorRunner$1 onAttained INFO: Started initialization Aug 26, 2013 9:58:38 AM jenkins.InitReactorRunner$1 onAttained INFO: Listed all plugins Aug 26, 2013 9:58:38 AM jenkins.InitReactorRunner$1 onAttained INFO: Prepared all plugins Aug 26, 2013 9:58:39 AM jenkins.InitReactorRunner$1 onAttained INFO: Started all plugins Aug 26, 2013 9:58:39 AM jenkins.InitReactorRunner$1 onAttained INFO: Augmented all extensions Aug 26, 2013 9:58:39 AM jenkins.InitReactorRunner$1 onAttained INFO: Loaded all jobs Aug 26, 2013 9:58:48 AM org.jenkinsci.main.modules.sshd.SSHD start INFO: Started SSHD at port 19672 Aug 26, 2013 9:58:48 AM jenkins.InitReactorRunner$1 onAttained INFO: Completed initialization Aug 26, 2013 9:58:48 AM hudson.TcpSlaveAgentListener <init> INFO: JNLP slave agent listener started on TCP port 54687 Aug 26, 2013 9:58:48 AM hudson.UDPBroadcastThread run 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) Aug 26, 2013 9:58:48 AM hudson.WebAppMain$3 run INFO: Jenkins is fully up and running Aug 26, 2013 9:58:48 AM hudson.DNSMultiCast$1 call WARNING: Failed to advertise the service to DNS multi-cast 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 javax.jmdns.impl.JmDNSImpl.openMulticastSocket(JmDNSImpl.java:459) at javax.jmdns.impl.JmDNSImpl.<init>(JmDNSImpl.java:420) at javax.jmdns.JmDNS.create(JmDNS.java:60) at hudson.DNSMultiCast$1.call(DNSMultiCast.java:32) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:679)
_______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"