Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 29 by
mathieu....@gmail.com: Traceback when seeing new process
syscall (vfork processed ? )
http://code.google.com/p/fabricate/issues/detail?id=29
Hello,
I get the following traceback on a quite simple fabric file.
Strangely enough, on the corresponding strace file, I get an "open" line
before the "execve" one…
Traceback (most recent call last):
File "./fabric.py", line 22, in <module>
main()
File "/home/clabaut/c478/c478_traducteur_java_hgsvn/traducteurBversCJavaTest/validation/tests/fabricate.py",
line 1402, in main
this_status = eval(action, globals_dict)
File "<string>", line 1, in <module>
File "./fabric.py", line 8, in build
gen_source(1, s)
File "./fabric.py", line 17, in gen_source
run(VALIDSH, str(chain), '--gen', scenario)
File "/home/clabaut/c478/c478_traducteur_java_hgsvn/traducteurBversCJavaTest/validation/tests/fabricate.py",
line 1233, in run
return default_builder.run(*args, **kwargs)
File "/home/clabaut/c478/c478_traducteur_java_hgsvn/traducteurBversCJavaTest/validation/tests/fabricate.py",
line 998, in run
deps, outputs = self.runner(*arglist, **kwargs)
File "/home/clabaut/c478/c478_traducteur_java_hgsvn/traducteurBversCJavaTest/validation/tests/fabricate.py",
line 689, in __call__
return self._runner(*args, **kwargs)
File "/home/clabaut/c478/c478_traducteur_java_hgsvn/traducteurBversCJavaTest/validation/tests/fabricate.py",
line 644, in __call__
status, deps, outputs = self._do_strace(args, kwargs, outfile, outname)
File "/home/clabaut/c478/c478_traducteur_java_hgsvn/traducteurBversCJavaTest/validation/tests/fabricate.py",
line 585, in _do_strace
cwd = processes[pid].cwd
KeyError: '15151'
Here is the relevant portion of the strace file (with first lines where
15151 pid appears)
15138 vfork( <unfinished ...>
15151 open("/proc/self/fd", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
15151
execve("/home/clabaut/c478/c478_traducteur_java_hgsvn/traducteurBversCJavaTest/validation/bin/bpp.sh",
["bpp.sh", "/home/clabaut/c478/c478_traducte"..., "/tmp/File2606627264771462039.tmp"],
[/* 67 vars */]) = -1 ENOENT (No such file or directory)
15151
execve("/home/clabaut/c478/c478_traducteur_java_hgsvn/traducteurBversCJavaTest/validation/runtime/bpp/bpp.sh",
["bpp.sh", "/home/clabaut/c478/c478_traducte"..., "/tmp/File2606627264771462039.tmp"],
[/* 67 vars */]) = -1 ENOEXEC (Exec format error)
15151 execve("/bin/sh",
["/bin/sh", "/home/clabaut/c478/c478_traducte"..., "/home/clabaut/c478/c478_traducte"..., "/tmp/File2606627264771462039.tmp"],
[/* 67 vars */] <unfinished ...>
15138 <... vfork resumed> ) = 15151
15151 <... execve resumed> ) = 0
15151 open("/etc/ld.so.cache", O_RDONLY) = 3
15151 open("/lib/libreadline.so.6", O_RDONLY) = 3
15151 open("/lib/libncursesw.so.5", O_RDONLY) = 3
15151 open("/lib/libdl.so.2", O_RDONLY) = 3
15151 open("/lib/libc.so.6", O_RDONLY) = 3
15138 clone(child_stack=0x7f10de33aff0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|
CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|
CLONE_CHILD_CLEARTID, parent_tidptr=0x7f10de33b9d0, tls=0x7f10de33b700,
child_tidptr=0x7f10de33b9d0) = 15152
15151 open("/dev/tty", O_RDWR|O_NONBLOCK) = 3
15151 open("/usr/lib/locale/locale-archive", O_RDONLY) = 3
15151 open("/proc/meminfo", O_RDONLY) = 3
15151 open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = -1 ENOENT (No
such file or directory)
15151 open("/usr/lib/gconv/gconv-modules", O_RDONLY) = 3
15151
open("/home/clabaut/c478/c478_traducteur_java_hgsvn/traducteurBversCJavaTest/validation/runtime/bpp/bpp.sh",
O_RDONLY) = 3
15151 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|
SIGCHLD, child_tidptr=0x7f8d2392c9d0) = 15153
15153 execve("/bin/uname", ["uname", "-s"], [/* 66 vars */]) = 0
15153 open("/etc/ld.so.cache", O_RDONLY) = 3
15153 open("/lib/libc.so.6", O_RDONLY) = 3
15153 open("/usr/lib/locale/locale-archive", O_RDONLY) = 3
15153 exit_group(0) = ?
15151 --- {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=15153, si_status=0,
si_utime=0, si_stime=0} (Child exited) ---
15151 open("/tmp/ttt", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
15151 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|
SIGCHLD, child_tidptr=0x7f8d2392c9d0) = 15155
15151 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|
SIGCHLD, child_tidptr=0x7f8d2392c9d0) = 15156
15151 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|
SIGCHLD, child_tidptr=0x7f8d2392c9d0) = 15157
15156 execve("/lib/cpp",
["/lib/cpp", "-traditional", "-P", "-C", "-undef"], [/* 66 vars */]) = 0
15156 open("/etc/ld.so.cache", O_RDONLY <unfinished ...>
15155
execve("/home/clabaut/c478/c478_traducteur_java_hgsvn/traducteurBversCJavaTest/validation/runtime/bpp/bpp",
["bpp", "/home/clabaut/c478/c478_traducte"...], [/* 66 vars */]
<unfinished ...>
15156 <... open resumed> ) = 3
15156 open("/lib/libc.so.6", O_RDONLY) = 3
15155 <... execve resumed> ) = 0
15155 open("/etc/ld.so.cache", O_RDONLY <unfinished ...>
15157 open("/tmp/File2606627264771462039.tmp", O_WRONLY|O_CREAT|O_TRUNC,
0666) = 3
) = 0
15157 execve("/bin/sed",
["sed", "-e", "s,\\\\#,#,g", "-e", "s,\\\\\\\\,\\\\,g"], [/* 66 vars */]
<unfinished ...>
15155 open("/lib32/libc.so.6", O_RDONLY) = 3
15156 open("/usr/lib/locale/locale-archive", O_RDONLY) = 3
15157 <... execve resumed> ) = 0
15156 open("/usr/share/locale/locale.alias", O_RDONLY) = 3
15157 open("/etc/ld.so.cache", O_RDONLY) = 3
) = 0
15157 open("/lib/libacl.so.1", O_RDONLY) = 3
15156 open("/usr/share/locale/fr_FR.utf8/LC_MESSAGES/gcc.mo", O_RDONLY) =
-1 ENOENT (No such file or directory)
15156 open("/usr/share/locale/fr_FR/LC_MESSAGES/gcc.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
15156 open("/usr/share/locale/fr.utf8/LC_MESSAGES/gcc.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
15156 open("/usr/share/locale/fr/LC_MESSAGES/gcc.mo", O_RDONLY) = 3
15157 open("/lib/libc.so.6", O_RDONLY) = 3
15155
open("/home/clabaut/c478/c478_traducteur_java_hgsvn/traducteurBversCJavaTest/validation/tests/RT7_2/in/m1_i.imp",
O_RDONLY <unfinished ...>
15157 open("/lib/libattr.so.1", O_RDONLY) = 3
15155 exit_group(0) = ?
15157 open("/usr/lib/locale/locale-archive", O_RDONLY) = 3
15157 open("/usr/lib/charset.alias", O_RDONLY) = -1 ENOENT (No such file or
directory)
15157 open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = -1 ENOENT (No
such file or directory)
15157 open("/usr/lib/gconv/gconv-modules", O_RDONLY) = 3
15156 vfork( <unfinished ...>
15161 execve("/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/cc1",
["/usr/lib/gcc/x86_64-unknown-linu"..., "-E", "-traditional-cpp", "-quiet", "-C", "-P", "-", "-mtune=generic", "-march=x86-64", "-undef"],
[/* 69 vars */] <unfinished ...>
15156 <... vfork resumed> ) = 15161
15161 <... execve resumed> ) = 0
15161 open("/etc/ld.so.cache", O_RDONLY) = 3
15161 open("/usr/lib/libcloog-isl.so.2", O_RDONLY) = 3
15161 open("/usr/lib/libisl.so.7", O_RDONLY) = 3
15161 open("/usr/lib/libppl_c.so.4", O_RDONLY) = 3
15161 open("/usr/lib/libppl.so.9", O_RDONLY) = 3
15161 open("/usr/lib/libpwl.so.5", O_RDONLY) = 3
15161 open("/usr/lib/libgmpxx.so.4", O_RDONLY) = 3
15161 open("/usr/lib/libmpc.so.2", O_RDONLY) = 3
15161 open("/usr/lib/libmpfr.so.4", O_RDONLY) = 3
15161 open("/usr/lib/libgmp.so.10", O_RDONLY) = 3
15161 open("/lib/libdl.so.2", O_RDONLY) = 3
15161 open("/usr/lib/libz.so.1", O_RDONLY) = 3
15161 open("/lib/libc.so.6", O_RDONLY) = 3
15161 open("/usr/lib/libstdc++.so.6", O_RDONLY) = 3
15161 open("/lib/libm.so.6", O_RDONLY) = 3
15161 open("/usr/lib/libgcc_s.so.1", O_RDONLY) = 3
15161 open("/usr/lib/locale/locale-archive", O_RDONLY) = 3
15161 open("/usr/share/locale/locale.alias", O_RDONLY) = 3
15161 open("/usr/share/locale/fr_FR.utf8/LC_MESSAGES/gcc.mo", O_RDONLY) =
-1 ENOENT (No such file or directory)
15161 open("/usr/share/locale/fr_FR/LC_MESSAGES/gcc.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
15161 open("/usr/share/locale/fr.utf8/LC_MESSAGES/gcc.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
15161 open("/usr/share/locale/fr/LC_MESSAGES/gcc.mo", O_RDONLY) = 3
15161 open("/proc/meminfo", O_RDONLY) = 3
15161 open("/proc/meminfo", O_RDONLY) = 3
15161 open("/proc/meminfo", O_RDONLY) = 3
15161 open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = -1 ENOENT (No
such file or directory)
15161 open("/usr/lib/gconv/gconv-modules", O_RDONLY) = 3
15161 open("/usr/lib/gconv/ISO8859-1.so", O_RDONLY) = 3
15161 exit_group(0) = ?
15156 --- {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=15161, si_status=0,
si_utime=0, si_stime=0} (Child exited) ---
15156 exit_group(0) = ?
15157 exit_group(0) = ?
15151 --- {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=15155, si_status=0,
si_utime=0, si_stime=0} (Child exited) ---
15151 exit_group(0) = ?
15152 --- {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=15151, si_status=0,
si_utime=0, si_stime=0} (Child exited) ---