Community
Participate
Working Groups
Build Identifier: 20110218-0911 Fast pressing F5 in XWTDesigner cause eclipse crash. Reproducible: Sometimes Steps to Reproduce: 1. Create new XWT application 2. Add 2-3 components to form 3. Press several times F5 key.
Can not reproduce. Do you have JVM crash logs (files hs_err_pid*.log)?
(In reply to comment #1) > Can not reproduce. > Do you have JVM crash logs (files hs_err_pid*.log)? Unfortunately eclipse doesn't show stack, in *.log file also don't any information about this error. I downloaded source of WB, and run an eclipse aplication, when I try a several times refreshing a form, editor become frozen. I must terminate editor from primary eclipse, but there aren't any massage.
Create thread stack trace. For example on Windows run Eclipse as: eclipsec -clean -data workspace -vmargs -XX:MaxPermSize=192m -Xms1024m -Xmx1024m > threads.log and when it become frozen, press Ctrl+Break (IIRC kill -1 in Linux). Then attach this log file.
(In reply to comment #3) > Create thread stack trace. > For example on Windows run Eclipse as: > eclipsec -clean -data workspace -vmargs -XX:MaxPermSize=192m -Xms1024m > -Xmx1024m > threads.log > > and when it become frozen, press Ctrl+Break (IIRC kill -1 in Linux). > Then attach this log file. Log file is empty. I suspect that, the problem may not occurs on every operating systems. I'm using Ubuntu x64 (Linux PC31 2.6.35-28-generic #50-Ubuntu SMP Fri Mar 18 18:42:20 UTC 2011 x86_64 GNU/Linux).
For Linux, run Eclipse from the console and when it hangs execute 'kill -3 <eclipse_pid>' command, you'll get the Java threads dump.
Created attachment 199634 [details] Eclipse thread dump. Hi, I'm attaching thread dump. I ran eclipse with command: eclipse -clean -data ~/temp/workspace -vmargs -XX:MaxPermSize=192m -Xms1024m -Xmx1024m > threads.log After designer have stalled I sent SIGQUIT (3) to eclipse process. NOTE: Eclipse does not crash, main menu and most of other functionality works. Only designer editor hangs. (and probably some other features, e.g. I can not open "Error Log" view).
@Michal, Try to activate 'Disable preview window flickering workarounds' option in WindowBuilder preferences.
Hi Alexander, it solved problem for me, thanks! Cheers, Mike
Problem solved. Thanks.
Closed.