Crashes on startup on Ubuntu 18.04.3 LTS

For general Protocase Designer questions. Anything and everything about Protocase Designer except support questions.

Moderators: Colin, dronne, mpyne, akirk, mrodden

Post Reply
apparentlymart
Posts: 5
Joined: Sun Jan 12, 2020 5:54 pm

Crashes on startup on Ubuntu 18.04.3 LTS

Post by apparentlymart »

Hello,

I just downloaded and installed Protocase Designer for the first time but I've not had any luck getting it to start up. Whenever I launch it, I see a message like this:

Code: Select all

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00000000000b3820, pid=27594, tid=27619
#
# JRE version: OpenJDK Runtime Environment (11.0.5+10) (build 11.0.5+10)
# Java VM: OpenJDK 64-Bit Server VM (11.0.5+10, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# C  0x00000000000b3820
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P" (or dumping to /home/username/core.27594)
#
# An error report file with more information is saved as:
# /home/username/hs_err_pid27594.log
#
# If you would like to submit a bug report, please visit:
#   https://github.com/AdoptOpenJDK/openjdk-build/issues
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted (core dumped)
I saw some other similar posts in the forum here which led me to try installing a few different versions of Java, but then I noticed that the current version of Protocase Designer (4.8.11) has openjdk version "11.0.5" 2019-10-15 bundled with it and the wrapper shell script launches with that.

With that said, for completeness I also tried launching it with a few other JREs I now had installed on my system due to earlier attempts at troubleshooting: Oracle JDK 13.0.1, OpenJDK 1.8.0_232, and another build of OpenJDK 11.0.5 that came from Ubuntu's package repository. All of them seem to fail in the same way, aside from mentioning different JRE versions in the error message.

I'm not expert at reading JRE crash output, but my read of that hs_err_pid27594.log file was that it seemed to be a crash inside the native code library /usr/lib/x86_64-linux-gnu/libTKXSBase.so.7. Fuller details below:

Code: Select all

Current thread (0x00007f6f186e8000):  JavaThread "AWT-EventQueue-0" [_thread_in_native, id=27619, stack(0x00007f6eba68c000,0x00007f6eba78d000)]

