Community
Participate
Working Groups
Build Identifier: I20100608-0911 When an exception is thrown from an IContributionItem's fill method, our RCP crashes with a segfault. The code should throw an exception, but the app shouldn't have a hard crash. Reproducible: Always Steps to Reproduce: 1. Run the attached test main on Linux 2. Select the "Crash" menu --desired behavior: application catches exception and prints out a message --actual behavior: application crashes hard with pango_layout_new_ (see log at bottom)
Created attachment 175985 [details] example that demonstrates the crash
Please provide the VM crash log.
Created attachment 175992 [details] hs_err crash log
You should clear all expections before return from the event handler. If you don't, the code will return to the native stack and no more callbacks will be fired as long as the VM has a pending exception. Silenio, this bug is a duplicate. Do you know the number for the original PR ?
Are we talking about bug 291128? Though that should've been fixed in 3.6.
(In reply to comment #5) > Are we talking about bug 291128? Though that should've been fixed in 3.6. I decided to use Bug 322222 to capture all the crashes in pango_layout_new. But at this point I not sure if it correct to close all bugs as duplicates. Although we see the crash at pango_layout_new there still a bug happening in event handler that caused the exception, I believe this bug should also be fixed.
Closing as duplicate. *** This bug has been marked as a duplicate of bug 322222 ***