azureus crashes when the network connection fails

Bug #80520 reported by Bogdan Butnaru
6
Affects Status Importance Assigned to Milestone
azureus (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: azureus

Another crash-bug for Azureus. It happened twice already, and it's too complicated to verify exactly because of https://bugs.launchpad.net/ubuntu/+source/azureus/+bug/78167 (after a crash the settings are messed up and Azureus crashes on start).

I don't really know why, I just got logged-off the wireless network, so the network simply stopped for a while.

This is what the console showed for that execution (it was started from the console because of the other bug):
**************************
$ azureus
Incoming keep-alive message flood detected, dropping spamming peer connection.L: 85.217.40.86: 35400 [Unknown 0[-qB0700-~1Y3!g2_SIkh]]
DEBUG::Thu Jan 18 22:47:08 CET 2007::com.aelitis.net.upnp.impl.services.UPnPSSWANConnectionImpl::checkMappings::284:
  com.aelitis.net.upnp.UPnPException: Invoke of 'urn:schemas-upnp-org:service:WANPPPConnection:1#AddPortMapping' fails: No route to host
        at com.aelitis.net.upnp.impl.services.UPnPActionInvocationImpl.invoke(UPnPActionInvocationImpl.java:134)
        at com.aelitis.net.upnp.impl.services.UPnPSSWANConnectionImpl.addPortMapping(UPnPSSWANConnectionImpl.java:319)
        at com.aelitis.net.upnp.impl.services.UPnPSSWANConnectionImpl.checkMappings(UPnPSSWANConnectionImpl.java:280)
        at com.aelitis.net.upnp.impl.services.UPnPSSWANConnectionImpl$1.perform(UPnPSSWANConnectionImpl.java:87)
        at org.gudy.azureus2.core3.util.TimerEventPeriodic.perform(TimerEventPeriodic.java:94)
        at org.gudy.azureus2.core3.util.TimerEvent.runSupport(TimerEvent.java:109)
        at org.gudy.azureus2.core3.util.AERunnable.run(AERunnable.java:38)
        at org.gudy.azureus2.core3.util.ThreadPool$3.runSupport(ThreadPool.java:510)
        at org.gudy.azureus2.core3.util.AEThread.run(AEThread.java:69)
Caused by: java.net.NoRouteToHostException: No route to host
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
        at java.net.Socket.connect(Socket.java:519)
        at java.net.Socket.connect(Socket.java:469)
        at java.net.Socket.<init>(Socket.java:366)
        at java.net.Socket.<init>(Socket.java:179)
        at com.aelitis.net.upnp.impl.UPnPImpl.performSOAPRequest(UPnPImpl.java:595)
        at com.aelitis.net.upnp.impl.UPnPImpl.performSOAPRequest(UPnPImpl.java:508)
        at com.aelitis.net.upnp.impl.services.UPnPActionInvocationImpl.invoke(UPnPActionInvocationImpl.java:98)
        ... 8 more

DEBUG::Thu Jan 18 22:47:20 CET 2007::com.aelitis.net.upnp.impl.services.UPnPSSWANConnectionImpl::checkMappings::284:
  com.aelitis.net.upnp.UPnPException: Invoke of 'urn:schemas-upnp-org:service:WANPPPConnection:1#AddPortMapping' fails: No route to host
        at com.aelitis.net.upnp.impl.services.UPnPActionInvocationImpl.invoke(UPnPActionInvocationImpl.java:134)
        at com.aelitis.net.upnp.impl.services.UPnPSSWANConnectionImpl.addPortMapping(UPnPSSWANConnectionImpl.java:319)
        at com.aelitis.net.upnp.impl.services.UPnPSSWANConnectionImpl.checkMappings(UPnPSSWANConnectionImpl.java:280)
        at com.aelitis.net.upnp.impl.services.UPnPSSWANConnectionImpl$1.perform(UPnPSSWANConnectionImpl.java:87)
        at org.gudy.azureus2.core3.util.TimerEventPeriodic.perform(TimerEventPeriodic.java:94)
        at org.gudy.azureus2.core3.util.TimerEvent.runSupport(TimerEvent.java:109)
        at org.gudy.azureus2.core3.util.AERunnable.run(AERunnable.java:38)
        at org.gudy.azureus2.core3.util.ThreadPool$3.runSupport(ThreadPool.java:510)
        at org.gudy.azureus2.core3.util.AEThread.run(AEThread.java:69)
Caused by: java.net.NoRouteToHostException: No route to host
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
        at java.net.Socket.connect(Socket.java:519)
        at java.net.Socket.connect(Socket.java:469)
        at java.net.Socket.<init>(Socket.java:366)
        at java.net.Socket.<init>(Socket.java:179)
        at com.aelitis.net.upnp.impl.UPnPImpl.performSOAPRequest(UPnPImpl.java:595)
        at com.aelitis.net.upnp.impl.UPnPImpl.performSOAPRequest(UPnPImpl.java:508)
        at com.aelitis.net.upnp.impl.services.UPnPActionInvocationImpl.invoke(UPnPActionInvocationImpl.java:98)
        ... 8 more

#
# An unexpected error has been detected by Java Runtime Environment:
#
# Internal Error (53484152454432554E54494D450E435050020F), pid=17665, tid=3084540816
#
# 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_pid17665.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
Aborted (core dumped)
bogdanb@bogdanb-laptop:~$ azureus
#
# An unexpected error has been detected by Java Runtime Environment:
#
# Internal Error (53484152454432554E54494D450E435050020F), pid=21346, tid=3085167504
#
# 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_pid21346.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
Aborted (core dumped)
**************************
That "flood detected" message on the first line is unrelated, it appeared long before the crash.

I'm not sure where the core was dumped, but I will attach the error report generated by the JVM.

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

I hope this contains enough information. I'm running up-to-date Ubuntu Feisty, Azureus is installed from the repositories. Let me know if I can add anything useful.

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

This is the error report generated the first time I tried to run Azureus after the previous crash. Perhaps it contains useful information as to what the problem is.

This was run in the same console after the previous crash:
******************
$ azureus
#
# An unexpected error has been detected by Java Runtime Environment:
#
# Internal Error (53484152454432554E54494D450E435050020F), pid=21346, tid=3085167504
#
# 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_pid21346.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
Julian Alarcon (julian-alarcon) wrote :

Same bug on my computer... I tried to reconfigure with dpkg the jre and azureus, and noting.. the same problem.

Changed in azureus:
status: Unconfirmed → Confirmed
Revision history for this message
PeTe (pe-te-centrum) wrote :

I found a "workaround" (if it can be called that way) by deleting the ~/.azureus directory, azureus starts normally. when you backup config files, you shouldn't even loose your settings. unfortunately this solves the problem just until next "unexpected error" ocurrs.
I am also using wifi, but it appeared once even when I was connected wired, so I suppose this has nothing to do with that.

azureus 2.5.0.0, Java 1.6.0_01 Sun Microsystems Inc. SWT v3235, gtk Linux v2.6.17-11-generic, i386, ubuntu (not very up-to-date)

Revision history for this message
jacolwireless (james-pike) wrote :

Currently experiencing the same problem, Have tried removing the azureus package and re-installing, deleting preferences folder which actually allows the application to start up for a brief time, However this needs to be done after every occurrence of this problem and is rather frustrating.

I am running this package on a Toshiba A100 laptop, via wireless.

This is the error I receive:

#
# An unexpected error has been detected by Java Runtime Environment:
#
# Internal Error (53484152454432554E54494D450E435050020F), pid=12870, tid=3085196176
#
# 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_pid12870.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
Aborted (core dumped)

And after using the temp fix sometimes this error occurs instead:

#
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xb4770172, pid=8982, tid=3085114256
#
# 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_pid8982.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 :

I've just realized I didn't mention the work-around I found in this thread:

I've noticed that the reason for the crashes, all crashes (at least on my computer) is not actually the network failure but the error dialog. I have checked the "Disable sliding animation/on top style for alert messages" option (Options>Interface>Display, almost at the bottom), and I didn't have _any_ crash since (it used to be very often).

You need to use one of the other workarounds to get Azureus to start before doing that, of course. (You _might_ be able to rename the ~/.azureus folder, check the option, than re-name the folder back.)

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

Thank you for your bug report.

A fix has been released for this particular bug if Linux Ubuntu Gutsy Backports. Can you install azureus version 2.5.0.4-1ubuntu3~gutsy1 and confirm that it fix this problem?

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

This particular bug is a duplicate of bug 57875 so I mark it as such.

Thanks to everybody who worked on this bug report. Feel free to report any other bugs you might find.

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.