Comment 4 for bug 78167

Revision history for this message
Bogdan Butnaru (bogdanb) wrote :

OK, I'm having similar issues here, but I can't tell if it's exactly the same bug. Azureus (2.5.0.0 on Ubuntu Feisty) worked for a bit after the install, then (I suppose it was force-closed by a log-out) it stopped starting. The main window would appear for a bit and then it just died.

At first I was using the gcj java, and the errors in the console looked like: ********************
$ azureus
DEBUG::Thu Jan 18 16:11:30 GMT+01:00 2007::org.gudy.azureus2.core3.security.impl.SESecurityManagerImpl::initialise::-1:
  No SSL provider available
    SESecurityManager::initialise::-1,ConfigurationChecker::setSystemProperties::-1,ConfigurationManager::initialise::-1,ConfigurationManager::getInstance::-1,LoggerImpl::init::-1,Logger::<clinit>::-1,Class::initializeClass::-1,Logger::isEnabled::-1,StartServer::<init>::-1,Main::<init>::-1,Main::main::-1
DEBUG::Thu Jan 18 16:11:30 GMT+01:00 2007::org.gudy.azureus2.core3.security.impl.SESecurityManagerImpl::initialise::-1:
  No SSL provider available
    SESecurityManager::initialise::-1,CryptoManagerImpl::<init>::-1,CryptoManagerImpl::getSingleton::-1,CryptoManagerFactory::getSingleton::-1,AzureusCoreImpl::<init>::-1,AzureusCoreImpl::create::-1,AzureusCoreFactory::create::-1,Main::<init>::-1,Main::main::-1
DEBUG::Thu Jan 18 16:11:32 GMT+01:00 2007::org.gudy.azureus2.core3.stats.impl.StatsWriterPeriodicImpl::writeStats::-1:
  java.io.FileNotFoundException: /Azureus_Stats.xml (Permission denied)
   at gnu.java.nio.channels.FileChannelImpl.open(libgcj.so.70)
   at gnu.java.nio.channels.FileChannelImpl.<init>(libgcj.so.70)
   at gnu.java.nio.channels.FileChannelImpl.create(libgcj.so.70)
   at java.io.FileOutputStream.<init>(libgcj.so.70)
   at java.io.FileOutputStream.<init>(libgcj.so.70)
   at java.io.FileOutputStream.<init>(libgcj.so.70)
   at org.gudy.azureus2.core3.stats.impl.StatsWriterImpl.write(Azureus2.jar.so)
   at org.gudy.azureus2.core3.stats.impl.StatsWriterPeriodicImpl.writeStats(Azureus2.jar.so)
   at org.gudy.azureus2.core3.stats.impl.StatsWriterPeriodicImpl.update(Azureus2.jar.so)
   at org.gudy.azureus2.core3.stats.impl.StatsWriterPeriodicImpl$1.runSupport(Azureus2.jar.so)
   at org.gudy.azureus2.core3.util.AEThread.run(Azureus2.jar.so)

Aborted (core dumped)

************************************
Then I did a "$ sudo update-java-alternatives -s java-6-sun" and I got:
************************************
$ azureus
DEBUG::Thu Jan 18 16:15:38 CET 2007::org.gudy.azureus2.core3.stats.impl.StatsWriterPeriodicImpl::writeStats::206:
  java.io.FileNotFoundException: /Azureus_Stats.xml (Permission denied)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
        at org.gudy.azureus2.core3.stats.impl.StatsWriterImpl.write(StatsWriterImpl.java:63)
        at org.gudy.azureus2.core3.stats.impl.StatsWriterPeriodicImpl.writeStats(StatsWriterPeriodicImpl.java:203)
        at org.gudy.azureus2.core3.stats.impl.StatsWriterPeriodicImpl.update(StatsWriterPeriodicImpl.java:102)
        at org.gudy.azureus2.core3.stats.impl.StatsWriterPeriodicImpl$1.runSupport(StatsWriterPeriodicImpl.java:235)
        at org.gudy.azureus2.core3.util.AEThread.run(AEThread.java:69)

#
# An unexpected error has been detected by Java Runtime Environment:
#
# Internal Error (53484152454432554E54494D450E435050020F), pid=14667, tid=3085020048
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0-b105 mixed mode, sharing)
# An error report file with more information is saved as hs_err_pid14667.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
Aborted (core dumped)
**************************************
Then I looked for work-arounds and one of the similar bugs reported suggested to delete "~/.azureus/logs/*", which I did, and now it starts. The funny thing is that one of the exceptions is still showing:
**************************************
~$ azureus
DEBUG::Thu Jan 18 16:17:21 CET 2007::org.gudy.azureus2.core3.stats.impl.StatsWriterPeriodicImpl::writeStats::206:
  java.io.FileNotFoundException: /Azureus_Stats.xml (Permission denied)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
        at org.gudy.azureus2.core3.stats.impl.StatsWriterImpl.write(StatsWriterImpl.java:63)
        at org.gudy.azureus2.core3.stats.impl.StatsWriterPeriodicImpl.writeStats(StatsWriterPeriodicImpl.java:203)
        at org.gudy.azureus2.core3.stats.impl.StatsWriterPeriodicImpl.update(StatsWriterPeriodicImpl.java:102)
        at org.gudy.azureus2.core3.stats.impl.StatsWriterPeriodicImpl$1.runSupport(StatsWriterPeriodicImpl.java:235)
        at org.gudy.azureus2.core3.util.AEThread.run(AEThread.java:69)
[but the program works here]
************************************
This is really annoying, can't anyone figure out what's wrong? By the way, if the core dumps are useful, I could add some here, I just have no idea where to get them...