Azureus, the Java Bittorrent client, fails on startup for me. The ebuild does work fine, and I know this may be an application problem and inappropriate for a Gentoo bug, but take a look at the following output. I think it is pointing to a Locale or pango problem which may need to be rectified in-ebuild, but I could be wrong. Does anyone else have this working? The problem happens on both sun-jdk and blackdown-jdk. Attempting to start Azureus... changeLocale: no message properties for Locale 'English (United States)' (en_US), using 'English (default)' An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4D7991B5 Function=(null)+0x4D7991B5 Library=/usr/lib/pango/1.4.0/modules/pango-hangul-fc.so NOTE: We are unable to locate the function name symbol for the error just occurred. Please refer to release documentation for possible reason and solutions. Current Java thread: at org.eclipse.swt.internal.gtk.OS.pango_layout_get_iter(Native Method) - locked <0x489e0e20> (a java.lang.Class) at org.eclipse.swt.graphics.TextLayout.getLineBounds(TextLayout.java:476) at org.eclipse.swt.custom.StyledText$ContentWidthCache.contentWidth(StyledText.java:1256) at org.eclipse.swt.custom.StyledText$ContentWidthCache.calculate(StyledText.java:1219) at org.eclipse.swt.custom.StyledText.redraw(StyledText.java:5780) at org.eclipse.swt.custom.StyledText.setBackground(StyledText.java:6504) at org.gudy.azureus2.ui.swt.sharing.progress.ProgressWindow$progressDialog.<init>(ProgressWindow.java:115) at org.gudy.azureus2.ui.swt.sharing.progress.ProgressWindow.<init>(ProgressWindow.java:71) at org.gudy.azureus2.ui.swt.mainwindow.MainWindow.openMainWindow(MainWindow.java:630) at org.gudy.azureus2.ui.swt.mainwindow.MainWindow.access$9(MainWindow.java:627) at org.gudy.azureus2.ui.swt.mainwindow.MainWindow$23.run(MainWindow.java:1352) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:106) - locked <0x447f05f0> (a org.eclipse.swt.widgets.RunnableLock) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2519) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2256) at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.<init>(SWTThread.java:70) at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.createInstance(SWTThread.java:45) at org.gudy.azureus2.ui.swt.mainwindow.Initializer.<init>(Initializer.java:70) at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:69) at org.gudy.azureus2.ui.swt.Main.main(Main.java:109) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:05 7030 /opt/sun-jdk-1.4.2.04/bin/java 0804e000-0804f000 rw-p 00005000 03:05 7030 /opt/sun-jdk-1.4.2.04/bin/java 40000000-40013000 r-xp 00000000 03:05 1068059 /lib/ld-2.3.2.so 40013000-40014000 rw-p 00013000 03:05 1068059 /lib/ld-2.3.2.so 40023000-40030000 r-xp 00000000 03:05 1181218 /lib/libpthread-0.10.so 40030000-40031000 rw-p 0000d000 03:05 1181218 /lib/libpthread-0.10.so 40073000-40075000 r-xp 00000000 03:05 1068063 /lib/libdl-2.3.2.so 40075000-40076000 rw-p 00001000 03:05 1068063 /lib/libdl-2.3.2.so 40076000-40198000 r-xp 00000000 03:05 1068058 /lib/libc-2.3.2.so 40198000-4019b000 rw-p 00121000 03:05 1068058 /lib/libc-2.3.2.so 4019e000-40599000 r-xp 00000000 03:05 615216 /opt/sun-jdk-1.4.2.04/jre/lib/i386/client/libjvm.so 40599000-405b4000 rw-p 003fa000 03:05 615216 /opt/sun-jdk-1.4.2.04/jre/lib/i386/client/libjvm.so 405c7000-405cf000 r-xp 00000000 03:05 165585 /opt/sun-jdk-1.4.2.04/jre/lib/i386/native_threads/libhpi.so 405cf000-405d0000 rw-p 00007000 03:05 165585 /opt/sun-jdk-1.4.2.04/jre/lib/i386/native_threads/libhpi.so 405d5000-405e6000 r-xp 00000000 03:05 1181228 /lib/libnsl-2.3.2.so 405e6000-405e7000 rw-p 00011000 03:05 1181228 /lib/libnsl-2.3.2.so 405e9000-40609000 r-xp 00000000 03:05 1068062 /lib/libm-2.3.2.so 40609000-4060a000 rw-p 0001f000 03:05 1068062 /lib/libm-2.3.2.so 4060a000-4060e000 rw-s 00000000 03:05 1620545 /tmp/hsperfdata_tim/22079 40618000-4061f000 r-xp 00000000 03:05 1181231 /lib/libnss_compat-2.3.2.so 4061f000-40620000 rw-p 00006000 03:05 1181231 /lib/libnss_compat-2.3.2.so 40620000-40628000 r-xp 00000000 03:05 1181229 /lib/libnss_nis-2.3.2.so 40628000-40629000 rw-p 00007000 03:05 1181229 /lib/libnss_nis-2.3.2.so 40629000-40631000 r-xp 00000000 03:05 1181222 /lib/libnss_files-2.3.2.so 40631000-40632000 rw-p 00007000 03:05 1181222 /lib/libnss_files-2.3.2.so 40632000-40642000 r-xp 00000000 03:05 1892462 /opt/sun-jdk-1.4.2.04/jre/lib/i386/libverify.so 40642000-40644000 rw-p 0000f000 03:05 1892462 /opt/sun-jdk-1.4.2.04/jre/lib/i386/libverify.so 40644000-40664000 r-xp 00000000 03:05 1892463 /opt/sun-jdk-1.4.2.04/jre/lib/i386/libjava.so 40664000-40666000 rw-p 0001f000 03:05 1892463 /opt/sun-jdk-1.4.2.04/jre/lib/i386/libjava.so 40666000-4067a000 r-xp 00000000 03:05 1892465 /opt/sun-jdk-1.4.2.04/jre/lib/i386/libzip.so 4067a000-4067d000 rw-p 00013000 03:05 1892465 /opt/sun-jdk-1.4.2.04/jre/lib/i386/libzip.so 4067d000-4201d000 r--s 00000000 03:05 1379620 /opt/sun-jdk-1.4.2.04/jre/lib/rt.jar 42067000-4207d000 r--s 00000000 03:05 1393539 /opt/sun-jdk-1.4.2.04/jre/lib/sunrsasign.jar 4207d000-42158000 r--s 00000000 03:05 1379621 /opt/sun-jdk-1.4.2.04/jre/lib/jsse.jar 42158000-42169000 r--s 00000000 03:05 1393540 /opt/sun-jdk-1.4.2.04/jre/lib/jce.jar 42169000-426c2000 r--s 00000000 03:05 1379622 /opt/sun-jdk-1.4.2.04/jre/lib/charsets.jar 4cb77000-4cb93000 r--s 00000000 03:05 1393535 /opt/sun-jdk-1.4.2.04/jre/lib/ext/sunjce_provider.jar 4cb93000-4cb96000 r--s 00000000 03:05 1393536 /opt/sun-jdk-1.4.2.04/jre/lib/ext/dnsns.jar 4cb96000-4cba3000 r--s 00000000 03:05 1393537 /opt/sun-jdk-1.4.2.04/jre/lib/ext/ldapsec.jar 4cba3000-4cc5f000 r--s 00000000 03:05 1393538 /opt/sun-jdk-1.4.2.04/jre/lib/ext/localedata.jar 4cc5f000-4cd3d000 r--s 00000000 03:07 31524037 /usr/lib/azureus/swt.jar 4cd3d000-4cd49000 r--s 00000000 03:07 31524036 /usr/lib/azureus/swt-pi.jar 4cd49000-4cd5c000 r--s 00000000 03:07 31524035 /usr/lib/azureus/swt-mozilla.jar 4cd5c000-4cda2000 r--s 00000000 03:07 31524034 /usr/lib/azureus/seda.jar 4cda2000-4d020000 r--s 00000000 03:07 31524033 /usr/lib/azureus/Azureus2.jar 4d020000-4d030000 r-xp 00000000 03:05 1892468 /opt/sun-jdk-1.4.2.04/jre/lib/i386/libnet.so 4d030000-4d031000 rw-p 0000f000 03:05 1892468 /opt/sun-jdk-1.4.2.04/jre/lib/i386/libnet.so 4d0b2000-4d0e6000 r-xp 00000000 03:07 31524045 /usr/lib/azureus/libswt-pi-gtk-3052.so 4d0e6000-4d0e7000 rw-p 00033000 03:07 31524045 /usr/lib/azureus/libswt-pi-gtk-3052.so 4d0e8000-4d0ea000 r-xp 00000000 03:07 1218097 /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2 4d0ea000-4d0eb000 rw-p 00001000 03:07 1218097 /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2 4d0eb000-4d0f1000 r--s 00000000 03:07 25166500 /usr/lib/gconv/gconv-modules.cache 4d0f1000-4d0f3000 r-xp 00000000 03:07 25166280 /usr/lib/gconv/ISO8859-1.so 4d0f3000-4d0f4000 rw-p 00001000 03:07 25166280 /usr/lib/gconv/ISO8859-1.so 4d0f6000-4d3a0000 r-xp 00000000 03:07 13176632 /usr/lib/libgtk-x11-2.0.so.0.400.0 4d3a0000-4d3aa000 rw-p 002a9000 03:07 13176632 /usr/lib/libgtk-x11-2.0.so.0.400.0 4d3ad000-4d416000 r-xp 00000000 03:07 13176626 /usr/lib/libgdk-x11-2.0.so.0.400.0 4d416000-4d41b000 rw-p 00069000 03:07 13176626 /usr/lib/libgdk-x11-2.0.so.0.400.0 4d41b000-4d433000 r-xp 00000000 03:07 4628044 /usr/lib/libatk-1.0.so.0.600.0 4d433000-4d435000 rw-p 00017000 03:07 4628044 /usr/lib/libatk-1.0.so.0.600.0 4d435000-4d449000 r-xp 00000000 03:07 13202223 /usr/lib/libgdk_pixbuf-2.0.so.0.400.0 4d449000-4d44a000 rw-p 00013000 03:07 13202223 /usr/lib/libgdk_pixbuf-2.0.so.0.400.0 4d44a000-4d44e000 r-xp 00000000 03:07 8461188 /usr/lib/libpangoxft-1.0.so.0.399.1 4d44e000-4d44f000 rw-p 00003000 03:07 8461188 /usr/lib/libpangoxft-1.0.so.0.399.1 4d44f000-4d459000 r-xp 00000000 03:07 8460734 /usr/lib/libpangox-1.0.so.0.399.1 4d459000-4d45a000 rw-p 0000a000 03:07 8460734 /usr/lib/libpangox-1.0.so.0.399.1 4d45a000-4d488000 r-xp 00000000 03:07 8461217 /usr/lib/libpango-1.0.so.0.399.1 4d488000-4d48d000 rw-p 0002d000 03:07 8461217 /usr/lib/libpango-1.0.so.0.399.1 4d48d000-4d4c1000 r-xp 00000000 03:07 13156353 /usr/lib/libgobject-2.0.so.0.400.0 4d4c1000-4d4c3000 rw-p 00033000 03:07 13156353 /usr/lib/libgobject-2.0.so.0.400.0 4d4c3000-4d4c6000 r-xp 00000000 03:07 13156483 /usr/lib/libgmodule-2.0.so.0.400.0 4d4c6000-4d4c7000 rw-p 00002000 03:07 13156483 /usr/lib/libgmodule-2.0.so.0.400.0 4d4c7000-4d4cb000 r-xp 00000000 03:07 13156487 /usr/lib/libgthread-2.0.so.0.400.0 4d4cb000-4d4cc000 rw-p 00003000 03:07 13156487 /usr/lib/libgthread-2.0.so.0.400.0 4d4cc000-4d544000 r-xp 00000000 03:07 13161677 /usr/lib/libglib-2.0.so.0.400.0 4d544000-4d545000 rw-p 00078000 03:07 13161677 /usr/lib/libglib-2.0.so.0.400.0 4d545000-4d549000 r-xp 00000000 03:07 9262243 /usr/X11R6/lib/libXtst.so.6.1 4d549000-4d54a000 rw-p 00004000 03:07 9262243 /usr/X11R6/lib/libXtst.so.6.1 4d54a000-4d625000 r-xp 00000000 03:07 9262231 /usr/X11R6/lib/libX11.so.6.2 4d625000-4d628000 rw-p 000da000 03:07 9262231 /usr/X11R6/lib/libX11.so.6.2 4d628000-4d62b000 r-xp 00000000 03:07 9262269 /usr/X11R6/lib/libXrandr.so.2.0 4d62b000-4d62c000 rw-p 00002000 03:07 9262269 /usr/X11R6/lib/libXrandr.so.2.0 4d62c000-4d633000 r-xp 00000000 03:07 9262331 /usr/X11R6/lib/libXi.so.6.0 4d633000-4d634000 rw-p 00006000 03:07 9262331 /usr/X11R6/lib/libXi.so.6.0 4d634000-4d641000 r-xp 00000000 03:07 9262323 /usr/X11R6/lib/libXext.so.6.4 4d641000-4d642000 rw-p 0000c000 03:07 9262323 /usr/X11R6/lib/libXext.so.6.4 4d642000-4d653000 r-xp 00000000 03:07 9262327 /usr/X11R6/lib/libXft.so.2.1 4d653000-4d654000 rw-p 00011000 03:07 9262327 /usr/X11R6/lib/libXft.so.2.1 4d654000-4d6b5000 r-xp 00000000 03:07 25174046 /usr/lib/libfreetype.so.6.3.4 4d6b5000-4d6bc000 rw-p 00061000 03:07 25174046 /usr/lib/libfreetype.so.6.3.4 4d6bc000-4d6c3000 r-xp 00000000 03:07 9262334 /usr/X11R6/lib/libXrender.so.1.2 4d6c3000-4d6c4000 rw-p 00006000 03:07 9262334 /usr/X11R6/lib/libXrender.so.1.2 4d6c4000-4d6e6000 r-xp 00000000 03:07 20972170 /usr/lib/libfontconfig.so.1.0.4 4d6e6000-4d6e9000 rw-p 00022000 03:07 20972170 /usr/lib/libfontconfig.so.1.0.4 4d6ea000-4d6f2000 r-xp 00000000 03:07 9262276 /usr/X11R6/lib/libXcursor.so.1.0 4d6f2000-4d6f3000 rw-p 00007000 03:07 9262276 /usr/X11R6/lib/libXcursor.so.1.0 4d6f3000-4d717000 r-xp 00000000 03:07 8461199 /usr/lib/libpangoft2-1.0.so.0.399.1 4d717000-4d718000 rw-p 00023000 03:07 8461199 /usr/lib/libpangoft2-1.0.so.0.399.1 4d718000-4d735000 r-xp 00000000 03:07 12585857 /usr/lib/libexpat.so.0.4.0 4d735000-4d737000 rw-p 0001c000 03:07 12585857 /usr/lib/libexpat.so.0.4.0 4d737000-4d742000 r-xp 00000000 03:07 12583162 /usr/lib/libz.so.1.1.4 4d742000-4d744000 rw-p 0000b000 03:07 12583162 /usr/lib/libz.so.1.1.4 4d744000-4d76a000 r-xp 00000000 03:07 31524043 /usr/lib/azureus/libswt-gtk-3052.so 4d76a000-4d76c000 rw-p 00026000 03:07 31524043 /usr/lib/azureus/libswt-gtk-3052.so 4d76c000-4d774000 r-xp 00000000 03:07 17322492 /usr/lib/gtk-2.0/2.4.0/engines/libthinice.so 4d774000-4d775000 rw-p 00007000 03:07 17322492 /usr/lib/gtk-2.0/2.4.0/engines/libthinice.so 4d775000-4d778000 r-xp 00000000 03:07 25535739 /usr/lib/gtk-2.0/2.4.0/engines/libredmond95.so 4d778000-4d779000 rw-p 00002000 03:07 25535739 /usr/lib/gtk-2.0/2.4.0/engines/libredmond95.so 4d782000-4d78b000 r--p 00000000 03:07 1388263 /usr/X11R6/lib/X11/fonts/Type1/c0649bt_.pfb 4d794000-4d797000 r-xp 00000000 03:07 4290930 /usr/lib/pango/1.4.0/modules/pango-arabic-fc.so 4d797000-4d798000 rw-p 00002000 03:07 4290930 /usr/lib/pango/1.4.0/modules/pango-arabic-fc.so 4d798000-4d79a000 r-xp 00000000 03:07 4290918 /usr/lib/pango/1.4.0/modules/pango-hangul-fc.so 4d79a000-4d79b000 rw-p 00002000 03:07 4290918 /usr/lib/pango/1.4.0/modules/pango-hangul-fc.so 4d79b000-4d7df000 r--p 00000000 03:07 26560499 /usr/share/fonts/corefonts/arial.ttf 4d7df000-4d7f0000 r--p 00000000 03:07 22861546 /usr/share/fonts/ttf-bitstream-vera/Vera.ttf 4d7fa000-4d85a000 rw-s 00000000 00:06 1212424 /SYSV00000000 (deleted) 4d85a000-4d888000 r--s 00000000 03:07 18347064 /usr/share/junit/lib/junit.jar 4d889000-4d8e0000 r--s 00000000 03:07 10026108 /usr/share/log4j/lib/log4j-1.2.8.jar 4d8e0000-4d8e9000 r--p 00000000 03:07 1388262 /usr/X11R6/lib/X11/fonts/Type1/c0648bt_.pfb 4d8e9000-4d8eb000 r-xp 00000000 03:07 4290916 /usr/lib/pango/1.4.0/modules/pango-basic-fc.so 4d8eb000-4d8ec000 rw-p 00001000 03:07 4290916 /usr/lib/pango/1.4.0/modules/pango-basic-fc.so 4dbf2000-4dbf9000 r-xp 00000000 03:07 31524040 /usr/lib/azureus/libswt-atk-gtk-3052.so 4dbf9000-4dbfa000 rw-p 00007000 03:07 31524040 /usr/lib/azureus/libswt-atk-gtk-3052.so 4dd7d000-4dda0000 r--p 00000000 03:07 26574696 /usr/share/fonts/corefonts/verdana.ttf 4dda0000-4de5b000 r--p 00000000 03:07 22861544 /usr/share/fonts/unifont/unifont-f.pcf.gz 4df46000-4df53000 r--p 00000000 03:07 22861560 /usr/share/fonts/ttf-bitstream-vera/VeraMono.ttf Heap at VM Abort: Heap def new generation total 576K, used 175K [0x44770000, 0x44810000, 0x44c50000) eden space 512K, 27% used [0x44770000, 0x44792ca0, 0x447f0000) from space 64K, 56% used [0x447f0000, 0x447f9018, 0x44800000) to space 64K, 0% used [0x44800000, 0x44800000, 0x44810000) tenured generation total 2912K, used 2550K [0x44c50000, 0x44f28000, 0x48770000) the space 2912K, 87% used [0x44c50000, 0x44ecdbb8, 0x44ecdc00, 0x44f28000) compacting perm gen total 6144K, used 5981K [0x48770000, 0x48d70000, 0x4c770000) the space 6144K, 97% used [0x48770000, 0x48d474c8, 0x48d47600, 0x48d70000) Local Time = Mon Jun 7 12:39:42 2004 Elapsed Time = 5 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.2_04-b05 mixed mode) # # An error report file has been saved as /tmp/hs_err_pid22079.log. # Please refer to the file for further information. # /usr/bin/azureus: line 54: 22079 Aborted java -cp $CLASSPATH -Djava.library.path="${AZDIR}" org.gudy.azureus2.ui.swt.Main "$1" If you recieved an error about a missing java class, you need to setup your classpath correctly. This should do the trick (as root): java-config --add-system-classpath=junit,log4j,commons-cli,systray4j env-update && source /etc/profile Currently, your classpath (including azureus additions) is: swt.jar:swt-pi.jar:swt-mozilla.jar:seda.jar:Azureus2.jar::/usr/share/junit/lib/junit.jar:/usr/share/log4j/lib/log4j-1.2.8.jar:. Reproducible: Always Steps to Reproduce:
I'm having the exact same problem. I've tried: * Going back to previous azureus version - works * Re-emerging balckdown-jre or jdk - doesn't work * Re-emerging pango-1.4.0 - doesn't work. Seems to be pango related....
Having the exact same problem.
please verify that this is still existent in 2.1.0.0-r1
*** Bug 54216 has been marked as a duplicate of this bug. ***
I've just tried azureus-bin-2.1.0.2 with the exact same error happening: edusilva@edusilvagen-1 azureus-bin $ epm -q azureus-bin azureus-bin-2.1.0.2 edusilva@edusilvagen-1 azureus-bin $ azureus Attempting to start Azureus... changeLocale: no message properties for Locale 'English (United States)' (en_US), using 'English (default)' An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4D3461E0 Function=(null)+0x4D3461E0 Library=/usr/lib/pango/1.4.0/modules/pango-hangul-fc.so NOTE: We are unable to locate the function name symbol for the error just occurred. Please refer to release documentation for possible reason and solutions. Same deal.
This isn't existent on the Motif version of the build, only GTK. I can't confirm it's fixed in latest -r1, but i'm concerned that the latest ebuild doesn't have the fix.
I was getting this bug before upgrading to 2.1.0.4, but it seems to have been fixed after that upgrade (or was fixed in another package.)
I am also having this bug. Running 2.1.0.4.
I did '# env-update && source /etc/profile' and rebooted and it was working fine. Then Azureus froze and I had to kill it. After that - same problem as before. I dont feel like rebooting again because if that's the only work around... its not worth it =) My point is though that it will work if you reboot. I was able to start multiple instances. Also, starting it as different users works too.
I believe this problem is related to certain fonts that cause pango to crash under certain conditions. Specifically, try removing the 'unifont' package and seeing if this fixes the problem. For more investigation on this from the eclipse side see: https://bugs.eclipse.org/bugs/show_bug.cgi?id=63524
Thank you Billy :) Users reporting trouble, could you please uninstall media-fonts/unifont (unless you just really really need it) and let me know if that fixes things?
I don't have unifont installed in the first place and I am seeing this bug with both 2.1.0.2 and 2.1.0.4.
is this with pango-1.4.1 ? And try with pango-1.6 (in p.mask) if that doesn't work.
I'm using the latest Azureus version 2.1.0.4, gtk, and blackdown java and am having the same problem with the startup. Azureus worked fine for the first 2 times I ran it but on the 3rd try I'm getting a similar startup error. If I try running it now I get the splash screen and the progress bar loads to full with the last status as "Opening Views" but then the whole thing crashes. Uninstalling Unifont Fonts - Did not Work Upgrading to Pango 1.6 - Did not Work
I just found out that my particular problem with Azureus might be due to another program I'm using. Please refer to Bug #67586. Sorry for the confusion.
could you try 2.2.0.0 ?
2.3.0.0 works fine here on amd64, maybe this one can be closed now?
(In reply to comment #17) > 2.3.0.0 works fine here on amd64, maybe this one can be closed now? Nope. I'm seeing this bug on my amd64.
Ok, switching to blackdown jdk fixes it. sun-jdk doesn't like dll.
Java guys: what is policy to deal such problems? You're more fimiliar with it, reassigning to you
Please test using dev-java/azureus-2.3.0.6 which is a from sources version and the latest upstream. Reopen if it does not fix the issue.