Invalid pointer

So I went to restart Stardog from yesterday to see if it would fix the edge property problem from yesterday and get the following trace. Just to make sure it wasn't related to the problem from yesterday I tried a fresh install of 7.1.2 and still can't start Stardog. To make sure it wasn't a problem with the jvm I was running I was able to successfully start a copy of version 7.0.3. I could have sworn that I was running 7.1.2 when I was testing the edge property problem yesterday. I was able to set the edge.properties=true option and verified it was set with stardog-admin metadata get test. The option wasn't available in 7.0.3 so I think that should confirm that I was actually running 7.1.2. I didn't do any package upgrades so I'm at a loss for what the problem could be.

*** Error in `/home/centos/.sdkman/candidates/java/8.0.242-open/bin/java': free(): invalid pointer: 0x00007f11e21dfbc0 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x81679)[0x7f1219867679]
/lib64/libstdc++.so.6(_ZNSt6locale5_Impl16_M_install_facetEPKNS_2idEPKNS_5facetE+0x142)[0x7f11e1f49ed2]
/lib64/libstdc++.so.6(_ZNSt6locale5_ImplC1Em+0x1e3)[0x7f11e1f4a323]
/lib64/libstdc++.so.6(+0x71295)[0x7f11e1f4b295]
/lib64/libpthread.so.0(+0x61cb)[0x7f1219fd51cb]
/lib64/libstdc++.so.6(+0x712e1)[0x7f11e1f4b2e1]
/lib64/libstdc++.so.6(_ZNSt6localeC2Ev+0x13)[0x7f11e1f4b323]
/lib64/libstdc++.so.6(_ZNSt8ios_base4InitC2Ev+0xbc)[0x7f11e1f4817c]
/tmp/async-profiler5382564437226550586/libasyncProfilerLinux.so(+0x14880)[0x7f11e2212880]
/tmp/async-profiler5382564437226550586/libasyncProfilerLinux.so(+0x14d86)[0x7f11e2212d86]
======= Memory map: ========
00400000-00401000 r-xp 00000000 ca:01 553940                             /home/centos/.sdkman/candidates/java/8.0.242-open/bin/java
00600000-00601000 r--p 00000000 ca:01 553940                             /home/centos/.sdkman/candidates/java/8.0.242-open/bin/java
00601000-00602000 rw-p 00001000 ca:01 553940                             /home/centos/.sdkman/candidates/java/8.0.242-open/bin/java
02267000-02c5d000 rw-p 00000000 00:00 0                                  [heap]
6c0000000-7c0360000 rw-p 00000000 00:00 0 
7c0360000-800000000 ---p 00000000 00:00 0 
7f11e1eda000-7f11e1fc3000 r-xp 00000000 ca:01 389202                     /usr/lib64/libstdc++.so.6.0.19
7f11e1fc3000-7f11e21c2000 ---p 000e9000 ca:01 389202                     /usr/lib64/libstdc++.so.6.0.19
7f11e21c2000-7f11e21ca000 r--p 000e8000 ca:01 389202                     /usr/lib64/libstdc++.so.6.0.19
7f11e21ca000-7f11e21cc000 rw-p 000f0000 ca:01 389202                     /usr/lib64/libstdc++.so.6.0.19
7f11e21cc000-7f11e21e1000 rw-p 00000000 00:00 0 
7f11e21fe000-7f11e2219000 r-xp 00000000 ca:01 122027301                  /tmp/async-profiler5382564437226550586/libasyncProfilerLinux.so
7f11e2219000-7f11e2419000 ---p 0001b000 ca:01 122027301                  /tmp/async-profiler5382564437226550586/libasyncProfilerLinux.so
7f11e2419000-7f11e241a000 r--p 0001b000 ca:01 122027301                  /tmp/async-profiler5382564437226550586/libasyncProfilerLinux.so
7f11e241a000-7f11e241b000 rw-p 0001c000 ca:01 122027301                  /tmp/async-profiler5382564437226550586/libasyncProfilerLinux.so
7f11e241b000-7f11e2b36000 rw-p 00000000 00:00 0 
7f11e2b36000-7f11e2cb6000 ---p 00000000 00:00 0 
7f11e2cb6000-7f11e2eb6000 rw-p 00000000 00:00 0 
7f11e2eb6000-7f11e30b6000 rw-p 00000000 00:00 0 
7f11e30b6000-7f11e30bb000 r--s 0003d000 ca:01 54756299                   /home/centos/.sdkman/candidates/java/8.0.242-open/jre/lib/ext/sunjce_provider.jar
7f11e30bb000-7f11e30d0000 r-xp 00000000 ca:01 333020                     /usr/lib64/libgcc_s-4.8.5-20150702.so.1
7f11e30d0000-7f11e32cf000 ---p 00015000 ca:01 333020                     /usr/lib64/libgcc_s-4.8.5-20150702.so.1
7f11e32cf000-7f11e32d0000 r--p 00014000 ca:01 333020                     /usr/lib64/libgcc_s-4.8.5-20150702.so.1
7f11e32d0000-7f11e32d1000 rw-p 00015000 ca:01 333020                     /usr/lib64/libgcc_s-4.8.5-20150702.so.1
7f11e32d1000-7f11e32d2000 ---p 00000000 00:00 0 
7f11e32d2000-7f11e3ad2000 rw-p 00000000 00:00 0 
7f11e3ad2000-7f11e3ad3000 ---p 00000000 00:00 0 
7f11e3ad3000-7f11e42d3000 rw-p 00000000 00:00 0 
7f11e42d3000-7f11e42d4000 ---p 00000000 00:00 0 
7f11e42d4000-7f11e4ad4000 rw-p 00000000 00:00 0 
7f11e4ad4000-7f11e4ad5000 ---p 00000000 00:00 0 
7f11e4ad5000-7f11e52d5000 rw-p 00000000 00:00 0 
7f11e52d5000-7f11e52d6000 ---p 00000000 00:00 0 
7f11e52d6000-7f11e5ad6000 rw-p 00000000 00:00 0 
7f11e5ad6000-7f11ec000000 r--p 00000000 ca:01 389152                     /usr/lib/locale/locale-archive
7f11ec000000-7f11f4000000 rw-p 00000000 00:00 0 
7f11f4000000-7f11f4f62000 rw-p 00000000 00:00 0 
7f11f4f62000-7f11f8000000 ---p 00000000 00:00 0 
7f11f8002000-7f11f8203000 rw-p 00000000 00:00 0 
7f11f8203000-7f11f8236000 r-xp 00000000 ca:01 64981707                   /home/centos/.sdkman/candidates/java/8.0.242-open/jre/lib/amd64/libsunec.so
7f11f8236000-7f11f8436000 ---p 00033000 ca:01 64981707                   /home/centos/.sdkman/candidates/java/8.0.242-open/jre/lib/amd64/libsunec.so
7f11f8436000-7f11f843b000 r--p 00033000 ca:01 64981707                   /home/centos/.sdkman/candidates/java/8.0.242-open/jre/lib/amd64/libsunec.so
7f11f843b000-7f11f843d000 rw-p 00038000 ca:01 64981707                   /home/centos/.sdkman/candidates/java/8.0.242-open/jre/lib/amd64/libsunec.so
7f11f843d000-7f11f844e000 rw-p 00000000 00:00 0 
7f11f844e000-7f11f844f000 r--s 0000d000 ca:01 54758431                   /home/centos/.sdkman/candidates/java/8.0.242-open/jre/lib/ext/sunec.jar
7f11f844f000-7f11f8453000 r--s 0003a000 ca:01 54544170                   /home/centos/.sdkman/candidates/java/8.0.242-open/jre/lib/ext/sunpkcs11.jar
7f11f8453000-7f11f8454000 ---p 00000000 00:00 0 
7f11f8454000-7f11f8c54000 rw-p 00000000 00:00 0 
7f11f8c54000-7f11f8c55000 ---p 00000000 00:00 0 
7f11f8c55000-7f11f9455000 rw-p 00000000 00:00 0 
7f11f9455000-7f11f9456000 ---p 00000000 00:00 0 
7f11f9456000-7f11f9c56000 rw-p 00000000 00:00 0 
7f11f9c56000-7f11fa351000 r-xp 00000000 ca:01 256093416                  /opt/stardog-7.1.2/lib/libStarrocks-CentOS-7.so
7f11fa351000-7f11fa550000 ---p 006fb000 ca:01 256093416                  /opt/stardog-7.1.2/lib/libStarrocks-CentOS-7.so
7f11fa550000-7f11fa575000 r--p 006fa000 ca:01 256093416                  /opt/stardog-7.1.2/lib/libStarrocks-CentOS-7.so
7f11fa575000-7f11fa576000 rw-p 0071f000 ca:01 256093416                  /opt/stardog-7.1.2/lib/libStarrocks-CentOS-7.so
7f11fa576000-7f11fa781000 rw-p 00000000 00:00 0 
7f11fa781000-7f11fa786000 r--s 000a3000 ca:01 17655487                   /home/centos/.sdkman/candidates/java/8.0.242-open/jre/lib/jsse.jar
7f11fa786000-7f11fa986000 rw-p 00000000 00:00 0 
7f11fa986000-7f11fab86000 rw-p 00000000 00:00 0 
7f11fab86000-7f11fad86000 rw-p 00000000 00:00 0 
7f11fad86000-7f11fad9c000 r-xp 00000000 ca:01 297662                     /usr/lib64/libresolv-2.17.so
7f11fad9c000-7f11faf9b000 ---p 00016000 ca:01 297662                     /usr/lib64/libresolv-2.17.so
7f11faf9b000-7f11faf9c000 r--p 00015000 ca:01 297662                     /usr/lib64/libresolv-2.17.so
7f11faf9c000-7f11faf9d000 rw-p 00016000 ca:01 297662                     /usr/lib64/libresolv-2.17.so./bin/stardog-admin: line 153: 14919 Aborted                 (core dumped) "/home/centos/.sdkman/candidates/java/8.0.242-open/bin/java" -Dstardog.home=/var/lib/stardog/ -Xms4g -Xmx4g -XX:MaxDirectMemorySize=8g -Djava.library.path=/opt/stardog/lib -XX:SoftRefLRUPolicyMSPerMB=1 -XX:+UseParallelOldGC -XX:+UseCompressedOops -Djavax.xml.datatype.DatatypeFactory=org.apache.xerces.jaxp.datatype.DatatypeFactoryImpl -Dapple.awt.UIElement=true -Dfile.encoding=UTF-8 -Dlog4j.configurationFile=/opt/stardog/server/dbms/log4j2.xml -Dstardog.install.location=/opt/stardog -server -classpath /opt/stardog/client/ext/*:/opt/stardog/client/api/*:/opt/stardog/client/cli/*:/opt/stardog/client/http/*:/opt/stardog/client/pack/*:/opt/stardog/server/ext/*:/opt/stardog/server/dbms/*:/opt/stardog-ext/* com.complexible.stardog.cli.admin.CLI server start >> /var/lib/stardog//stardog.log 2>&1

Thanks for letting us know about this. Which JDK and Linux distro, versions are you using? Can you remove the ./client/cli/stardog-profiler-cli-* and ./server/dbms/stardog-profiler-core-* jars and try to start the server?

I'm running CentOS 7. I've tried a bunch of jvm's via SdkMan, java.net 8.0.242, AdoptOpenJDK 8.0.222 hs and j9, Azul Zulu 8.0.222

The oddest thing is I think that it started just fine yesterday maybe I wasn't running the version I thought I was.

It comes up just fine when I remove those jars.

Does it crash at startup with all of those JVMs?

Yes. It would crash on all those JVM's but it came up after removing the jars with java.net 8.0.242. I didn't test the others.

Thanks for the details here!