I'm not sure if this is the same issue. But while running BitBucket we
got a segfault about once a day (and had to restart bitbucket), until we
figured out it was coming from snoopy code and disabled snoopy on the
host.
The relevant part of the backtrace:
#1236 0x00007fa0e54ac746 in strlen () at ../sysdeps/x86_64/strlen.S:106
#1237 0x00007fa0e59fd0fd in snoopy_datasource_cmdline () at /lib/snoopy.so
#1238 0x00007fa0e59fcdc4 in snoopy_message_generateFromFormat () at
/lib/snoopy.so
#1239 0x00007fa0e59fcc6b in snoopy_log_syscall () at /lib/snoopy.so
#1240 0x00007fa0e59fca45 in execve () at /lib/snoopy.so
#1241 0x00007fa0e2fd8284 in execve_with_shell_fallback (mode=<optimized out>,
file=0x7fa081e75d60 "/usr/bin/git", argv=0x7fa080bfd5e0, envp=0x7fa081316ad0)
at
/build/openjdk-8-W2Qe27/openjdk-8-8u151-b12/src/jdk/src/solaris/native/java/lang/childproc.c:213
#1242 0x00007fa0e2fd86a9 in childProcess (arg=arg@entry=0x7fa0808e4ee0) at
/build/openjdk-8-W2Qe27/openjdk-8-8u151-b12/src/jdk/src/solaris/native/java/lang/childproc.c:365
#1243 0x00007fa0e2fd5114 in vforkChild (c=c@entry=0x7fa0808e4ee0) at
/build/openjdk-8-W2Qe27/openjdk-8-8u151-b12/src/jdk/src/solaris/native/java/lang/UNIXProcess_md.c:434
#1244 0x00007fa0e2fd580d in Java_java_lang_UNIXProcess_forkAndExec
(env=0x7fa09c73f9e0, process=<optimized out>, helperpath=<optimized out>,
c=0x7fa0808e4ee0)
at
/build/openjdk-8-W2Qe27/openjdk-8-8u151-b12/src/jdk/src/solaris/native/java/lang/UNIXProcess_md.c:552
#1245 0x00007fa0e2fd580d in Java_java_lang_UNIXProcess_forkAndExec
(env=0x7fa09c73f9e0, process=<optimized out>, mode=3,
helperpath=0x7fa03276cef0, prog=0x7fa03276cef8, argBlock=0x7fa03276cf00,
argc=2, envBlock=0x7fa03276cf30, envc=21, dir=0x7fa03276cf40,
std_fds=0x7fa03276cf48, redirectErrorStream=0 '\000') at
/build/openjdk-8-W2Qe27/openjdk-8-8u151-b12/src/jdk/src/solaris/native/java/lang/UNIXProcess_md.c:645
#1246 0x00007fa0cf948ac9 in [native offset=0x149]
java.lang.UNIXProcess.forkAndExec(int,byte,byte,byte,int,byte,int,byte,int,boolean)
() at java/lang/UNIXProcess.java
#1247 0x00007fa0d43e3394 in [inlined]
java.lang.StringCoding.encode(char,int,int) () at
java/lang/StringCoding.java:388
0x00007fa0d43e3394 in [inlined] java.lang.String.getBytes() () at
java/lang/String.java:958
0x00007fa0d43e3394 in [inlined]
java.lang.ProcessImpl.toCString(java.lang.String) () at
java/lang/ProcessImpl.java:51
0x00007fa0d43e3394 in [compiled offset=0x834]
java.lang.ProcessImpl.start(java.lang.String,java.util.Map,java.lang.String,java.lang.ProcessBuilder$Redirect,boolean)
() at java/lang/ProcessImpl.java:134
#1248 0x00007fa0d3745548 in [inlined]
com.atlassian.utils.process.ExternalProcessImpl.createDefaultProcess(java.util.List,java.util.Map,java.io.File)
() at com/atlassian/utils/process/ExternalProcessImpl.java:376
0x00007fa0d3745548 in [compiled offset=0x7c8]
com.atlassian.utils.process.ExternalProcessImpl.createProcess(java.util.List,java.util.Map,java.io.File)
() at com/atlassian/utils/process/ExternalProcessImpl.java:387
#1249 0x00007fa0d52478cc in [inlined]
com.atlassian.utils.process.ExternalProcessBuilder.build() () at
com/atlassian/utils/process/ExternalProcessBuilder.java:55
May be related to https://github.com/a2o/snoopy/issues/46, but I think that the
commit that supposedly fixed that is on version 2.3.1.
** Bug watch added: github.com/a2o/snoopy/issues #46
https://github.com/a2o/snoopy/issues/46
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1698090
Title:
Segmentation fault
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snoopy/+bug/1698090/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs