Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105165 - Azureus crashes on startup running as user.
Summary: Azureus crashes on startup running as user.
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Jochen Maes (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-07 10:06 UTC by nybben
Modified: 2005-11-26 12:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nybben 2005-09-07 10:06:55 UTC
Azureus-bin fails to load when starting it as user. It starts when loading it as
root.

Reproducible: Always
Steps to Reproduce:
1. Start Azureus

Actual Results:  
Splash appears and Azureus seems to load. When it's allmost finished it disappears .

Expected Results:  
Show the Azureus main window.

emerge info
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1,
2.6.13-ck1 i686)
=================================================================
System uname: 2.6.13-ck1 i686 Intel(R) Celeron(R) CPU 2.40GHz
Gentoo Base System version 1.12.0_pre8
ccache version 2.4 [disabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.linux.ee/pub/gentoo/distfiles/
ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.du.se/pub/os/gentoo
http://ftp.du.se/pub/os/gentoo"
LANG="sv_SE"
LC_ALL="sv_SE"
LINGUAS="sv"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac aalib alsa apm arts avi bash-completion berkdb bitmap-fonts
browserplugin cdr crypt cups curl dba directfb divx4linux dvd dvdr dvdread eds
emboss encode esd fam fbcon ffmpeg flac flash foomaticdb fortran ftp gd gdbm gif
gimp gphoto2 gpm gstreamer gtk gtk2 hal icq imagemagick imlib jabber java
joystick jpeg kde kdeenablefinal libg++ libwww lm_sensors logitech-mouse mad
matroska mikmod mime ming mmx motif mozilla mp3 mpeg msn nas ncurses nls
noamazon nomalloccheck nptl nptlonly ogg oggvorbis ooo-kde opengl oscar oss pam
pda pdflib perl pic png ppds python qt quicktime readline real samba scanner sdl
slang spell sqlite sse ssl svga tcltk tcpd theora tiff tokenizer truetype
truetype-fonts type1-fonts unicode usb v4l videos vorbis win32codecs wmf xine
xml2 xmms xosd xv xvid zlib video_cards_radeon linguas_sv userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS

# java -version
java version "1.5.0_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode)

$ azureus
Attempting to start Azureus...
DEBUG::Wed Sep 07 19:01:17 CEST
2005::com.aelitis.azureus.core.networkmanager.VirtualServerChannelSelector::start::89:
   
IncomingSocketChannelManager::start::282,IncomingSocketChannelManager::<init>::103,NetworkManager::<init>::77,NetworkManager::<clinit>::44,AzureusCoreImpl::<init>::121,AzureusCoreImpl::create::69,AzureusCoreFactory::create::46,Main::<init>::35,Main::main::98
java.net.BindException: Address already in use
        at sun.nio.ch.Net.bind(Native Method)
        at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:119)
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
        at
com.aelitis.azureus.core.networkmanager.VirtualServerChannelSelector.start(VirtualServerChannelSelector.java:76)
        at
com.aelitis.azureus.core.networkmanager.impl.IncomingSocketChannelManager.start(IncomingSocketChannelManager.java:282)
        at
com.aelitis.azureus.core.networkmanager.impl.IncomingSocketChannelManager.<init>(IncomingSocketChannelManager.java:103)
        at
com.aelitis.azureus.core.networkmanager.NetworkManager.<init>(NetworkManager.java:77)
        at
com.aelitis.azureus.core.networkmanager.NetworkManager.<clinit>(NetworkManager.java:44)
        at
com.aelitis.azureus.core.impl.AzureusCoreImpl.<init>(AzureusCoreImpl.java:121)
        at
com.aelitis.azureus.core.impl.AzureusCoreImpl.create(AzureusCoreImpl.java:69)
        at
com.aelitis.azureus.core.AzureusCoreFactory.create(AzureusCoreFactory.java:46)
        at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:35)
        at org.gudy.azureus2.ui.swt.Main.main(Main.java:98)
