Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 363672 - Beachball (i.e., hang) on OS X Lion
Summary: Beachball (i.e., hang) on OS X Lion
Status: CLOSED DUPLICATE of bug 345970
Alias: None
Product: CDT
Classification: Tools
Component: cdt-editor (show other bugs)
Version: 8.1.0   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Anton Leherbauer CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-14 01:21 EST by JL CLA
Modified: 2012-02-23 11:30 EST (History)
1 user (show)

See Also:


Attachments
Native stack trace when Eclipse is hung (134.20 KB, text/plain)
2011-11-14 01:22 EST, JL CLA
no flags Details
Eclipse configuration (302.29 KB, text/plain)
2011-11-14 01:25 EST, JL CLA
no flags Details
Error log (from workspace directory) (45.11 KB, application/octet-stream)
2011-11-14 01:31 EST, JL CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description JL CLA 2011-11-14 01:21:03 EST
Build Identifier: Build id: 20110916-0149

(Side unrelated note: You guys don't make it easy to file a bug).

Eclipse CDT hangs "predictably" hangs after a few minutes of working with it, the only option is to kill it (Force Quit on mac or kill -9) and relaunch it.  

This makes it unusable.  Of course, edits since the file was last saved are lost.

A java stack trace cannot be produced (e.g., with jstack) once eclipse hangs.  It seems to be a deadlock, the CPU is not pegged when this happens.  Eclipse's CPU usage at that point is about 0.3% (yes < 1%).

Some additional information:

* It does not happen in other versions of OS X (e.g., Snow Leopard).

* Various coworkers with a similar setup (Macbook with OS X Lion) have been able to reproduce it (and gave up using eclipse for the development).

* We have a medium size C++ project (with an external build system), that includes thrift generated files, boost and various other libraries.

A native stack trace and other configuration details attached.  No Java stack trace can be produced.


Reproducible: Always

Steps to Reproduce:
There are no exact steps, but it seems to be triggered more frequently when autocompletion is automatically invoked, e.g., typing something like:  'myObjectInstance.'  Very often right after typing the dot Eclipse hangs, sometimes the autocompletion list is rendered before the lockup, sometimes it locks up before the list is displayed.
Comment 1 JL CLA 2011-11-14 01:22:56 EST
Created attachment 206915 [details]
Native stack trace when Eclipse is hung
Comment 2 JL CLA 2011-11-14 01:25:26 EST
Created attachment 206916 [details]
Eclipse configuration
Comment 3 JL CLA 2011-11-14 01:31:47 EST
Created attachment 206917 [details]
Error log (from workspace directory)
Comment 4 Anton Leherbauer CLA 2011-11-14 02:14:16 EST
Sounds like bug 345970.  Please try the workarounds mentioned there.
Comment 5 JL CLA 2011-11-14 12:04:05 EST
All symptoms suggest this is a duplicate of bug 345970.

Additional detail: This does not happen with Java projects.

Will try the mentioned workarounds: 32-bit version or -Xint.

*** This bug has been marked as a duplicate of bug 345970 ***