[freenet-support] Builds 1219, 1220, 1221 and 1222

2009-06-12 Thread Matthew Toseland
A series of increasingly desperate pre-release builds:
1219:
- Various translation and wording improvements.
- Much less disk access for inserts when a segment has been completed, and a 
fix for a NullPointerException that was causing some site inserts to stall at 
100%.
- Better handling of plugins load failures, sort the dropdown list in 
alphabetical order, workaround a Freemail bug so it doesn't get shown on that 
list if it is already loaded, class loader fix.
- Reduce the severity of the peers-say-key-is-blown warning.
- Make clean-dropdown the default theme, this has a horizontal menu with 
pulldown submenus, saves lots of space, and doesn't jump around when you 
mouseover.
- Simple vs advanced flag is now applied globally immediately.
- Tell the user when a file is compressing, and when it is waiting to be 
compressed.
- Remove the je dump button from the stats page.
- Improve appearance of the confirmation pages for high friends seclevel / high 
network seclevel in the wizard.
- Fix a rare bug causing a transfer to stall for over an hour.
- Change some strings to say 0.7.5 not 0.7. Add a new release version since 
we can't actually change nodeVersion safely.

1220:
- Don't tell the user a file is being compressed if it has the dont compress 
flag on.
- Change the default fproxy max-size to 2.1MB, workaround bugs in site 
insertion code, several sites are like this atm.
- Show the filename on the MIME type warning page.
- Make the peers-say-key-is-blown page even less alarming, basically it is 
saying why we can't update at the moment.
- German update, mention incognito mode and Chrome on the separate-browser 
warning page at the beginning of the wizard.

1221:
- Various changes to the auto-updater to prevent the current deliberate 
malicious attack which is causing lots of nodes to say that their peers have 
found the revocation key.

1222:
- Don't show the progress page if ?forcedownload is set, this causes us to send 
a new copy of the data every 2 seconds!
- Fix a NullPointerException preventing startup on some nodes introduced in 
1221. Sorry folks!


signature.asc
Description: This is a digitally signed message part.
___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:support-requ...@freenetproject.org?subject=unsubscribe

Re: [freenet-support] Bug in HTTP socket handler in 1208?

