| Summary: | Eclipse crashes on hovering over the Variables ('this' variable) on odd times debugging | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Jay Kumar <jayhacker> | ||||||||||||
| Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> | ||||||||||||
| Status: | RESOLVED WORKSFORME | QA Contact: | |||||||||||||
| Severity: | normal | ||||||||||||||
| Priority: | P3 | CC: | ericwill, Michael_Rennie, sarika.sinha | ||||||||||||
| Version: | 4.3.1 | Keywords: | triaged | ||||||||||||
| Target Milestone: | --- | ||||||||||||||
| Hardware: | PC | ||||||||||||||
| OS: | Linux | ||||||||||||||
| Whiteboard: | |||||||||||||||
| Attachments: |
|
||||||||||||||
Created attachment 240042 [details]
Buggy source file
Created attachment 240043 [details]
referenced library
I found out how to attach all the files in this same bug, so will do so without creating Parts 2 and 3 of this bug. Created attachment 240044 [details]
eclipse error log
(In reply to Jay Kumar from comment #0) > Created attachment 240041 [details] > image > > While debugging the file RandomizedQueues.java with the Referenced library > 'stdlib.jar' with the -ea option (enable assertions) enabled, eclipse breaks > at an assertion at line 39 in the function 'resize'. When I open the 'this' > variable in the Variables window, it works fine the first time, and at all > the odd times, but when I just hover over the 'this' variable at all the > even times, Eclipse crashes. I am unable to attach more than one file at a > time, so I will create Parts 2 and 3 to attach RandomizedQueues.java and > stdlib.jar too. Please explain -> when I just hover over the 'this' variable at all the > even times, Eclipse crashes You are trying to hover on "this" variable in Variables window ? What happens after Eclipse crashes ? It exits the program ? How are you able to test it after that ? How do you test odd and even time ? Hi, yes, I was trying to hover over the 'this' variable in the variables window, and I was about to click on the arrow to the left of the variable to expand it. But just before I can click on it, Eclipse disappears. The whole program just disappears and the error log file, 'hs_err_pidxxxxx.log' appears in my home directory. So I have to restart Eclipse again and start the debugging process again. And about the odd and even times: the first time I start debugging by clicking on the Debug insect button and the debugger breaks at the assert, I am able to click on the 'this' variable and expand it and view its contents. I then click 'Resume(F8) (the green right arrow with a yellow bar to its left)' and the program completes execution. Then again, I hit the Debug insect button to start debugging, and now when the debugger breaks and I try to expand the 'this' variable in the Variables window, the program just exits. Created attachment 240054 [details]
eclipse error log 2
(In reply to Jay Kumar from comment #7) > Created attachment 240054 [details] > eclipse error log 2 The logs indicate the VM is crashing with a segmentation fault, in particular the frame: C [libgtk-x11-2.0.so.0+0x2202aa] gtk_tree_view_get_background_area+0x8a is mentioned as the problematic frame. Sending to SWT for comment. I cannot reproduce this issue on Fedora 28, GTK3.22, and 4.8 M7. Please re-open this ticket if the bug reoccurs. |
Created attachment 240041 [details] image While debugging the file RandomizedQueues.java with the Referenced library 'stdlib.jar' with the -ea option (enable assertions) enabled, eclipse breaks at an assertion at line 39 in the function 'resize'. When I open the 'this' variable in the Variables window, it works fine the first time, and at all the odd times, but when I just hover over the 'this' variable at all the even times, Eclipse crashes. I am unable to attach more than one file at a time, so I will create Parts 2 and 3 to attach RandomizedQueues.java and stdlib.jar too.