Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Crashes on linux gtk

Hello, 

I backported the original fix into R4_6
https://bugs.eclipse.org/bugs/show_bug.cgi?id=312451

About the issue not being fully fixed:
Do you have steps to reproduce the issue? 
If so, could you post into the bug, I could try to reproduce and write a fix that I could test.
If not, let me know and I could add some null-checks into AccessibleObject.java

Thank you

Leo

On Tue, Sep 6, 2016 at 10:24 AM, Gurmeen Bindra <gurmeen.bindra@xxxxxxxxx> wrote:
On 06/09/16 13:43, Aleksandar Kurtakov wrote:


----- Original Message -----
From: "Gurmeen Bindra" <gurmeen.bindra@xxxxxxxxx>
To: platform-swt-dev@xxxxxxxxxxx
Sent: Tuesday, 6 September, 2016 3:36:30 PM
Subject: Re: [platform-swt-dev] Crashes on linux gtk

I note that https://bugs.eclipse.org/bugs/show_bug.cgi?id=312451 is fixed.

Does anyone know of when a new release with this patch will be available
and whether this is available as a patch on 4.3.2 ?

No, there will be no further 4.3 releases. It can be considered for backporting to 4.5.x though. Please check whether http://download.eclipse.org/eclipse/downloads/drops4/I20160830-0800/ fixes the issue for you.


I still see crash:

JNA: Callback com.sun.jna.CallbackReference$DefaultCallbackProxy@10163d6 threw the following exception:
java.lang.NullPointerException
        at org.eclipse.swt.accessibility.AccessibleObject.addRelation(Unknown Source)
        at org.eclipse.swt.accessibility.Accessible.addRelations(Unknown Source)
        at org.eclipse.swt.accessibility.AccessibleFactory.atkObjectFactory_create_accessible(Unknown Source)
        at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
        at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(Unknown Source)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)


with the drop provided in this link.
Does it work ok for others ?





considered api change?

Thank you

Leo


On Tue, Aug 9, 2016 at 6:29 AM, Gurmeen Bindra
<_gurmeen.bindra@isode.com_ <mailto:gurmeen.bindra@isode.com>> wrote:


Hi,

I am seeing Null Pointer exceptions causing my applications using SWT to
crash for 4.3 to 4.5 versions of SWT linux gtk 64 bit (ubuntu 16.04 gnome).
This happens in instances when I try to dispose widgets or getClipboard
types.

java.lang.NullPointerException
       at
org.eclipse.swt.accessibility.AccessibleObject.addRelation(Unknown Source)
       at org.eclipse.swt.accessibility.Accessible.addRelations(Unknown
Source)
       at
org.eclipse.swt.accessibility.AccessibleFactory.atkObjectFactory_create_accessible(Unknown
Source)
       at
org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
       at
org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(Unknown Source)
       at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)


Anyone has any idea on how to fix this ?

I note that there is a bug open for this but no updates._
__https://bugs.eclipse.org/bugs/show_bug.cgi?id=312451_

Thanks,
Gurmeen
_______________________________________________
platform-swt-dev mailing list_
__platform-swt-dev@xxxxxxxxxxx_ <mailto:platform-swt-dev@eclipse.org>
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit_
__https://dev.eclipse.org/mailman/listinfo/platform-swt-dev_



--
Leo Ufimtsev | Associate Software Engineer @ Red
Hat_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit_
__https://dev.eclipse.org/mailman/listinfo/platform-swt-dev_
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev




_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev


_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from
this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev



_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev



--
Leo Ufimtsev | Software Engineer @ Red Hat
Email: Leonidas@xxxxxxxxxx
Phone: +1 647-467-3353


Back to the top