Java GTK apps Segfault when, i think, showing/scrolling a scrollbar. Azureus: Crashes when loading the main window. (ie. the main window contains a scrollbar (which should be scrollable in my setup)). Splash screen functions normal Eclipse: Make navigate list show scrollbar (expand some directories) -> touch the scrollbar -> crash gtk+-1.2.10-r11 gtk+-2.5.2 azureus-2.1.0.4 eclipse-sdk-3.1_pre1 sun-jdk-1.5.0_rc1 java version "1.5.0-rc" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-rc-b63) Java HotSpot(TM) Client VM (build 1.5.0-rc-b63, mixed mode) # # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGSEGV (0xb) at pc=0xa9b982b8, pid=29626, tid=3085607024 # # Java VM: Java HotSpot(TM) Client VM (1.5.0-rc-b63 mixed mode) # Problematic frame: # C [libgtk-x11-2.0.so.0+0x23a2b8] # # An error report file with more information is saved as /tmp/hs_err_pid29626.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # (hs_err_pid29626.log attached)
Created attachment 40230 [details] Java VM Hotspot error log (Azureus)
Created attachment 40233 [details] Java VM Hotspot error log (Eclipse)
Works with sun-jdk-1.4.2.05, so it seems to be a jdk-1.5.0-rc problem.
Correction: With sun-jdk-1.4.2.05 Azureus works fine as it seems. Eclipse starts, the scrollbar in the navigator highlights if i move my mouse over it highlights. But as soon as i click that scrollbar... *hang* Have to kill the process.
Please include the output of emerge info in bug reports. Also we don't offer gtk+-2.5.2 and from what I can see looking at the deps, azureus doesn't use gtk.
Nm about gtk, guess I should have looked deeper into the dep tree. Can you reproduce this bug with a gtk+-2.4 release in portage?
My first reaction was "what on earth are you doing with gtk+-2.5.x on your system?" That's part of the not-even-as-good-as-unstable GTK/GNOME development branch. Yes, I realize that gtk 2.6 was very recently released, but that's because they're the leading edge ahead of the next release of GNOME. In any case, libgtk-java-2.4.x wraps gtk+-2.4. It's not meant for gtk+-2.5/6. Until gnome-2.10 is ~arch, gtk+-2.6 will not supported by the java-gnome ebuilds because [upstream] java-gnome-2.8 itself does not support gtk+-2.6. What do I have to do with the DEPENDS string to block >=gtk+-2.5.0 (or more precisely, require that gtk+-2.4.x be present? Obviously the present >= clause I have isn't quite sufficient). [and, also, be advised that no one doing the upstream development of java-gnome is working on Java 1.5 that I know of, so no guarantees there] AfC Sydney
Oh, well.. it works at the moment. I guess i was running a bit too much unstable stuff at that moment (quite some time ago) :) Marking as INVALID
Ok. Doesn't mean that you didn't run into trouble; in 3 more months when GNOME 2.10 hits the streets this could well become an issue, so definitely thanks for bringing it to our attention. So, I'll go and study up the depend atoms a bit more and see what I can come up with. I seem to recall the construct "=blah-2.4.*" being used to mean ">= 2.4.0 but < 2.5" ... but that doesn't help if you really do need a >= 2.4.x where x != 0 Cheers, AfC Sydney
Hi, I am an Eclipse developer. Note that this bug did not have anything to do with java-gnome. Eclipse and Azureus use a widget toolkit called SWT which is a different wrapper around GTK+. Also note that issues relating to scrollbars are suspicious. There is a common crash for eclipse users caused by the gtk-qt theme engine and its misrendering of scrollbars. That all said, there were many bugs in the 2.5 branch which caused crashes for us, so this is by far the most suspicious. Just thought I would clarify.