-
Notifications
You must be signed in to change notification settings - Fork 378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New version is broken! #3
Comments
Hi Alkino, Thanks for this bug report, however I'm not able to reproduce this problem. Please, could you specify:
Thanks in advance, |
OK, I'm able to reproduce the problem:
Thanks. |
Please, could you check the patch I pushed in the "next" branch fixes this problem? Thanks in advance. |
The following error is due to another problem in PRoot v2.0 when using QEMU v1.1:
I'm investigating. |
Actually, the problem is reproducible without PRoot:
We just have to ask PRoot to not use the dynamic linker as a loader:
I will submit a patch for PRoot today. |
Hi Alkino, Please, could you confirm PRoot v2.0.1 solves these problems? |
I got this. Is it normal? |
Well, this is not unexpected. I could confirm that only if you specify what the guest and host distros are. |
Both are archlinux. |
In your guest rootfs, "/etc/mtab" points to "/proc/self/mounts" but PRoot fails at creating "/proc/self". However this shouldn't create any trouble. For information, these kind of warnings will disappear in the next release of PRoot (thanks to a new feature). |
The problem was due to the new module that emulates symlinks in "/proc": it is used to initialize bindings that point to "/proc/self", when no tracee can be associated to "self". In this case "self" must be PRoot. Reported-by: Alkino (proot-me/proot#3)
Moreover this makes QEMU v1.1 bug: /lib64/ld-linux-x86-64.so.2 arm-linux-user/qemu-arm Registering `arm-cpu' which already exists Aborted Change-Id: I5e30d97560d6f196c55a2bee02e1e40e30069f5c Reported-by: Alkino (proot-me/proot#3)
Hi!
When I want to start proot on my usual arm-rootfs it crashed:
But it can be funnier:
GDB
60 status = snprintf(result, PATH_MAX, "/proc/%d", tracee->pid);
(gdb) bt
#0 readlink_proc (tracee=tracee@entry=0x0, result=result@entry=0x7fffffff6310 "/proc/self",
#1 0x00000000004061b1 in canonicalize (tracee=tracee@entry=0x0,
#2 0x000000000040623d in canonicalize (tracee=tracee@entry=0x0,
#3 0x0000000000405c0a in init_bindings () at ./path/binding.c:571
#4 0x000000000040681a in init_module_path () at ./path/path.c:202
#5 0x0000000000401958 in main (argc=4, argv=0x7fffffffe8d8) at ./cli.c:449
(gdb) p tracee
0x0
The text was updated successfully, but these errors were encountered: