Dalibor Topic:
The patch has (at least) one problem, it relies on Runtime.exit()
to print the map of stack traces. Apparently it seems to be hard
to get freenet to exit(). So I'm not sure how to proceed from
here: if it is possible to tell a freenet node to shut down
through exit(), that
Mark J Roberts:
I'll hack something together and reply with that stack trace map as
soon as I have the time.
I called System.exit() when Freenet was using over 150MB of memory.
The output is attached.
log.bz2
Description: Binary data
Stack.push() should not be throwing this exception. Looks like an
obvious bug. Any ideas?
java.lang.ArrayIndexOutOfBoundsException
at java.lang.Throwable.fillInStackTrace(Throwable.java:native)
at java.lang.Throwable.init(Throwable.java:37)
at
I am sick and tired of manually overriding the heap size limit in
order to run Freenet without hitting the arbitrary default 64MB
limit.
I just don't understand why these options are even there, or why
they are not unlimited by default. It is _breaking_ applications.
The operating system should
Jim Pick:
From the looks of this, it does look somewhat undefined. I think we're
doing what Sun does, but that makes me somewhat nervous. I can see how
it could be considered correct if somebody uses a temp file location
other than /tmp. However, since we default to /tmp (as does Sun),
Jim Pick:
I think what we have here is that the call is secure,
providing that the user has the correct umask set up for
however the system administrator has set up the groups
on their system.
I don't see how you arrived at that conclusion. A user who is
content to normally create
(1) java 1.4 URLDecoder.decode() throws IllegalArgumentException.
(2) java 1.4 Calendar.getTimeInMillis() is public.
Index: libraries/javalib/java/net/URLDecoder.java
===
RCS file:
--- libraries/javalib/java/util/GregorianCalendar.java
+++ libraries/javalib/java/util/GregorianCalendar.java
@@ -74,6 +74,7 @@
computeFields();
}
fields[field] += amount;
+ isTimeSet = false;
computeTime();
computeFields();
}