JVM crashes due to Snoopy library

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Problem

The JVM crashes, and hs_err_pid*.log files report the crash happens inside native code:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 Stack: [0x00007ff4f078e000,0x00007ff4f088f000], sp=0x00007ff4f088b3e8, free space=1012k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [libc.so.6+0x1633a5] __strlen_sse2_pminub+0x35 Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) J 23116 java.lang.UNIXProcess.forkAndExec(I[B[B[BI[BI[B[IZ)I (0 bytes) @ 0x00007ff54d8d008f [0x00007ff54d8cffc0+0xcf] J 30421 C2 java.lang.ProcessImpl.start([Ljava/lang/String;Ljava/util/Map;Ljava/lang/String;[Ljava/lang/ProcessBuilder$Redirect;Z)Ljava/lang/Process; (634 bytes) @ 0x00007ff55169b968 [0x00007ff55169b1a0+0x7c8] J 31161 C2 com.atlassian.utils.process.ExternalProcessImpl.start()V (108 bytes) @ 0x00007ff550a47df4 [0x00007ff550a46dc0+0x1034] J 31163 C2 com.atlassian.fisheye.dvcs.client.DvcsContext.executeCommand(Lcom/atlassian/fisheye/dvcs/client/DvcsCommandBuilder;Lcom/atlassian/utils/process/PluggableProcessHandler;)V (30 bytes) @ 0x00007ff5510f6ff4 [0x00007ff5510f6940+0x6b4] J 31403 C2 com.atlassian.fisheye.dvcs.client.DvcsContext.executeCommand(Lcom/atlassian/fisheye/dvcs/client/DvcsCommandBuilder;Lcom/atlassian/utils/process/OutputHandler;)V (8 bytes) @ 0x00007ff5501d772c [0x00007ff5501d7460+0x2cc] J 30423 C2 com.atlassian.fisheye.git.client.GitChangeParser.processLine(ILjava/lang/String;)V (274 bytes) @ 0x00007ff5518580b8 [0x00007ff551855760+0x2958] J 22047 C2 com.atlassian.utils.process.LineOutputHandler.process(Lcom/atlassian/utils/process/LineReadable;)V (86 bytes) @ 0x00007ff55049d014 [0x00007ff55049ce40+0x1d4] J 31428 C2 com.atlassian.fisheye.dvcs.client.DvcsLineOutputHandler.process(Ljava/io/InputStream;)V (95 bytes) @ 0x00007ff55056d3f8 [0x00007ff55056caa0+0x958] J 30656 C2 com.atlassian.utils.process.ExternalProcessImpl$3.doTask()V (39 bytes) @ 0x00007ff54f8d99e8 [0x00007ff54f8d98c0+0x128] J 26125 C2 com.atlassian.utils.process.LatchedRunnable.run()V (64 bytes) @ 0x00007ff550bc5fe8 [0x00007ff550bc5f60+0x88] j java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V+95 j java.util.concurrent.ThreadPoolExecutor$Worker.run()V+5 j java.lang.Thread.run()V+11 v ~StubRoutines::call_stub
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 R14=0x00007fae5d181a80: snoopy_inputdatastorage_data+0 in /usr/local/lib/libsnoopy.so at 0x00007fae5cf76000 R15=0x0000000000000004 is an unknown value Stack: [0x00007fade9fab000,0x00007fadea0ac000], sp=0x00007fadea0a5598, free space=1001k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [libc.so.6+0x163e31] __strlen_sse2_pminub+0x11 Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) J 41210 java.lang.UNIXProcess.forkAndExec(I[B[B[BI[BI[B[IZ)I (0 bytes) @ 0x00007fae4b5990cf [0x00007fae4b599000+0xcf] J 42453 C1 java.lang.UNIXProcess.<init>([B[BI[BI[B[IZ)V (63 bytes) @ 0x00007fae49d8b834 [0x00007fae49d8b600+0x234] J 40964 C1 java.lang.ProcessImpl.start([Ljava/lang/String;Ljava/util/Map;Ljava/lang/String;[Ljava/lang/ProcessBuilder$Redirect;Z)Ljava/lang/Process; (634 bytes) @ 0x00007fae4b2b5674 [0x00007fae4b2b3d40+0x1934] J 39334 C1 java.lang.ProcessBuilder.start()Ljava/lang/Process; (303 bytes) @ 0x00007fae4af30d34 [0x00007fae4af302a0+0xa94] J 39355 C1 com.atlassian.utils.process.ExternalProcessImpl.createDefaultProcess(Ljava/util/List;Ljava/util/Map;Ljava/io/File;)Ljava/lang/Process; (50 bytes) @ 0x00007fae4af28aac [0x00007fae4af281e0+0x8cc] J 42452 C1 com.atlassian.utils.process.ExternalProcessImpl.createProcess(Ljava/util/List;Ljava/util/Map;Ljava/io/File;)Ljava/lang/Process; (38 bytes) @ 0x00007fae48ce5784 [0x00007fae48ce52a0+0x4e4] J 40963 C1 com.atlassian.utils.process.ExternalProcessImpl.start()V (108 bytes) @ 0x00007fae49da773c [0x00007fae49da75e0+0x15c] J 39320 C1 com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand(Lcom/atlassian/bamboo/plugins/git/GitCommandBuilder;Ljava/io/File;Lcom/atlassian/bamboo/plugins/git/GitCommandProcessor$GitOutputHandler ;Ljava/lang/String;)I (538 bytes) @ 0x00007fae4af1d87c [0x00007fae4af1afe0+0x289c] J 42450 C1 com.atlassian.bamboo.plugins.git.GitCommandProcessor.getRemoteRefs(Lcom/atlassian/bamboo/plugins/git/GitRepositoryAccessData;)Lcom/google/common/collect/ImmutableMap; (130 bytes) @ 0x00007fae4b6a066c [0x00007fae4b69ed80+0x18ec]

The bottom of the stack differs, but the common top part for all the logs is:

1 2 C [libc.so.6+0x1633a5] __strlen_sse2_pminub+0x} J 23116 java.lang.UNIXProcess.forkAndExec(I[B[B[BI[BI[B[IZ)I (0 bytes) @ 0x00007ff54d8d008f [0x00007ff54d8cffc0+0xcf]

Looking at Dynamic Libraries section of log files the only thing that stands out is:

1 7fc77c898000-7fc77c8a3000 r-xp 00000000 ca:01 16512 /usr/lib64/libsnoopy.so.0.0.0

At this point, the problem is known to impact the following products:

  • Bamboo

  • Fisheye/Crucible

Cause

That library is from Snoopy Logger, which is a tool that logs all commands executed. This library has a bug that causes JVM crashes.

Resolution

Disable, Remove or Update the snoopy library where required.

Updated on April 17, 2025

Still need help?

The Atlassian Community is here for you.