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
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
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 b
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.(Throwable.java:37)
at java.lang.Exception.(Exception.jav
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 world-
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),
Creating /tmp files with mode 0666 is insane. Other users should
never be able to read or write to your temp files! Case in point:
-rw-rw-r--1 mjr mjr 0 Mar 2 15:19 prefixF2571suffix
After the patch:
-rw---1 mjr mjr 0 Mar 2 15:20 prefix87783suffix
(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: /cvs/kaffe/kaffe/libraries/javalib/java/net/URLDecode
--- libraries/javalib/java/util/GregorianCalendar.java
+++ libraries/javalib/java/util/GregorianCalendar.java
@@ -74,6 +74,7 @@
computeFields();
}
fields[field] += amount;
+ isTimeSet = false;
computeTime();
computeFields();
}