Azureus crashed when starting a new torrent

Bug #80666 reported by Bogdan Butnaru
10
Affects Status Importance Assigned to Milestone
azureus (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Binary package hint: azureus

I got another Azureus crash. I was trying to start a new torrent: I double-clicked on the file saved on the desktop, and then tried to raise Azureus from its icon. The window came up, but there was a bit of instability (it does use a lot of resources, doesn't it?) then and I don't know if the torrent got started or it just crashed for a different reason.

The console log is below. Note that only the last error is related to the crash (probably), the others are a few hours earlier. (Actually, it's weird, "$ date" shows "Sat Jan 20 00:10:30 CET 2007", so either the last DEBUG message is older and unrelated to the crash, or Azureus does something weird with the date it reports.)

***************************
~$ azureus
DEBUG::Fri Jan 19 02:52:10 CET 2007::org.gudy.azureus2.ui.swt.mainwindow.SWTThread::<init>::134:
  java.lang.IllegalArgumentException: Argument cannot be null
        at org.eclipse.swt.SWT.error(SWT.java:3358)
        at org.eclipse.swt.SWT.error(SWT.java:3297)
        at org.eclipse.swt.SWT.error(SWT.java:3268)
        at org.eclipse.swt.graphics.Image.<init>(Image.java:217)
        at org.gudy.azureus2.ui.swt.help.HealthHelpWindow.show(HealthHelpWindow.java:56)
        at org.gudy.azureus2.ui.swt.mainwindow.MainMenu$14.handleEvent(MainMenu.java:412)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3166)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2842)
        at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.<init>(SWTThread.java:125)
        at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.createInstance(SWTThread.java:61)
        at org.gudy.azureus2.ui.swt.mainwindow.Initializer.<init>(Initializer.java:110)
        at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:147)
        at org.gudy.azureus2.ui.swt.Main.main(Main.java:162)

Incoming PEX message flood detected, dropping spamming peer connection.R: 85.1.117.25: 4247 [Azureus 2.5.0.2]
Incoming PEX message flood detected, dropping spamming peer connection.R: 85.250.38.153: 4783 [Azureus 2.5.0.2]
Incoming PEX message flood detected, dropping spamming peer connection.R: 85.1.117.25: 1348 [Azureus 2.5.0.2]
Incoming PEX message flood detected, dropping spamming peer connection.R: 68.188.191.90: 1762 [Azureus 2.5.0.2]
Incoming PEX message flood detected, dropping spamming peer connection.R: 24.16.94.209: 61551 [Azureus 2.5.0.2]
Incoming PEX message flood detected, dropping spamming peer connection.R: 85.1.117.25: 1885 [Azureus 2.5.0.2]
Incoming PEX message flood detected, dropping spamming peer connection.R: 85.1.117.25: 3619 [Azureus 2.5.0.2]
DEBUG::Fri Jan 19 19:43:29 CET 2007::org.gudy.azureus2.core3.download.impl.DownloadManagerImpl::setAnnounceResult::1602:
  setAnnounceResult called when download not running
    DownloadImpl::setAnnounceResult::921,DHTTrackerPlugin$13::complete::1355,DHTPluginImpl$5::complete::807,DHTControlImpl$DHTOperationListenerDemuxer::complete::3228,DHTControlImpl$DHTOperationListenerDemuxer::complete::3228,DHTControlImpl::lookupSupportSync::2024,DHTControlImpl$14::runSupport::1435,AERunnable::run::38,ThreadPool$3::runSupport::510,AEThread::run::69
java.io.FileNotFoundException: /home/bogdanb/.azureus/plugins/bdcc/status.properties (Permission denied)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
        at org.cneclipse.bdcc.BDCCPlugin.updateHistoryData(BDCCPlugin.java:75)
        at org.cneclipse.bdcc.BDCCPlugin$2.downloadRemoved(BDCCPlugin.java:165)
        at org.gudy.azureus2.pluginsimpl.local.download.DownloadManagerImpl$1.downloadManagerRemoved(DownloadManagerImpl.java:151)
        at org.gudy.azureus2.core3.global.impl.GlobalManagerImpl$1.dispatch(GlobalManagerImpl.java:100)
        at org.gudy.azureus2.core3.util.ListenerManager.dispatchInternal(ListenerManager.java:374)
        at org.gudy.azureus2.core3.util.ListenerManager.dispatchLoop(ListenerManager.java:450)
        at org.gudy.azureus2.core3.util.ListenerManager$1.runSupport(ListenerManager.java:133)
        at org.gudy.azureus2.core3.util.AEThread.run(AEThread.java:69)