*** glibc detected *** double free or corruption (!prev): 0x084be538 ***
/usr/bin/azureus: line 47: 15152 Avbruten (SIGABRT)      java -cp $(java-config
-p systray4j,azureus-bin 2>/dev/null) -Djava.library.path="${AZDIR}"
org.gudy.azureus2.ui.swt.Main "$1"

# azureus
Attempting to start Azureus...
DEBUG::Wed Sep 07 19:01:54 CEST
2005::com.aelitis.azureus.core.networkmanager.VirtualServerChannelSelector::start::89:
   
IncomingSocketChannelManager::start::282,IncomingSocketChannelManager::<init>::103,NetworkManager::<init>::77,NetworkManager::<clinit>::44,AzureusCoreImpl::<init>::121,AzureusCoreImpl::create::69,AzureusCoreFactory::create::46,Main::<init>::35,Main::main::98
java.net.BindException: Address already in use
        at sun.nio.ch.Net.bind(Native Method)
        at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:119)
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
        at
com.aelitis.azureus.core.networkmanager.VirtualServerChannelSelector.start(VirtualServerChannelSelector.java:76)
        at
com.aelitis.azureus.core.networkmanager.impl.IncomingSocketChannelManager.start(IncomingSocketChannelManager.java:282)
        at
com.aelitis.azureus.core.networkmanager.impl.IncomingSocketChannelManager.<init>(IncomingSocketChannelManager.java:103)
        at
com.aelitis.azureus.core.networkmanager.NetworkManager.<init>(NetworkManager.java:77)
        at
com.aelitis.azureus.core.networkmanager.NetworkManager.<clinit>(NetworkManager.java:44)
        at
com.aelitis.azureus.core.impl.AzureusCoreImpl.<init>(AzureusCoreImpl.java:121)
        at
com.aelitis.azureus.core.impl.AzureusCoreImpl.create(AzureusCoreImpl.java:69)
        at
com.aelitis.azureus.core.AzureusCoreFactory.create(AzureusCoreFactory.java:46)
        at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:35)
        at org.gudy.azureus2.ui.swt.Main.main(Main.java:98)
**** DHT: Anti-spoof currently disabled for old clients ****
Exception in thread "Timer-2" org.eclipse.swt.SWTException: Device is disposed
        at org.eclipse.swt.SWT.error(SWT.java:2691)
        at org.eclipse.swt.SWT.error(SWT.java:2616)
        at org.eclipse.swt.SWT.error(SWT.java:2587)
        at org.eclipse.swt.widgets.Display.error(Display.java:851)
        at org.eclipse.swt.widgets.Display.syncExec(Display.java:3089)
        at
org.gudy.azureus2.ui.swt.shells.MessagePopupShell$4.run(MessagePopupShell.java:267)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
Exception in thread "Timer-3" org.eclipse.swt.SWTException: Device is disposed
        at org.eclipse.swt.SWT.error(SWT.java:2691)
        at org.eclipse.swt.SWT.error(SWT.java:2616)
        at org.eclipse.swt.SWT.error(SWT.java:2587)
        at org.eclipse.swt.widgets.Display.error(Display.java:851)
        at org.eclipse.swt.widgets.Display.syncExec(Display.java:3089)
        at
org.gudy.azureus2.ui.swt.shells.MessagePopupShell$4.run(MessagePopupShell.java:267)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
Comment 1 Aniruddha Shankar 2005-10-10 01:15:07 UTC
this might be related to bug 95916
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2005-11-02 11:22:11 UTC
Looking at the error message it seems that you already have something running on
the port azureus wants to bind to. You can use nmap localhost to see if there
truly is something running.
Comment 3 Petteri Räty (RETIRED) gentoo-dev 2005-11-26 12:20:33 UTC
Please test dev-java/azureus-2.3.0.6 and reopen if you still see this issue.