Frequent Java runtime crashes when compiling GWT code

39 views
Skip to first unread message

mmo

unread,
Aug 5, 2021, 11:28:39 AMAug 5
to GWT Users
We are seeing frequent Java runtime crashes (and I *really* mean often: about 2 in 3 compilations crash) while building our GWT-based application.

I haven't been able to figure out, precisely *what* is triggering this (see the log-snippet below). It happens more or less right at the beginning of that goal and from what I read there it seems to be in the Maven plugin that jars up our module with the GWT stuff in it.

Are others seeing this or similar Java runtime crashes as well? I recently upgraded the JDK that our CI-environment is using (we are bound to Java-8 for the time being) hoping this would improve the situation, but its still the same and it getting mighty tedious! 

Any ideas or suggestions?

Just in case: it's NOT a HW-issue! The build environment is running in an OpenShift-based virtual environment and these crashes happen for *this* project only. We have other GWT-based applications and these build fine in the same environment. I have seen similar crashes before (but really *very* seldom only). But with *this* projects it's getting out-of-hand lately. 


...
16:57:22 [INFO] 16:57:22 [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ module-gwt-jar --- 
16:57:22 *** Error in `/tmp/tools/hudson.model.JDK/jdk8u292/jdk8u292-b10/bin/java': realloc(): invalid next size: 0x00007fabb8829570 *** 
16:57:22 *** Error in `/tmp/tools/hudson.model.JDK/jdk8u292/jdk8u292-b10/bin/java': realloc(): invalid next size: 0x00007fabb8829570 *** 
16:57:22 ======= Backtrace: ========= 
16:57:22 ======= Backtrace: ========= 
16:57:22 /lib64/libc.so.6(+0x7f474)[0x7fac2976c474] 
16:57:22 /lib64/libc.so.6(+0x7f474)[0x7fac2976c474] 
16:57:22 /lib64/libc.so.6(+0x84861)[0x7fac29771861] 
16:57:22 /lib64/libc.so.6(+0x84861)[0x7fac29771861] 
16:57:22 /lib64/libc.so.6(realloc+0x1d2)[0x7fac29772e12] 
16:57:22 /lib64/libc.so.6(realloc+0x1d2)[0x7fac29772e12] 
16:57:22 /lib64/libnss_wrapper.so(+0x388f)[0x7fac2a0f688f] 
16:57:22 /lib64/libnss_wrapper.so(+0x388f)[0x7fac2a0f688f] 
16:57:22 /lib64/libnss_wrapper.so(+0x58e9)[0x7fac2a0f88e9] 
16:57:22 /lib64/libnss_wrapper.so(+0x58e9)[0x7fac2a0f88e9] 
16:57:22 /lib64/libnss_wrapper.so(+0x5dcd)[0x7fac2a0f8dcd] 
16:57:22 /lib64/libnss_wrapper.so(+0x5dcd)[0x7fac2a0f8dcd] 
16:57:22 /lib64/libnss_wrapper.so(+0x5edb)[0x7fac2a0f8edb] 
16:57:22 /lib64/libnss_wrapper.so(+0x5edb)[0x7fac2a0f8edb] 
16:57:22 /lib64/libnss_wrapper.so(getgrgid_r+0x59)[0x7fac2a0fac99] 
16:57:22 /lib64/libnss_wrapper.so(getgrgid_r+0x59)[0x7fac2a0fac99] 
16:57:22 /tmp/tools/hudson.model.JDK/jdk8u292/jdk8u292-b10/jre/lib/amd64/libnio.so(Java_sun_nio_fs_UnixNativeDispatcher_getgrgid+0x8e)[0x7fac0b7f529e] 
16:57:22 /tmp/tools/hudson.model.JDK/jdk8u292/jdk8u292-b10/jre/lib/amd64/libnio.so(Java_sun_nio_fs_UnixNativeDispatcher_getgrgid+0x8e)[0x7fac0b7f529e] 
16:57:22 [0x7fac149c0087] 16:57:22 [0x7fac149c0087] 
16:57:22 ======= Memory map: ======== 
16:57:22 ======= Memory map: ======== 
16:57:22 e0000000-e3f00000 rw-p 00000000 00:00 0 
16:57:22 e3f00000-f5580000 ---p 00000000 00:00 0 
16:57:22 f5580000-100000000 rw-p 00000000 00:00 0 
16:57:22 100000000-100360000 rw-p 00000000 00:00 0 
16:57:22 100360000-140000000 ---p 00000000 00:00 0
<rest of dump details omitted here for brevity>

Michael Conrad

unread,
Aug 5, 2021, 12:14:25 PMAug 5
to google-we...@googlegroups.com
Can you try testing with adoptopenjdk?

I've had issues with stock openjdk before with odd crashes that don't happen with adoptopenjdk.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/2fe00c4c-77a1-46b9-988a-c99724b9fb9cn%40googlegroups.com.

Juan Pablo Gardella

unread,
Aug 5, 2021, 12:29:39 PMAug 5
to GWT Users
I had issues and solved after switching to old java 8 oracle version v1xx

mmo

unread,
Aug 6, 2021, 10:14:52 AMAug 6
to GWT Users
On Thursday, August 5, 2021 at 6:14:25 PM UTC+2 m.conr...@gmail.com wrote:
Can you try testing with adoptopenjdk?

I've had issues with stock openjdk before with odd crashes that don't happen with adoptopenjdk.
 
I *am* using AdoptOpenJDK (jdk8u292-b10 )
 

Michael Conrad

unread,
Aug 6, 2021, 3:49:21 PMAug 6
to google-we...@googlegroups.com
*ouch*

I'm not sure where to proceed from here without being able to recreate the issue.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-tool...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages