Summary: | dev-libs/gobject-introspection-1.44.0 with sys-apps/sandbox-2.7: libsandbox/trace.c:do_peekstr():110: failure (Bad address): ISE:do_peekstr: process_vm_readv() hates us: Bad address | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Jeroen Roovers (RETIRED) <jer> |
Component: | Sandbox | Assignee: | Sandbox Maintainers <sandbox> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alex_y_xu, frp.bissey, rose, vityokster |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
dev-libs:gobject-introspection-1.44.0:20150914-030710.log
sandbox-process_vm_readv-efault.patch dev-lang/fpc-2.6.4 build.log dev-libs:gobject-introspection-1.44.0:20150920-091439.log |
Description
Jeroen Roovers (RETIRED)
2015-09-14 04:01:00 UTC
does it pass w/sandbox-2.6 ? i don't think the ptrace logic changed ... (In reply to SpanKY from comment #1) > does it pass w/sandbox-2.6 ? Yes. Created attachment 411994 [details, diff]
sandbox-process_vm_readv-efault.patch
what kind of settings do you have enabled in this kernel ? does this patch make it work ? it seems odd if it does ...
I have the similar problem when I try to install =dev-lang/fpc-2.6.4. Created attachment 412018 [details]
dev-lang/fpc-2.6.4 build.log
(In reply to Viktor Yu. Kovalskii from comment #4) please try the patch already posted (In reply to SpanKY from comment #6) > (In reply to Viktor Yu. Kovalskii from comment #4) > > please try the patch already posted Thanks, this patch works for me. i've committed the fallback logic as well as extended debug info: http://gitweb.gentoo.org/proj/sandbox.git/commit/?id=c17c4b85ca9e9af75bc16c9e49b6bf0b3ee6b4c8 this is part of sandbox-2.8 which is in the tree now. if you could try that out and post the new error messages you see, that'd be helpful. Created attachment 412320 [details]
dev-libs:gobject-introspection-1.44.0:20150920-091439.log
libtool: link: i686-pc-linux-gnu-gcc -o /var/tmp/portage/dev-libs/gobject-introspection-1.44.0/work/gobject-introspection-1.44.0/tmp-introspectu7yvqu/Gio-2.0 -fno-strict-aliasing -Wsign-compare -Wcast-align -Wpointer-arith -Wnested-externs -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Os -fstack-protector -march=pentium4 --param l1-cache-size=8 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=pentium4 -Wall -Wl,-O1 -Wl,--hash-style=gnu /var/tmp/portage/dev-libs/gobject-introspection-1.44.0/work/gobject-introspection-1.44.0/tmp-introspectu7yvqu/Gio-2.0.o -Wl,--export-dynamic -pthread -Wl,--export-dynamic -Wl,--as-needed -lgmodule-2.0 -lgobject-2.0 -lglib-2.0 -lgio-2.0 -pthread
* process_vm_readv(5871, 0xbfa0a368{0xb726e004, 2296}, 1, 0xbfa0a370{0xb77288f8, 2296}, 1, 0) failed: Bad address
(In reply to Jeroen Roovers from comment #9) thanks. looks like the rounding logic is wrong -- i used the remainder instead of the difference between the page size and the remainder. should be fixed by: http://gitweb.gentoo.org/proj/sandbox.git/commit/?id=9a927b63d0f76fb5edaf4abf43784419b944f21c http://gitweb.gentoo.org/proj/sandbox.git/commit/?id=0a9188fd0a812cb864819d37a6a7217a135b85f0 *** Bug 560604 has been marked as a duplicate of this bug. *** This bug should be fixed in sys-apps/sandbox-2.9. *** Bug 563602 has been marked as a duplicate of this bug. *** |