You are not logged in.

#1 2019-06-17 18:16:20

angel6700
Member
Registered: 2019-06-16
Posts: 2

Problem running arduino and java

Hello,

I have recently installed archlinux32 in my old pentium 4 computer. Instalations was perfect by using the pentium4 architecture. No problems so far.
I have installed arduino software and of its dependencies is java:

java-runtime-common 3-1.2
jre8-openjdk 8.u212-1.0
jre8-openjdk-headless 8.u212-1.0

But when I try to open arduino software, I get a java related error:

$ arduino

Picked up JAVA_TOOL_OPTIONS: 
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (os_linux_x86.cpp:291), pid=429, tid=0xb6bb6b40
#  fatal error: An irrecoverable SI_KERNEL SIGSEGV has occurred due to unstable signal handling in this distribution.
#
# JRE version: OpenJDK Runtime Environment (8.0_212-b01) (build 1.8.0_212-b01)
# Java VM: OpenJDK Server VM (25.212-b01 mixed mode linux-x86 )
# Core dump written. Default location: /home/angel/core or core.429
#
# An error report file with more information is saved as:
# /home/angel/hs_err_pid429.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
/usr/share/arduino/arduino: line 35:   429 Aborted                 (core dumped) "$JAVA" "${JAVA_OPTIONS[@]}" processing.app.Base "$@"

Content of the error lof file is here:
/home/angel/hs_err_pid429.log

I hope can have an idea about how to fix it.

Thanks in advance.

Offline

#2 2019-06-17 18:40:28

levi
Moderator
From: Yorkshire, UK
Registered: 2018-06-16
Posts: 461

Re: Problem running arduino and java

From the java stacktrace, it seems it's trying to load a jar file from inside a zip and crashes trying to unpack the zip file.  That SIGSEGV seems to have various causes but the most likely to be seem to be either a null pointer dereference or the exhaustion of virtual memory, but there's always the possibility I'm misreading the docs.  To eliminate either of those bugs I'd try to find the file it's trying to unzip, and unzipping that manuallly beforehand.

I would suspect without further info that it's lying when it claims to have dumped core.  One of those can be debugged with gdb to find out more about the crash, apparently, but learning to drive gdb is not something I'd especially recommend for newbies.  Perhaps you've experience from working with arduino stuff though, I dunno.


Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.

Offline

#3 2019-06-18 06:35:38

andreas_baumann
Administrator
From: Zurich, Switzerland
Registered: 2017-08-10
Posts: 815
Website

Re: Problem running arduino and java

https://bugs.archlinux32.org/index.php? … task_id=75

openjdk 7 and 8 have a disagreement with glibc on some stack layout or some security things (like
executable stack or size), didn't find out yet, what exactly.

Just use a modern JDK like 11 on pentium4.

Offline

#4 2019-06-18 06:36:50

andreas_baumann
Administrator
From: Zurich, Switzerland
Registered: 2017-08-10
Posts: 815
Website

Re: Problem running arduino and java

BTW: I'm also using the Arduino IDE on my EEEPC, so if you have trouble, ask away (that is, for software
related things, I'm a noob if it comes to electronics).

Offline

#5 2019-06-18 15:56:37

levi
Moderator
From: Yorkshire, UK
Registered: 2018-06-16
Posts: 461

Re: Problem running arduino and java

The java stacktrace in that bug doesn't seem to be doing the unzipping of class files (if it is indeed an actual stacktrace).  Perhaps the java lang side of things is a red herring, and it just crashes doing whatever it was doing at the time, where some actual bootstrapping code is what actually brings the system down at a predestined point in time.

FWIW I was slightly confused reading that comment thread since you say at 7pm last month that:

weird: on my pentium4 test machine with jdk 8 and 11 installed, I can switch to java 8
and everything is fine.

And seven minutes later:

using java 11 and javac 11 on pentium4 works..

But now you confirm that a java 11 JDK should work best, so I guess that's okay.


Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.

Offline

#6 2019-06-18 20:30:19

andreas_baumann
Administrator
From: Zurich, Switzerland
Registered: 2017-08-10
Posts: 815
Website

Re: Problem running arduino and java