Stack: [0x00007f6eba68c000,0x00007f6eba78d000],  sp=0x00007f6eba788088,  free space=1008k
Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  0x00000000000b3820

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  java.lang.ClassLoader$NativeLibrary.load0(Ljava/lang/String;Z)Z+0 java.base@11.0.5
j  java.lang.ClassLoader$NativeLibrary.load()Z+53 java.base@11.0.5
j  java.lang.ClassLoader$NativeLibrary.loadLibrary(Ljava/lang/Class;Ljava/lang/String;Z)Z+216 java.base@11.0.5
j  java.lang.ClassLoader.loadLibrary0(Ljava/lang/Class;Ljava/io/File;)Z+46 java.base@11.0.5
j  java.lang.ClassLoader.loadLibrary(Ljava/lang/Class;Ljava/lang/String;Z)V+50 java.base@11.0.5
j  java.lang.Runtime.load0(Ljava/lang/Class;Ljava/lang/String;)V+57 java.base@11.0.5
j  java.lang.System.load(Ljava/lang/String;)V+7 java.base@11.0.5
j  com.protocase.io.NativesLoader.loadNative(Ljava/io/File;)Z+4
j  com.protocase.io.NativesLoader.loadNatives(Ljava/lang/String;)V+212
j  com.protocase.io.NativesLoader.loadNatives(Ljava/lang/String;)V+140
j  com.protocase.io.NativesLoader.loadNatives(Ljava/lang/String;)V+140
j  com.protocase.io.NativesLoader.initOcc()V+31
j  com.protocase.designer.DesignerApplication.<init>()V+26
j  com.protocase.designer.JDesigner.<init>()V+1
j  com.protocase.designer.JDesigner$$FastClassByGuice$$75a8b3f5.newInstance(I[Ljava/lang/Object;)Ljava/lang/Object;+24
J 2956 c1 com.google.inject.internal.ConstructorInjector.provision(Lcom/google/inject/internal/InternalContext;Lcom/google/inject/internal/ConstructionContext;)Ljava/lang/Object; (126 bytes) @ 0x00007f6f0010223c [0x00007f6f00102160+0x00000000000000dc]
J 2843 c1 com.google.inject.internal.ConstructorInjector.construct(Lcom/google/inject/internal/InternalContext;Lcom/google/inject/spi/Dependency;Lcom/google/inject/internal/ProvisionListenerStackCallback;)Ljava/lang/Object; (136 bytes) @ 0x00007f6f000af20c [0x00007f6f000af120+0x00000000000000ec]
J 2842 c1 com.google.inject.internal.ConstructorBindingImpl$Factory.get(Lcom/google/inject/internal/InternalContext;Lcom/google/inject/spi/Dependency;Z)Ljava/lang/Object; (52 bytes) @ 0x00007f6f000aeb6c [0x00007f6f000aeae0+0x000000000000008c]
j  com.google.inject.internal.ProviderToInternalFactoryAdapter.get()Ljava/lang/Object;+18
j  com.google.inject.internal.SingletonScope$1.get()Ljava/lang/Object;+58
j  com.google.inject.internal.InternalFactoryToProviderAdapter.get(Lcom/google/inject/internal/InternalContext;Lcom/google/inject/spi/Dependency;Z)Ljava/lang/Object;+4
J 2831 c1 com.google.inject.internal.InjectorImpl$1.get()Ljava/lang/Object; (79 bytes) @ 0x00007f6f000ac3bc [0x00007f6f000ac2c0+0x00000000000000fc]
J 2651 c1 com.protocase.guice.Guicer.make(Ljava/lang/Class;)Ljava/lang/Object; (10 bytes) @ 0x00007f6f00041d5c [0x00007f6f000419a0+0x00000000000003bc]
j  com.protocase.designer.JDesigner.lambda$main$0(Lcom/protocase/viewer/EventQueueProxy;[Ljava/lang/String;)V+18
j  com.protocase.designer.JDesigner$$Lambda$11.run()V+8
j  java.awt.event.InvocationEvent.dispatch()V+47 java.desktop@11.0.5
j  java.awt.EventQueue.dispatchEventImpl(Ljava/awt/AWTEvent;Ljava/lang/Object;)V+21 java.desktop@11.0.5
j  java.awt.EventQueue$4.run()Ljava/lang/Void;+32 java.desktop@11.0.5
j  java.awt.EventQueue$4.run()Ljava/lang/Object;+1 java.desktop@11.0.5
v  ~StubRoutines::call_stub
j  java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+0 java.base@11.0.5
j  java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/security/AccessControlContext;)Ljava/lang/Object;+18 java.base@11.0.5
j  java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+46 java.desktop@11.0.5
j  com.protocase.viewer.EventQueueProxy.dispatchEvent(Ljava/awt/AWTEvent;)V+2
j  java.awt.EventDispatchThread.pumpOneEventForFilters(I)V+78 java.desktop@11.0.5
j  java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V+35 java.desktop@11.0.5
j  java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+11 java.desktop@11.0.5
j  java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4 java.desktop@11.0.5
j  java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3 java.desktop@11.0.5
j  java.awt.EventDispatchThread.run()V+9 java.desktop@11.0.5
v  ~StubRoutines::call_stub

siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x00000000000b3820

Register to memory mapping:

RAX=0x00007f6e6fd07100: <offset 0x0000000000473100> in /usr/lib/x86_64-linux-gnu/libTKXSBase.so.7 at 0x00007f6e6f894000
RBX=0x0000000000000004 is an unknown value
RCX=0x00007f6e6fd0e1b0: <offset 0x000000000047a1b0> in /usr/lib/x86_64-linux-gnu/libTKXSBase.so.7 at 0x00007f6e6f894000
RDX=0x000000000241cd10 points into unknown readable memory: f5 ad ae de fe 7f 00 00
RSP=0x00007f6eba788088 is pointing into the stack for thread: 0x00007f6f186e8000
RBP=0x0000000000000003 is an unknown value
RSI=0x00007ffedeaea308 points into unknown readable memory: 91 ad ae de fe 7f 00 00
RDI=0x0000000000000003 is an unknown value
R8 =0x0 is NULL
R9 =64 is a compressed pointer to class: 0x0000000800000040
R10=0x00007f6ea4828e40 points into unknown readable memory: 28 d4 c5 31 6f 7f 00 00
R11=0x0 is NULL
R12=0x00007ffedeaea308 points into unknown readable memory: 91 ad ae de fe 7f 00 00
R13=0x000000000241cd10 points into unknown readable memory: f5 ad ae de fe 7f 00 00
R14=0x00007f6e6fd068b0: <offset 0x00000000004728b0> in /usr/lib/x86_64-linux-gnu/libTKXSBase.so.7 at 0x00007f6e6f894000
R15=0x00007f6ea4862020 points into unknown readable memory: 00 c0 ff 68 6e 7f 00 00


Registers:
RAX=0x00007f6e6fd07100, RBX=0x0000000000000004, RCX=0x00007f6e6fd0e1b0, RDX=0x000000000241cd10
RSP=0x00007f6eba788088, RBP=0x0000000000000003, RSI=0x00007ffedeaea308, RDI=0x0000000000000003
R8 =0x0000000000000000, R9 =0x0000000000000040, R10=0x00007f6ea4828e40, R11=0x0000000000000000
R12=0x00007ffedeaea308, R13=0x000000000241cd10, R14=0x00007f6e6fd068b0, R15=0x00007f6ea4862020
RIP=0x00000000000b3820, EFLAGS=0x0000000000010206, CSGSFS=0x002b000000000033, ERR=0x0000000000000014
  TRAPNO=0x000000000000000e

Top of Stack: (sp=0x00007f6eba788088)
0x00007f6eba788088:   00007f6f31a44733 00007f6e6fd07100
0x00007f6eba788098:   00007f6ea4862020 0000000000000014
0x00007f6eba7880a8:   0000000000000000 00007f6eba788190
0x00007f6eba7880b8:   00007f6ea4862020 0000000000000018 

Instructions: (pc=0x00000000000b3820)
0x00000000000b3720:   ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
0x00000000000b3730:   ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
0x00000000000b3740:   ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
0x00000000000b3750:   ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
0x00000000000b3760:   ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
0x00000000000b3770:   ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
0x00000000000b3780:   ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
0x00000000000b3790:   ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
0x00000000000b37a0:   ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
0x00000000000b37b0:   ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
0x00000000000b37c0:   ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
0x00000000000b37d0:   ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
0x00000000000b37e0:   ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
0x00000000000b37f0:   ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
0x00000000000b3800:   ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
0x00000000000b3810:   ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
0x00000000000b3820:   ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
0x00000000000b3830:   ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
0x00000000000b3840:   ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
0x00000000000b3850:   ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
0x00000000000b3860:   ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
0x00000000000b3870:   ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
0x00000000000b3880:   ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
0x00000000000b3890:   ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
0x00000000000b38a0:   ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
0x00000000000b38b0:   ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
0x00000000000b38c0:   ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
0x00000000000b38d0:   ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
0x00000000000b38e0:   ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
0x00000000000b38f0:   ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
0x00000000000b3900:   ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
0x00000000000b3910:   ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 


Stack slot to memory mapping:
stack at sp + 0 slots: 0x00007f6f31a44733: <offset 0x0000000000010733> in /lib64/ld-linux-x86-64.so.2 at 0x00007f6f31a34000
stack at sp + 1 slots: 0x00007f6e6fd07100: <offset 0x0000000000473100> in /usr/lib/x86_64-linux-gnu/libTKXSBase.so.7 at 0x00007f6e6f894000
stack at sp + 2 slots: 0x00007f6ea4862020 points into unknown readable memory: 00 c0 ff 68 6e 7f 00 00
stack at sp + 3 slots: 0x0000000000000014 is an unknown value
stack at sp + 4 slots: 0x0 is NULL
stack at sp + 5 slots: 0x00007f6eba788190 is pointing into the stack for thread: 0x00007f6f186e8000
stack at sp + 6 slots: 0x00007f6ea4862020 points into unknown readable memory: 00 c0 ff 68 6e 7f 00 00
stack at sp + 7 slots: 0x0000000000000018 is an unknown value
One thing that seemed odd to me was that it was using the library from /usr/lib/x86_64-linux-gnu/libTKXSBase.so.7 rather than from /usr/local/lib/Protocase\ Designer/natives/occjava/linux-x86_64 so I looked in `ProtocaseDesigner.sh` and found it was using what seemed to be an incorrect LD_LIBRARY_PATH:

Code: Select all

LD_LIBRARY_PATH=/usr/local/lib/Protocase\ Designer/:/usr/local/lib/debian/usr/local/lib/:$LD_LIBRARY_PATH /usr/local/lib/Protocase\ Designer/jre/bin/java -jar /usr/local/lib/Protocase\ Designer/jdesigner.jar >> ~/ProtocaseDesigner/error.log 2>&1
There is no /usr/local/lib/debian/usr/local/lib/ on my system and my guess here is that this crept in in the .deb package build process? Sadly, when I tried updating it to the natives directory indicated above it seemed to just get stuck on the splash screen with no error output at all now. When I hit Ctrl+C to interrupt it, it printed the following:

Code: Select all

free(): invalid pointer
strace tells me that the main thread was blocking on a call to futex, but I imagine that's just because the interesting stuff is happening in a different thread. strace -f generated huge volumes of output and I didn't have any leads to filter further, so I didn't.

The debugging trail has gone cold for me now, so I'm not sure what to try next but I'm happy to dig a little more if you have some leads! ;)

