| Summary: | Eclipse crashes when initializing strcuture with .name = value in CDT editor. | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | RogerOdle <odlecdt> |
| Component: | cdt-editor | Assignee: | Project Inbox <cdt-editor-inbox> |
| Status: | RESOLVED WORKSFORME | QA Contact: | Anton Leherbauer <aleherb+eclipse> |
| Severity: | normal | ||
| Priority: | P3 | CC: | malaperle, yevshif |
| Version: | 8.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
Please provide * the version of CDT you are using, and * the crash-dump file that is written by the JVM, when it crashes. I cannot reproduce the issue on Windows with CDT 6.0.2 or 7.0.1. I cannot reproduce on Fedora 13. I installed eclipse-cdt-1:6.0.2-5 which includes: Autotools 2.0.0 C/C++ Library API Documentation Hover Help 0.2.0 CDT 6.0.2 Eclipse Platform 3.5.2 EMF 2.5.0 Remote System Explorer stuff Target Management Terminal Widget 3.0.1 No Mylyn No response. |
Build Identifier: M20100211-1343 When I am editing the initialization for variable vidtestParam and CDT wants to create the popup that lists the elements of the structure, Eclipse freezes and then crashes after about a minute. It seems to be exhibiting the behaviour of a loop in the the call stack where a function ultimately calls itself in a recursion. This happens every time. I can edit the value parts of the initialization code without a problem. I can paste lines into the initialization code without a problem. It appears to be related to the code-completion popup tool. I am running the Eclipse package from Fedora 13. a_header.h ============================================================= typedef struct VidTestParameters_s VidTestParameters; struct VidTestParameters_s { Boolean isLeftCameraDevSet; gchar* leftCameraDev; } VidTestParameters vidtestParam = { .isLeftCameraDevSet = bNO, .leftCameraDev = NULL, }; ============================================================= Reproducible: Always Steps to Reproduce: 1.Define a structure. 2.Create an initialized variable using named field value technique (see details) 3.Start new line in bracketed area with "." to trigger code-completion tool