Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 193847 - dev-util/eclipse-sdk crashes with gtk+-2.12
Summary: dev-util/eclipse-sdk crashes with gtk+-2.12
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://bugzilla.gnome.org/show_bug.cg...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-26 08:34 UTC by Jan Mentzel
Modified: 2007-11-11 22:41 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 Jan Mentzel 2007-09-26 08:34:18 UTC
The gtk+ team fixed the problem in theire CVS already:
http://svn.gnome.org/viewcvs/gtk+/trunk/gtk/gtktooltips.c?r1=18587&r2=18864

I think patch is suitable for x11-libs/gtk+-2.12.0-r1

thank you, jan

Reproducible: Always

Steps to Reproduce:
In Eclipse / JBuilder 2007
1. Move around the toolbar bringing up tooltips
2. Tooltips appear fine
3. After a short period, the JVM crashes


Stack trace:
Stack: [0xbf8f5000,0xbfaf5000),  sp=0xbfaf0880,  free space=2030k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libgtk-x11-2.0.so.0+0x2593dc]  gtk_tooltips_set_tip+0x1dc
C  [libswt-pi-gtk-3236.so+0x38abf] 
Java_org_eclipse_swt_internal_gtk_OS__1gtk_1tooltips_1set_1tip+0x74
j  org.eclipse.swt.internal.gtk.OS._gtk_tooltips_set_tip(II[B[B)V+0
j  org.eclipse.swt.internal.gtk.OS.gtk_tooltips_set_tip(II[B[B)V+11
j 
org.eclipse.swt.widgets.Shell.setToolTipText(ILjava/lang/String;Ljava/lang/String;)V+142
[...]
Actual Results:  
Java VM crashes dumping the following hs_err_pid*.log

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0x6aab88d3, pid=7680, tid=3084941520
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_12-b04 mixed mode)
# Problematic frame:
# C  [libgtk-x11-2.0.so.0+0x2218d3]  gtk_tooltips_set_tip+0x1c3
#

---------------  T H R E A D  ---------------

Current thread (0x0805cc28):  JavaThread "main" [_thread_in_native, id=7680]

siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x00000008

Registers:
EAX=0x00000180, EBX=0x6abfcff4, ECX=0x00000000, EDX=0x081772d8
ESP=0xbff4f5d8, EBP=0xbff4f610, ESI=0x00000000, EDI=0x08d73ee0
EIP=0x6aab88d3, CR2=0x00000008, EFLAGS=0x00010246

Top of Stack: (sp=0xbff4f5d8)
0xbff4f5d8:   08d73ee0 71203868 093d1530 093d1530
0xbff4f5e8:   0805cc28 6abfcff4 081772d8 00000000
0xbff4f5f8:   093d1530 081772d8 080e0370 6ac6b36c
0xbff4f608:   0805cce8 00000000 bff4f640 6ac58abf
0xbff4f618:   081772d8 08d73ee0 093d1530 00000000
0xbff4f628:   bff4f648 6ac58a29 093d1530 0805cc28
0xbff4f638:   00000000 71203868 bff4f668 b2b9f7ac
0xbff4f648:   0805cce8 bff4f664 081772d8 08d73ee0 

Instructions: (pc=0x6aab88d3)
0x6aab88c3:   25 80 01 00 00 3d 80 01 00 00 0f 85 d5 fe ff ff
0x6aab88d3:   8b 46 08 89 04 24 e8 42 99 e2 ff 8b 46 0c 89 04 

Stack: [0xbfd54000,0xbff54000),  sp=0xbff4f5d8,  free space=2029k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libgtk-x11-2.0.so.0+0x2218d3]  gtk_tooltips_set_tip+0x1c3
C  [libswt-pi-gtk-3236.so+0x38abf]  Java_org_eclipse_swt_internal_gtk_OS__1gtk_1tooltips_1set_1tip+0x74
J  org.eclipse.swt.internal.gtk.OS._gtk_tooltips_set_tip(II[B[B)V
J  org.eclipse.swt.internal.gtk.OS.gtk_tooltips_set_tip(II[B[B)V
j  org.eclipse.swt.widgets.Shell.setToolTipText(ILjava/lang/String;Ljava/lang/String;)V+142
j  org.eclipse.swt.widgets.Control.setToolTipText(Lorg/eclipse/swt/widgets/Shell;Ljava/lang/String;Ljava/lang/String;)V+7
j  org.eclipse.swt.widgets.Control.setToolTipText(Ljava/lang/String;)V+14
j  org.eclipse.swt.custom.CTabFolder._setToolTipText(II)V+30
j  org.eclipse.swt.custom.CTabFolder.onMouse(Lorg/eclipse/swt/widgets/Event;)V+771
j  org.eclipse.swt.custom.CTabFolder$1.handleEvent(Lorg/eclipse/swt/widgets/Event;)V+248
J  org.eclipse.swt.widgets.EventTable.sendEvent(Lorg/eclipse/swt/widgets/Event;)V
J  org.eclipse.swt.widgets.Display.runDeferredEvents()Z
J  org.eclipse.swt.widgets.Display.readAndDispatch()Z
J  org.eclipse.ui.internal.Workbench.runEventLoop(Lorg/eclipse/jface/window/Window$IExceptionHandler;Lorg/eclipse/swt/widgets/Display;)V
v  ~OSRAdapter
j  org.eclipse.ui.internal.Workbench.runUI()I+225
j  org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+11

[ ... cut ... ]

b7f76000-b7f90000 r-xp 00000000 03:04 1848722    /lib/ld-2.6.1.so
b7f90000-b7f92000 rwxp 00019000 03:04 1848722    /lib/ld-2.6.1.so
bfd54000-bfd57000 ---p bfd54000 00:00 0 
bfd57000-bff54000 rwxp bfd57000 00:00 0          [stack]

VM Arguments:
jvm_args: -Xmx1024M -XX:MaxPermSize=100M
java_command: /usr/lib/eclipse-3.2/startup.jar -os linux -ws gtk -arch x86 -launcher /usr/lib/eclipse-3.2/eclipse -name Eclipse -showsplash 600 -exitdata 68002 -vm /usr/bin/java -vmargs -Xmx1024M -XX:MaxPermSize=100M -jar /usr/lib/eclipse-3.2/startup.jar
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=/home/jan/.gentoo/java-config-2/current-user-vm
CLASSPATH=/opt/sun-jdk-1.5.0.06/jre/lib/rt.jar:.
PATH=/usr/kde/3.5/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.2.0:/opt/sun-jdk-1.4.2.12/bin:/opt/sun-jdk-1.4.2.12/jre/bin:/opt/sun-jdk-1.4.2.12/jre/javaws:/usr/kde/3.5/bin:/usr/qt/3/bin:/usr/games/bin:/usr/local/lib/wine/bin
LD_LIBRARY_PATH=/opt/sun-jdk-1.5.0.12/jre/lib/i386/client:/opt/sun-jdk-1.5.0.12/jre/lib/i386:/opt/sun-jdk-1.5.0.12/jre/../lib/i386:/usr/lib/gecko-sdk/lib/
SHELL=/bin/bash
DISPLAY=:0.0

Signal Handlers:
SIGSEGV: [libjvm.so+0x32b1b0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGBUS: [libjvm.so+0x32b1b0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGFPE: [libjvm.so+0x28eb70], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGPIPE: SIG_IGN, sa_mask[0]=0x00001000, sa_flags=0x10000000
SIGILL: [libjvm.so+0x28eb70], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGUSR2: [libjvm.so+0x290fc0], sa_mask[0]=0x00000000, sa_flags=0x10000004
SIGHUP: [libjvm.so+0x2909f0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGINT: [libjvm.so+0x2909f0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGQUIT: [libjvm.so+0x2909f0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGTERM: [libjvm.so+0x2909f0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004


---------------  S Y S T E M  ---------------

OS:Gentoo Base System release 1.12.10

uname:Linux 2.6.22-gentoo-r7 #1 PREEMPT Mon Sep 24 11:32:18 CEST 2007 i686
libc:glibc 2.6.1 NPTL 2.6.1 
rlimit: STACK 8192k, CORE 0k, NPROC 12283, NOFILE 1024, AS infinity
load average:0,07 0,28 0,36

CPU:total 1 (cores per cpu 1, threads per core 1) family 6 model 9 stepping 5, cmov, cx8, fxsr, mmx, sse, sse2

Memory: 4k page, physical 1555548k(804028k free), swap 506036k(506036k free)

vm_info: Java HotSpot(TM) Client VM (1.5.0_12-b04) for linux-x86, built on May  2 2007 03:26:22 by java_re with gcc 3.2.1-7a (J2SE release)


Expected Results:  
Eclipse should not crash when hovering over tabs and other tooltip-containing controlls.

dev-util/eclipse-sdk-3.2.1-r2
x11-libs/gtk+-2.12.0
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-09-26 08:38:19 UTC
Been already fixed, see the ChangeLog.
Comment 2 Mart Raudsepp gentoo-dev 2007-11-11 22:41:52 UTC
Compatibility restored inside gtk+, so there is no regression with newer gtk+ and nothing to track, removing tracker from block list