(I also tried installing the non-.deb installer for the same version, but got similar results to what I've described above.)

mpyne
Site Admin
Posts: 137
Joined: Mon Nov 14, 2016 11:15 am

Re: Crashes on startup on Ubuntu 18.04.3 LTS

Post by mpyne »

Hello,

We have another user haveing the same issue. First off thanks for looking into this! Some background information we use Opencascade for exporting step files and we load these libraries at runtime. You are right about the locations of libraries. Java runtime will load natives from certian folders all ways. One of those on linux is /usr/lib/x86_64-linux-gnu/. In this case we have miss matched libraries of Opencascade being loaded that don't work together. We do compile opencascade our self so our binaries maybe different from the ones stored in /usr/lib/x86_64-linux-gnu/.

What you can try is.

1.) change the name of /usr/local/lib/Protocase\ Designer/natives/occjava/linux-x86_64

to something like

/usr/local/lib/Protocase\ Designer/natives/occjava/linux-x86_64-disable

it will not find these on boot and wont be loaded.

2.) Am hesitant to suggest this but if you delete all the libTK*.so from /usr/lib/x86_64-linux-gnu/. I wouldn't want to mess up any programs you may have that require these.

If you can try these and let me know I would like to know the results. It may help me in our next build of Protocase Designer.

Matt

apparentlymart
Posts: 5
Joined: Sun Jan 12, 2020 5:54 pm

Re: Crashes on startup on Ubuntu 18.04.3 LTS

Post by apparentlymart »

Thanks for the additional leads!

I tried a simple rename at first, but that doesn't seem to be sufficient to stop Protocase Designer finding these libraries:

Code: Select all

