Summary: | WARNING: unhandled arm64-linux syscall: 268 (setns) | ||
---|---|---|---|
Product: | [Developer tools] valgrind | Reporter: | Marcin Juszkiewicz <marcin> |
Component: | general | Assignee: | Julian Seward <jseward> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | bjb, jreiser, mark, michal.privoznik |
Priority: | NOR | ||
Version: | 3.11.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=343099 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | 0001-Add-support-for-setns-syscall.patch |
Description
Marcin Juszkiewicz
2016-09-16 20:40:05 UTC
https://bugs.kde.org/show_bug.cgi?id=369031 - same for amd64 Can we close it? IIRC it was merged into valgrind. This bug is similar to 343099 and 369031. But this bug is reporting on arm64 arch, while the others have to do with amd64. So, not marking this as duplicate of 343099. Is there another way to link this bug with those ones besides writing a comment? Still happens in Valgrind-3.15.0 on arm64, notably in /usr/bin/perf. # gdb perf GNU gdb (GDB) Fedora 8.2.91.20190424-24.fc30 (gdb) b setns Breakpoint 1 at 0x95ce4 (gdb) run report >bar Starting program: /usr/bin/perf report >bar [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Breakpoint 1, 0x0000ffffbee68844 in setns () from /lib64/libc.so.6 (gdb) bt #0 0x0000ffffbee68844 in setns () from /lib64/libc.so.6 #1 0x0000aaaaaac112c4 in nsinfo.mountns_enter () #2 0x0000aaaaaabe90b8 in ?? () #3 0x0000aaaaaabebfd8 in dso.type () #4 0x0000aaaaaac357fc in machine.findnew_vdso () #5 0x0000aaaaaac084dc in map.new () #6 0x0000aaaaaac065e8 in machine.process_mmap2_event () #7 0x0000aaaaaac0cd2c in ?? () #8 0x0000aaaaaac0d684 in ?? () #9 0x0000aaaaaac0ec90 in perf_session.process_events () #10 0x0000aaaaaab579cc in cmd_report () #11 0x0000aaaaaabb8fe4 in ?? () #12 0x0000aaaaaab42130 in main () (gdb) x/5i $pc-4 0xffffbee68840 <setns>: mov x8, #0x10c // #268 => 0xffffbee68844 <setns+4>: svc #0x0 0xffffbee68848 <setns+8>: cmn x0, #0xfff 0xffffbee6884c <setns+12>: b.cs 0xffffbee68854 <setns+20> // b.hs, b.nlast 0xffffbee68850 <setns+16>: ret strace of perf shows: ===== 12549 openat(AT_FDCWD, "/proc/self/ns/mnt", O_RDONLY) = 10 12549 openat(AT_FDCWD, "/proc/424/ns/mnt", O_RDONLY) = 11 12549 setns(11, CLONE_NEWNS) ===== and similarly for many other /proc/PID. I've posted the patch to the list: https://sourceforge.net/p/valgrind/mailman/valgrind-developers/thread/ed7c25aa08c0ac5484a1f2fd1ed5547822d659aa.1574084227.git.mprivozn%40redhat.com/#msg36810809 Created attachment 124292 [details]
0001-Add-support-for-setns-syscall.patch
Based on IRC conversation, I'm attaching the patch I've sent to the list.
*** This bug has been marked as a duplicate of bug 343099 *** |