2009-06-12 Thread Dennis Nezic
On Sat, 30 May 2009 22:14:32 +0100, Matthew Toseland wrote:
 On Sunday 10 May 2009 15:51:39 Dennis Nezic wrote:
  On Wed, 15 Apr 2009 12:58:48 -0400, Dennis Nezic wrote:
   I have seen a couple times my node stall due to exceeding the
   thread limit, caused by an absurd 333 HTTP socket
   handlers (86.7% of thread usage). (My node's thread limit is
   300).
   
   I believe this is caused by my browser (dillo) making too many
   connections to fproxy. But, nevertheless, shouldn't these
   threads / sockets die after a few minutes? They were all still
   alive after more than 10mins of stalling my node, after which I
   had to restart to get things flowing again.
  
  The problem still exists in 1209. (If my Dillo browser opens a page
  with hundreds of thumbnails and no limit to the number of
  connections made to the server/fproxy (It probably relies on http
  server response codes?), the number of HTTP socket handlers will
  sky-rocket above the limit, and stay there. Again, how long are
  these threads supposed to last for and why are they even allowed to
  exist (can't fproxy throttle the number of incoming connections?).
  There still do remain a couple Pooled threads awaiting work, but
  the node effectively shuts down -- cpu drops to almost nothing, and
  all traffic seems to stop.
 
 Does it happen in 1212/1213? Are you sure that all these connections
 have fetched data and are no longer active? A thread dump of the node
 in this condition would be helpful.

Still happens with the latest builds. Loading a page with lots of
images, like:

u...@qd-hk0vhyg7yvk2bqsjmcud5qsf0tdkgnnf6lnwuh0g,xTFOV9ddCQQk6vQ6G~jfL6IzRUgmfMcZJ6nuySu~NUc,AQACAAE/activelink-index/106/

... in a browser that apparently doesn't limit the number of
connections that it makes to fproxy, causes the number of threads
to skyrocket well above the thread limit, stalling all traffic with
the node -- although the fproxy interface still works. I did a thread
dump, which includes all the hundreds of HTTP socket handler threads,
which are all in a WAITING state. All locked.

Here's the full thread dump:
http://dennisn.dyndns.org/guest/uploads/tmp/stalled-httpsocket-dump.log.bz2

Either way, how is the thread limit even able to be exceeded? And why
aren't these threads dying?

___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:support-requ...@freenetproject.org?subject=unsubscribe


[freenet-support] Freemail plugin problem - NullPointerException

2009-06-12 Thread Prawda2
Hi,

I posted it recently but nobody has answered and since I don't receive
my own posts I cannot reply.
Let me create a new thread though - maybe this time someone will help.
It's the last try - I promise :)

Anyway,
Please help me to solve the issue that I have with the Freemail
plugin. I want to try freemail, but now I am not able to do so.

The problem is that whenever I try to install the plugin (i,e. via the
Load Official Plugin in the config page) the jar file gets
downloaded and is put to the plugin folder, but immediately after that
the browser's page turns into such an error:

Internal error: please report

java.lang.NullPointerException
at freenet.l10n.L10n.quoteReplacement(L10n.java:338)
at freenet.l10n.L10n.getString(L10n.java:332)
at freenet.pluginmanager.PluginManager.l10n(PluginManager.java:439)
at freenet.pluginmanager.PluginManager.access$400(PluginManager.java:56)
at 
freenet.pluginmanager.PluginManager$PluginLoadFailedUserAlert.getHTMLText(PluginManager.java:335)
at 
freenet.node.useralerts.UserAlertManager.renderAlert(UserAlertManager.java:185)
at freenet.clients.http.PproxyToadlet.handleGet(PproxyToadlet.java:318)
at 
freenet.clients.http.ToadletContextImpl.handle(ToadletContextImpl.java:369)
at 
freenet.clients.http.SimpleToadletServer$SocketHandler.run(SimpleToadletServer.java:688)
at freenet.support.PooledExecutor$MyThread.run(PooledExecutor.java:224)


After this I cannot load the /plugins/ page anymore - each time I try
I get this exception.
The only way to fix it is to stop the freenet service and remove the
plugin manually from the ini file.

I think I had this plugin working for a moment few days ago, but then
something happened, I think I unloaded it, and now whenever I try to
install it again it causes the crash like this.

Please help. Any questions welcome.

Cheers, Piotr
___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:support-requ...@freenetproject.org?subject=unsubscribe


Re: [freenet-support] Freemail plugin problem - NullPointerException

2009-06-12 Thread Luke771
Prawda2 wrote:
 Hi,

 I posted it recently but nobody has answered and since I don't receive
 my own posts I cannot reply.
 Let me create a new thread though - maybe this time someone will help.
 It's the last try - I promise :)

 Anyway,
 Please help me to solve the issue that I have with the Freemail
 plugin. I want to try freemail, but now I am not able to do so.

 The problem is that whenever I try to install the plugin (i,e. via the
 Load Official Plugin in the config page) the jar file gets
 downloaded and is put to the plugin folder, but immediately after that
 the browser's page turns into such an error:

 Internal error: please report

   
I cant help you with the error but in the meantime, if you want to try 
freemail you could try downloading the .jar and load it locally using 
the 'unofficial plugin' interface, or executing the .jar as standalone 
with java -jar.

More details about this stuff are available on the FAFS freesite, it's 
linked in the default bookmarks. Look at the Freemail page, but also the 
FProxy page for 'loading plugins manually. The site is still a bit 
messy, I'm trying to make it better. There is some valuable info in it, 
anyway.

Also, how to execute and control the freemail.jar from a terminal (both 
*nix terminals and windows' cmd shells work the same way in this case), 
all the info you need is in the README file in the freemail directory at 
downloads.freenetproject.org/alpha/somewhere

___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:support-requ...@freenetproject.org?subject=unsubscribe


[freenet-support] db40 Internal error

2009-06-12 Thread Dennis Nezic
For the past few versions of freenet, at the moment I'm using 1216,
sometimes if I add stuff to the download/upload queue my node.db40
closes and fproxy outputs Internal error where the files should have
been listed. Restarting doesn't help--only deleting node.db4o :S.

Here is what gets spit into my wrapper.log:
 Loading FEC lib [/var/freenet/lib/libfec8.so]
 [db4o 7.4.79.12493   2009-06-12 17:52:37] 
  './node.db4o' closed

Here are the ERROR messages from logging:

Jun 12, 2009 22:12:04:011 (freenet.client.async.InsertCompressor$2, Client 
database access thread(13), ERROR): ALREADY ACTIVE in start compression 
callback: freenet.client.async.singlefileinser...@a147ee

Jun 12, 2009 22:13:22:955 (freenet.client.async.SplitFileFetcher, Client 
database access thread(13), ERROR): Caught java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
at com.db4o.internal.btree.Searcher.init(Unknown Source)
at com.db4o.internal.btree.BTreeNode.search(Unknown Source)
at com.db4o.internal.btree.BTreeNode.search(Unknown Source)
at com.db4o.internal.btree.BTreeNode.add(Unknown Source)
at com.db4o.internal.btree.BTreeNode.add(Unknown Source)
at com.db4o.internal.btree.BTreeNode.add(Unknown Source)
at com.db4o.internal.btree.BTree.add(Unknown Source)
at 
com.db4o.internal.classindex.BTreeClassIndexStrategy.internalAdd(Unknown Source)
at com.db4o.internal.classindex.AbstractClassIndexStrategy.add(Unknown 
Source)
at com.db4o.internal.ClassMetadata.addToIndex1(Unknown Source)
at com.db4o.internal.ClassMetadata.addToIndex1(Unknown Source)
at com.db4o.internal.ClassMetadata.addToIndex1(Unknown Source)
at com.db4o.internal.ClassMetadata.addToIndex(Unknown Source)
at com.db4o.internal.LocalObjectContainer.writeNew(Unknown Source)
at com.db4o.internal.ObjectReference.continueSet(Unknown Source)
at com.db4o.internal.PartialObjectContainer.stillToSet(Unknown Source)
at com.db4o.internal.PartialObjectContainer.store3(Unknown Source)
at com.db4o.internal.PartialObjectContainer.store2(Unknown Source)
at 
com.db4o.internal.PartialObjectContainer.storeAfterReplication(Unknown Source)
at com.db4o.internal.PartialObjectContainer.storeInternal(Unknown 
Source)
at com.db4o.internal.marshall.MarshallingContext.writeObject(Unknown 
Source)
at com.db4o.internal.marshall.MarshallingContext.writeObject(Unknown 
Source)
at com.db4o.internal.FieldMetadata.marshall(Unknown Source)
at 
com.db4o.internal.handlers.FirstClassObjectHandler$4.processAspect(Unknown 
Source)
at 
com.db4o.internal.handlers.FirstClassObjectHandler.traverseAllAspects(Unknown 
Source)
at 
com.db4o.internal.handlers.FirstClassObjectHandler.marshallAspects(Unknown 
Source)
at com.db4o.internal.handlers.FirstClassObjectHandler.write(Unknown 
Source)
at com.db4o.internal.ClassMetadata.write(Unknown Source)
at com.db4o.internal.ObjectReference.continueSet(Unknown Source)
at com.db4o.internal.PartialObjectContainer.stillToSet(Unknown Source)
at com.db4o.internal.PartialObjectContainer.store3(Unknown Source)
at com.db4o.internal.PartialObjectContainer.store2(Unknown Source)
at 
com.db4o.internal.PartialObjectContainer.storeAfterReplication(Unknown Source)
at com.db4o.internal.PartialObjectContainer.storeInternal(Unknown 
Source)
at com.db4o.internal.PartialObjectContainer.store(Unknown Source)
at com.db4o.internal.ExternalObjectContainer.store(Unknown Source)
at com.db4o.internal.ExternalObjectContainer.store(Unknown Source)
at 
freenet.client.async.SplitFileFetcher.init(SplitFileFetcher.java:333)
at 
freenet.client.async.SingleFileFetcher.handleMetadata(SingleFileFetcher.java:827)
at 
freenet.client.async.SingleFileFetcher.innerWrapHandleMetadata(SingleFileFetcher.java:902)
at 
freenet.client.async.SingleFileFetcher$MultiLevelMetadataCallback.onSuccess(SingleFileFetcher.java:1063)
at 
freenet.client.async.SplitFileFetcher.finish(SplitFileFetcher.java:534)
at 
freenet.client.async.SplitFileFetcher.segmentFinished(SplitFileFetcher.java:457)
at 
freenet.client.async.SplitFileFetcherSegment.onDecodedSegment(SplitFileFetcherSegment.java:571)
at freenet.client.FECQueue$2$1.run(FECQueue.java:231)
at 
freenet.node.NodeClientCore$DBJobWrapper.run(NodeClientCore.java:1486)
at 
freenet.support.PrioritizedSerialExecutor$Runner.run(PrioritizedSerialExecutor.java:84)
at freenet.support.PooledExecutor$MyThread.run(PooledExecutor.java:224)

Jun 12, 2009 22:13:22:956 (freenet.client.FetchException, Client database 
access thread(13), ERROR): Internal error: FetchException:Internal 
error:null:-1:null:false:null:null

Jun 12, 2009 22:13:22:957 (freenet.client.FECQueue$2$1, Client database access 
thread(13), 

Re: [freenet-support] Freemail plugin problem - NullPointerException

2009-06-12 Thread Prawda2
On Fri, Jun 12, 2009 at 11:00 PM, Luke771luke771.li...@gmail.com wrote:
 Prawda2 wrote:
 Hi,

 I posted it recently but nobody has answered and since I don't receive
 my own posts I cannot reply.
 Let me create a new thread though - maybe this time someone will help.
 It's the last try - I promise :)

 Anyway,
 Please help me to solve the issue that I have with the Freemail
 plugin. I want to try freemail, but now I am not able to do so.

 The problem is that whenever I try to install the plugin (i,e. via the
 Load Official Plugin in the config page) the jar file gets
 downloaded and is put to the plugin folder, but immediately after that
 the browser's page turns into such an error:

 Internal error: please report


 I cant help you with the error but in the meantime, if you want to try
 freemail you could try downloading the .jar and load it locally using
 the 'unofficial plugin' interface, or executing the .jar as standalone
 with java -jar.

 More details about this stuff are available on the FAFS freesite, it's
 linked in the default bookmarks. Look at the Freemail page, but also the
 FProxy page for 'loading plugins manually. The site is still a bit
 messy, I'm trying to make it better. There is some valuable info in it,
 anyway.

 Also, how to execute and control the freemail.jar from a terminal (both
 *nix terminals and windows' cmd shells work the same way in this case),
 all the info you need is in the README file in the freemail directory at
 downloads.freenetproject.org/alpha/somewhere
thanks luke!
installing the 'unofficial plugin' from a file causes exactly the same error.
i have not tried to run the jar separatly, but that is not what i want
to achieve.
well, i said i wanted to try freemail..., but i know it works :) i was
thinking of something more stable and reliable, not just launching a
jar, typing hellow world and seeing that it does not crash...
cheers
___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:support-requ...@freenetproject.org?subject=unsubscribe