https://bugzilla.redhat.com/show_bug.cgi?id=1399793
Bug ID: 1399793 Summary: When sending error report ... java.lang.UnsatisfiedLinkError: could not locate stub library in jar file. Tried [jni/x86_64-Linux/libjffi-1.2.so, /jni/x86_64-Linux/libjffi-1.2.so] Product: Fedora Version: 25 Component: eclipse-pydev Severity: high Priority: high Assignee: akurtako@redhat.com Reporter: mcepl@redhat.com QA Contact: extras-qa@fedoraproject.org CC: akurtako@redhat.com, eclipse-sig@lists.fedoraproject.org, jjohnstn@redhat.com
What steps will reproduce the problem? 1. Wait until Eclipse pops up a message window about error and tries to send it to Abrt (not sure whether only that) 2. Click on Send 3. Error happens
-- Error Details -- Date: Tue Nov 29 18:45:43 CET 2016 Message: An internal error occurred during: "Sending Error Reports". Severity: Error Product: Eclipse Platform 4.6.1.v20160915-0852 (org.eclipse.platform.ide) Plugin: org.eclipse.core.jobs Session Data: eclipse.buildId=4.6.1.v20160915-0852 java.version=1.8.0_111 java.vendor=Oracle Corporation BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US Command-line arguments: -os linux -ws gtk -arch x86_64 -clean
Exception Stack Trace: java.lang.UnsatisfiedLinkError: could not load FFI provider jnr.ffi.provider.jffi.Provider at jnr.ffi.provider.InvalidRuntime.newLoadError(InvalidRuntime.java:101) at jnr.ffi.provider.InvalidRuntime.findType(InvalidRuntime.java:42) at jnr.ffi.Struct$NumberField.<init>(Struct.java:653) at jnr.ffi.Struct$Unsigned16.<init>(Struct.java:1011) at jnr.unixsocket.SockAddrUnix$DefaultSockAddrUnix.<init>(SockAddrUnix.java:134) at jnr.unixsocket.SockAddrUnix.create(SockAddrUnix.java:99) at jnr.unixsocket.UnixSocketAddress.<init>(UnixSocketAddress.java:32) at org.fedoraproject.abrt.AbrtConnection.upload(AbrtConnection.java:89) at org.fedoraproject.abrt.AbrtConnection.submit(AbrtConnection.java:79) at org.eclipse.epp.internal.logging.aeri.ide.utils.UploadReportsScheduler.send(UploadReportsScheduler.java:53) at org.eclipse.epp.internal.logging.aeri.ide.utils.UploadReportsScheduler.send(UploadReportsScheduler.java:77) at org.eclipse.epp.internal.logging.aeri.ide.IDEStartup$2.send(IDEStartup.java:109) at org.eclipse.epp.internal.logging.aeri.ide.utils.UploadReportsScheduler$UploadJob.run(UploadReportsScheduler.java:118) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) Caused by: java.lang.ExceptionInInitializerError at jnr.ffi.provider.jffi.NativeRuntime.getInstance(NativeRuntime.java:49) at jnr.ffi.provider.jffi.Provider.<init>(Provider.java:29) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at java.lang.Class.newInstance(Class.java:442) at jnr.ffi.provider.FFIProvider$SystemProviderSingletonHolder.getInstance(FFIProvider.java:68) at jnr.ffi.provider.FFIProvider$SystemProviderSingletonHolder.<clinit>(FFIProvider.java:57) at jnr.ffi.provider.FFIProvider.getSystemProvider(FFIProvider.java:35) at jnr.ffi.Runtime$SingletonHolder.<clinit>(Runtime.java:82) at jnr.ffi.Runtime.getSystemRuntime(Runtime.java:67) at jnr.unixsocket.SockAddrUnix.<init>(SockAddrUnix.java:34) at jnr.unixsocket.SockAddrUnix$DefaultSockAddrUnix.<init>(SockAddrUnix.java:133) ... 9 more Caused by: java.lang.IllegalStateException: Can't overwrite cause with java.lang.UnsatisfiedLinkError: java.lang.UnsatisfiedLinkError: could not locate stub library in jar file. Tried [jni/x86_64-Linux/libjffi-1.2.so, /jni/x86_64-Linux/libjffi-1.2.so] at com.kenai.jffi.internal.StubLoader.getStubLibraryStream(StubLoader.java:403) at com.kenai.jffi.internal.StubLoader.loadFromJar(StubLoader.java:351) at com.kenai.jffi.internal.StubLoader.load(StubLoader.java:254) at com.kenai.jffi.internal.StubLoader.<clinit>(StubLoader.java:440) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:348) at com.kenai.jffi.Init.load(Init.java:68) at com.kenai.jffi.Foreign$InstanceHolder.getInstanceHolder(Foreign.java:49) at com.kenai.jffi.Foreign$InstanceHolder.<clinit>(Foreign.java:45) at com.kenai.jffi.Foreign.getInstance(Foreign.java:103) at com.kenai.jffi.Type$Builtin.lookupTypeInfo(Type.java:242) at com.kenai.jffi.Type$Builtin.getTypeInfo(Type.java:237) at com.kenai.jffi.Type.resolveSize(Type.java:155) at com.kenai.jffi.Type.size(Type.java:138) at jnr.ffi.provider.jffi.NativeRuntime$TypeDelegate.size(NativeRuntime.java:178) at jnr.ffi.provider.AbstractRuntime.<init>(AbstractRuntime.java:48) at jnr.ffi.provider.jffi.NativeRuntime.<init>(NativeRuntime.java:57) at jnr.ffi.provider.jffi.NativeRuntime.<init>(NativeRuntime.java:41) at jnr.ffi.provider.jffi.NativeRuntime$SingletonHolder.<clinit>(NativeRuntime.java:53) at jnr.ffi.provider.jffi.NativeRuntime.getInstance(NativeRuntime.java:49) at jnr.ffi.provider.jffi.Provider.<init>(Provider.java:29) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at java.lang.Class.newInstance(Class.java:442) at jnr.ffi.provider.FFIProvider$SystemProviderSingletonHolder.getInstance(FFIProvider.java:68) at jnr.ffi.provider.FFIProvider$SystemProviderSingletonHolder.<clinit>(FFIProvider.java:57) at jnr.ffi.provider.FFIProvider.getSystemProvider(FFIProvider.java:35) at jnr.ffi.Library.loadLibrary(Library.java:114) at jnr.posix.POSIXFactory$DefaultLibCProvider$SingletonHolder.<clinit>(POSIXFactory.java:279) at jnr.posix.POSIXFactory$DefaultLibCProvider.getLibC(POSIXFactory.java:283) at jnr.posix.BaseNativePOSIX.<init>(BaseNativePOSIX.java:36) at jnr.posix.LinuxPOSIX.<init>(LinuxPOSIX.java:18) at jnr.posix.POSIXFactory.loadLinuxPOSIX(POSIXFactory.java:143) at jnr.posix.POSIXFactory.loadNativePOSIX(POSIXFactory.java:121) at jnr.posix.POSIXFactory.loadPOSIX(POSIXFactory.java:90) at jnr.posix.LazyPOSIX.loadPOSIX(LazyPOSIX.java:38) at jnr.posix.LazyPOSIX.posix(LazyPOSIX.java:32) at jnr.posix.LazyPOSIX.isNative(LazyPOSIX.java:374) at org.python.modules.posix.PosixModule.classDictInit(PosixModule.java:130) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.python.core.PyJavaType.init(PyJavaType.java:562) at org.python.core.PyType.createType(PyType.java:1414) at org.python.core.PyType.addFromClass(PyType.java:1350) at org.python.core.PyType.fromClass(PyType.java:1441) at org.python.core.imp.createFromClass(imp.java:453) at org.python.core.imp.loadBuiltin(imp.java:564) at org.python.core.imp.find_module(imp.java:518) at org.python.core.imp.import_next(imp.java:823) at org.python.core.imp.import_module_level(imp.java:940) at org.python.core.imp.importName(imp.java:1041) at org.python.core.ImportFunction.__call__(__builtin__.java:1280) at org.python.core.PyObject.__call__(PyObject.java:450) at org.python.core.__builtin__.__import__(__builtin__.java:1232) at org.python.core.imp.importAll(imp.java:1160) at os$py.f$0(/usr/lib64/eclipse/droplets/pydev-core/eclipse/plugins/org.python.pydev.jython_5.1.2.201606281100/Lib/os.py:724) at os$py.call_function(/usr/lib64/eclipse/droplets/pydev-core/eclipse/plugins/org.python.pydev.jython_5.1.2.201606281100/Lib/os.py) at org.python.core.PyTableCode.call(PyTableCode.java:167) at org.python.core.PyCode.call(PyCode.java:18) at org.python.core.imp.createFromCode(imp.java:432) at org.python.core.imp.createFromSource(imp.java:393) at org.python.core.imp.loadFromSource(imp.java:649) at org.python.core.imp.find_module(imp.java:537) at org.python.core.imp.import_next(imp.java:823) at org.python.core.imp.import_module_level(imp.java:940) at org.python.core.imp.importName(imp.java:1041) at org.python.core.ImportFunction.__call__(__builtin__.java:1280) at org.python.core.PyObject.__call__(PyObject.java:450) at org.python.core.__builtin__.__import__(__builtin__.java:1232) at org.python.core.imp.importOne(imp.java:1060) at site$py.f$0(/usr/lib64/eclipse/droplets/pydev-core/eclipse/plugins/org.python.pydev.jython_5.1.2.201606281100/Lib/site.py:637) at site$py.call_function(/usr/lib64/eclipse/droplets/pydev-core/eclipse/plugins/org.python.pydev.jython_5.1.2.201606281100/Lib/site.py) at org.python.core.PyTableCode.call(PyTableCode.java:167) at org.python.core.PyCode.call(PyCode.java:18) at org.python.core.imp.createFromCode(imp.java:432) at org.python.core.imp.createFromSource(imp.java:393) at org.python.core.imp.loadFromSource(imp.java:649) at org.python.core.imp.find_module(imp.java:537) at org.python.core.imp.import_next(imp.java:823) at org.python.core.imp.import_first(imp.java:843) at org.python.core.imp.load(imp.java:706) at org.python.core.Py.importSiteIfSelected(Py.java:1572) at org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:116) at org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:94) at org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:71) at org.python.pydev.jython.PythonInterpreterWrapper.<init>(PythonInterpreterWrapper.java:11) at org.python.pydev.jython.JythonPlugin.newPythonInterpreter(JythonPlugin.java:618) at org.python.pydev.jython.JythonPlugin.newPythonInterpreter(JythonPlugin.java:605) at org.python.pydev.editor.scripting.PyEditScripting.createInterpreter(PyEditScripting.java:42) at org.python.pydev.editor.scripting.PyEditScripting.<init>(PyEditScripting.java:37) at org.python.pydev.editor.PyEdit$2.run(PyEdit.java:548) at java.lang.Thread.run(Thread.java:745)
at java.lang.Throwable.initCause(Throwable.java:457) at com.kenai.jffi.Type$Builtin.lookupTypeInfo(Type.java:252) at com.kenai.jffi.Type$Builtin.getTypeInfo(Type.java:237) at com.kenai.jffi.Type.resolveSize(Type.java:155) at com.kenai.jffi.Type.size(Type.java:138) at jnr.ffi.provider.jffi.NativeRuntime$TypeDelegate.size(NativeRuntime.java:178) at jnr.ffi.provider.AbstractRuntime.<init>(AbstractRuntime.java:48) at jnr.ffi.provider.jffi.NativeRuntime.<init>(NativeRuntime.java:57) at jnr.ffi.provider.jffi.NativeRuntime.<init>(NativeRuntime.java:41) at jnr.ffi.provider.jffi.NativeRuntime$SingletonHolder.<clinit>(NativeRuntime.java:53) ... 23 more Caused by: java.lang.UnsatisfiedLinkError: java.lang.UnsatisfiedLinkError: could not locate stub library in jar file. Tried [jni/x86_64-Linux/libjffi-1.2.so, /jni/x86_64-Linux/libjffi-1.2.so] at com.kenai.jffi.internal.StubLoader.getStubLibraryStream(StubLoader.java:403) at com.kenai.jffi.internal.StubLoader.loadFromJar(StubLoader.java:351) at com.kenai.jffi.internal.StubLoader.load(StubLoader.java:254) at com.kenai.jffi.internal.StubLoader.<clinit>(StubLoader.java:440) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:348) at com.kenai.jffi.Init.load(Init.java:68) at com.kenai.jffi.Foreign$InstanceHolder.getInstanceHolder(Foreign.java:49) at com.kenai.jffi.Foreign$InstanceHolder.<clinit>(Foreign.java:45) at com.kenai.jffi.Foreign.getInstance(Foreign.java:103) at com.kenai.jffi.Type$Builtin.lookupTypeInfo(Type.java:242) at com.kenai.jffi.Type$Builtin.getTypeInfo(Type.java:237) at com.kenai.jffi.Type.resolveSize(Type.java:155) at com.kenai.jffi.Type.size(Type.java:138) at jnr.ffi.provider.jffi.NativeRuntime$TypeDelegate.size(NativeRuntime.java:178) at jnr.ffi.provider.AbstractRuntime.<init>(AbstractRuntime.java:48) at jnr.ffi.provider.jffi.NativeRuntime.<init>(NativeRuntime.java:57) at jnr.ffi.provider.jffi.NativeRuntime.<init>(NativeRuntime.java:41) at jnr.ffi.provider.jffi.NativeRuntime$SingletonHolder.<clinit>(NativeRuntime.java:53) at jnr.ffi.provider.jffi.NativeRuntime.getInstance(NativeRuntime.java:49) at jnr.ffi.provider.jffi.Provider.<init>(Provider.java:29) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at java.lang.Class.newInstance(Class.java:442) at jnr.ffi.provider.FFIProvider$SystemProviderSingletonHolder.getInstance(FFIProvider.java:68) at jnr.ffi.provider.FFIProvider$SystemProviderSingletonHolder.<clinit>(FFIProvider.java:57) at jnr.ffi.provider.FFIProvider.getSystemProvider(FFIProvider.java:35) at jnr.ffi.Library.loadLibrary(Library.java:114) at jnr.posix.POSIXFactory$DefaultLibCProvider$SingletonHolder.<clinit>(POSIXFactory.java:279) at jnr.posix.POSIXFactory$DefaultLibCProvider.getLibC(POSIXFactory.java:283) at jnr.posix.BaseNativePOSIX.<init>(BaseNativePOSIX.java:36) at jnr.posix.LinuxPOSIX.<init>(LinuxPOSIX.java:18) at jnr.posix.POSIXFactory.loadLinuxPOSIX(POSIXFactory.java:143) at jnr.posix.POSIXFactory.loadNativePOSIX(POSIXFactory.java:121) at jnr.posix.POSIXFactory.loadPOSIX(POSIXFactory.java:90) at jnr.posix.LazyPOSIX.loadPOSIX(LazyPOSIX.java:38) at jnr.posix.LazyPOSIX.posix(LazyPOSIX.java:32) at jnr.posix.LazyPOSIX.isNative(LazyPOSIX.java:374) at org.python.modules.posix.PosixModule.classDictInit(PosixModule.java:130) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.python.core.PyJavaType.init(PyJavaType.java:562) at org.python.core.PyType.createType(PyType.java:1414) at org.python.core.PyType.addFromClass(PyType.java:1350) at org.python.core.PyType.fromClass(PyType.java:1441) at org.python.core.imp.createFromClass(imp.java:453) at org.python.core.imp.loadBuiltin(imp.java:564) at org.python.core.imp.find_module(imp.java:518) at org.python.core.imp.import_next(imp.java:823) at org.python.core.imp.import_module_level(imp.java:940) at org.python.core.imp.importName(imp.java:1041) at org.python.core.ImportFunction.__call__(__builtin__.java:1280) at org.python.core.PyObject.__call__(PyObject.java:450) at org.python.core.__builtin__.__import__(__builtin__.java:1232) at org.python.core.imp.importAll(imp.java:1160) at os$py.f$0(/usr/lib64/eclipse/droplets/pydev-core/eclipse/plugins/org.python.pydev.jython_5.1.2.201606281100/Lib/os.py:724) at os$py.call_function(/usr/lib64/eclipse/droplets/pydev-core/eclipse/plugins/org.python.pydev.jython_5.1.2.201606281100/Lib/os.py) at org.python.core.PyTableCode.call(PyTableCode.java:167) at org.python.core.PyCode.call(PyCode.java:18) at org.python.core.imp.createFromCode(imp.java:432) at org.python.core.imp.createFromSource(imp.java:393) at org.python.core.imp.loadFromSource(imp.java:649) at org.python.core.imp.find_module(imp.java:537) at org.python.core.imp.import_next(imp.java:823) at org.python.core.imp.import_module_level(imp.java:940) at org.python.core.imp.importName(imp.java:1041) at org.python.core.ImportFunction.__call__(__builtin__.java:1280) at org.python.core.PyObject.__call__(PyObject.java:450) at org.python.core.__builtin__.__import__(__builtin__.java:1232) at org.python.core.imp.importOne(imp.java:1060) at site$py.f$0(/usr/lib64/eclipse/droplets/pydev-core/eclipse/plugins/org.python.pydev.jython_5.1.2.201606281100/Lib/site.py:637) at site$py.call_function(/usr/lib64/eclipse/droplets/pydev-core/eclipse/plugins/org.python.pydev.jython_5.1.2.201606281100/Lib/site.py) at org.python.core.PyTableCode.call(PyTableCode.java:167) at org.python.core.PyCode.call(PyCode.java:18) at org.python.core.imp.createFromCode(imp.java:432) at org.python.core.imp.createFromSource(imp.java:393) at org.python.core.imp.loadFromSource(imp.java:649) at org.python.core.imp.find_module(imp.java:537) at org.python.core.imp.import_next(imp.java:823) at org.python.core.imp.import_first(imp.java:843) at org.python.core.imp.load(imp.java:706) at org.python.core.Py.importSiteIfSelected(Py.java:1572) at org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:116) at org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:94) at org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:71) at org.python.pydev.jython.PythonInterpreterWrapper.<init>(PythonInterpreterWrapper.java:11) at org.python.pydev.jython.JythonPlugin.newPythonInterpreter(JythonPlugin.java:618) at org.python.pydev.jython.JythonPlugin.newPythonInterpreter(JythonPlugin.java:605) at org.python.pydev.editor.scripting.PyEditScripting.createInterpreter(PyEditScripting.java:42) at org.python.pydev.editor.scripting.PyEditScripting.<init>(PyEditScripting.java:37) at org.python.pydev.editor.PyEdit$2.run(PyEdit.java:548) at java.lang.Thread.run(Thread.java:745)
at com.kenai.jffi.Foreign.newLoadError(Foreign.java:72) at com.kenai.jffi.Foreign.access$300(Foreign.java:42) at com.kenai.jffi.Foreign$InValidInstanceHolder.getForeign(Foreign.java:98) at com.kenai.jffi.Foreign.getInstance(Foreign.java:103) at com.kenai.jffi.Type$Builtin.lookupTypeInfo(Type.java:242) ... 31 more Caused by: java.lang.UnsatisfiedLinkError: java.lang.UnsatisfiedLinkError: could not locate stub library in jar file. Tried [jni/x86_64-Linux/libjffi-1.2.so, /jni/x86_64-Linux/libjffi-1.2.so] at com.kenai.jffi.internal.StubLoader.getStubLibraryStream(StubLoader.java:403) at com.kenai.jffi.internal.StubLoader.loadFromJar(StubLoader.java:351) at com.kenai.jffi.internal.StubLoader.load(StubLoader.java:254) at com.kenai.jffi.internal.StubLoader.<clinit>(StubLoader.java:440) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:348) at com.kenai.jffi.Init.load(Init.java:68) at com.kenai.jffi.Foreign$InstanceHolder.getInstanceHolder(Foreign.java:49) at com.kenai.jffi.Foreign$InstanceHolder.<clinit>(Foreign.java:45) at com.kenai.jffi.Foreign.getInstance(Foreign.java:103) at com.kenai.jffi.Type$Builtin.lookupTypeInfo(Type.java:242) at com.kenai.jffi.Type$Builtin.getTypeInfo(Type.java:237) at com.kenai.jffi.Type.resolveSize(Type.java:155) at com.kenai.jffi.Type.size(Type.java:138) at jnr.ffi.provider.jffi.NativeRuntime$TypeDelegate.size(NativeRuntime.java:178) at jnr.ffi.provider.AbstractRuntime.<init>(AbstractRuntime.java:48) at jnr.ffi.provider.jffi.NativeRuntime.<init>(NativeRuntime.java:57) at jnr.ffi.provider.jffi.NativeRuntime.<init>(NativeRuntime.java:41) at jnr.ffi.provider.jffi.NativeRuntime$SingletonHolder.<clinit>(NativeRuntime.java:53) at jnr.ffi.provider.jffi.NativeRuntime.getInstance(NativeRuntime.java:49) at jnr.ffi.provider.jffi.Provider.<init>(Provider.java:29) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at java.lang.Class.newInstance(Class.java:442) at jnr.ffi.provider.FFIProvider$SystemProviderSingletonHolder.getInstance(FFIProvider.java:68) at jnr.ffi.provider.FFIProvider$SystemProviderSingletonHolder.<clinit>(FFIProvider.java:57) at jnr.ffi.provider.FFIProvider.getSystemProvider(FFIProvider.java:35) at jnr.ffi.Library.loadLibrary(Library.java:114) at jnr.posix.POSIXFactory$DefaultLibCProvider$SingletonHolder.<clinit>(POSIXFactory.java:279) at jnr.posix.POSIXFactory$DefaultLibCProvider.getLibC(POSIXFactory.java:283) at jnr.posix.BaseNativePOSIX.<init>(BaseNativePOSIX.java:36) at jnr.posix.LinuxPOSIX.<init>(LinuxPOSIX.java:18) at jnr.posix.POSIXFactory.loadLinuxPOSIX(POSIXFactory.java:143) at jnr.posix.POSIXFactory.loadNativePOSIX(POSIXFactory.java:121) at jnr.posix.POSIXFactory.loadPOSIX(POSIXFactory.java:90) at jnr.posix.LazyPOSIX.loadPOSIX(LazyPOSIX.java:38) at jnr.posix.LazyPOSIX.posix(LazyPOSIX.java:32) at jnr.posix.LazyPOSIX.isNative(LazyPOSIX.java:374) at org.python.modules.posix.PosixModule.classDictInit(PosixModule.java:130) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.python.core.PyJavaType.init(PyJavaType.java:562) at org.python.core.PyType.createType(PyType.java:1414) at org.python.core.PyType.addFromClass(PyType.java:1350) at org.python.core.PyType.fromClass(PyType.java:1441) at org.python.core.imp.createFromClass(imp.java:453) at org.python.core.imp.loadBuiltin(imp.java:564) at org.python.core.imp.find_module(imp.java:518) at org.python.core.imp.import_next(imp.java:823) at org.python.core.imp.import_module_level(imp.java:940) at org.python.core.imp.importName(imp.java:1041) at org.python.core.ImportFunction.__call__(__builtin__.java:1280) at org.python.core.PyObject.__call__(PyObject.java:450) at org.python.core.__builtin__.__import__(__builtin__.java:1232) at org.python.core.imp.importAll(imp.java:1160) at os$py.f$0(/usr/lib64/eclipse/droplets/pydev-core/eclipse/plugins/org.python.pydev.jython_5.1.2.201606281100/Lib/os.py:724) at os$py.call_function(/usr/lib64/eclipse/droplets/pydev-core/eclipse/plugins/org.python.pydev.jython_5.1.2.201606281100/Lib/os.py) at org.python.core.PyTableCode.call(PyTableCode.java:167) at org.python.core.PyCode.call(PyCode.java:18) at org.python.core.imp.createFromCode(imp.java:432) at org.python.core.imp.createFromSource(imp.java:393) at org.python.core.imp.loadFromSource(imp.java:649) at org.python.core.imp.find_module(imp.java:537) at org.python.core.imp.import_next(imp.java:823) at org.python.core.imp.import_module_level(imp.java:940) at org.python.core.imp.importName(imp.java:1041) at org.python.core.ImportFunction.__call__(__builtin__.java:1280) at org.python.core.PyObject.__call__(PyObject.java:450) at org.python.core.__builtin__.__import__(__builtin__.java:1232) at org.python.core.imp.importOne(imp.java:1060) at site$py.f$0(/usr/lib64/eclipse/droplets/pydev-core/eclipse/plugins/org.python.pydev.jython_5.1.2.201606281100/Lib/site.py:637) at site$py.call_function(/usr/lib64/eclipse/droplets/pydev-core/eclipse/plugins/org.python.pydev.jython_5.1.2.201606281100/Lib/site.py) at org.python.core.PyTableCode.call(PyTableCode.java:167) at org.python.core.PyCode.call(PyCode.java:18) at org.python.core.imp.createFromCode(imp.java:432) at org.python.core.imp.createFromSource(imp.java:393) at org.python.core.imp.loadFromSource(imp.java:649) at org.python.core.imp.find_module(imp.java:537) at org.python.core.imp.import_next(imp.java:823) at org.python.core.imp.import_first(imp.java:843) at org.python.core.imp.load(imp.java:706) at org.python.core.Py.importSiteIfSelected(Py.java:1572) at org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:116) at org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:94) at org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:71) at org.python.pydev.jython.PythonInterpreterWrapper.<init>(PythonInterpreterWrapper.java:11) at org.python.pydev.jython.JythonPlugin.newPythonInterpreter(JythonPlugin.java:618) at org.python.pydev.jython.JythonPlugin.newPythonInterpreter(JythonPlugin.java:605) at org.python.pydev.editor.scripting.PyEditScripting.createInterpreter(PyEditScripting.java:42) at org.python.pydev.editor.scripting.PyEditScripting.<init>(PyEditScripting.java:37) at org.python.pydev.editor.PyEdit$2.run(PyEdit.java:548) at java.lang.Thread.run(Thread.java:745)
at com.kenai.jffi.internal.StubLoader.load(StubLoader.java:266) at com.kenai.jffi.internal.StubLoader.<clinit>(StubLoader.java:440) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:348) at com.kenai.jffi.Init.load(Init.java:68) at com.kenai.jffi.Foreign$InstanceHolder.getInstanceHolder(Foreign.java:49) at com.kenai.jffi.Foreign$InstanceHolder.<clinit>(Foreign.java:45) at com.kenai.jffi.Foreign.getInstance(Foreign.java:103) at com.kenai.jffi.Type$Builtin.lookupTypeInfo(Type.java:242) at com.kenai.jffi.Type$Builtin.getTypeInfo(Type.java:237) at com.kenai.jffi.Type.resolveSize(Type.java:155) at com.kenai.jffi.Type.size(Type.java:138) at jnr.ffi.provider.jffi.NativeRuntime$TypeDelegate.size(NativeRuntime.java:178) at jnr.ffi.provider.AbstractRuntime.<init>(AbstractRuntime.java:48) at jnr.ffi.provider.jffi.NativeRuntime.<init>(NativeRuntime.java:57) at jnr.ffi.provider.jffi.NativeRuntime.<init>(NativeRuntime.java:41) at jnr.ffi.provider.jffi.NativeRuntime$SingletonHolder.<clinit>(NativeRuntime.java:53) at jnr.ffi.provider.jffi.NativeRuntime.getInstance(NativeRuntime.java:49) at jnr.ffi.provider.jffi.Provider.<init>(Provider.java:29) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at java.lang.Class.newInstance(Class.java:442) at jnr.ffi.provider.FFIProvider$SystemProviderSingletonHolder.getInstance(FFIProvider.java:68) at jnr.ffi.provider.FFIProvider$SystemProviderSingletonHolder.<clinit>(FFIProvider.java:57) at jnr.ffi.provider.FFIProvider.getSystemProvider(FFIProvider.java:35) at jnr.ffi.Library.loadLibrary(Library.java:114) at jnr.posix.POSIXFactory$DefaultLibCProvider$SingletonHolder.<clinit>(POSIXFactory.java:279) at jnr.posix.POSIXFactory$DefaultLibCProvider.getLibC(POSIXFactory.java:283) at jnr.posix.BaseNativePOSIX.<init>(BaseNativePOSIX.java:36) at jnr.posix.LinuxPOSIX.<init>(LinuxPOSIX.java:18) at jnr.posix.POSIXFactory.loadLinuxPOSIX(POSIXFactory.java:143) at jnr.posix.POSIXFactory.loadNativePOSIX(POSIXFactory.java:121) at jnr.posix.POSIXFactory.loadPOSIX(POSIXFactory.java:90) at jnr.posix.LazyPOSIX.loadPOSIX(LazyPOSIX.java:38) at jnr.posix.LazyPOSIX.posix(LazyPOSIX.java:32) at jnr.posix.LazyPOSIX.isNative(LazyPOSIX.java:374) at org.python.modules.posix.PosixModule.classDictInit(PosixModule.java:130) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.python.core.PyJavaType.init(PyJavaType.java:562) at org.python.core.PyType.createType(PyType.java:1414) at org.python.core.PyType.addFromClass(PyType.java:1350) at org.python.core.PyType.fromClass(PyType.java:1441) at org.python.core.imp.createFromClass(imp.java:453) at org.python.core.imp.loadBuiltin(imp.java:564) at org.python.core.imp.find_module(imp.java:518) at org.python.core.imp.import_next(imp.java:823) at org.python.core.imp.import_module_level(imp.java:940) at org.python.core.imp.importName(imp.java:1041) at org.python.core.ImportFunction.__call__(__builtin__.java:1280) at org.python.core.PyObject.__call__(PyObject.java:450) at org.python.core.__builtin__.__import__(__builtin__.java:1232) at org.python.core.imp.importAll(imp.java:1160) at os$py.f$0(/usr/lib64/eclipse/droplets/pydev-core/eclipse/plugins/org.python.pydev.jython_5.1.2.201606281100/Lib/os.py:724) at os$py.call_function(/usr/lib64/eclipse/droplets/pydev-core/eclipse/plugins/org.python.pydev.jython_5.1.2.201606281100/Lib/os.py) at org.python.core.PyTableCode.call(PyTableCode.java:167) at org.python.core.PyCode.call(PyCode.java:18) at org.python.core.imp.createFromCode(imp.java:432) at org.python.core.imp.createFromSource(imp.java:393) at org.python.core.imp.loadFromSource(imp.java:649) at org.python.core.imp.find_module(imp.java:537) at org.python.core.imp.import_next(imp.java:823) at org.python.core.imp.import_module_level(imp.java:940) at org.python.core.imp.importName(imp.java:1041) at org.python.core.ImportFunction.__call__(__builtin__.java:1280) at org.python.core.PyObject.__call__(PyObject.java:450) at org.python.core.__builtin__.__import__(__builtin__.java:1232) at org.python.core.imp.importOne(imp.java:1060) at site$py.f$0(/usr/lib64/eclipse/droplets/pydev-core/eclipse/plugins/org.python.pydev.jython_5.1.2.201606281100/Lib/site.py:637) at site$py.call_function(/usr/lib64/eclipse/droplets/pydev-core/eclipse/plugins/org.python.pydev.jython_5.1.2.201606281100/Lib/site.py) at org.python.core.PyTableCode.call(PyTableCode.java:167) at org.python.core.PyCode.call(PyCode.java:18) at org.python.core.imp.createFromCode(imp.java:432) at org.python.core.imp.createFromSource(imp.java:393) at org.python.core.imp.loadFromSource(imp.java:649) at org.python.core.imp.find_module(imp.java:537) at org.python.core.imp.import_next(imp.java:823) at org.python.core.imp.import_first(imp.java:843) at org.python.core.imp.load(imp.java:706) at org.python.core.Py.importSiteIfSelected(Py.java:1572) at org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:116) at org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:94) at org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:71) at org.python.pydev.jython.PythonInterpreterWrapper.<init>(PythonInterpreterWrapper.java:11) at org.python.pydev.jython.JythonPlugin.newPythonInterpreter(JythonPlugin.java:618) at org.python.pydev.jython.JythonPlugin.newPythonInterpreter(JythonPlugin.java:605) at org.python.pydev.editor.scripting.PyEditScripting.createInterpreter(PyEditScripting.java:42) at org.python.pydev.editor.scripting.PyEditScripting.<init>(PyEditScripting.java:37) at org.python.pydev.editor.PyEdit$2.run(PyEdit.java:548) at java.lang.Thread.run(Thread.java:745)
Using eclipse-remote-2.1.1-1.fc25.noarch eclipse-ecf-runtime-3.13.2-1.fc25.noarch eclipse-abrt-0.0.3-1.fc25.noarch eclipse-tm-terminal-4.1.0-3.fc25.noarch eclipse-ecf-core-3.13.2-1.fc25.x86_64 eclipse-gef-3.11.0-1.fc25.noarch eclipse-p2-discovery-4.6.1-6.fc25.noarch eclipse-packagekit-0.2.0-4.fc24.noarch eclipse-platform-4.6.1-6.fc25.x86_64 eclipse-webtools-servertools-3.8.1-1.fc25.noarch eclipse-dltk-5.6.0-1.fc25.noarch eclipse-emf-runtime-2.12.0-1.fc25.noarch eclipse-mylyn-docs-wikitext-3.20.2-2.fc25.noarch eclipse-epp-logging-2.0.3-1.fc25.noarch eclipse-webtools-sourceediting-3.8.1-1.fc25.noarch eclipse-dltk-sh-5.6.0-1.fc25.noarch eclipse-filesystem-1.0-7.fc24.x86_64 eclipse-emf-core-2.12.0-1.fc25.x86_64 eclipse-launchbar-2.0.1-1.fc25.noarch eclipse-pde-4.6.1-6.fc25.x86_64 eclipse-linuxtools-libhover-5.1.0-1.fc25.noarch eclipse-equinox-osgi-4.6.1-6.fc25.x86_64 eclipse-egit-4.5.0-1.fc25.noarch eclipse-linuxtools-5.1.0-1.fc25.noarch eclipse-mylyn-3.20.2-2.fc25.noarch eclipse-pydev-5.1.2-1.fc25.x86_64 eclipse-mpc-1.5.2-1.fc25.noarch eclipse-rpm-editor-5.1.0-1.fc25.noarch eclipse-e4-importer-0.2.0-0.2.gitb33919c.fc25.noarch eclipse-xsd-2.12.0-1.fc25.noarch eclipse-webtools-common-3.8.1-1.fc25.noarch eclipse-mylyn-builds-hudson-3.20.2-2.fc25.noarch eclipse-manpage-5.1.0-1.fc25.noarch eclipse-changelog-5.1.0-1.fc25.noarch eclipse-jdt-4.6.1-6.fc25.noarch eclipse-mylyn-builds-3.20.2-2.fc25.noarch eclipse-mylyn-tasks-bugzilla-3.20.2-2.fc25.noarch eclipse-jgit-4.5.0-2.fc25.noarch eclipse-mylyn-versions-3.20.2-2.fc25.noarch eclipse-quickrex-3.5.0-24.fc25.noarch eclipse-cdt-native-9.1.0-2.fc25.x86_64 eclipse-cdt-9.1.0-2.fc25.x86_64 eclipse-swt-4.6.1-6.fc25.x86_64 eclipse-mylyn-versions-git-3.20.2-2.fc25.noarch eclipse-pydev-mylyn-5.1.2-1.fc25.x86_64
https://bugzilla.redhat.com/show_bug.cgi?id=1399793
Roland Grunberg rgrunber@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rgrunber@redhat.com
--- Comment #1 from Roland Grunberg rgrunber@redhat.com --- Mat has pointed out that this could be some kind of race condition from having multiple plugins that use the JNR stack on the system at once. I did have both installed and wasn't able to reproduce but that doesn't rule it out.
The line : 'Caused by: java.lang.IllegalStateException: Can't overwrite cause with ...' looks really suspicious.
Could you try uninstalling one of eclipse-pydev or eclipse-epp-logging and seeing if the issue goes away ?
https://bugzilla.redhat.com/show_bug.cgi?id=1399793
--- Comment #2 from Roland Grunberg rgrunber@redhat.com --- Matej has been able to confirm that removing 'eclipse-pydev' allows him to send an error report to ABRT and have it show up in the application. This would point to some kind of race condition when both multiple plugins access some jnr code path.
https://bugzilla.redhat.com/show_bug.cgi?id=1399793
Alexander Kurtakov akurtako@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|akurtako@redhat.com |rgrunber@redhat.com
--- Comment #3 from Alexander Kurtakov akurtako@redhat.com --- Reassigning to you Roland as you're the one investigating it.
https://bugzilla.redhat.com/show_bug.cgi?id=1399793
Mat Booth mat.booth@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |matt.weiss@protonmail.com
--- Comment #4 from Mat Booth mat.booth@redhat.com --- *** Bug 1424750 has been marked as a duplicate of this bug. ***
https://bugzilla.redhat.com/show_bug.cgi?id=1399793
--- Comment #5 from Roland Grunberg rgrunber@redhat.com --- JNR has various ways of locating the shared object libjffi-1.2.so . It is capable of locating it on the system (java library path) but we don't currently use this approach. Much like upstream, we package the .so file into a jar file, jffi-native.jar and JNR must load the jar and locate the .so from there.
JNR will look for libjffi-1.2.so in the "resource" corresponding to the classloader that loaded com.kenai.jffi.internal.StubLoader (ie. StubLoader.class.getClassLoader()). Generally this will be the bundle "com.github.jnr.jffi.native" and of course that contains libjffi-1.2.so. However, it's also possible that "org.python.pydev.jython" will be idenitified as the classloader for the StubLoader because it has a Bundle-ClassPath on jffi.jar. It doesn't contain jffi-native, so the loading will always fail going forward.
I would think the only error here is that Eclipse PyDev is missing a symbolic link to jffi-native in /usr/lib64/eclipse/droplets/pydev-core/eclipse/plugins/org.python.pydev.jython_5.5.0.201701241700/ .
https://bugzilla.redhat.com/show_bug.cgi?id=1399793
--- Comment #6 from Roland Grunberg rgrunber@redhat.com --- I was able to reproduce with eclipse-abrt, and eclipse-pydev installed, and by simply triggering some error in eclipse-pydev and attempting to report it. The following resolve the issue :
pushd /usr/lib64/eclipse/droplets/pydev-core/eclipse/plugins/org.python.pydev.jython_5.5.0.201701241700/ && ln -s /usr/lib/java/jffi-native.jar && popd (Also add 'jffi-native.jar' to the Bundle-ClassPath entry in /usr/lib64/eclipse/droplets/pydev-core/eclipse/plugins/org.python.pydev.jython_5.5.0.201701241700/META-INF/MANIFEST.MF)
https://bugzilla.redhat.com/show_bug.cgi?id=1399793
Roland Grunberg rgrunber@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |MODIFIED
--- Comment #7 from Roland Grunberg rgrunber@redhat.com --- I've built https://koji.fedoraproject.org/koji/buildinfo?buildID=862989 (eclipse-pydev-5.5.0-3.fc25) which should resolve this.
https://bugzilla.redhat.com/show_bug.cgi?id=1399793
--- Comment #8 from Fedora Update System updates@fedoraproject.org --- eclipse-pydev-5.5.0-3.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-aa8f9266db
https://bugzilla.redhat.com/show_bug.cgi?id=1399793
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |ON_QA
--- Comment #9 from Fedora Update System updates@fedoraproject.org --- eclipse-pydev-5.5.0-3.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-aa8f9266db
https://bugzilla.redhat.com/show_bug.cgi?id=1399793
Doncho N. Gunchev dgunchev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dgunchev@gmail.com
--- Comment #10 from Doncho N. Gunchev dgunchev@gmail.com --- BTW: Same problem on fedora 24. I tried comment #6 but with no luck.
https://bugzilla.redhat.com/show_bug.cgi?id=1399793
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ON_QA |CLOSED Fixed In Version| |eclipse-pydev-5.5.0-3.fc25 Resolution|--- |ERRATA Last Closed| |2017-03-15 14:21:52
--- Comment #11 from Fedora Update System updates@fedoraproject.org --- eclipse-pydev-5.5.0-3.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.
eclipse-sig@lists.stg.fedoraproject.org