Cevelop / Issues

The official issue tracker for Cevelop.
9 stars 1 forks source link

Cevelope crash if I install plugin C/C++ Unit testing feature #125

Open Manoj-red-hat opened 3 years ago

Manoj-red-hat commented 3 years ago

Expected Behavior

When I try to install plugin C/C++ Unit Testing Support 9.10.0.201910161455 It installed successfully and after restart cevelope become unusable

Actual Behavior

Ideally It should work and show additional configuartino support for gtest

Cevelop Version, Operating System and Compiler

[19.10 ] 5.3.0-64-generic #58-Ubuntu SMP Fri Jul 10 19:33:51 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux Cevelope : cevelop-1.14.1-202002280945-linux.gtk.x86_64

PeterSommerlad commented 3 years ago

Cevelop already comes with a unit testing support using CUTE. Ohter unit testing frameworks are not supposed to be supported.

tcorbat commented 3 years ago

Cevelop is based on the corresponding version of Eclipse CDT. Therefore, it should not be a problem to run the Unit Testing Support plug-in for CDT, as long as it works with that version. Our plug-ins are unlikely to interfere with that as they also build on top. Does that plug-in work properly with a vanilla CDT installation?

Am Mi., 10. Feb. 2021 um 16:56 Uhr schrieb Peter Sommerlad < notifications@github.com>:

Cevelop already comes with a unit testing support using CUTE. Ohter unit testing frameworks are not supposed to be supported.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Cevelop/Issues/issues/125#issuecomment-776811039, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA2JYQLL54AAPE2QMFJLCZTS6KUBHANCNFSM4XNEXGRA .

tcorbat commented 3 years ago

The only problem I could fathom, was if the installation of the plug-in somehow replaced the underlying CDT installation within Cevelop. However, that should not be possible AFAIK.

Am Do., 11. Feb. 2021 um 08:20 Uhr schrieb Thomas Corbat < thomas.corbat@gmail.com>:

Cevelop is based on the corresponding version of Eclipse CDT. Therefore, it should not be a problem to run the Unit Testing Support plug-in for CDT, as long as it works with that version. Our plug-ins are unlikely to interfere with that as they also build on top. Does that plug-in work properly with a vanilla CDT installation?

Am Mi., 10. Feb. 2021 um 16:56 Uhr schrieb Peter Sommerlad < notifications@github.com>:

Cevelop already comes with a unit testing support using CUTE. Ohter unit testing frameworks are not supposed to be supported.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Cevelop/Issues/issues/125#issuecomment-776811039, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA2JYQLL54AAPE2QMFJLCZTS6KUBHANCNFSM4XNEXGRA .

Manoj-red-hat commented 3 years ago

I think the issue is with below plugins.

After installing below plugins https://www.cevelop.com/update/1.14.0 on the top of C/C++ unit test pluigin

Problem occurs, below is the screen-shot

Screenshot from 2021-02-11 17-53-55

tcorbat commented 3 years ago

The update-site you are referring to contains only our plug-ins, none of which is the C/C++ Unit Test Support plug-in. You might have installed it from: http://download.eclipse.org/tools/cdt/releases/9.10 Which we have included to have other dependencies resolved automatically when installing other plug-ins. You might try to reset the perspective and hope for good, as it looks like your workspace might be skewed (the missing icons and the label <C/C++> top right in your screenshot are an indicator for that).

The stack trace in the Build Targets view indicates a problem in a CDT component. There is no hint of any of our plug-ins in the trace.

Am Do., 11. Feb. 2021 um 13:29 Uhr schrieb Manoj Kumar < notifications@github.com>:

I think the issue is with below plugins.

After installing below plugins https://www.cevelop.com/update/1.14.0 on the top of C/C++ unit test pluigin

Problem occurs, below is the screen-shot

[image: Screenshot from 2021-02-11 17-53-55] https://user-images.githubusercontent.com/5130287/107636371-8a861480-6c92-11eb-950c-49087d6bdfd9.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Cevelop/Issues/issues/125#issuecomment-777419376, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA2JYQOH3NALQCVHFUPMAE3S6PEUJANCNFSM4XNEXGRA .

Manoj-red-hat commented 3 years ago

@tcorbat Ya so let me clear it.

Step 1. unzip cevelop-1.14.1-202002280945-linux.gtk.x86_64.tar.gz, and run cevelop everything works great.

Step 2: Install C/C++ unit framework

Select Plugin to install step2 Accept Plugin step2 2 After Restart everything works fine we get new C/C++ test module in configuration step2-4

Step 3: Now the Problamatic Step

Try to install cevelope plugins, after installing C/C++ unit test plugins step3-3

After Restart and installing cevelope plugins cdt got corrupt.

step-final

[FINALLY I drill down to following matrix]