What I meant was, that those combinations work:
- i686/glibc, any jdk
- pentium4/glibc, jdk 11 (didn't test 10)

and:
- pentium4/glibc and jdk8 (and old original SUN JDK 7) crash.

Offline

#7 2019-06-18 22:22:45

angel6700
Member
Registered: 2019-06-16
Posts: 2

Re: Problem running arduino and java

Hello, and thank you for taking your time and effort with this.

I think I could have something wrong in my system. I have removed jdk 8 and installed jdk 11. But I'm still having a crash:

Java-related software installed in my system:

$ pacman -Qs java
local/ca-certificates-utils 20181109-1.0
    Common CA certificates (utilities)
local/java-runtime-common 3-1.2
    Common files for Java Runtime Environments
local/jre-openjdk 11.0.3.u4-1.0
    OpenJDK Java 11 full runtime environment
local/jre-openjdk-headless 11.0.3.u4-1.0
    OpenJDK Java 11 headless runtime environment
local/js52 52.9.0-2.0
    JavaScript interpreter and libraries - Version 52
local/perl-json 2.97001-1.2
    JSON (JavaScript Object Notation) encoder/decoder
local/qt5-declarative 5.12.3-2.0 (qt qt5)
    Classes for QML and JavaScript languages
local/qt5-webchannel 5.12.3-1.0 (qt qt5)
    Provides access to QObject or QML objects from HTML clients for seamless integration of Qt applications
    with HTML/JavaScript clients

But again, when executing  arduino, it gives an error:

Here you can see the content of the journal after the error:

Jun 18 23:01:25 bucaneroBox systemd-coredump[494]: Process 472 (java) of user 1000 dumped core.
                                                   
                                                   Stack trace of thread 477:
                                                   #0  0x00000000b7fcb841 __kernel_vsyscall (linux-gate.so.1)
                                                   #1  0x00000000b7e251a6 raise (libc.so.6)
                                                   #2  0x00000000b7e0f1e3 abort (libc.so.6)
                                                   #3  0x00000000b7076f8b n/a (libjvm.so)
                                                   #4  0x00000000b7a8768d n/a (libjvm.so)
                                                   #5  0x00000000b7a8812b n/a (libjvm.so)
                                                   #6  0x00000000b740000c n/a (libjvm.so)
                                                   #7  0x00000000b78b6193 JVM_handle_linux_signal (libjvm.so)
                                                   #8  0x00000000b78a879d n/a (libjvm.so)
                                                   #9  0x00000000b7fcb858 __kernel_rt_sigreturn (linux-gate.so.1)
                                                   #10 0x00000000b7f19a41 dl_iterate_phdr (libc.so.6)
                                                   #11 0x00000000b78aa80f n/a (libjvm.so)
                                                   #12 0x00000000b786fecf n/a (libjvm.so)
                                                   #13 0x00000000b7870175 n/a (libjvm.so)
                                                   #14 0x00000000b7840573 n/a (libjvm.so)
                                                   #15 0x00000000b79784f0 n/a (libjvm.so)
                                                   #16 0x00000000b7965acc n/a (libjvm.so)
                                                   #17 0x00000000b73c2068 n/a (libjvm.so)
                                                   #18 0x00000000b73c2442 n/a (libjvm.so)
                                                   #19 0x00000000b7981ef2 n/a (libjvm.so)
                                                   #20 0x00000000b7986428 n/a (libjvm.so)
                                                   #21 0x00000000b75be2df n/a (libjvm.so)
                                                   #22 0x00000000b75be7cc n/a (libjvm.so)
                                                   #23 0x00000000a4b240f2 n/a (n/a)
                                                   #24 0x00000000a4b1f940 n/a (n/a)
                                                   #25 0x00000000a4b1f8a0 n/a (n/a)
                                                   #26 0x00000000a4b1fb20 n/a (n/a)
                                                   #27 0x00000000a4b1fb20 n/a (n/a)
                                                   #28 0x00000000a4b1fd1c n/a (n/a)
                                                   #29 0x00000000a4b1fd1c n/a (n/a)
                                                   #30 0x00000000a4b1fd1c n/a (n/a)
                                                   #31 0x00000000a4b1fd1c n/a (n/a)
                                                   #32 0x00000000a4b1fb20 n/a (n/a)
                                                   #33 0x00000000a4b1fd1c n/a (n/a)
                                                   #34 0x00000000a4b1fd1c n/a (n/a)
                                                   #35 0x00000000a4b1fd1c n/a (n/a)
                                                   #36 0x00000000a4b1fd1c n/a (n/a)
                                                   #37 0x00000000a4b197fb n/a (n/a)
                                                   #38 0x00000000b75c6251 n/a (libjvm.so)
                                                   #39 0x00000000b75c5d3a n/a (libjvm.so)
                                                   #40 0x00000000b7677951 JVM_DoPrivileged (libjvm.so)
                                                   #41 0x00000000b52e2eb4 Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2 (libjava.so)
                                                   #42 0x00000000ac5e8dd6 n/a (n/a)
                                                   #43 0x00000000a4b1fb20 n/a (n/a)
                                                   #44 0x00000000a4b1fd1c n/a (n/a)
                                                   #45 0x00000000a4b1fd1c n/a (n/a)
                                                   #46 0x00000000a4b1fbc9 n/a (n/a)
                                                   #47 0x00000000a4b1fb20 n/a (n/a)
                                                   #48 0x00000000a4b1fb20 n/a (n/a)
                                                   #49 0x00000000a4b1fb20 n/a (n/a)
                                                   #50 0x00000000a4b1fb20 n/a (n/a)
                                                   #51 0x00000000a4b1fb20 n/a (n/a)
                                                   #52 0x00000000a4b1fb20 n/a (n/a)
                                                   #53 0x00000000a4b1fd1c n/a (n/a)
                                                   #54 0x00000000a4b1fd1c n/a (n/a)
                                                   #55 0x00000000a4b1fd1c n/a (n/a)
                                                   #56 0x00000000a4b1fd1c n/a (n/a)
                                                   #57 0x00000000a4b1fd1c n/a (n/a)
                                                   #58 0x00000000a4b1fd1c n/a (n/a)
                                                   #59 0x00000000a4b1fd1c n/a (n/a)
                                                   #60 0x00000000a4b197fb n/a (n/a)
                                                   #61 0x00000000b75c6251 n/a (libjvm.so)
                                                   #62 0x00000000b75c5d3a n/a (libjvm.so)
                                                   #63 0x00000000b764432c n/a (libjvm.so)
                                                   
                                                   Stack trace of thread 472:
                                                   #0  0x00000000b7fcb841 __kernel_vsyscall (linux-gate.so.1)
                                                   #1  0x00000000b7dbaf67 __GI___pthread_timedjoin_ex (libpthread.so.0)
                                                   #2  0x00000000b7dbad78 pthread_join (libpthread.so.0)
                                                   #3  0x00000000b7fbdb57 n/a (libjli.so)
                                                   #4  0x00000000b7fb9c3d n/a (libjli.so)
                                                   #5  0x00000000b7fbdbf8 n/a (libjli.so)
                                                   #6  0x00000000b7fbb704 JLI_Launch (libjli.so)
                                                   #7  0x0000000000427225 n/a (java)
                                                   #8  0x00000000b7e10669 __libc_start_main (libc.so.6)
                                                   #9  0x00000000004272e5 n/a (java)
                                                   
                                                   Stack trace of thread 473:
                                                   #0  0x00000000b7fcb841 __kernel_vsyscall (linux-gate.so.1)
                                                   #1  0x00000000b7ed50c3 __poll (libc.so.6)
                                                   #2  0x00000000b6788b55 n/a (libglib-2.0.so.0)
                                                   #3  0x00000000b6788c46 g_main_context_iteration (libglib-2.0.so.0)
                                                   #4  0x00000000b6788ca1 n/a (libglib-2.0.so.0)
                                                   #5  0x00000000b676432e n/a (libglib-2.0.so.0)
                                                   #6  0x00000000b7db9ab2 start_thread (libpthread.so.0)
                                                   #7  0x00000000b7edeb3a __clone (libc.so.6)
                                                   
                                                   Stack trace of thread 474:
                                                   #0  0x00000000b7fcb841 __kernel_vsyscall (linux-gate.so.1)
                                                   #1  0x00000000b7ed50c3 __poll (libc.so.6)
                                                   #2  0x00000000b6788b55 n/a (libglib-2.0.so.0)
                                                   #3  0x00000000b6788c46 g_main_context_iteration (libglib-2.0.so.0)
                                                   #4  0x00000000b6cd6c4c n/a (libdconfsettings.so)
                                                   #5  0x00000000b676432e n/a (libglib-2.0.so.0)
                                                   #6  0x00000000b7db9ab2 start_thread (libpthread.so.0)
                                                   #7  0x00000000b7edeb3a __clone (libc.so.6)
                                                   
                                                   Stack trace of thread 475:
                                                   #0  0x00000000b7fcb841 __kernel_vsyscall (linux-gate.so.1)
                                                   #1  0x00000000b7ed50c3 __poll (libc.so.6)
                                                   #2  0x00000000b6788b55 n/a (libglib-2.0.so.0)
                                                   #3  0x00000000b6789d51 g_main_loop_run (libglib-2.0.so.0)
                                                   #4  0x00000000b68a8ff7 n/a (libgio-2.0.so)
                                                   #5  0x00000000b676432e n/a (libglib-2.0.so.0)
                                                   #6  0x00000000b7db9ab2 start_thread (libpthread.so.0)
                                                   #7  0x00000000b7edeb3a __clone (libc.so.6)
                                                   
                                                   Stack trace of thread 476:
                                                   #0  0x00000000b7fcb841 __kernel_vsyscall (linux-gate.so.1)
                                                   #1  0x00000000b7ed50c3 __poll (libc.so.6)
                                                   #2  0x00000000b7facdf8 n/a (libsplashscreen.so)
                                                   #3  0x00000000b7fad268 n/a (libsplashscreen.so)
                                                   #4  0x00000000b7db9ab2 start_thread (libpthread.so.0)
                                                   #5  0x00000000b7edeb3a __clone (libc.so.6)
                                                   
                                                   Stack trace of thread 478:
                                                   #0  0x00000000b7fcb841 __kernel_vsyscall (linux-gate.so.1)
                                                   #1  0x00000000b7dc020e pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0)
                                                   #2  0x00000000b78bc077 n/a (libjvm.so)
                                                   #3  0x00000000b7869d07 n/a (libjvm.so)
                                                   #4  0x00000000b786adcb n/a (libjvm.so)
                                                   #5  0x00000000b7a91616 n/a (libjvm.so)
                                                   #6  0x00000000b7a91d2b n/a (libjvm.so)
                                                   #7  0x00000000b7a269b7 n/a (libjvm.so)
                                                   #8  0x00000000b78b2862 n/a (libjvm.so)
                                                   #9  0x00000000b7db9ab2 start_thread (libpthread.so.0)
                                                   #10 0x00000000b7edeb3a __clone (libc.so.6)
                                                   
                                                   Stack trace of thread 479:
                                                   #0  0x00000000b7fcb841 __kernel_vsyscall (linux-gate.so.1)
                                                   #1  0x00000000b7dbfdb0 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                   #2  0x00000000b78bbe85 n/a (libjvm.so)
                                                   #3  0x00000000b7869c59 n/a (libjvm.so)
                                                   #4  0x00000000b786ae4b n/a (libjvm.so)
                                                   #5  0x00000000b767037c JVM_WaitForReferencePendingList (libjvm.so)
                                                   #6  0x00000000b52e88ea Java_java_lang_ref_Reference_waitForReferencePendingList (libjava.so)
                                                   #7  0x00000000a4b23dd1 n/a (n/a)
                                                   #8  0x00000000a4b1fd1c n/a (n/a)
                                                   #9  0x00000000a4b1fd1c n/a (n/a)
                                                   #10 0x00000000a4b197fb n/a (n/a)
                                                   #11 0x00000000b75c6251 n/a (libjvm.so)
                                                   #12 0x00000000b75c4516 n/a (libjvm.so)
                                                   #13 0x00000000b766a67c n/a (libjvm.so)
                                                   #14 0x00000000b7a2b223 n/a (libjvm.so)
                                                   #15 0x00000000b7a2b589 n/a (libjvm.so)
                                                   #16 0x00000000b7a269b7 n/a (libjvm.so)
                                                   #17 0x00000000b78b2862 n/a (libjvm.so)
                                                   #18 0x00000000b7db9ab2 start_thread (libpthread.so.0)
                                                   #19 0x00000000b7edeb3a __clone (libc.so.6)
                                                   
                                                   Stack trace of thread 480:
                                                   #0  0x00000000b7fcb841 __kernel_vsyscall (linux-gate.so.1)
                                                   #1  0x00000000b7dbfdb0 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                   #2  0x00000000b78bbe85 n/a (libjvm.so)
                                                   #3  0x00000000b78881a1 n/a (libjvm.so)
                                                   #4  0x00000000b79e9d22 n/a (libjvm.so)
                                                   #5  0x00000000b766b203 JVM_MonitorWait (libjvm.so)
                                                   #6  0x00000000a4b23dd1 n/a (n/a)
                                                   #7  0x00000000a4b1fd1c n/a (n/a)
                                                   #8  0x00000000a4b1fb20 n/a (n/a)
                                                   #9  0x00000000a4b1fb20 n/a (n/a)
                                                   #10 0x00000000a4b197fb n/a (n/a)
                                                   #11 0x00000000b75c6251 n/a (libjvm.so)
                                                   #12 0x00000000b75c4516 n/a (libjvm.so)
                                                   #13 0x00000000b766a67c n/a (libjvm.so)
                                                   #14 0x00000000b7a2b223 n/a (libjvm.so)
                                                   #15 0x00000000b7a2b589 n/a (libjvm.so)
                                                   #16 0x00000000b7a269b7 n/a (libjvm.so)
                                                   #17 0x00000000b78b2862 n/a (libjvm.so)
                                                   #18 0x00000000b7db9ab2 start_thread (libpthread.so.0)
                                                   #19 0x00000000b7edeb3a __clone (libc.so.6)
                                                   
                                                   Stack trace of thread 481:
                                                   #0  0x00000000b7fcb841 __kernel_vsyscall (linux-gate.so.1)
                                                   #1  0x00000000b7dc2c66 do_futex_wait.constprop.2 (libpthread.so.0)
                                                   #2  0x00000000b7dc2d77 __new_sem_wait_slow.constprop.1 (libpthread.so.0)
                                                   #3  0x00000000b796154b n/a (libjvm.so)
                                                   #4  0x00000000b78ac804 n/a (libjvm.so)
                                                   #5  0x00000000b78a0575 n/a (libjvm.so)
                                                   #6  0x00000000b7a2b223 n/a (libjvm.so)
                                                   #7  0x00000000b7a2b589 n/a (libjvm.so)
                                                   #8  0x00000000b7a269b7 n/a (libjvm.so)
                                                   #9  0x00000000b78b2862 n/a (libjvm.so)
                                                   #10 0x00000000b7db9ab2 start_thread (libpthread.so.0)
                                                   #11 0x00000000b7edeb3a __clone (libc.so.6)
                                                   
                                                   Stack trace of thread 482:
                                                   #0  0x00000000b7fcb841 __kernel_vsyscall (linux-gate.so.1)
                                                   #1  0x00000000b7dc020e pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0)
                                                   #2  0x00000000b78bc077 n/a (libjvm.so)
                                                   #3  0x00000000b7869d07 n/a (libjvm.so)
                                                   #4  0x00000000b786ae4b n/a (libjvm.so)
                                                   #5  0x00000000b73c1cf0 n/a (libjvm.so)
                                                   #6  0x00000000b73c3d97 n/a (libjvm.so)
                                                   #7  0x00000000b7a1e727 n/a (libjvm.so)
                                                   #8  0x00000000b7a2b223 n/a (libjvm.so)
                                                   #9  0x00000000b7a2b589 n/a (libjvm.so)
                                                   #10 0x00000000b7a269b7 n/a (libjvm.so)
                                                   #11 0x00000000b78b2862 n/a (libjvm.so)
                                                   #12 0x00000000b7db9ab2 start_thread (libpthread.so.0)
                                                   #13 0x00000000b7edeb3a __clone (libc.so.6)
                                                   
                                                   Stack trace of thread 483:
                                                   #0  0x00000000b7fcb841 __kernel_vsyscall (linux-gate.so.1)
                                                   #1  0x00000000b7dc020e pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0)
                                                   #2  0x00000000b78bc077 n/a (libjvm.so)
                                                   #3  0x00000000b7869d07 n/a (libjvm.so)
                                                   #4  0x00000000b786ae4b n/a (libjvm.so)
                                                   #5  0x00000000b73c1cf0 n/a (libjvm.so)
                                                   #6  0x00000000b73c3d97 n/a (libjvm.so)
                                                   #7  0x00000000b7a1e727 n/a (libjvm.so)
                                                   #8  0x00000000b7a2b223 n/a (libjvm.so)
                                                   #9  0x00000000b7a2b589 n/a (libjvm.so)
                                                   #10 0x00000000b7a269b7 n/a (libjvm.so)
                                                   #11 0x00000000b78b2862 n/a (libjvm.so)
                                                   #12 0x00000000b7db9ab2 start_thread (libpthread.so.0)
                                                   #13 0x00000000b7edeb3a __clone (libc.so.6)
                                                   
                                                   Stack trace of thread 484:
                                                   #0  0x00000000b7fcb841 __kernel_vsyscall (linux-gate.so.1)
                                                   #1  0x00000000b7dc020e pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0)
                                                   #2  0x00000000b78bc077 n/a (libjvm.so)
                                                   #3  0x00000000b7869d07 n/a (libjvm.so)
                                                   #4  0x00000000b786adcb n/a (libjvm.so)
                                                   #5  0x00000000b79e2a58 n/a (libjvm.so)
                                                   #6  0x00000000b7a1e777 n/a (libjvm.so)
                                                   #7  0x00000000b7a2b223 n/a (libjvm.so)
                                                   #8  0x00000000b7a2b589 n/a (libjvm.so)
                                                   #9  0x00000000b7a269b7 n/a (libjvm.so)
                                                   #10 0x00000000b78b2862 n/a (libjvm.so)
                                                   #11 0x00000000b7db9ab2 start_thread (libpthread.so.0)
                                                   #12 0x00000000b7edeb3a __clone (libc.so.6)
                                                   
                                                   Stack trace of thread 485:
                                                   #0  0x00000000b7fcb841 __kernel_vsyscall (linux-gate.so.1)
                                                   #1  0x00000000b7dbfdb0 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                   #2  0x00000000b78bbe85 n/a (libjvm.so)
                                                   #3  0x00000000b7869c59 n/a (libjvm.so)
                                                   #4  0x00000000b786adcb n/a (libjvm.so)
                                                   #5  0x00000000b7961ce0 n/a (libjvm.so)
                                                   #6  0x00000000b7a2b223 n/a (libjvm.so)
                                                   #7  0x00000000b7a2b589 n/a (libjvm.so)
                                                   #8  0x00000000b7a269b7 n/a (libjvm.so)
                                                   #9  0x00000000b78b2862 n/a (libjvm.so)
                                                   #10 0x00000000b7db9ab2 start_thread (libpthread.so.0)
                                                   #11 0x00000000b7edeb3a __clone (libc.so.6)
                                                   
                                                   Stack trace of thread 486:
                                                   #0  0x00000000b7fcb841 __kernel_vsyscall (linux-gate.so.1)
                                                   #1  0x00000000b7ea50a3 __nanosleep (libc.so.6)
                                                   #2  0x00000000b78af96f n/a (libjvm.so)
                                                   #3  0x00000000b7a2146a n/a (libjvm.so)
                                                   #4  0x00000000b7a269b7 n/a (libjvm.so)
                                                   #5  0x00000000b78b2862 n/a (libjvm.so)
                                                   #6  0x00000000b7db9ab2 start_thread (libpthread.so.0)
                                                   #7  0x00000000b7edeb3a __clone (libc.so.6)
                                                   
                                                   Stack trace of thread 487:
                                                   #0  0x00000000b7fcb841 __kernel_vsyscall (linux-gate.so.1)
                                                   #1  0x00000000b7dc020e pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0)
                                                   #2  0x00000000b78bc077 n/a (libjvm.so)
                                                   #3  0x00000000b7887e21 n/a (libjvm.so)
                                                   #4  0x00000000b79e9d22 n/a (libjvm.so)
                                                   #5  0x00000000b766b203 JVM_MonitorWait (libjvm.so)
                                                   #6  0x00000000a4b23dd1 n/a (n/a)
                                                   #7  0x00000000a4b1fd1c n/a (n/a)
                                                   #8  0x00000000a4b1fb20 n/a (n/a)
                                                   #9  0x00000000a4b1fd51 n/a (n/a)
                                                   #10 0x00000000a4b1fd1c n/a (n/a)
                                                   #11 0x00000000a4b197fb n/a (n/a)
                                                   #12 0x00000000b75c6251 n/a (libjvm.so)
                                                   #13 0x00000000b75c4516 n/a (libjvm.so)
                                                   #14 0x00000000b766a67c n/a (libjvm.so)
                                                   #15 0x00000000b7a2b223 n/a (libjvm.so)
                                                   #16 0x00000000b7a2b589 n/a (libjvm.so)
                                                   #17 0x00000000b7a269b7 n/a (libjvm.so)
                                                   #18 0x00000000b78b2862 n/a (libjvm.so)
                                                   #19 0x00000000b7db9ab2 start_thread (libpthread.so.0)
                                                   #20 0x00000000b7edeb3a __clone (libc.so.6)
                                                   
                                                   Stack trace of thread 489:
                                                   #0  0x00000000b7fcb841 __kernel_vsyscall (linux-gate.so.1)
                                                   #1  0x00000000b7dc020e pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0)
                                                   #2  0x00000000b78bc890 n/a (libjvm.so)
                                                   #3  0x00000000b7a564bc n/a (libjvm.so)
                                                   #4  0x00000000a4b23dd1 n/a (n/a)
                                                   #5  0x00000000a4b1fd1c n/a (n/a)
                                                   #6  0x00000000a4b1fd1c n/a (n/a)
                                                   #7  0x00000000a4b1fb20 n/a (n/a)
                                                   #8  0x00000000a4b1fb20 n/a (n/a)
                                                   #9  0x00000000a4b1fbc9 n/a (n/a)
                                                   #10 0x00000000a4b1fb20 n/a (n/a)
                                                   #11 0x00000000a4b1fd1c n/a (n/a)
                                                   #12 0x00000000a4b1fd51 n/a (n/a)
                                                   #13 0x00000000a4b197fb n/a (n/a)
                                                   #14 0x00000000b75c6251 n/a (libjvm.so)
                                                   #15 0x00000000b75c4516 n/a (libjvm.so)
                                                   #16 0x00000000b766a67c n/a (libjvm.so)
                                                   #17 0x00000000b7a2b223 n/a (libjvm.so)
                                                   #18 0x00000000b7a2b589 n/a (libjvm.so)
                                                   #19 0x00000000b7a269b7 n/a (libjvm.so)
                                                   #20 0x00000000b78b2862 n/a (libjvm.so)
                                                   #21 0x00000000b7db9ab2 start_thread (libpthread.so.0)
                                                   #22 0x00000000b7edeb3a __clone (libc.so.6)
                                                   
                                                   Stack trace of thread 490:
                                                   #0  0x00000000b7fcb841 __kernel_vsyscall (linux-gate.so.1)
                                                   #1  0x00000000b7dbfdb0 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                   #2  0x00000000b78bbe85 n/a (libjvm.so)
                                                   #3  0x00000000b78881a1 n/a (libjvm.so)
                                                   #4  0x00000000b79e9d22 n/a (libjvm.so)
                                                   #5  0x00000000b766b203 JVM_MonitorWait (libjvm.so)
                                                   #6  0x00000000a4b23dd1 n/a (n/a)
                                                   #7  0x00000000a4b1fd1c n/a (n/a)
                                                   #8  0x00000000a4b1fb20 n/a (n/a)
                                                   #9  0x00000000a4b1fb20 n/a (n/a)
                                                   #10 0x00000000a4b1fd51 n/a (n/a)
                                                   #11 0x00000000a4b197fb n/a (n/a)
                                                   #12 0x00000000b75c6251 n/a (libjvm.so)
                                                   #13 0x00000000b75c4516 n/a (libjvm.so)
                                                   #14 0x00000000b766a67c n/a (libjvm.so)
                                                   #15 0x00000000b7a2b223 n/a (libjvm.so)
                                                   #16 0x00000000b7a2b589 n/a (libjvm.so)
                                                   #17 0x00000000b7a269b7 n/a (libjvm.so)
                                                   #18 0x00000000b78b2862 n/a (libjvm.so)
                                                   #19 0x00000000b7db9ab2 start_thread (libpthread.so.0)
                                                   #20 0x00000000b7edeb3a __clone (libc.so.6)
                                                   
                                                   Stack trace of thread 491:
                                                   #0  0x00000000b7fcb841 __kernel_vsyscall (linux-gate.so.1)
                                                   #1  0x00000000b7ed50c3 __poll (libc.so.6)
                                                   #2  0x000000008bcc68ee Java_sun_awt_X11_XToolkit_waitForEvents (libawt_xawt.so)
                                                   #3  0x00000000a4b23dd1 n/a (n/a)
                                                   #4  0x00000000a4b1fd1c n/a (n/a)
                                                   #5  0x00000000a4b1fd1c n/a (n/a)
                                                   #6  0x00000000a4b1fd51 n/a (n/a)
                                                   #7  0x00000000a4b197fb n/a (n/a)
                                                   #8  0x00000000b75c6251 n/a (libjvm.so)
                                                   #9  0x00000000b75c4516 n/a (libjvm.so)
                                                   #10 0x00000000b766a67c n/a (libjvm.so)
                                                   #11 0x00000000b7a2b223 n/a (libjvm.so)
                                                   #12 0x00000000b7a2b589 n/a (libjvm.so)
                                                   #13 0x00000000b7a269b7 n/a (libjvm.so)
                                                   #14 0x00000000b78b2862 n/a (libjvm.so)
                                                   #15 0x00000000b7db9ab2 start_thread (libpthread.so.0)
                                                   #16 0x00000000b7edeb3a __clone (libc.so.6)
                                                   
                                                   Stack trace of thread 492:
                                                   #0  0x00000000b7fcb841 __kernel_vsyscall (linux-gate.so.1)
                                                   #1  0x00000000b7dc020e pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0)
                                                   #2  0x00000000b78bc077 n/a (libjvm.so)
                                                   #3  0x00000000b7869d07 n/a (libjvm.so)
                                                   #4  0x00000000b786ae4b n/a (libjvm.so)
                                                   #5  0x00000000b73c1cf0 n/a (libjvm.so)
                                                   #6  0x00000000b73c3d97 n/a (libjvm.so)
                                                   #7  0x00000000b7a1e727 n/a (libjvm.so)
                                                   #8  0x00000000b7a2b223 n/a (libjvm.so)
                                                   #9  0x00000000b7a2b589 n/a (libjvm.so)
                                                   #10 0x00000000b7a269b7 n/a (libjvm.so)
                                                   #11 0x00000000b78b2862 n/a (libjvm.so)
                                                   #12 0x00000000b7db9ab2 start_thread (libpthread.so.0)
                                                   #13 0x00000000b7edeb3a __clone (libc.so.6)

And is the error report:

hs_err_pid472.log

Offline

#8 2019-06-19 04:56:01

andreas_baumann
Administrator
From: Zurich, Switzerland
Registered: 2017-08-10
Posts: 815
Website

Re: Problem running arduino and java

Ok, this would indicate, that pentium4 and glibc/java is broken in any version.

Not pentium4-optimizing a central library like glibc will really harm performance
of the system thus rendering the idea of pentium optimization not so attractive.

There must be a way to get both.

Offline

#9 2019-06-19 05:03:55

andreas_baumann
Administrator
From: Zurich, Switzerland
Registered: 2017-08-10
Posts: 815
Website

Re: Problem running arduino and java

My current workaround is to remain on i686 on my eeepc for having a running Java/Arduino IDE.
You can also just install the i686 version of glibc on a pentium4 system.

Side node: pentium4 can build rust thus firefox/thunderbird, i686 has a non-compiling rust currently.
Currently not everything works everywhere.

Offline

Board footer

Powered by FluxBB