Summary: | Snippet135 crashes with I20200106-1805 with Java 13 | ||
---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Sravan Kumar Lakkimsetti <sravankumarl> |
Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> |
Status: | NEW --- | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | alexandre.honorat |
Version: | 4.15 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows 10 | ||
Whiteboard: |
Description
Sravan Kumar Lakkimsetti
2020-01-07 05:42:27 EST
Not reproducible with Java 11 Hello, this bug is similar to the one that lead me to report bug 558681. I was planning to report it as well as soon as I have more details about it. I previously faced the same problem of 'SUNWprivate_1.1' not found while loading libswt-awt on Linux, with Eclipse 2019-12 and Eclipse 2019-09, openjdk 1.11 and oracle 13. As I said in comment 8 of bug 558681, I don't face this 'SUNWprivate' definition problem anymore ... but I don't know why! I guess it is due to the configuration of Java in Eclipse. I'll tell you if I manage to reproduce this. Yes, most probably this is related to configuration of java.library.path. I have no problem anymore in Eclipse, but if loading the lib from jshell, then it does not work. Steps to reproduce : 1. open a jshell (command 'jshell' in Linux, available from Java 9). 2. type 'System.loadLibrary("jawt");' 3. type 'System.load("/absolute/path/to/repo/eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.linux.x86_64/libswt-awt-gtk-4932r7.so")' (with the valid lib from the repo, not the corrupted one of bug 558681 !) Step 3 produces an error with oracle 13 jvm, no error with openjdk 11. Ok last update from tests during the afternoon: - I think it also fails with OpenJDK 11, just the error does not appear at the same time (at native method call for OpenJDK, at library load for Oracle 13). - The error is not related to the configuration of Eclipse, now I can reproduce the bug on all Linux machines of my lab (some were using OpenJDK 8 where there is no problem). - Thus, I am wondering if the error is related to the compilation of the swt libs (instead of the java.library.path). A few related posts: https://docs.oracle.com/cd/E23824_01/html/821-1602/solarisabi-6.html https://bugzilla.redhat.com/show_bug.cgi?id=1590796 https://stackoverflow.com/questions/5790085/linux-library-problem |