Created
May 19, 2015 12:50
-
-
Save UnixJunkie/1fda849e8f8c0e1834ea to your computer and use it in GitHub Desktop.
strace ./processor.native -v plugin/testsuite/d0095.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
execve("./processor.native", ["./processor.native", "-v", "plugin/testsuite/d0095.c"], [/* 76 vars */]) = 0 | |
brk(0) = 0x920000 | |
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) | |
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fd053408000 | |
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) | |
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 | |
fstat(3, {st_mode=S_IFREG|0644, st_size=140982, ...}) = 0 | |
mmap(NULL, 140982, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fd0533e5000 | |
close(3) = 0 | |
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) | |
open("/lib/x86_64-linux-gnu/libm.so.6", O_RDONLY|O_CLOEXEC) = 3 | |
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20V\0\0\0\0\0\0"..., 832) = 832 | |
fstat(3, {st_mode=S_IFREG|0644, st_size=1071552, ...}) = 0 | |
mmap(NULL, 3166568, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd052ee2000 | |
mprotect(0x7fd052fe7000, 2093056, PROT_NONE) = 0 | |
mmap(0x7fd0531e6000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x104000) = 0x7fd0531e6000 | |
close(3) = 0 | |
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) | |
open("/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3 | |
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\16\0\0\0\0\0\0"..., 832) = 832 | |
fstat(3, {st_mode=S_IFREG|0644, st_size=14664, ...}) = 0 | |
mmap(NULL, 2109744, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd052cde000 | |
mprotect(0x7fd052ce1000, 2093056, PROT_NONE) = 0 | |
mmap(0x7fd052ee0000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fd052ee0000 | |
close(3) = 0 | |
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) | |
open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 | |
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\37\2\0\0\0\0\0"..., 832) = 832 | |
fstat(3, {st_mode=S_IFREG|0755, st_size=1840928, ...}) = 0 | |
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fd0533e4000 | |
mmap(NULL, 3949248, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd052919000 | |
mprotect(0x7fd052ad4000, 2093056, PROT_NONE) = 0 | |
mmap(0x7fd052cd3000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1ba000) = 0x7fd052cd3000 | |
mmap(0x7fd052cd9000, 17088, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fd052cd9000 | |
close(3) = 0 | |
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fd0533e2000 | |
arch_prctl(ARCH_SET_FS, 0x7fd0533e2740) = 0 | |
mprotect(0x7fd052cd3000, 16384, PROT_READ) = 0 | |
mprotect(0x7fd052ee0000, 4096, PROT_READ) = 0 | |
mprotect(0x7fd0531e6000, 4096, PROT_READ) = 0 | |
mprotect(0x6b2000, 4096, PROT_READ) = 0 | |
mprotect(0x7fd05340a000, 4096, PROT_READ) = 0 | |
munmap(0x7fd0533e5000, 140982) = 0 | |
brk(0) = 0x920000 | |
brk(0x941000) = 0x941000 | |
mmap(NULL, 2105344, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fd052717000 | |
mmap(NULL, 3940352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fd052355000 | |
sigaltstack({ss_sp=0x70ce80, ss_flags=0, ss_size=8192}, NULL) = 0 | |
rt_sigaction(SIGSEGV, {0x47db73, [], SA_RESTORER|SA_STACK|SA_NODEFER|SA_SIGINFO, 0x7fd05294fd40}, NULL, 8) = 0 | |
readlink("/proc/self/exe", "/home/berenger/src/clangml-relea"..., 256) = 68 | |
stat("/home/berenger/src/clangml-released/_build/consumer/processor.native", {st_mode=S_IFREG|0775, st_size=1532371, ...}) = 0 | |
lseek(0, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek) | |
brk(0x96d000) = 0x96d000 | |
lseek(1, 0, SEEK_CUR) = 3817 | |
lseek(2, 0, SEEK_CUR) = 3864 | |
mmap(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fd0533e7000 | |
pipe([3, 4]) = 0 | |
brk(0x98f000) = 0x98f000 | |
lseek(3, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek) | |
fcntl(3, F_GETFD) = 0 | |
fcntl(3, F_SETFD, FD_CLOEXEC) = 0 | |
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fd0533e2a10) = 17296 | |
close(4) = 0 | |
read(3, ocamlfind: Package `clangml' not found | |
"", 65536) = 0 | |
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=17296, si_status=2, si_utime=0, si_stime=0} --- | |
close(3) = 0 | |
wait4(17296, [{WIFEXITED(s) && WEXITSTATUS(s) == 2}], 0, NULL) = 17296 | |
access("clangml.dylib", R_OK) = -1 ENOENT (No such file or directory) | |
access("_build/clangml.dylib", R_OK) = 0 | |
pipe([3, 4]) = 0 | |
pipe([5, 6]) = 0 | |
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fd0533e2a10) = 17298 | |
lseek(3, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek) | |
lseek(6, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek) | |
close(5) = 0 | |
close(4) = 0 | |
brk(0x9b1000) = 0x9b1000 | |
brk(0x9af000) = 0x9af000 | |
write(6, "\204\225\246\276\0\0\0002\0\0\0\2\0\0\0\17\0\0\0\t\220\t/$Id: 52cb"..., 70) = 70 | |
read(3, Ubuntu clang version 3.4-1ubuntu3 (tags/RELEASE_34/final) (based on LLVM 3.4) | |
Target: x86_64-pc-linux-gnu | |
Thread model: posix | |
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.6 | |
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.6.4 | |
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.8 | |
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.8.2 | |
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.9 | |
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.9.1 | |
Selected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.8 | |
"/usr/bin/clang" -cc1 -triple x86_64-pc-linux-gnu -fsyntax-only -disable-free -disable-llvm-verifier -main-file-name d0095.c -mrelocation-model static -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -target-linker-version 2.24 -v -resource-dir /usr/bin/../lib/clang/3.4 -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/clang/3.4/include -internal-externc-isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -internal-externc-isystem /usr/include/x86_64-linux-gnu -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdebug-compilation-dir /home/berenger/src/clangml-released -ferror-limit 19 -fmessage-length 0 -mstackrealign -fobjc-runtime=gcc -fdiagnostics-show-option -vectorize-slp -load _build/clangml.dylib -analyze -analyzer-checker=external.OCaml -x c plugin/testsuite/d0095.c | |
clang -cc1 version 3.4 based upon LLVM 3.4 default target x86_64-pc-linux-gnu | |
ignoring nonexistent directory "/include" | |
#include "..." search starts here: | |
#include <...> search starts here: | |
/usr/local/include | |
/usr/bin/../lib/clang/3.4/include | |
/usr/lib/gcc/x86_64-linux-gnu/4.8/include | |
/usr/include/x86_64-linux-gnu | |
/usr/include | |
End of search list. | |
plugin/testsuite/d0095.c:7:5: warning: only one parameter on 'main' declaration [-Wmain] | |
int main(int argc) { | |
^ | |
plugin/testsuite/d0095.c:11:40: warning: expression result unused [-Wunused-value] | |
(argc ? ((void*)0) : a ) -> x; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ | |
plugin/testsuite/d0095.c:12:40: warning: expression result unused [-Wunused-value] | |
(argc ? a : ((void*)0) ) -> x; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ | |
clang: error: unable to execute command: Segmentation fault (core dumped) | |
clang: error: clang frontend command failed due to signal (use -v to see invocation) | |
Ubuntu clang version 3.4-1ubuntu3 (tags/RELEASE_34/final) (based on LLVM 3.4) | |
Target: x86_64-pc-linux-gnu | |
Thread model: posix | |
clang: note: diagnostic msg: PLEASE submit a bug report to http://bugs.debian.org/ and include the crash backtrace, preprocessed source, and associated run script. | |
clang: error: unable to execute command: Segmentation fault (core dumped) | |
clang: note: diagnostic msg: Error generating preprocessed source(s). | |
"", 65536) = 0 | |
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=17298, si_status=254, si_utime=1, si_stime=0} --- | |
close(3) = 0 | |
close(6) = 0 | |
wait4(17298, [{WIFEXITED(s) && WEXITSTATUS(s) == 254}], 0, NULL) = 17298 | |
write(1, "FBR find plugin\nFBR plugin found"..., 49FBR find plugin | |
FBR plugin found | |
FBR son process | |
) = 49 | |
open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3 | |
fstat(3, {st_mode=S_IFREG|0644, st_size=2919792, ...}) = 0 | |
mmap(NULL, 2919792, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fd05208c000 | |
close(3) = 0 | |
write(2, "Fatal error: exception Failure(\""..., 260Fatal error: exception Failure("clang sub-process exited with status 254") | |
Raised at file "pervasives.ml", line 30, characters 22-33 | |
Called from file "util/prelude.ml", line 7, characters 6-14 | |
Called from file "consumer/processor.ml", line 21, characters 4-32 | |
) = 260 | |
exit_group(2) = ? | |
+++ exited with 2 +++ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment