On Tue, Sep 09, 2003 at 01:44:15PM -0700, Ian Clarke wrote: > On Tue, Sep 09, 2003 at 03:22:32PM -0400, Dan Merillat wrote: > > Ian, this is why we don't bother submitting JVM bugs. Sun dosn't care. > > Oh come on! He is asking for more information - how do you interpret > that as "not caring"? When we ask someone for more information after > they report a but to us does that mean that we don't care? > > I know Sun is everybody's favourite whipping boy on this project, but > citing a request for further information on a bug report as evidence > that they don't care is rediculous.
They execute the provided instructions for producing a crash. Then they get a crash. They have access to the innards of the JVM, we don't. They are much better qualified to debug what is clearly a JVM bug. I would also argue that by not providing FULL, compilable, distributible source code, they are automatically a reasonable target for abuse, just like Microsoft. :) However, we MAY be able to get a bit further with this - the recent change that seems to be responsible is me changing tcpConnection to use direct buffers, and to pool them, which was 6186 IIRC. I will revert this soon, motives were 1. use of direct buffers reduces memory allocation and copying, and 2. some recent reports of Java using far more RAM than Freenet reports, one reasonable explanation would be temporary direct buffers allocated by the JVM leaking, we can take control of this by using direct buffers. > > Ian. > > > Toad, it appears to involve this: > > > > Sep 8, 2003 12:01:30 PM (freenet.OpenConnectionManager, QThread-2962, ERROR): > > [LOOPING (A)!]Transport level connect failed to: antilles.ecs.umass.edu:3211 -- > > java.io.IOException: Already closed! ([EMAIL PROTECTED],tcp/connection: > > CLOSED,[EMAIL PROTECTED],null) > > java.io.IOException: Already closed! > > > > So it's the thread reaping after that error. Perhaps a demo applet that > > spawns threads that fail to connect, get the alredy closed exception > > then get joined by the master? I'm not sure if it's even possible to > > reproduce, since it's a memory error due to complex VM interactions. > > > > > > ----- Forwarded message from Girish Manwani <[EMAIL PROTECTED]> ----- > > > > From: Girish Manwani <[EMAIL PROTECTED]> > > Subject: Re: (Incident Review ID: 206397) Unexpected Signal : 11 occurred at > > PC=0x402E67FA > > To: [EMAIL PROTECTED] > > Cc: [EMAIL PROTECTED] > > X-IM-Review-ID: 206397 > > X-Spam-Status: No, hits=0.0 required=5.0 > > tests=none > > version=2.55 > > X-Spam-Level: > > X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) > > > > Hi Dan Merillat, > > > > Thank you for submitting a bug using our bug submit page. > > > > Since "freenet" appears to trigger this failure, could you please ask freenet to > > investigate this issue further. The developers at freenet.sourceforge.net will be > > able to examine their product, isolate the cause of the behavior, and, if > > necessary, provide us with a detailed report. > > > > Thanks again for taking time to report this issue. > > > > Regards, > > Girish > > ----------------- Original Bug Report------------------- > > > > category : java > > release : 1.4.2 > > subcategory : runtime > > type : bug > > synopsis : Unexpected Signal : 11 occurred at PC=0x402E67FA > > description : FULL PRODUCT VERSION : > > java version "1.4.2_01" > > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_01-b06) > > Java HotSpot(TM) Client VM (build 1.4.2_01-b06, mixed mode) > > > > > > FULL OS VERSION : > > Linux chaos.ao.net 2.6.0-test4 #2 Fri Aug 29 18:16:27 UTC 2003 i686 GNU/Linux > > > > > > EXTRA RELEVANT SYSTEM CONFIGURATION : > > Running freenet build 6176 overnight > > > > A DESCRIPTION OF THE PROBLEM : > > java.lang.Object.wait(Native Method) causes a crash after being called many times. > > > > > > STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : > > Run freenet-unstable (build 6176 or 6177 known to trigger) for a period of 12-24 > > hours. > > > > > > EXPECTED VERSUS ACTUAL BEHAVIOR : > > EXPECTED - > > Not a crash > > ACTUAL - > > a crash > > > > ERROR MESSAGES/STACK TRACES THAT OCCUR : > > Unexpected Signal : 11 occurred at PC=0x402E67FA > > Function=(null)+0x402E67FA > > Library=/usr/java/j2sdk1.4.2_01/jre/lib/i386/client/libjvm.so > > > > NOTE: We are unable to locate the function name symbol for the error > > just occurred. Please refer to release documentation for possible > > reason and solutions. > > > > > > Current Java thread: > > at java.lang.Object.wait(Native Method) > > - waiting on <0x457b7108> (a java.lang.Thread) > > at java.lang.Thread.join(Thread.java:1001) > > - locked <0x457b7108> (a java.lang.Thread) > > at java.lang.Thread.join(Thread.java:1054) > > at freenet.Core.join(Core.java:479) > > at freenet.node.Main.main(Main.java:1037) > > > > Dynamic libraries: > > 08048000-0804e000 r-xp 00000000 08:01 208764 > > /usr/java/j2sdk1.4.2_01/jre/bin/java > > 0804e000-0804f000 rw-p 00005000 08:01 208764 > > /usr/java/j2sdk1.4.2_01/jre/bin/java > > 40000000-40011000 r-xp 00000000 08:01 10948 /lib/ld-2.3.1.so > > 40011000-40012000 rw-p 00011000 08:01 10948 /lib/ld-2.3.1.so > > 40017000-40023000 r-xp 00000000 08:01 11573 /lib/libpthread-0.10.so > > 40023000-40026000 rw-p 0000c000 08:01 11573 /lib/libpthread-0.10.so > > 40066000-40068000 r-xp 00000000 08:01 11529 /lib/libdl-2.3.1.so > > 40068000-40069000 rw-p 00001000 08:01 11529 /lib/libdl-2.3.1.so > > 40069000-40171000 r-xp 00000000 08:01 10952 /lib/libc-2.3.1.so > > 40171000-40177000 rw-p 00107000 08:01 10952 /lib/libc-2.3.1.so > > 40179000-40573000 r-xp 00000000 08:01 221037 > > /usr/java/j2sdk1.4.2_01/jre/lib/i386/client/libjvm. > > so > > 40573000-4058f000 rw-p 003f9000 08:01 221037 > > /usr/java/j2sdk1.4.2_01/jre/lib/i386/client/libjvm. > > so > > 405a5000-405b5000 r-xp 00000000 08:01 11561 /lib/libnsl-2.3.1.so > > 405b5000-405b6000 rw-p 00010000 08:01 11561 /lib/libnsl-2.3.1.so > > 405b8000-405d8000 r-xp 00000000 08:01 11559 /lib/libm-2.3.1.so > > 405d8000-405d9000 rw-p 0001f000 08:01 11559 /lib/libm-2.3.1.so > > 405d9000-405e1000 r-xp 00000000 08:01 219506 > > /usr/java/j2sdk1.4.2_01/jre/lib/i386/native_threads > > /libhpi.so > > 405e1000-405e2000 rw-p 00007000 08:01 219506 > > /usr/java/j2sdk1.4.2_01/jre/lib/i386/native_threads > > /libhpi.so > > 405e6000-405ef000 r-xp 00000000 08:01 11562 /lib/libnss_compat-2.3.1.so > > 405ef000-405f0000 rw-p 00009000 08:01 11562 /lib/libnss_compat-2.3.1.so > > 405f0000-405f4000 rw-s 00000000 08:01 208650 /tmp/hsperfdata_freenet/31479 > > 405f4000-40604000 r-xp 00000000 08:01 221319 > > /usr/java/j2sdk1.4.2_01/jre/lib/i386/libverify.so > > 40604000-40606000 rw-p 0000f000 08:01 221319 > > /usr/java/j2sdk1.4.2_01/jre/lib/i386/libverify.so > > 40606000-40626000 r-xp 00000000 08:01 221341 > > /usr/java/j2sdk1.4.2_01/jre/lib/i386/libjava.so > > 40626000-40628000 rw-p 0001f000 08:01 221341 > > /usr/java/j2sdk1.4.2_01/jre/lib/i386/libjava.so > > 40628000-4063c000 r-xp 00000000 08:01 221534 > > /usr/java/j2sdk1.4.2_01/jre/lib/i386/libzip.so > > 4063c000-4063f000 rw-p 00013000 08:01 221534 > > /usr/java/j2sdk1.4.2_01/jre/lib/i386/libzip.so > > 4063f000-41fd7000 r--s 00000000 08:01 222597 > > /usr/java/j2sdk1.4.2_01/jre/lib/rt.jar > > 42021000-42037000 r--s 00000000 08:01 222016 > > /usr/java/j2sdk1.4.2_01/jre/lib/sunrsasign.jar > > 42037000-42112000 r--s 00000000 08:01 208760 > > /usr/java/j2sdk1.4.2_01/jre/lib/jsse.jar > > 42112000-42123000 r--s 00000000 08:01 222017 > > /usr/java/j2sdk1.4.2_01/jre/lib/jce.jar > > 42123000-4267c000 r--s 00000000 08:01 222505 > > /usr/java/j2sdk1.4.2_01/jre/lib/charsets.jar > > 44724000-4472a000 r-xp 00000000 08:01 221612 > > /usr/java/j2sdk1.4.2_01/jre/lib/i386/libnio.so > > 4472a000-4472b000 rw-p 00005000 08:01 221612 > > /usr/java/j2sdk1.4.2_01/jre/lib/i386/libnio.so > > 5280c000-5280f000 r--s 00000000 08:01 222013 > > /usr/java/j2sdk1.4.2_01/jre/lib/ext/dnsns.jar > > 5280f000-5282b000 r--s 00000000 08:01 222012 > > /usr/java/j2sdk1.4.2_01/jre/lib/ext/sunjce_provider > > .jar > > 5282b000-52838000 r--s 00000000 08:01 222015 > > /usr/java/j2sdk1.4.2_01/jre/lib/ext/ldapsec.jar > > 52838000-528f4000 r--s 00000000 08:01 222544 > > /usr/java/j2sdk1.4.2_01/jre/lib/ext/localedata.jar > > 528f4000-52b00000 r--s 00000000 08:01 208523 /home/freenet/lib/freenet-test.jar > > 52b00000-52b10000 r-xp 00000000 08:01 221607 > > /usr/java/j2sdk1.4.2_01/jre/lib/i386/libnet.so > > 52b10000-52b11000 rw-p 0000f000 08:01 221607 > > /usr/java/j2sdk1.4.2_01/jre/lib/i386/libnet.so > > 52b15000-52b1d000 r-xp 00000000 08:01 11565 /lib/libnss_files-2.3.1.so > > 52b1d000-52b1e000 rw-p 00007000 08:01 11565 /lib/libnss_files-2.3.1.so > > 52b1e000-52b3e000 r--s 00000000 08:01 30256 /home/freenet/lib/freenet-ext.jar > > 52b3e000-52b41000 r--s 00000000 08:01 30253 > > /home/freenet/lib/fec-linux-x86.jar > > 52b45000-52b48000 r-xp 00000000 08:01 11563 /lib/libnss_dns-2.3.1.so > > 52b48000-52b49000 rw-p 00002000 08:01 11563 /lib/libnss_dns-2.3.1.so > > 52b49000-52b56000 r-xp 00000000 08:01 11569 /lib/libresolv-2.3.1.so > > 52b56000-52b57000 rw-p 0000d000 08:01 11569 /lib/libresolv-2.3.1.so > > > > Heap at VM Abort: > > Heap > > def new generation total 11328K, used 11012K [0x44730000, 0x45370000, > > 0x45370000) > > eden space 10112K, 100% used [0x44730000, 0x45110000, 0x45110000) > > from space 1216K, 74% used [0x45240000, 0x453211e8, 0x45370000) > > to space 1216K, 0% used [0x45110000, 0x45111150, 0x45240000) > > tenured generation total 151296K, used 85560K [0x45370000, 0x4e730000, > > 0x4e730000) > > the space 151296K, 56% used [0x45370000, 0x4a6fe3b8, 0x4a6fe400, 0x4e730000) > > compacting perm gen total 5632K, used 5497K [0x4e730000, 0x4ecb0000, 0x52730000) > > the space 5632K, 97% used [0x4e730000, 0x4ec8e480, 0x4ec8e600, 0x4ecb0000) > > > > Local Time = Sat Sep 6 22:10:39 2003 > > Elapsed Time = 35244 > > # > > # HotSpot Virtual Machine Error : 11 > > # Error ID : 4F530E43505002EF > > # Please report this error at > > # http://java.sun.com/cgi-bin/bugreport.cgi > > # > > # Java VM: Java HotSpot(TM) Client VM (1.4.2_01-b06 mixed mode) > > # > > > > > > REPRODUCIBILITY : > > This bug can be reproduced often. > > > > ---------- BEGIN SOURCE ---------- > > none applicable > > ---------- END SOURCE ---------- > > workaround : > > suggested_val : > > cust_name : Dan Merillat > > cust_email : [EMAIL PROTECTED] > > jdcid : > > keyword : webbug > > company : Sequiam Software > > hardware : x86 > > OSversion : Linux > > bugtraqID : 0 > > dateCreated : 2003-09-07 14:10:42.9 > > dateEvaluated : 2003-09-09 12:33:17.15 > > > > > > ----- End forwarded message ----- > > > > > _______________________________________________ > > Devl mailing list > > [EMAIL PROTECTED] > > http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl > > -- > Ian Clarke [EMAIL PROTECTED] > Coordinator, The Freenet Project http://freenetproject.org/ > Weblog http://slashdot.org/~sanity/journal > _______________________________________________ > Devl mailing list > [EMAIL PROTECTED] > http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl -- Matthew J Toseland - [EMAIL PROTECTED] Freenet Project Official Codemonkey - http://freenetproject.org/ ICTHUS - Nothing is impossible. Our Boss says so.
pgp00000.pgp
Description: PGP signature
_______________________________________________ Devl mailing list [EMAIL PROTECTED] http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl
