| Summary: | Fast refreshing editor --> frozen eclipse. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | marcin.miedzinski | ||||
| Component: | WindowBuilder | Assignee: | Project Inbox <wb.xwt-inbox> | ||||
| Status: | CLOSED WORKSFORME | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | Alexander.Mitin, Konstantin.Scheglov, michal.stolarski | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
marcin.miedzinski
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. |