3 | | While configuring/building gcc, a spurious "cp" entry appeared in the current output directory (.../gcc-obj/gcc/). According to the kernel tracing access() returned OK for the entry and it could even be opened. Reading from it failed with B_BAD_VALUE, though. There's also a respective "bfs_read()..." line in the serial debug output. I suspended and uploaded the virtual machine state (512 MB RAM, 1 GB disk): |
4 | | |
5 | | http://tfs.cs.tu-berlin.de/~bonefish/private/haiku/CrashOMatic-non-existent-cp.zip |
6 | | |
7 | | BFS tracing was enabled, but I forgot to enable block cache tracing. :-/ |
| 3 | When execvp() finds a matching entry in the PATH, it doesn't make sure that it is a regular file. E.g. create a "cp" directory in the cwd and make it executable. execvp("cp",...) will try to execute it. |