-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Describe the bug
Stylus Version 2.0.0 can break on ubuntu 20.04 lts and OpenJDK 64-Bit Server VM Temurin-17.0.3+7
Stylus Version: 0.3.0-SNAPSHOT runs well no problems
Trace
Problematic frame:
C [libstylus3534347582397653685.so+0x99996] stylus::X11StylusManager::captureEvents()+0x86
would be great when possible to publish the Stylus Version: 0.3.0-SNAPSHOT to maven central
using Version 2.0.0
java -jar target/linux-x86_64/presenter-swing.jar
SwixML 2.6
free(): invalid size
Aborted (core dumped)
work around
clone stylus
tested on ubuntu 20.04 lts and java OpenJDK 64-Bit Server VM Temurin-17.0.3
// update ubuntu 20.04 lts build dependencies
sudo dpkg --add-architecture i386
sudo apt install -y libx32stdc++-10-dev
mvn clean install -DskipTests
[INFO] Reactor Summary for stylus-parent 0.3.0-SNAPSHOT:
[INFO]
[INFO] stylus-parent ...................................... SUCCESS [ 0.338 s]
[INFO] stylus-jni ......................................... SUCCESS [ 51.648 s]
[INFO] stylus ............................................. SUCCESS [ 1.842 s]
[INFO] stylus-awt ......................................... SUCCESS [ 0.988 s]
[INFO] stylus-javafx ...................................... SUCCESS [ 1.185 s]
[INFO] stylus-demo ........................................ SUCCESS [ 0.004 s]
[INFO] stylus-demo-api .................................... SUCCESS [ 1.388 s]
[INFO] stylus-demo-javafx ................................. SUCCESS [ 1.729 s]
[INFO] stylus-demo-awt .................................... SUCCESS [ 1.566 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
now stylus 0.3.0-SNAPSHOT is available locally to build with