DEBUG::Fri Jan 19 20:04:39 CET 2007::org.gudy.azureus2.core3.download.impl.DownloadManagerImpl::moveTorrentFile::2963:
  torrent file doesn't exist!
    DownloadManagerImpl::destroy::3206,GlobalManagerImpl::removeDownloadManager::1026,MyTorrentsView$55::runSupport::2410,AEThread::run::69
java.io.FileNotFoundException: /home/bogdanb/.azureus/plugins/bdcc/status.properties (Permission denied)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
        at org.cneclipse.bdcc.BDCCPlugin.updateHistoryData(BDCCPlugin.java:75)
        at org.cneclipse.bdcc.BDCCPlugin$2.downloadRemoved(BDCCPlugin.java:165)
        at org.gudy.azureus2.pluginsimpl.local.download.DownloadManagerImpl$1.downloadManagerRemoved(DownloadManagerImpl.java:151)
        at org.gudy.azureus2.core3.global.impl.GlobalManagerImpl$1.dispatch(GlobalManagerImpl.java:100)
        at org.gudy.azureus2.core3.util.ListenerManager.dispatchInternal(ListenerManager.java:374)
        at org.gudy.azureus2.core3.util.ListenerManager.dispatchLoop(ListenerManager.java:450)
        at org.gudy.azureus2.core3.util.ListenerManager$1.runSupport(ListenerManager.java:133)
        at org.gudy.azureus2.core3.util.AEThread.run(AEThread.java:69)
#
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xb4787172, pid=21544, tid=3084733328
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0-b105 mixed mode, sharing)
# Problematic frame:
# C [libglibjni-0.4.so+0x9172]
#
# An error report file with more information is saved as hs_err_pid21544.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
Aborted (core dumped)

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

And, of course, now it crashes after starting. (I'm still using the Sun JVM, but I'll switch right away.)

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

Well, it doesn't start with GCJ either, now, I'll resort to cleaning of ~/.azureus

Revision history for this message
Jeffrey Knockel (jeff250) wrote :

There's a workaround here that worked well for me:
http://ubuntuforums.org/showthread.php?t=370473

Revision history for this message
IbeeX (ibrkanac) wrote :

Hi if I try to drag and drop torrent to Azureus it crashes same with double click,
but when I open torrent from within Azureus then it works fine.

Revision history for this message
MrAuer (mr-auer) wrote :

I am using Sun Java 1.6, and Azureus crashes every time I try to add new torrents. It simply hangs. It works otherwise, ie. seeding torrents started before I installed Gutsy alpha. Confirmed behaviour with latest updates today, on two different machines. Java bug most likely?

Revision history for this message
MrAuer (mr-auer) wrote :

More info, I deleted old .azureus folder and untarred the azureus folder, meaning a clean install, and the bug still persists - azureus crashes every time I try to add torrents.

Revision history for this message
Saivann Carignan (oxmosys) wrote :

Bogdan Butnaru :

Can you install the latest Gutsy Backports version 2.5.0.4-1ubuntu3~gutsy1 and confirm if you can still reproduce this bug?

Changed in azureus:
assignee: nobody → saivann
status: New → Incomplete
Revision history for this message
Bogdan Butnaru (bogdanb) wrote :

I don't see this anymore, but I didn't have this in a long time. I have made some changes to Azureus (eg, I eliminated GCJ, and I disabled "sliding animation/on top style for alert messages" in the display options, which caused me other problems, too).

So as far as I'm concerned, this bug doesn't manifest itself anymore, but I can't be sure if it's because of my tinkering or if it's fixed.

Revision history for this message
Saivann Carignan (oxmosys) wrote :

To restore default azureus settings, you can delete the ~/.azureus folder and remove azureus and then reinstall it. Thanks to take time to confirm that it works well on your side.

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

OK, I did that (sorry, didn't cross my mind to just do a fresh reinstall).

I tried simulating network failures by disconnecting NetworkManager and by flipping the hardware switch, and Azureus doesn't seem to crash anymore. Thanks for whatever you guys did!

Revision history for this message
Saivann Carignan (oxmosys) wrote :

Great! Since the latest version fixes your issue here, I set this bug as duplicate of bug 57875 but if you suddenly discover that it crash again, please set back this bug as not a duplicate.

Thanks for your contribution !

Changed in azureus:
assignee: saivann → nobody
status: Incomplete → Fix Released
status: Fix Released → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.