public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/31093]  New: Multicast PromiscuousTraffic
@ 2007-03-08 20:58 mark at gcc dot gnu dot org
  2007-03-08 22:14 ` [Bug libgcj/31093] " cvs-commit at developer dot classpath dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: mark at gcc dot gnu dot org @ 2007-03-08 20:58 UTC (permalink / raw)
  To: java-prs

See the explanation and test jar at
http://wiki.jboss.org/wiki/Wiki.jsp?page=PromiscuousTraffic

There are 2 problems.
$ gij -jar promiscuoustraffic.jar 
 java.lang.IllegalArgumentException: Invalid ttl: 0
    at java.net.MulticastSocket.setTimeToLive(libgcj.so.8rh)
    at
org.jboss.test.cluster.test.PromiscuousTrafficTester.setUpSockets(PromiscuousTrafficTester.java:134)
    at
org.jboss.test.cluster.test.PromiscuousTrafficTester.<init>(PromiscuousTrafficTester.java:64)
    at
org.jboss.test.cluster.test.PromiscuousTrafficTester.main(PromiscuousTrafficTester.java:182)

 0 is a valid value for ttl however.

 When giving it 1 the test runs. But does result in:
 Bad news. Detected the Promiscuous Traffic problem. Received Hello on
undesired address /231.2.2.2


-- 
           Summary: Multicast PromiscuousTraffic
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mark at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31093


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libgcj/31093] Multicast PromiscuousTraffic
  2007-03-08 20:58 [Bug libgcj/31093] New: Multicast PromiscuousTraffic mark at gcc dot gnu dot org
@ 2007-03-08 22:14 ` cvs-commit at developer dot classpath dot org
  2007-03-08 22:59 ` tromey at gcc dot gnu dot org
  2007-06-14 20:56 ` geoffk at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at developer dot classpath dot org @ 2007-03-08 22:14 UTC (permalink / raw)
  To: java-prs



------- Comment #1 from cvs-commit at developer dot classpath dot org  2007-03-08 22:14 -------
Subject: Bug 31093

CVSROOT:        /cvsroot/classpath
Module name:    classpath
Changes by:     Tom Tromey <tromey>     07/03/08 22:13:32

Modified files:
        .              : ChangeLog 
        java/net       : MulticastSocket.java 

Log message:
                PR libgcj/31093:
                * java/net/MulticastSocket.java (setTimeToLive): Allow ttl==0.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.9148&r2=1.9149
http://cvs.savannah.gnu.org/viewcvs/classpath/java/net/MulticastSocket.java?cvsroot=classpath&r1=1.28&r2=1.29


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31093


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libgcj/31093] Multicast PromiscuousTraffic
  2007-03-08 20:58 [Bug libgcj/31093] New: Multicast PromiscuousTraffic mark at gcc dot gnu dot org
  2007-03-08 22:14 ` [Bug libgcj/31093] " cvs-commit at developer dot classpath dot org
@ 2007-03-08 22:59 ` tromey at gcc dot gnu dot org
  2007-06-14 20:56 ` geoffk at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-03-08 22:59 UTC (permalink / raw)
  To: java-prs



------- Comment #2 from tromey at gcc dot gnu dot org  2007-03-08 22:59 -------
With svn trunk and also the fc6 libgcj I get:

opsy. gij PromiscuousTrafficTester
Listening on address /229.10.11.12
Listening on address /229.10.11.13
Sending 'Hello' on /229.10.11.12:64000
java.lang.IllegalStateException: Did not receive 'Hello' as expected; got null
   at PromiscuousTrafficTester.test(PromiscuousTrafficTester.java:85)
   at PromiscuousTrafficTester.main(PromiscuousTrafficTester.java:182)

I see a few FIXME comments in natPlainDatagramSocketImplPosix.cc relating
to multicast.  Maybe our implementation does not work properly at all.


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2007-03-08 22:59:08
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31093


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libgcj/31093] Multicast PromiscuousTraffic
  2007-03-08 20:58 [Bug libgcj/31093] New: Multicast PromiscuousTraffic mark at gcc dot gnu dot org
  2007-03-08 22:14 ` [Bug libgcj/31093] " cvs-commit at developer dot classpath dot org
  2007-03-08 22:59 ` tromey at gcc dot gnu dot org
@ 2007-06-14 20:56 ` geoffk at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: geoffk at gcc dot gnu dot org @ 2007-06-14 20:56 UTC (permalink / raw)
  To: java-prs



------- Comment #3 from geoffk at gcc dot gnu dot org  2007-06-14 20:56 -------
Subject: Bug 31093

Author: geoffk
Date: Thu Jun 14 20:56:25 2007
New Revision: 125721

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125721
Log:
        PR 31093
        * decl2.c (determine_visibility): Remove duplicate code for
        handling type info.

Added:
    trunk/gcc/testsuite/g++.dg/ext/visibility/anon4.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl2.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31093


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-06-14 20:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-08 20:58 [Bug libgcj/31093] New: Multicast PromiscuousTraffic mark at gcc dot gnu dot org
2007-03-08 22:14 ` [Bug libgcj/31093] " cvs-commit at developer dot classpath dot org
2007-03-08 22:59 ` tromey at gcc dot gnu dot org
2007-06-14 20:56 ` geoffk at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).