Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65113 - Java GTK apps Segfault (Probably scrollbar problem)
Summary: Java GTK apps Segfault (Probably scrollbar problem)
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High major (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-23 11:30 UTC by msahertian
Modified: 2005-01-08 07:33 UTC (History)
3 users (show)

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


Attachments
Java VM Hotspot error log (Azureus) (hs_err_pid29626.log,21.66 KB, text/plain)
2004-09-23 11:31 UTC, msahertian
Details
Java VM Hotspot error log (Eclipse) (hs_err_pid30185.log,32.35 KB, text/plain)
2004-09-23 11:35 UTC, msahertian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description msahertian 2004-09-23 11:30:42 UTC
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)
Comment 1 msahertian 2004-09-23 11:31:33 UTC
Created attachment 40230 [details]
Java VM Hotspot error log (Azureus)
Comment 2 msahertian 2004-09-23 11:35:13 UTC
Created attachment 40233 [details]
Java VM Hotspot error log (Eclipse)
Comment 3 msahertian 2004-09-23 12:48:10 UTC
Works with sun-jdk-1.4.2.05, so it seems to be a jdk-1.5.0-rc problem.
Comment 4 msahertian 2004-09-24 14:21:21 UTC
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.
Comment 5 Joe McCann (RETIRED) gentoo-dev 2005-01-07 18:19:59 UTC
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.
Comment 6 Joe McCann (RETIRED) gentoo-dev 2005-01-07 18:25:14 UTC
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?
Comment 7 Andrew Cowie 2005-01-08 01:12:24 UTC
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
Comment 8 msahertian 2005-01-08 01:51:05 UTC
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
Comment 9 Andrew Cowie 2005-01-08 02:10:35 UTC
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
Comment 10 Billy Biggs 2005-01-08 07:33:56 UTC
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.