[pid  1701] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64-disabled/libTKIGES.so", {st_mode=S_IFREG|0755, st_size=4167544, ...}) = 0
[pid  1701] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64-disabled/libTKMeshVS.so.7.3.0", {st_mode=S_IFREG|0644, st_size=414464, ...}) = 0
[pid  1701] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64-disabled/libTKSTL.so.7.3.0", {st_mode=S_IFREG|0644, st_size=97448, ...}) = 0
[pid  1701] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64-disabled/libTKGeomAlgo.so.7", {st_mode=S_IFREG|0755, st_size=5373904, ...}) = 0
[pid  1701] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64-disabled/libTKCDF.so", {st_mode=S_IFREG|0755, st_size=355544, ...}) = 0
[pid  1701] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64-disabled/libTKXDESTEP.so.7.3.0", {st_mode=S_IFREG|0644, st_size=762008, ...}) = 0
[pid  1701] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64-disabled/libTKVRML.so", {st_mode=S_IFREG|0755, st_size=580800, ...}) = 0
[pid  1701] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64-disabled/libTKFeat.so.7", {st_mode=S_IFREG|0755, st_size=1156072, ...}) = 0
[pid  1701] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64-disabled/libTKCDF.so.7.3.0", {st_mode=S_IFREG|0644, st_size=343384, ...}) = 0
[pid  1701] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64-disabled/libTKMeshVS.so", {st_mode=S_IFREG|0755, st_size=426616, ...}) = 0
[pid  1701] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64-disabled/libTKMesh.so", {st_mode=S_IFREG|0755, st_size=928856, ...}) = 0
[pid  1701] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64-disabled/libTKCAF.so", {st_mode=S_IFREG|0755, st_size=625160, ...}) = 0
[pid  1701] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64-disabled/libTKShHealing.so.7", {st_mode=S_IFREG|0755, st_size=2626864, ...}) = 0
[pid  1701] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64-disabled/libTKFillet.so.7", {st_mode=S_IFREG|0755, st_size=2609536, ...}) = 0
[pid  1701] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64-disabled/libTKMeshVS.so.7", {st_mode=S_IFREG|0755, st_size=426616, ...}) = 0
[pid  1701] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64-disabled/libTKBRep.so", {st_mode=S_IFREG|0755, st_size=996880, ...}) = 0
[pid  1701] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64-disabled/libTKBO.so.7.3.0", {st_mode=S_IFREG|0644, st_size=2114376, ...}) = 0
[pid  1701] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64-disabled/libTKG3d.so.7", {st_mode=S_IFREG|0755, st_size=1196400, ...}) = 0
[pid  1701] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64-disabled/libTKFeat.so", {st_mode=S_IFREG|0755, st_size=1156072, ...}) = 0
[pid  1701] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64-disabled/libTKSTEP209.so", {st_mode=S_IFREG|0755, st_size=681688, ...}) = 0
[pid  1701] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64-disabled/libTKHLR.so.7.3.0", {st_mode=S_IFREG|0644, st_size=1187848, ...}) = 0
[pid  1701] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64-disabled/libTKernel.so.7", {st_mode=S_IFREG|0755, st_size=1801040, ...}) = 0
[pid  1701] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64-disabled/libTKXDEIGES.so.7", {st_mode=S_IFREG|0755, st_size=101872, ...}) = 0
Also, lots of threads seem to be crashing with SIGSEGV, including this pid 1701 where the libraries are loading.

After moving those somewhere undiscoverable, the stat() calls went away but it still hangs on startup. I still see lots of threads crashing with SIGSEGV in the strace output.

------------

I have both FreeCAD and KiCad installed, both of which use OpenCascade.
Since I installed them from .deb packages and so they are easy for me to re-install, I removed both of them along with the OpenCascade packages they depend on, and then restored the Protocase Designer occjava libraries back to where they started again.

I can see it finding the library files as expected in strace:

Code: Select all

