B4J Question jSerial Fatal Error

Blueforcer

Active Member
Licensed User
I get this error on a raspberry zero w with the latest jSerial version.
I just try to list the serial Ports

B4X:
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGILL (0x4) at pc=0xa878db68, pid=703, tid=0xa8946460
#
# JRE version: OpenJDK Runtime Environment (8.0_212-b01) (build 1.8.0_212-8u212-b01-1+rpi1-b01)
# Java VM: OpenJDK Client VM (25.212-b01 mixed mode linux-aarch32 )
# Problematic frame:
# C  [libjssc.so+0x3b68]
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

---------------  T H R E A D  ---------------

Current thread (0x008a6c00):  JavaThread "pool-3-thread-3" [_thread_in_native, id=757, stack(0xa88f7000,0xa8947000)]

siginfo: si_signo: 4 (SIGILL), si_code: 1 (ILL_ILLOPC), si_addr: 0xa878db68

Registers:
R0=0xa87a0630
R1=0xbec95e54
R2=0x00000000
R3=0xa87a1000
R4=0xa87a0628
R5=0xa878db5d
R6=0x00000003
R7=0xbec95e54
R8=0xbec95e64
R9=0xa87a062c
R10=0xb6f9f970
R11=0xa8943cdc
R12=0x0000002f
R13=0xa8943c40
R14=0xb6f7f2e8
R15=0xa878db68

Top of Stack: (sp=0xa8943c40)
0xa8943c40:   a878a000 b6f7f2e8 00000000 a9ec80f8
0xa8943c50:   00000003 bec95e54 bec95e64 00000000
0xa8943c60:   b6f9f970 b6f7f3ec ffffffff a9ec80f8
0xa8943c70:   00000003 00000003 00000008 b6fa0578
0xa8943c80:   b6f9f970 b6f83394 a8943cdc b6f83160
0xa8943c90:   a9ec80f8 00000000 00000000 00000000
0xa8943ca0:   00000000 00000000 a8943c90 00000001
0xa8943cb0:   a8943eb0 80000001 00000000 00000000

Instructions: (pc=0xa878db68)
0xa878db48:   cc 36 01 00 d6 34 01 00 5c 01 00 00 ae 36 01 00
0xa878db58:   aa 36 01 00 06 48 08 b5 78 44 06 4b 02 68 7b 44
0xa878db68:   1a b1 05 4a 9b 58 03 b1 98 47 bd e8 08 40 b5 e7
0xa878db78:   cc 2a 01 00 96 34 01 00 bc 01 00 00 03 68 02 49
 
Last edited:

Blueforcer

Active Member
Licensed User
Do you have an older jSerial Lib? Because it worked in the past before i updating the lib.
 

Blueforcer

Active Member
Licensed User
What about the slf4j jar?
Get also this error

B4X:
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/D:/OneDrive%20-%20dinotec%20GmbH/B4J/Libraries/moqueutte.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/D:/OneDrive%20-%20dinotec%20GmbH/B4J/Libraries/slf4j-jdk14-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
Maxbe you can give me the complete last jSerial for B4j lib?
 
Top