Community
Participate
Working Groups
Build Identifier: 20100218-1602 Under my working environment (Ubuntu 10.04 with JDK 1.5.0_16-b02), call function Control.moveAbove(Control control) to move a control above itself will cause JVM crash. Reproducible: Always Steps to Reproduce: 1.write a simple snippet 2.Call Control.moveAbove(Control control) to move a control above itself. 3.JVM crash under ubuntu 9.10(GTK+ 2.18.3) and ubuntu 10.04(GTK+ 2.20.1)
Created attachment 174940 [details] A snippet can reproduce this issue This snippet can reproduce this issue under ubuntu 10.04 (GTK+ 2.20.1) with eclipse >= 3.5.2
Created attachment 174942 [details] The log file of JVM From the log file of JVM, the exception happend in the native call gdk_window_restack, this function call is added after eclipse 3.5.2(tag 3557). See bug 287307.
Created attachment 174943 [details] A simple patch of moveAbove() Add one line to detect if the sibling control is the same control.
Lakshmi, do you have GTK 2.18 ? Can you confirm the crash and release fix ? It looks pretty easy.
Created attachment 174982 [details] Patch I can reproduce the crash on my machine. The patch prevents the crash. Added similar check in Control.moveBelow() too, though it doesn't crash it'll avoid the call to setZOrder().
CQ:WIND00223995
Fixed in HEAD > 20100726
.
(In reply to comment #7) > Fixed in HEAD > 20100726 Hi,Lakshmi Do we have any plan to backport this fix to 3.6? Regards
Hi Felipe, can this go for 3.6.1?
Yes
Fixed in 3.6.1 branch.