[pid 12412] stat("/usr/local/lib/Protocase Designer/natives", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKSTEPBase.so.7", {st_mode=S_IFREG|0755, st_size=2694720, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKSTEPBase.so.7.3.0", {st_mode=S_IFREG|0644, st_size=2686328, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKXSBase.so", {st_mode=S_IFREG|0755, st_size=2598192, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKG2d.so.7.3.0", {st_mode=S_IFREG|0644, st_size=361048, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKV3d.so.7", {st_mode=S_IFREG|0755, st_size=3959112, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKG3d.so", {st_mode=S_IFREG|0755, st_size=1196400, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKLCAF.so", {st_mode=S_IFREG|0755, st_size=909408, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKFeat.so.7.3.0", {st_mode=S_IFREG|0644, st_size=1115512, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKFillet.so.7.3.0", {st_mode=S_IFREG|0644, st_size=2556480, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKXCAF.so.7.3.0", {st_mode=S_IFREG|0644, st_size=770624, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKBRep.so.7", {st_mode=S_IFREG|0755, st_size=996880, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKOffset.so.7", {st_mode=S_IFREG|0755, st_size=1513296, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKXDEIGES.so.7", {st_mode=S_IFREG|0755, st_size=101872, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKernel.so.7", {st_mode=S_IFREG|0755, st_size=1801040, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKHLR.so.7.3.0", {st_mode=S_IFREG|0644, st_size=1187848, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKSTEP209.so", {st_mode=S_IFREG|0755, st_size=681688, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKFeat.so", {st_mode=S_IFREG|0755, st_size=1156072, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKG3d.so.7", {st_mode=S_IFREG|0755, st_size=1196400, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKBO.so.7.3.0", {st_mode=S_IFREG|0644, st_size=2114376, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKBRep.so", {st_mode=S_IFREG|0755, st_size=996880, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKMeshVS.so.7", {st_mode=S_IFREG|0755, st_size=426616, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKFillet.so.7", {st_mode=S_IFREG|0755, st_size=2609536, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKShHealing.so.7", {st_mode=S_IFREG|0755, st_size=2626864, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKCAF.so", {st_mode=S_IFREG|0755, st_size=625160, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKMesh.so", {st_mode=S_IFREG|0755, st_size=928856, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKMeshVS.so", {st_mode=S_IFREG|0755, st_size=426616, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKCDF.so.7.3.0", {st_mode=S_IFREG|0644, st_size=343384, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKFeat.so.7", {st_mode=S_IFREG|0755, st_size=1156072, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKVRML.so", {st_mode=S_IFREG|0755, st_size=580800, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKXDESTEP.so.7.3.0", {st_mode=S_IFREG|0644, st_size=762008, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKCDF.so", {st_mode=S_IFREG|0755, st_size=355544, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKGeomAlgo.so.7", {st_mode=S_IFREG|0755, st_size=5373904, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKSTL.so.7.3.0", {st_mode=S_IFREG|0644, st_size=97448, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKMeshVS.so.7.3.0", {st_mode=S_IFREG|0644, st_size=414464, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKIGES.so", {st_mode=S_IFREG|0755, st_size=4167544, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKService.so.7", {st_mode=S_IFREG|0755, st_size=345928, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKSTL.so.7", {st_mode=S_IFREG|0755, st_size=97424, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKCAF.so.7.3.0", {st_mode=S_IFREG|0644, st_size=609000, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKBRep.so.7.3.0", {st_mode=S_IFREG|0644, st_size=984688, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKVCAF.so", {st_mode=S_IFREG|0755, st_size=251272, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKXMesh.so", {st_mode=S_IFREG|0755, st_size=10256, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKVCAF.so.7", {st_mode=S_IFREG|0755, st_size=251272, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKGeomBase.so", {st_mode=S_IFREG|0755, st_size=5213160, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKOffset.so.7.3.0", {st_mode=S_IFREG|0644, st_size=1472448, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKV3d.so", {st_mode=S_IFREG|0755, st_size=3959112, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKV3d.so.7.3.0", {st_mode=S_IFREG|0644, st_size=3553888, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKBool.so", {st_mode=S_IFREG|0755, st_size=4184304, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKGeomBase.so.7", {st_mode=S_IFREG|0755, st_size=5213160, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKXSBase.so.7.3.0", {st_mode=S_IFREG|0644, st_size=2606864, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKSTEP.so.7", {st_mode=S_IFREG|0755, st_size=3426768, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKMesh.so.7", {st_mode=S_IFREG|0755, st_size=928856, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKSTEPBase.so", {st_mode=S_IFREG|0755, st_size=2694720, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKLCAF.so.7.3.0", {st_mode=S_IFREG|0644, st_size=897184, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKService.so", {st_mode=S_IFREG|0755, st_size=345928, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKernel.so", {st_mode=S_IFREG|0755, st_size=1801040, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKXSBase.so.7", {st_mode=S_IFREG|0755, st_size=2598192, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKBool.so.7.3.0", {st_mode=S_IFREG|0644, st_size=3967880, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKVCAF.so.7.3.0", {st_mode=S_IFREG|0644, st_size=267816, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKPrim.so.7", {st_mode=S_IFREG|0755, st_size=386752, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKXMesh.so.7.3.0", {st_mode=S_IFREG|0644, st_size=22920, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKTopAlgo.so", {st_mode=S_IFREG|0755, st_size=3097592, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKSTEP209.so.7", {st_mode=S_IFREG|0755, st_size=681688, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKFillet.so", {st_mode=S_IFREG|0755, st_size=2609536, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKCDF.so.7", {st_mode=S_IFREG|0755, st_size=355544, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKCAF.so.7", {st_mode=S_IFREG|0755, st_size=625160, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKMath.so.7.3.0", {st_mode=S_IFREG|0644, st_size=2317904, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libOccJava.so", {st_mode=S_IFREG|0644, st_size=2067648, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKSTEP209.so.7.3.0", {st_mode=S_IFREG|0644, st_size=677528, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKG2d.so", {st_mode=S_IFREG|0755, st_size=369248, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKSTEP.so.7.3.0", {st_mode=S_IFREG|0644, st_size=3365232, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKMath.so", {st_mode=S_IFREG|0755, st_size=2613552, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKIGES.so.7.3.0", {st_mode=S_IFREG|0644, st_size=4163648, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKXDESTEP.so.7", {st_mode=S_IFREG|0755, st_size=761944, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKTopAlgo.so.7.3.0", {st_mode=S_IFREG|0644, st_size=2847752, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKernel.so.7.3.0", {st_mode=S_IFREG|0644, st_size=1741624, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKShHealing.so", {st_mode=S_IFREG|0755, st_size=2626864, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKBool.so.7", {st_mode=S_IFREG|0755, st_size=4184304, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKSTEPAttr.so.7.3.0", {st_mode=S_IFREG|0644, st_size=1063824, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKPrim.so.7.3.0", {st_mode=S_IFREG|0644, st_size=357856, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKTopAlgo.so.7", {st_mode=S_IFREG|0755, st_size=3097592, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKXDEIGES.so.7.3.0", {st_mode=S_IFREG|0644, st_size=97880, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKService.so.7.3.0", {st_mode=S_IFREG|0644, st_size=238472, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libstdc++.so.6", {st_mode=S_IFREG|0644, st_size=1566440, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKXCAF.so", {st_mode=S_IFREG|0755, st_size=819928, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKGeomAlgo.so.7.3.0", {st_mode=S_IFREG|0644, st_size=5132264, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKXDESTEP.so", {st_mode=S_IFREG|0755, st_size=761944, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKShHealing.so.7.3.0", {st_mode=S_IFREG|0644, st_size=2561512, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKOffset.so", {st_mode=S_IFREG|0755, st_size=1513296, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKGeomAlgo.so", {st_mode=S_IFREG|0755, st_size=5373904, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKIGES.so.7", {st_mode=S_IFREG|0755, st_size=4167544, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKSTEPAttr.so.7", {st_mode=S_IFREG|0755, st_size=1068048, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKLCAF.so.7", {st_mode=S_IFREG|0755, st_size=909408, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKPrim.so", {st_mode=S_IFREG|0755, st_size=386752, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKVRML.so.7.3.0", {st_mode=S_IFREG|0644, st_size=551888, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKXMesh.so.7", {st_mode=S_IFREG|0755, st_size=10256, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKXCAF.so.7", {st_mode=S_IFREG|0755, st_size=819928, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKHLR.so.7", {st_mode=S_IFREG|0755, st_size=1212440, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKG2d.so.7", {st_mode=S_IFREG|0755, st_size=369248, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKMesh.so.7.3.0", {st_mode=S_IFREG|0644, st_size=563688, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKVRML.so.7", {st_mode=S_IFREG|0755, st_size=580800, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKG3d.so.7.3.0", {st_mode=S_IFREG|0644, st_size=1147296, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKSTEPAttr.so", {st_mode=S_IFREG|0755, st_size=1068048, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKSTEP.so", {st_mode=S_IFREG|0755, st_size=3426768, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKBO.so", {st_mode=S_IFREG|0755, st_size=2573040, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKGeomBase.so.7.3.0", {st_mode=S_IFREG|0644, st_size=4901808, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKMath.so.7", {st_mode=S_IFREG|0755, st_size=2613552, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKHLR.so", {st_mode=S_IFREG|0755, st_size=1212440, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKXDEIGES.so", {st_mode=S_IFREG|0755, st_size=101872, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKBO.so.7", {st_mode=S_IFREG|0755, st_size=2573040, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKSTL.so", {st_mode=S_IFREG|0755, st_size=97424, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKSTEPBase.so.7", {st_mode=S_IFREG|0755, st_size=2694720, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKSTEPBase.so.7.3.0", {st_mode=S_IFREG|0644, st_size=2686328, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKXSBase.so", {st_mode=S_IFREG|0755, st_size=2598192, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKG2d.so.7.3.0", {st_mode=S_IFREG|0644, st_size=361048, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKV3d.so.7", {st_mode=S_IFREG|0755, st_size=3959112, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKG3d.so", {st_mode=S_IFREG|0755, st_size=1196400, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKLCAF.so", {st_mode=S_IFREG|0755, st_size=909408, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKFeat.so.7.3.0", {st_mode=S_IFREG|0644, st_size=1115512, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKFillet.so.7.3.0", {st_mode=S_IFREG|0644, st_size=2556480, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKXCAF.so.7.3.0", {st_mode=S_IFREG|0644, st_size=770624, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKBRep.so.7", {st_mode=S_IFREG|0755, st_size=996880, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKOffset.so.7", {st_mode=S_IFREG|0755, st_size=1513296, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKXDEIGES.so.7", {st_mode=S_IFREG|0755, st_size=101872, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKernel.so.7", {st_mode=S_IFREG|0755, st_size=1801040, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKHLR.so.7.3.0", {st_mode=S_IFREG|0644, st_size=1187848, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKSTEP209.so", {st_mode=S_IFREG|0755, st_size=681688, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKFeat.so", {st_mode=S_IFREG|0755, st_size=1156072, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKG3d.so.7", {st_mode=S_IFREG|0755, st_size=1196400, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKBO.so.7.3.0", {st_mode=S_IFREG|0644, st_size=2114376, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKBRep.so", {st_mode=S_IFREG|0755, st_size=996880, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKMeshVS.so.7", {st_mode=S_IFREG|0755, st_size=426616, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKFillet.so.7", {st_mode=S_IFREG|0755, st_size=2609536, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKShHealing.so.7", {st_mode=S_IFREG|0755, st_size=2626864, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKCAF.so", {st_mode=S_IFREG|0755, st_size=625160, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKMesh.so", {st_mode=S_IFREG|0755, st_size=928856, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKMeshVS.so", {st_mode=S_IFREG|0755, st_size=426616, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKCDF.so.7.3.0", {st_mode=S_IFREG|0644, st_size=343384, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKFeat.so.7", {st_mode=S_IFREG|0755, st_size=1156072, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKVRML.so", {st_mode=S_IFREG|0755, st_size=580800, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKXDESTEP.so.7.3.0", {st_mode=S_IFREG|0644, st_size=762008, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKCDF.so", {st_mode=S_IFREG|0755, st_size=355544, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKGeomAlgo.so.7", {st_mode=S_IFREG|0755, st_size=5373904, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKSTL.so.7.3.0", {st_mode=S_IFREG|0644, st_size=97448, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKMeshVS.so.7.3.0", {st_mode=S_IFREG|0644, st_size=414464, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKIGES.so", {st_mode=S_IFREG|0755, st_size=4167544, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKService.so.7", {st_mode=S_IFREG|0755, st_size=345928, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKSTL.so.7", {st_mode=S_IFREG|0755, st_size=97424, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKCAF.so.7.3.0", {st_mode=S_IFREG|0644, st_size=609000, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKBRep.so.7.3.0", {st_mode=S_IFREG|0644, st_size=984688, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKVCAF.so", {st_mode=S_IFREG|0755, st_size=251272, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKXMesh.so", {st_mode=S_IFREG|0755, st_size=10256, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKVCAF.so.7", {st_mode=S_IFREG|0755, st_size=251272, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKGeomBase.so", {st_mode=S_IFREG|0755, st_size=5213160, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKOffset.so.7.3.0", {st_mode=S_IFREG|0644, st_size=1472448, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKV3d.so", {st_mode=S_IFREG|0755, st_size=3959112, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKV3d.so.7.3.0", {st_mode=S_IFREG|0644, st_size=3553888, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKBool.so", {st_mode=S_IFREG|0755, st_size=4184304, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKGeomBase.so.7", {st_mode=S_IFREG|0755, st_size=5213160, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKXSBase.so.7.3.0", {st_mode=S_IFREG|0644, st_size=2606864, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKSTEP.so.7", {st_mode=S_IFREG|0755, st_size=3426768, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKMesh.so.7", {st_mode=S_IFREG|0755, st_size=928856, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKSTEPBase.so", {st_mode=S_IFREG|0755, st_size=2694720, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKLCAF.so.7.3.0", {st_mode=S_IFREG|0644, st_size=897184, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKService.so", {st_mode=S_IFREG|0755, st_size=345928, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKernel.so", {st_mode=S_IFREG|0755, st_size=1801040, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKXSBase.so.7", {st_mode=S_IFREG|0755, st_size=2598192, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKBool.so.7.3.0", {st_mode=S_IFREG|0644, st_size=3967880, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKVCAF.so.7.3.0", {st_mode=S_IFREG|0644, st_size=267816, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKPrim.so.7", {st_mode=S_IFREG|0755, st_size=386752, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKXMesh.so.7.3.0", {st_mode=S_IFREG|0644, st_size=22920, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKTopAlgo.so", {st_mode=S_IFREG|0755, st_size=3097592, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKSTEP209.so.7", {st_mode=S_IFREG|0755, st_size=681688, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKFillet.so", {st_mode=S_IFREG|0755, st_size=2609536, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKCDF.so.7", {st_mode=S_IFREG|0755, st_size=355544, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKCAF.so.7", {st_mode=S_IFREG|0755, st_size=625160, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKMath.so.7.3.0", {st_mode=S_IFREG|0644, st_size=2317904, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libOccJava.so", {st_mode=S_IFREG|0644, st_size=2067648, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKSTEP209.so.7.3.0", {st_mode=S_IFREG|0644, st_size=677528, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKG2d.so", {st_mode=S_IFREG|0755, st_size=369248, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKSTEP.so.7.3.0", {st_mode=S_IFREG|0644, st_size=3365232, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKMath.so", {st_mode=S_IFREG|0755, st_size=2613552, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKIGES.so.7.3.0", {st_mode=S_IFREG|0644, st_size=4163648, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKXDESTEP.so.7", {st_mode=S_IFREG|0755, st_size=761944, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKTopAlgo.so.7.3.0", {st_mode=S_IFREG|0644, st_size=2847752, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKernel.so.7.3.0", {st_mode=S_IFREG|0644, st_size=1741624, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKShHealing.so", {st_mode=S_IFREG|0755, st_size=2626864, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKBool.so.7", {st_mode=S_IFREG|0755, st_size=4184304, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKSTEPAttr.so.7.3.0", {st_mode=S_IFREG|0644, st_size=1063824, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKPrim.so.7.3.0", {st_mode=S_IFREG|0644, st_size=357856, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKTopAlgo.so.7", {st_mode=S_IFREG|0755, st_size=3097592, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKXDEIGES.so.7.3.0", {st_mode=S_IFREG|0644, st_size=97880, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKService.so.7.3.0", {st_mode=S_IFREG|0644, st_size=238472, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libstdc++.so.6", {st_mode=S_IFREG|0644, st_size=1566440, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKXCAF.so", {st_mode=S_IFREG|0755, st_size=819928, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKGeomAlgo.so.7.3.0", {st_mode=S_IFREG|0644, st_size=5132264, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKXDESTEP.so", {st_mode=S_IFREG|0755, st_size=761944, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKShHealing.so.7.3.0", {st_mode=S_IFREG|0644, st_size=2561512, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKOffset.so", {st_mode=S_IFREG|0755, st_size=1513296, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKGeomAlgo.so", {st_mode=S_IFREG|0755, st_size=5373904, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKIGES.so.7", {st_mode=S_IFREG|0755, st_size=4167544, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKSTEPAttr.so.7", {st_mode=S_IFREG|0755, st_size=1068048, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKLCAF.so.7", {st_mode=S_IFREG|0755, st_size=909408, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKPrim.so", {st_mode=S_IFREG|0755, st_size=386752, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKVRML.so.7.3.0", {st_mode=S_IFREG|0644, st_size=551888, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKXMesh.so.7", {st_mode=S_IFREG|0755, st_size=10256, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKXCAF.so.7", {st_mode=S_IFREG|0755, st_size=819928, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKHLR.so.7", {st_mode=S_IFREG|0755, st_size=1212440, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKG2d.so.7", {st_mode=S_IFREG|0755, st_size=369248, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKMesh.so.7.3.0", {st_mode=S_IFREG|0644, st_size=563688, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKVRML.so.7", {st_mode=S_IFREG|0755, st_size=580800, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKG3d.so.7.3.0", {st_mode=S_IFREG|0644, st_size=1147296, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKSTEPAttr.so", {st_mode=S_IFREG|0755, st_size=1068048, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKSTEP.so", {st_mode=S_IFREG|0755, st_size=3426768, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKBO.so", {st_mode=S_IFREG|0755, st_size=2573040, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKGeomBase.so.7.3.0", {st_mode=S_IFREG|0644, st_size=4901808, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKMath.so.7", {st_mode=S_IFREG|0755, st_size=2613552, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKHLR.so", {st_mode=S_IFREG|0755, st_size=1212440, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKXDEIGES.so", {st_mode=S_IFREG|0755, st_size=101872, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKBO.so.7", {st_mode=S_IFREG|0755, st_size=2573040, ...}) = 0
[pid 12412] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKSTL.so", {st_mode=S_IFREG|0755, st_size=97424, ...}) = 0
However, this put me back where we started, crashing in /usr/lib/x86_64-linux-gnu/libTKXSBase.so.7 with a crash log file, so clearly the library removal wasn't complete enough.

I noticed that I had three different versions of OpenCascade installed: version 11 used by FreeCAD and KiCad, version 8 apparently not used but presumably leftover from an older version of one of those applications, and version 7 used by netgen. It seems to be version 7 that Protocase Designer is finding, but I purged all three of them.

I guess the version 7 libraries are likely the problematic ones because Protocase Designer itself ships with version 7. Nonetheless, I continued with no versions at all installed.

------------

Now I'm back to it hanging with no output again, but it still seems to be a SIGSEGV behind the scenes: the thread that discovers all of the occjava libraries using stat crashes shortly after.

Code: Select all

(...several similar lines like above omitted...)
[pid 18208] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKFeat.so", {st_mode=S_IFREG|0755, st_size=1156072, ...}) = 0
[pid 18208] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKOffset.so.7", {st_mode=S_IFREG|0755, st_size=1513296, ...}) = 0
[pid 18208] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKOffset.so.7", {st_mode=S_IFREG|0755, st_size=1513296, ...}) = 0
[pid 18208] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKXCAF.so.7.3.0", {st_mode=S_IFREG|0644, st_size=770624, ...}) = 0
[pid 18208] stat("/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKXCAF.so.7.3.0", {st_mode=S_IFREG|0644, st_size=770624, ...}) = 0
[pid 18208] stat("/usr/local/lib/Protocase Designer/jre/conf/swing.properties", 0x7fe3472ea5d0) = -1 ENOENT (No such file or directory)
[pid 18208] stat("/usr/local/lib/Protocase Designer/jre/lib/libnet.so", {st_mode=S_IFREG|0755, st_size=117200, ...}) = 0
[pid 18208] stat("/usr/local/lib/Protocase Designer/jre/lib/libnet.so", {st_mode=S_IFREG|0755, st_size=117200, ...}) = 0
[pid 18208] stat("/usr/local/lib/Protocase Designer/jre/lib/libextnet.so", {st_mode=S_IFREG|0755, st_size=13384, ...}) = 0
[pid 18208] stat("/usr/local/lib/Protocase Designer/lib/SMT4J.jar", {st_mode=S_IFREG|0644, st_size=2018370, ...}) = 0
[pid 18208] --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_ACCERR, si_addr=0x7fe3c68d3008} ---
As far as I can tell, I have no more OpenCascade libs on my system aside from the ones in Protocase Designer.

apparentlymart
Posts: 5
Joined: Sun Jan 12, 2020 5:54 pm

Re: Crashes on startup on Ubuntu 18.04.3 LTS

Post by apparentlymart »

Oh, a follow-up:

Remembering that there's still a known issue on the wiki about using OpenJDK (I'm not sure if that's still relevant since Protocase Designer bundles its own JDK) I also tried using the Oracle JDK 11 I installed in earlier troubleshooting, but the results were no different aside from it now loading some standard library things from /usr/lib/jvm/jdk-13.0.1 instead, as expected.

mpyne
Site Admin
Posts: 137
Joined: Mon Nov 14, 2016 11:15 am

Re: Crashes on startup on Ubuntu 18.04.3 LTS

Post by mpyne »

apparentlymart, would you mind if I sent you a special Designer build with some things I would like to try?

apparentlymart
Posts: 5
Joined: Sun Jan 12, 2020 5:54 pm

Re: Crashes on startup on Ubuntu 18.04.3 LTS

Post by apparentlymart »

Hi mpyne,

I tried to respond previously but the forum didn't seem to be functioning properly. I saw that you posted a test message after an upgrade so I'm trying again...

I would be willing to try a development build.

apparentlymart
Posts: 5
Joined: Sun Jan 12, 2020 5:54 pm

Re: Crashes on startup on Ubuntu 18.04.3 LTS

Post by apparentlymart »

I'm still seeing some PHP notices from the forum but it does at least seem to be letting me post, so I have something else to add.

I suspected that it had been something else on my system that was causing a conflict before, so I was trying a few different options to run Protocase Designer in an environment separated from the rest of my system. The one that seemed most promising was Ubuntu Snaps because it already has the infrastructure in place to support GUI apps without a lot of fuss, so I've been fiddling with that on and off since my message back in January.

After more stracing and gradually installing things it seemed like the hang on the splash screen was related to particular libraries not being available, and so I gradually added more libraries into my snap definition, seeing it get further each time before getting stuck.

What finally did the trick today was building OpenCascade 7.3.0 from source, in addition to the other things I'd added previously, and now I'm able to get Protocase Designer to start up enough to get through the initial configuration wizard and to the main screen, though I've evidently not put files in quite the right directory structure because it doesn't seem to be able to find the cutout library.

With that said, I was able to load one of the templates, which worked aside from some missing items it was expecting to find in the library:

[img]https://user-images.githubusercontent.c ... 1d1cb9.png[/img]

I don't know if you're interested in Snaps as an alternative distribution model for official releases, but maybe the contents of this "snapcraft" configuration are helpful in seeing what set of Ubuntu packages I had to install in the isolated snap environment to get Designer to launch:
https://github.com/apparentlymart/proto ... craft.yaml

If you happen to have a hint for what I might tweak to get it to be able to find the cutout library (my snap configuration is causing it to end up at /snap/protocase-designer/current/library because that's the prefix where snaps get mounted) that'd be useful to get me over the line here to having a working setup for myself at least, even if this approach doesn't generalize for others.

Thanks!

mpyne
Site Admin
Posts: 137
Joined: Mon Nov 14, 2016 11:15 am

Re: Crashes on startup on Ubuntu 18.04.3 LTS

Post by mpyne »

Hello apparentlymart,

Great to hear you got it mostly working. I will look into snap and see if we can use it or if we can update our current build process.

I'am thinking about the Cutout Library issue. Is this just with your Userlibrary or with the MainLibrary? I see screws in your picture and that make me uncertain. We keep screws in the main library and our templates. Maybe a debug log will help. The logs are found in userroot/ProtocaseDesigner and the file debug.0.log is the latest log file.

Matt

Post Reply