stackoverflowerror causes pop-ups

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

stackoverflowerror causes pop-ups

Jonah Graham
Hello folks,

Over the last year there have been numerous reports about pop-up errors like "Notifying selection
listeners" and "EnclosingASTNameJob" whose root cause is a StackOverflowError caused by some (typically) C++ code that doesn't get along with CDT.

Do we have a mechanism in CDT to suppress that pop-up and perhaps stop analysing the problematic file?

Thanks,
Jonah

* That is three bugs from this year: Bugs 566773 560701 563313

~~~
Jonah Graham
Kichwa Coders
www.kichwacoders.com

_______________________________________________
cdt-dev mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/cdt-dev
Reply | Threaded
Open this post in threaded view
|

Re: stackoverflowerror causes pop-ups

Marc-Andre Laperle-3
I don’t believe there is any general mechanism, AFAIK it was always handled issue by issue in the parser by adding safe guards specific to the underlying issue.

Marc-André

On Sep 8, 2020, at 10:58 AM, Jonah Graham <[hidden email]> wrote:

Hello folks,

Over the last year there have been numerous reports about pop-up errors like "Notifying selection
listeners" and "EnclosingASTNameJob" whose root cause is a StackOverflowError caused by some (typically) C++ code that doesn't get along with CDT.

Do we have a mechanism in CDT to suppress that pop-up and perhaps stop analysing the problematic file?

Thanks,
Jonah

* That is three bugs from this year: Bugs 566773 560701 563313

~~~
Jonah Graham
Kichwa Coders
www.kichwacoders.com
_______________________________________________
cdt-dev mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/cdt-dev


_______________________________________________
cdt-dev mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/cdt-dev
Reply | Threaded
Open this post in threaded view
|

Re: stackoverflowerror causes pop-ups

Nathan Ridge
It seems to me like we should be able to prevent a modal dialog from showing up and obstructing editor actions (as in bug 566773) by catching the StackOverflowError at an appropriate place, even if the underlying error means some AST-based features will not work correctly.

Regards,
Nate

________________________________________
From: [hidden email] <[hidden email]> on behalf of Marc-Andre Laperle <[hidden email]>
Sent: September 8, 2020 4:00 PM
To: CDT General developers list.
Subject: Re: [cdt-dev] stackoverflowerror causes pop-ups

I don’t believe there is any general mechanism, AFAIK it was always handled issue by issue in the parser by adding safe guards specific to the underlying issue.

Marc-André

On Sep 8, 2020, at 10:58 AM, Jonah Graham <[hidden email]<mailto:[hidden email]>> wrote:

Hello folks,

Over the last year there have been numerous reports about pop-up errors like "Notifying selection
listeners" and "EnclosingASTNameJob" whose root cause is a StackOverflowError caused by some (typically) C++ code that doesn't get along with CDT.

Do we have a mechanism in CDT to suppress that pop-up and perhaps stop analysing the problematic file?

Thanks,
Jonah

* That is three bugs from this year: Bugs 566773<https://bugs.eclipse.org/bugs/show_bug.cgi?id=566773> 560701<https://bugs.eclipse.org/bugs/show_bug.cgi?id=560701> 563313<https://bugs.eclipse.org/bugs/show_bug.cgi?id=563313>

~~~
Jonah Graham
Kichwa Coders
www.kichwacoders.com<http://www.kichwacoders.com/>
_______________________________________________
cdt-dev mailing list
[hidden email]<mailto:[hidden email]>
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/cdt-dev

_______________________________________________
cdt-dev mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/cdt-dev