Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] stackoverflowerror causes pop-ups
  • From: Nathan Ridge <zeratul976@xxxxxxxxxxx>
  • Date: Tue, 8 Sep 2020 23:29:54 +0000
  • Accept-language: en-CA, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UADGcQDoyL/R4KHoAGP9aLj/WwgzhxGzeyueWPwYQJE=; b=B19dpMFXf7fticW/svuVteiza3pXYUVVF2+4Rm9qv6rpNTpCh/Ved9qumRRG8GhZKvS2ygq+yoVV3jBnPhqJXugL1i4wZHeguqr/E1v2PeSpXR+4byt6epdprjFn4GNrEEl/Sc27S6N1TwHWPYcHr+1CK6LRhY9Cc8lfCY03t3OoWF3uKqxpoLrZbYjFcJBqPSZkgMy++dCJSR7ijFIQH5k8NpMjG8jdTGAy976Me7OiS2h8kxl83G8bxhqyOtSTb9aSj8xwOSlUUpZTQz+3Dd7A66ylHxbt7qoz4mkufBKnAl0JCtBr7ihawamJLVJj9egO0GwC5bVBBvk/rXwnIA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=O+KgrpGsyTZUfiS3ybxKcQOjUoSUVhqAyCUZRMx/9H+gf2+y/hJ7N+VRj16CyQ3s3AUPBXyK8ut1+QIZjgGQfZmXJ6kxyelzxkdZUSriJRn/gYkFnhdSj4MRgVKVJT5l08Ql8Rv5OUyKa6nJnD03IITyyu9g+e/YM3hUF9FPfP6fKgaOsyzQTvYvraZkDDxZHLebXBVFHlXaJnHa6MuCVMuxru/vYHSW1UIiyMd9G3eytIev1UQOg7bSvpBGP2TsJYqJcO0HHeN3bkgmwvDigTmUw2ciI55ouy04BDyaqvgtNse7cugPK6ASNGKsUpbBZYh0qEDi1B/djvHvo4zTEg==
  • Delivered-to: cdt-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/cdt-dev>
  • List-help: <mailto:cdt-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/cdt-dev>, <mailto:cdt-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/cdt-dev>, <mailto:cdt-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHWhfCy1NLGgUMyKUewQkG/nRgcvqle5o6AgAB9Cjc=
  • Thread-topic: [cdt-dev] stackoverflowerror causes pop-ups

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: cdt-dev-bounces@xxxxxxxxxxx <cdt-dev-bounces@xxxxxxxxxxx> on behalf of Marc-Andre Laperle <malaperle@xxxxxxxxx>
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 <jonah@xxxxxxxxxxxxxxxx<mailto:jonah@xxxxxxxxxxxxxxxx>> 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
cdt-dev@xxxxxxxxxxx<mailto:cdt-dev@xxxxxxxxxxx>
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/cdt-dev



Back to the top