You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(122) |
Nov
(152) |
Dec
(69) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(6) |
Feb
(25) |
Mar
(73) |
Apr
(82) |
May
(24) |
Jun
(25) |
Jul
(10) |
Aug
(11) |
Sep
(10) |
Oct
(54) |
Nov
(203) |
Dec
(182) |
| 2004 |
Jan
(307) |
Feb
(305) |
Mar
(430) |
Apr
(312) |
May
(187) |
Jun
(342) |
Jul
(487) |
Aug
(637) |
Sep
(336) |
Oct
(373) |
Nov
(441) |
Dec
(210) |
| 2005 |
Jan
(385) |
Feb
(480) |
Mar
(636) |
Apr
(544) |
May
(679) |
Jun
(625) |
Jul
(810) |
Aug
(838) |
Sep
(634) |
Oct
(521) |
Nov
(965) |
Dec
(543) |
| 2006 |
Jan
(494) |
Feb
(431) |
Mar
(546) |
Apr
(411) |
May
(406) |
Jun
(322) |
Jul
(256) |
Aug
(401) |
Sep
(345) |
Oct
(542) |
Nov
(308) |
Dec
(481) |
| 2007 |
Jan
(427) |
Feb
(326) |
Mar
(367) |
Apr
(255) |
May
(244) |
Jun
(204) |
Jul
(223) |
Aug
(231) |
Sep
(354) |
Oct
(374) |
Nov
(497) |
Dec
(362) |
| 2008 |
Jan
(322) |
Feb
(482) |
Mar
(658) |
Apr
(422) |
May
(476) |
Jun
(396) |
Jul
(455) |
Aug
(267) |
Sep
(280) |
Oct
(253) |
Nov
(232) |
Dec
(304) |
| 2009 |
Jan
(486) |
Feb
(470) |
Mar
(458) |
Apr
(423) |
May
(696) |
Jun
(461) |
Jul
(551) |
Aug
(575) |
Sep
(134) |
Oct
(110) |
Nov
(157) |
Dec
(102) |
| 2010 |
Jan
(226) |
Feb
(86) |
Mar
(147) |
Apr
(117) |
May
(107) |
Jun
(203) |
Jul
(193) |
Aug
(238) |
Sep
(300) |
Oct
(246) |
Nov
(23) |
Dec
(75) |
| 2011 |
Jan
(133) |
Feb
(195) |
Mar
(315) |
Apr
(200) |
May
(267) |
Jun
(293) |
Jul
(353) |
Aug
(237) |
Sep
(278) |
Oct
(611) |
Nov
(274) |
Dec
(260) |
| 2012 |
Jan
(303) |
Feb
(391) |
Mar
(417) |
Apr
(441) |
May
(488) |
Jun
(655) |
Jul
(590) |
Aug
(610) |
Sep
(526) |
Oct
(478) |
Nov
(359) |
Dec
(372) |
| 2013 |
Jan
(467) |
Feb
(226) |
Mar
(391) |
Apr
(281) |
May
(299) |
Jun
(252) |
Jul
(311) |
Aug
(352) |
Sep
(481) |
Oct
(571) |
Nov
(222) |
Dec
(231) |
| 2014 |
Jan
(185) |
Feb
(329) |
Mar
(245) |
Apr
(238) |
May
(281) |
Jun
(399) |
Jul
(382) |
Aug
(500) |
Sep
(579) |
Oct
(435) |
Nov
(487) |
Dec
(256) |
| 2015 |
Jan
(338) |
Feb
(357) |
Mar
(330) |
Apr
(294) |
May
(191) |
Jun
(108) |
Jul
(142) |
Aug
(261) |
Sep
(190) |
Oct
(54) |
Nov
(83) |
Dec
(22) |
| 2016 |
Jan
(49) |
Feb
(89) |
Mar
(33) |
Apr
(50) |
May
(27) |
Jun
(34) |
Jul
(53) |
Aug
(53) |
Sep
(98) |
Oct
(206) |
Nov
(93) |
Dec
(53) |
| 2017 |
Jan
(65) |
Feb
(82) |
Mar
(102) |
Apr
(86) |
May
(187) |
Jun
(67) |
Jul
(23) |
Aug
(93) |
Sep
(65) |
Oct
(45) |
Nov
(35) |
Dec
(17) |
| 2018 |
Jan
(26) |
Feb
(35) |
Mar
(38) |
Apr
(32) |
May
(8) |
Jun
(43) |
Jul
(27) |
Aug
(30) |
Sep
(43) |
Oct
(42) |
Nov
(38) |
Dec
(67) |
| 2019 |
Jan
(32) |
Feb
(37) |
Mar
(53) |
Apr
(64) |
May
(49) |
Jun
(18) |
Jul
(14) |
Aug
(53) |
Sep
(25) |
Oct
(30) |
Nov
(49) |
Dec
(31) |
| 2020 |
Jan
(87) |
Feb
(45) |
Mar
(37) |
Apr
(51) |
May
(99) |
Jun
(36) |
Jul
(11) |
Aug
(14) |
Sep
(20) |
Oct
(24) |
Nov
(40) |
Dec
(23) |
| 2021 |
Jan
(14) |
Feb
(53) |
Mar
(85) |
Apr
(15) |
May
(19) |
Jun
(3) |
Jul
(14) |
Aug
(1) |
Sep
(57) |
Oct
(73) |
Nov
(56) |
Dec
(22) |
| 2022 |
Jan
(3) |
Feb
(22) |
Mar
(6) |
Apr
(55) |
May
(46) |
Jun
(39) |
Jul
(15) |
Aug
(9) |
Sep
(11) |
Oct
(34) |
Nov
(20) |
Dec
(36) |
| 2023 |
Jan
(79) |
Feb
(41) |
Mar
(99) |
Apr
(169) |
May
(48) |
Jun
(16) |
Jul
(16) |
Aug
(57) |
Sep
(19) |
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
|
1
(5) |
2
|
3
|
|
4
(2) |
5
|
6
|
7
(2) |
8
(2) |
9
(6) |
10
(1) |
|
11
(2) |
12
|
13
(3) |
14
|
15
(3) |
16
(1) |
17
|
|
18
(6) |
19
|
20
|
21
(2) |
22
|
23
|
24
|
|
25
|
26
|
27
|
28
(1) |
29
(2) |
30
|
31
|
|
From: Philippe W. <phi...@so...> - 2018-03-21 22:39:34
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=4c9bd311660bf4c1f9228519223214b6a50935ec commit 4c9bd311660bf4c1f9228519223214b6a50935ec Author: Philippe Waroquiers <phi...@sk...> Date: Wed Mar 21 23:24:09 2018 +0100 Fix 391861 - Massif Assertion 'n_ips >= 1 && n_ips <= VG_(clo_backtrace_size)' Sometimes, at least on arm platforms, we get a stack trace with only one function. When this happens and massif removes the top fn, we end up trying to create an execontext of 0 ips, as the only fn is removed, and an execontext of 0 ips causes the assert in m_execontext.c So, do whatever to avoid to crash when having a single fn stacktrace. The whatever means use a null execontext, which is an execontext of one single address 0x0. Note that this is just to bypass the crash. What is shown by massif is not very nice (but what could we show ?). Note that instead of using such a null execontext, we could rather just keep the single ips. But that might create a lot of single fn entries in the xtree and/or show undesired functions. So, we the null execontext, which is shown as 0xFFFFFFFFFFFFFFFF ??? in the massif output. Tested on amd64 by artificially creating stacktrace of one fn. Diff: --- NEWS | 1 + massif/ms_main.c | 15 ++++++++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/NEWS b/NEWS index f762530..faee5cd 100644 --- a/NEWS +++ b/NEWS @@ -100,6 +100,7 @@ where XXXXXX is the bug number as listed below. 389373 exp-sgcheck the 'impossible' happened as Ist_LoadG is not instrumented 389065 valgrind meets gcc flag -Wlogical-op 390723 make xtree dump files world wide readable, similar to log files +391861 Massif Assertion 'n_ips >= 1 && n_ips <= VG_(clo_backtrace_size)' n-i-bz Fix missing workq_ops operations (macOS) n-i-bz fix bug in strspn replacement diff --git a/massif/ms_main.c b/massif/ms_main.c index 95ba944..b15fa5d 100644 --- a/massif/ms_main.c +++ b/massif/ms_main.c @@ -587,12 +587,17 @@ static ExeContext* make_ec(ThreadId tid, Bool exclude_first_entry) NULL/*array to dump SP values in*/, NULL/*array to dump FP values in*/, 0/*first_ip_delta*/ ); - if (exclude_first_entry && n_ips > 0) { - const HChar *fnname; - VERB(4, "removing top fn %s from stacktrace\n", + if (exclude_first_entry) { + if (n_ips > 1) { + const HChar *fnname; + VERB(4, "removing top fn %s from stacktrace\n", VG_(get_fnname)(VG_(current_DiEpoch)(), ips[0], &fnname) - ? fnname : "???"); - return VG_(make_ExeContext_from_StackTrace)(ips+1, n_ips-1); + ? fnname : "???"); + return VG_(make_ExeContext_from_StackTrace)(ips+1, n_ips-1); + } else { + VERB(4, "null execontext as removing top fn with n_ips %d\n", n_ips); + return VG_(null_ExeContext) (); + } } else return VG_(make_ExeContext_from_StackTrace)(ips, n_ips); } |
|
From: Tom H. <tom...@so...> - 2018-03-21 12:32:14
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=12d162aabc8180d9ad0c095e72a1354e93b091d7 commit 12d162aabc8180d9ad0c095e72a1354e93b091d7 Author: Tom Hughes <to...@co...> Date: Wed Mar 21 12:28:31 2018 +0000 Update linux system call numbers. Diff: --- include/vki/vki-scnums-amd64-linux.h | 13 +++++++++- include/vki/vki-scnums-arm-linux.h | 14 ++++++++++- include/vki/vki-scnums-arm64-linux.h | 13 +++++++++- include/vki/vki-scnums-mips32-linux.h | 18 +++++++++++--- include/vki/vki-scnums-mips64-linux.h | 14 ++++++++++- include/vki/vki-scnums-ppc32-linux.h | 16 ++++++++++++- include/vki/vki-scnums-ppc64-linux.h | 16 ++++++++++++- include/vki/vki-scnums-s390x-linux.h | 45 ++++++++++++++++++++--------------- include/vki/vki-scnums-x86-linux.h | 10 +++++++- 9 files changed, 130 insertions(+), 29 deletions(-) diff --git a/include/vki/vki-scnums-amd64-linux.h b/include/vki/vki-scnums-amd64-linux.h index adeee00..144cdbc 100644 --- a/include/vki/vki-scnums-amd64-linux.h +++ b/include/vki/vki-scnums-amd64-linux.h @@ -32,7 +32,7 @@ #ifndef __VKI_SCNUMS_AMD64_LINUX_H #define __VKI_SCNUMS_AMD64_LINUX_H -// Derived from linux-2.6/arch/x86/syscalls/syscall_64.tbl +// Derived from linux-2.6/arch/x86/entry/syscalls/syscall_64.tbl #define __NR_read 0 #define __NR_write 1 @@ -403,6 +403,17 @@ #define __NR_memfd_create 319 #define __NR_kexec_file_load 320 #define __NR_bpf 321 +#define __NR_execveat 322 +#define __NR_userfaultfd 323 +#define __NR_membarrier 324 +#define __NR_mlock2 325 +#define __NR_copy_file_range 326 +#define __NR_preadv2 327 +#define __NR_pwritev2 328 +#define __NR_pkey_mprotect 329 +#define __NR_pkey_alloc 330 +#define __NR_pkey_free 331 +#define __NR_statx 332 #endif /* __VKI_SCNUMS_AMD64_LINUX_H */ diff --git a/include/vki/vki-scnums-arm-linux.h b/include/vki/vki-scnums-arm-linux.h index 4430e69..efbc1a8 100644 --- a/include/vki/vki-scnums-arm-linux.h +++ b/include/vki/vki-scnums-arm-linux.h @@ -32,7 +32,7 @@ #ifndef __VKI_SCNUMS_ARM_LINUX_H #define __VKI_SCNUMS_ARM_LINUX_H -// From linux-2.6/arch/arm/include/asm/unistd.h +// From linux-2.6/arch/arm/tools/syscall.tbl #define __NR_restart_syscall 0 #define __NR_exit 1 @@ -422,6 +422,18 @@ #define __NR_seccomp 383 #define __NR_getrandom 384 #define __NR_memfd_create 385 +#define __NR_bpf 386 +#define __NR_execveat 387 +#define __NR_userfaultfd 388 +#define __NR_membarrier 389 +#define __NR_mlock2 390 +#define __NR_copy_file_range 391 +#define __NR_preadv2 392 +#define __NR_pwritev2 393 +#define __NR_pkey_mprotect 394 +#define __NR_pkey_alloc 395 +#define __NR_pkey_free 396 +#define __NR_statx 397 diff --git a/include/vki/vki-scnums-arm64-linux.h b/include/vki/vki-scnums-arm64-linux.h index d53e7d7..8c2eb6d 100644 --- a/include/vki/vki-scnums-arm64-linux.h +++ b/include/vki/vki-scnums-arm64-linux.h @@ -314,9 +314,20 @@ #define __NR_getrandom 278 #define __NR_memfd_create 279 #define __NR_bpf 280 +#define __NR_execveat 281 +#define __NR_userfaultfd 282 +#define __NR_membarrier 283 +#define __NR_mlock2 284 +#define __NR_copy_file_range 285 +#define __NR_preadv2 286 +#define __NR_pwritev2 287 +#define __NR_pkey_mprotect 288 +#define __NR_pkey_alloc 289 +#define __NR_pkey_free 290 +#define __NR_statx 291 #undef __NR_syscalls -#define __NR_syscalls 274 +#define __NR_syscalls 292 ///* // * All syscalls below here should go away really, diff --git a/include/vki/vki-scnums-mips32-linux.h b/include/vki/vki-scnums-mips32-linux.h index 0187e90..29a1db1 100644 --- a/include/vki/vki-scnums-mips32-linux.h +++ b/include/vki/vki-scnums-mips32-linux.h @@ -32,7 +32,7 @@ #ifndef __VKI_SCNUMS_MIPS32_LINUX_H #define __VKI_SCNUMS_MIPS32_LINUX_H -// From linux-2.6.35.5/include/asm-mips/unistd.h +// From linux/arch/mips/include/uapi/asm/unistd.h /* * Linux o32 style syscalls are in the range from 4000 to 4999. */ @@ -390,15 +390,27 @@ #define __NR_seccomp (__NR_Linux + 352) #define __NR_getrandom (__NR_Linux + 353) #define __NR_memfd_create (__NR_Linux + 354) +#define __NR_bpf (__NR_Linux + 355) +#define __NR_execveat (__NR_Linux + 356) +#define __NR_userfaultfd (__NR_Linux + 357) +#define __NR_membarrier (__NR_Linux + 358) +#define __NR_mlock2 (__NR_Linux + 359) +#define __NR_copy_file_range (__NR_Linux + 360) +#define __NR_preadv2 (__NR_Linux + 361) +#define __NR_pwritev2 (__NR_Linux + 362) +#define __NR_pkey_mprotect (__NR_Linux + 363) +#define __NR_pkey_alloc (__NR_Linux + 364) +#define __NR_pkey_free (__NR_Linux + 365) +#define __NR_statx (__NR_Linux + 366) /* * Offset of the last Linux o32 flavoured syscall */ -#define __NR_Linux_syscalls 334 +#define __NR_Linux_syscalls 366 #define __NR_O32_Linux 4000 -#define __NR_O32_Linux_syscalls 334 +#define __NR_O32_Linux_syscalls 366 #endif /* __VKI_SCNUMS_MIPS32_LINUX_H */ diff --git a/include/vki/vki-scnums-mips64-linux.h b/include/vki/vki-scnums-mips64-linux.h index e3d8536..1a15bf8 100644 --- a/include/vki/vki-scnums-mips64-linux.h +++ b/include/vki/vki-scnums-mips64-linux.h @@ -32,6 +32,7 @@ #ifndef __VKI_SCNUMS_MIPS64_LINUX_H #define __VKI_SCNUMS_MIPS64_LINUX_H +// From linux/arch/mips/include/uapi/asm/unistd.h /* * Linux 64-bit syscalls are in the range from 5000 to 5999. */ @@ -351,7 +352,18 @@ #define __NR_seccomp (__NR_Linux + 312) #define __NR_getrandom (__NR_Linux + 313) #define __NR_memfd_create (__NR_Linux + 314) - +#define __NR_bpf (__NR_Linux + 315) +#define __NR_execveat (__NR_Linux + 316) +#define __NR_userfaultfd (__NR_Linux + 317) +#define __NR_membarrier (__NR_Linux + 318) +#define __NR_mlock2 (__NR_Linux + 319) +#define __NR_copy_file_range (__NR_Linux + 320) +#define __NR_preadv2 (__NR_Linux + 321) +#define __NR_pwritev2 (__NR_Linux + 322) +#define __NR_pkey_mprotect (__NR_Linux + 323) +#define __NR_pkey_alloc (__NR_Linux + 324) +#define __NR_pkey_free (__NR_Linux + 325) +#define __NR_statx (__NR_Linux + 326) #endif /* __VKI_SCNUMS_MIPS64_LINUX_H */ /*--------------------------------------------------------------------*/ diff --git a/include/vki/vki-scnums-ppc32-linux.h b/include/vki/vki-scnums-ppc32-linux.h index c2859ed..dec5f0a 100644 --- a/include/vki/vki-scnums-ppc32-linux.h +++ b/include/vki/vki-scnums-ppc32-linux.h @@ -32,7 +32,7 @@ #ifndef __VKI_SCNUMS_PPC32_LINUX_H #define __VKI_SCNUMS_PPC32_LINUX_H -// From linux-2.6/arc/powerpc/include/asm/unistd.h +// From linux/arch/powerpc/include/uapi/asm/unistd.h #define __NR_restart_syscall 0 #define __NR_exit 1 @@ -403,6 +403,20 @@ #define __NR_seccomp 358 #define __NR_getrandom 359 #define __NR_memfd_create 360 +#define __NR_bpf 361 +#define __NR_execveat 362 +#define __NR_switch_endian 363 +#define __NR_userfaultfd 364 +#define __NR_membarrier 365 +#define __NR_mlock2 378 +#define __NR_copy_file_range 379 +#define __NR_preadv2 380 +#define __NR_pwritev2 381 +#define __NR_kexec_file_load 382 +#define __NR_statx 383 +#define __NR_pkey_alloc 384 +#define __NR_pkey_free 385 +#define __NR_pkey_mprotect 386 #endif /* __VKI_SCNUMS_PPC32_LINUX_H */ diff --git a/include/vki/vki-scnums-ppc64-linux.h b/include/vki/vki-scnums-ppc64-linux.h index a195c01..969524e 100644 --- a/include/vki/vki-scnums-ppc64-linux.h +++ b/include/vki/vki-scnums-ppc64-linux.h @@ -32,7 +32,7 @@ #ifndef __VKI_SCNUMS_PPC64_LINUX_H #define __VKI_SCNUMS_PPC64_LINUX_H -// From linux-2.6/arc/powerpc/include/asm/unistd.h +// From linux/arch/powerpc/include/uapi/asm/unistd.h #define __NR_restart_syscall 0 #define __NR_exit 1 @@ -395,6 +395,20 @@ #define __NR_seccomp 358 #define __NR_getrandom 359 #define __NR_memfd_create 360 +#define __NR_bpf 361 +#define __NR_execveat 362 +#define __NR_switch_endian 363 +#define __NR_userfaultfd 364 +#define __NR_membarrier 365 +#define __NR_mlock2 378 +#define __NR_copy_file_range 379 +#define __NR_preadv2 380 +#define __NR_pwritev2 381 +#define __NR_kexec_file_load 382 +#define __NR_statx 383 +#define __NR_pkey_alloc 384 +#define __NR_pkey_free 385 +#define __NR_pkey_mprotect 386 #endif /* __VKI_SCNUMS_PPC64_LINUX_H */ diff --git a/include/vki/vki-scnums-s390x-linux.h b/include/vki/vki-scnums-s390x-linux.h index bc436dd..ef0639c 100644 --- a/include/vki/vki-scnums-s390x-linux.h +++ b/include/vki/vki-scnums-s390x-linux.h @@ -34,7 +34,7 @@ #define __VKI_SCNUMS_S390X_LINUX_H //---------------------------------------------------------------------- -// From linux-3.16/arch/s390/include/uapi/asm/unistd.h +// From linux/arch/s390/kernel/syscalls/syscall.tbl //---------------------------------------------------------------------- /* @@ -317,25 +317,32 @@ #define __NR_getrandom 349 #define __NR_memfd_create 350 -#define __NR_recvmmsg 357 -#define __NR_sendmmsg 358 -#define __NR_socket 359 -#define __NR_socketpair 360 -#define __NR_bind 361 -#define __NR_connect 362 -#define __NR_listen 363 -#define __NR_accept4 364 -#define __NR_getsockopt 365 -#define __NR_setsockopt 366 -#define __NR_getsockname 367 -#define __NR_getpeername 368 -#define __NR_sendto 369 -#define __NR_sendmsg 370 -#define __NR_recvfrom 371 -#define __NR_recvmsg 372 -#define __NR_shutdown 373 +#define __NR_recvmmsg 357 +#define __NR_sendmmsg 358 +#define __NR_socket 359 +#define __NR_socketpair 360 +#define __NR_bind 361 +#define __NR_connect 362 +#define __NR_listen 363 +#define __NR_accept4 364 +#define __NR_getsockopt 365 +#define __NR_setsockopt 366 +#define __NR_getsockname 367 +#define __NR_getpeername 368 +#define __NR_sendto 369 +#define __NR_sendmsg 370 +#define __NR_recvfrom 371 +#define __NR_recvmsg 372 +#define __NR_shutdown 373 +#define __NR_mlock2 374 +#define __NR_copy_file_range 375 +#define __NR_preadv2 376 +#define __NR_pwritev2 377 +#define __NR_s390_guarded_storage 378 +#define __NR_statx 379 +#define __NR_s390_sthyi 380 -#define NR_syscalls 374 +#define NR_syscalls 381 /* * There are some system calls that are not present on 64 bit, some diff --git a/include/vki/vki-scnums-x86-linux.h b/include/vki/vki-scnums-x86-linux.h index 8a6376b..041d247 100644 --- a/include/vki/vki-scnums-x86-linux.h +++ b/include/vki/vki-scnums-x86-linux.h @@ -32,7 +32,7 @@ #ifndef __VKI_SCNUMS_X86_LINUX_H #define __VKI_SCNUMS_X86_LINUX_H -// Derived from linux-2.6/arch/x86/syscalls/syscall_32.tbl +// Derived from linux-2.6/arch/x86/entry/syscalls/syscall_32.tbl #define __NR_restart_syscall 0 #define __NR_exit 1 @@ -411,6 +411,14 @@ #define __NR_userfaultfd 374 #define __NR_membarrier 375 #define __NR_mlock2 376 +#define __NR_copy_file_range 377 +#define __NR_preadv2 378 +#define __NR_pwritev2 379 +#define __NR_pkey_mprotect 380 +#define __NR_pkey_alloc 381 +#define __NR_pkey_free 382 +#define __NR_statx 383 +#define __NR_arch_prctl 384 #endif /* __VKI_SCNUMS_X86_LINUX_H */ |