Cevelope + C/C++ unit test plugin + cevelope plugins [ Not Working ] Cevelope + C/C++ unit test plugin [ Working ] Cevelope + cevelope plugins [ Working ]

tcorbat commented 3 years ago

Hm... interesting. I could not reproduce the problem on Windows. I'll check whether I can find someone to reproduce it on Linux. I looks like the complete CDT-part is skewed. Can you try to open the C/C++ Perspective (again) or reset the open perspective?

Am Do., 11. Feb. 2021 um 18:03 Uhr schrieb Manoj Kumar < notifications@github.com>:

@tcorbat https://github.com/tcorbat Ya so let me clear it. Step 1. unzip cevelop-1.14.1-202002280945-linux.gtk.x86_64.tar.gz, and run cevelop everything works great. Step 2: Install C/C++ unit framework

Select Plugin to install [image: step2] https://user-images.githubusercontent.com/5130287/107669445-be276580-6cb7-11eb-81f3-4cc509c169fe.png Accept Plugin [image: step2 2] https://user-images.githubusercontent.com/5130287/107669467-c5e70a00-6cb7-11eb-8b45-257d422d1ed1.png After Restart everything works fine we get new C/C++ test module in configuration [image: step2-4] https://user-images.githubusercontent.com/5130287/107669497-cda6ae80-6cb7-11eb-90b5-5e241ee5055e.png Step 3: After Problamatic Step

Try to install cevelope plugins, after installing C/C++ unit test plugins [image: step3-3] https://user-images.githubusercontent.com/5130287/107669664-fb8bf300-6cb7-11eb-9137-94853057eefd.png

After Restart and installing cevelope plugins cdt got corrupt.

[image: step-final] https://user-images.githubusercontent.com/5130287/107669722-09417880-6cb8-11eb-8faa-4e76a64d2df3.png [FINALLY I drill down to following matrix]

Cevelope + C/C++ unit test plugin + cevelope plugins [ Not Working ] Cevelope + C/C++ unit test plugin [ Working ] Cevelope + cevelope plugins [ Working ]

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Cevelop/Issues/issues/125#issuecomment-777644205, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA2JYQJIHTDQG2RT4U6XHN3S6QEV7ANCNFSM4XNEXGRA .

Manoj-red-hat commented 3 years ago

Can you try to open the C/C++ Perspective (again) or reset the open perspective?

Noope it didn't worked , all in vain

The only solution which is left is shift+delete :( Install again

tcorbat commented 3 years ago

I just had one of those "It can't be" moments. I tried to reproduce the described problem on a copy of my actual Cevelop installation, obviously. Everything worked and works fine in that copy with all the installed plug-ins. However, I just wanted to do something in my original installation, which is now completly broken, as described in the tricket. If someone told me this story, I would think, that I just confused the original and the copy in the first place. I double-checked that and I did not. The working copy has the whole installation history of the Unit Testing plug-in, while the broken (original) installation has not been changed since 28. February of 2020. Right now I'm totally confused about how this can actually happen. I will further investigate the installations. And check for the missing plug-ins.

Am Fr., 12. Feb. 2021 um 18:59 Uhr schrieb Manoj Kumar < notifications@github.com>:

Can you try to open the C/C++ Perspective (again) or reset the open perspective? Noope it didn't worked , all in vain

The only solution which is left is shift+delete :( Install again

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Cevelop/Issues/issues/125#issuecomment-778349024, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA2JYQKOOX7JR334HD3ET7LS6VUATANCNFSM4XNEXGRA .

tcorbat commented 3 years ago

I figured out that in my original installation the following plug-ins were missing compared to the plug-ins available in a "new" Cevelop archive:

I have no clue how they got removed cross-installation. However, when I re-add them to my broken Cevelop it works again.

Am Do., 18. Feb. 2021 um 11:24 Uhr schrieb Thomas Corbat < thomas.corbat@gmail.com>:

I just had one of those "It can't be" moments. I tried to reproduce the described problem on a copy of my actual Cevelop installation, obviously. Everything worked and works fine in that copy with all the installed plug-ins. However, I just wanted to do something in my original installation, which is now completly broken, as described in the tricket. If someone told me this story, I would think, that I just confused the original and the copy in the first place. I double-checked that and I did not. The working copy has the whole installation history of the Unit Testing plug-in, while the broken (original) installation has not been changed since 28. February of 2020. Right now I'm totally confused about how this can actually happen. I will further investigate the installations. And check for the missing plug-ins.

Am Fr., 12. Feb. 2021 um 18:59 Uhr schrieb Manoj Kumar < notifications@github.com>:

Can you try to open the C/C++ Perspective (again) or reset the open perspective? Noope it didn't worked , all in vain

The only solution which is left is shift+delete :( Install again

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Cevelop/Issues/issues/125#issuecomment-778349024, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA2JYQKOOX7JR334HD3ET7LS6VUATANCNFSM4XNEXGRA .