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
(15) |
2
(12) |
3
(11) |
4
(20) |
5
(6) |
|
6
(6) |
7
(7) |
8
(8) |
9
(17) |
10
(25) |
11
(27) |
12
(6) |
|
13
(28) |
14
(16) |
15
(20) |
16
(9) |
17
(26) |
18
(7) |
19
(25) |
|
20
(7) |
21
(18) |
22
(25) |
23
(15) |
24
(21) |
25
(32) |
26
(15) |
|
27
(23) |
28
(33) |
|
|
|
|
|
|
From: Eyal L. <ey...@ey...> - 2005-02-21 22:26:57
|
Jeremy Fitzhardinge wrote: > Eyal Lebedinsky wrote: [trimmed report of program crashing] > Well, --quiet will suppress the printing about SIGSEGVs, so you wouldn't > see any crash messages. If it crashes after exit(), it could still be > some atexit/static destructor calls which are causing the problem. My programs are pure C and use no atexit(). > Does it generate a vgcore file? No. > Well, the changes to memcheck reduced its memory use by a large amount > in a lot of common cases I was hoping for just this. > so it could be that you're just getting further? No. In the past I could run a few hundred tests before the server crashes. Now a smaller program (a client) crashes every time it runs. It has a very much smaller memory footprint than the server. > Yes, please: strace, -v, --trace-syscalls=yes and --trace-signals=yes . Sure. I am afraid the log is biggish, but it compresses well. It seems to me that it should have had something after the last line logged: ==2005-02-22 09:03:53.660 15910== ==2005-02-22 09:03:53.660 15910== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 43 from 1) --2005-02-22 09:03:53.660 15910-- --2005-02-22 09:03:53.660 15910-- supp: 43 Ugly strchr error in /lib/ld-2.3.2.so ==2005-02-22 09:03:53.660 15910== malloc/free: in use at exit: 4765 bytes in 50 blocks. ==2005-02-22 09:03:53.660 15910== malloc/free: 10735 allocs, 10685 frees, 99923376 bytes allocated. ==2005-02-22 09:03:53.660 15910== ==2005-02-22 09:03:53.660 15910== searching for pointers to 50 not-freed blocks. > And file a bug in bugzilla. http://bugs.kde.org/show_bug.cgi?id=99949 -- Eyal Lebedinsky (ey...@ey...) <http://samba.org/eyal/> attach .zip as .dat |
|
From: Nicholas N. <nj...@cs...> - 2005-02-21 21:56:47
|
On Mon, 21 Feb 2005, Albert Chin wrote: > I get the following error while building 2.2.0 on Redhat Linux 7.1: > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./demangle -I../include > -I../include -I./x86 -DVG_LIBDIR="\"/opt/TWWfsw/valgrind22/lib"\" > -DKICKSTART_BASE=0xb0000000 -Winline -Wall -Wshadow -O > -fno-omit-frame-pointer -mpreferred-stack-boundary=2 -g -DELFSZ=32 -c > vg_syscalls.c > vg_syscalls.c: In function `before_ioctl': > vg_syscalls.c:3413: `PPGETMODE' undeclared (first use in this function) > vg_syscalls.c:3413: (Each undeclared identifier is reported only once > vg_syscalls.c:3413: for each function it appears in.) > vg_syscalls.c:3421: `PPGETPHASE' undeclared (first use in this function) > vg_syscalls.c:3425: `PPGETMODES' undeclared (first use in this function) > vg_syscalls.c:3429: `PPSETFLAGS' undeclared (first use in this function) > vg_syscalls.c:3433: `PPGETFLAGS' undeclared (first use in this function) > vg_syscalls.c: In function `after_ioctl': > vg_syscalls.c:3931: `PPSETFLAGS' undeclared (first use in this function) > vg_syscalls.c:3940: `PPGETMODE' undeclared (first use in this function) > vg_syscalls.c:3943: `PPGETPHASE' undeclared (first use in this function) > vg_syscalls.c:3946: `PPGETMODES' undeclared (first use in this function) > vg_syscalls.c:3949: `PPGETFLAGS' undeclared (first use in this function) > > Should I just #ifdef them out? You can try it; if any program uses them Valgrind should die with an assertion failure. Or you could check out the CVS HEAD, I think the problem should be fixed in there. N |
|
From: Jeremy F. <je...@go...> - 2005-02-21 20:04:42
|
Naveen Kumar wrote:
>Hi All
> For some reason since this morning I've been
>getting a
>
>make[4]: *** No rule to make target
>'vg_intercept.c.base' , needed by 'vg_intercept.c'.
>Stop.
>
>What could be causing this ?
>
You need to re-autogen.sh/configure.
J
|
|
From: Naveen K. <g_n...@ya...> - 2005-02-21 19:55:14
|
Hi All For some reason since this morning I've been getting a make[4]: *** No rule to make target 'vg_intercept.c.base' , needed by 'vg_intercept.c'. Stop. What could be causing this ? Thanks Naveen __________________________________ Do you Yahoo!? Meet the all-new My Yahoo! - Try it today! http://my.yahoo.com |
|
From: Jeremy F. <je...@go...> - 2005-02-21 19:18:17
|
CVS commit by fitzhardinge:
Add missing filter to EXTRA_DIST
M +1 -0 Makefile.am 1.41
--- valgrind/tests/Makefile.am #1.40:1.41
@@ -6,4 +6,5 @@
filter_addresses \
filter_discards \
+ filter_libc \
filter_numbers \
filter_stderr_basic \
|
|
From: Jeremy F. <je...@go...> - 2005-02-21 18:24:54
|
CVS commit by fitzhardinge:
Use the non-_internal symbol in the libpthread strstr suppression.
M +2 -2 glibc-2.3.supp 1.23
--- valgrind/glibc-2.3.supp #1.22:1.23
@@ -251,5 +251,5 @@
Memcheck:Cond
fun:strstr
- fun:__pthread_initialize_minimal_internal
+ fun:__pthread_initialize_minimal
obj:/lib/tls/libpthread-0.61.so
obj:/lib/tls/libpthread-0.61.so
@@ -359,5 +359,5 @@
Memcheck:Cond
fun:strstr
- fun:__pthread_initialize_minimal_internal
+ fun:__pthread_initialize_minimal
obj:/lib/tls/libpthread-2.3.4.so
obj:/lib/tls/libpthread-2.3.4.so
|
|
From: Jeremy F. <je...@go...> - 2005-02-21 17:26:05
|
Eyal Lebedinsky wrote:
> Running off cvs head, using:
> valgrind --tool=memcheck \
> --leak-check=yes \
> --show-reachable=no \
> --num-callers=50 \
> --error-limit=no \
> --run-libc-freeres=no \
> --time-stamp=yes \
> --trace-syscalls=no \
> --quiet \
> my program...
>
> And also with '--trace-syscalls=yes'.
>
> After the recent changes in memory handling, I now have a situation
> where my program seems to run to completion, but then after it
> exit()s it aborts with a segmentation fault.
>
> I do not see any error logged by valgrind.
Well, --quiet will suppress the printing about SIGSEGVs, so you wouldn't
see any crash messages. If it crashes after exit(), it could still be
some atexit/static destructor calls which are causing the problem. Does
it generate a vgcore file?
> This is a new problem from the last few days. Beforehand things
> were mostly working, except for my server running out of
> memory (it was not really using that much of it and I could not
> explain what was going on yet).
Well, the changes to memcheck reduced its memory use by a large amount
in a lot of common cases, so it could be that you're just getting further?
> If I should run my program with logging/debug options and post
> the logs then I am ready to do so.
Yes, please: strace, -v, --trace-syscalls=yes and --trace-signals=yes .
And file a bug in bugzilla.
Thanks,
J
|
|
From: Eyal L. <ey...@ey...> - 2005-02-21 13:08:56
|
Running off cvs head, using: valgrind --tool=memcheck \ --leak-check=yes \ --show-reachable=no \ --num-callers=50 \ --error-limit=no \ --run-libc-freeres=no \ --time-stamp=yes \ --trace-syscalls=no \ --quiet \ my program... And also with '--trace-syscalls=yes'. After the recent changes in memory handling, I now have a situation where my program seems to run to completion, but then after it exit()s it aborts with a segmentation fault. I do not see any error logged by valgrind. This is a new problem from the last few days. Beforehand things were mostly working, except for my server running out of memory (it was not really using that much of it and I could not explain what was going on yet). Is there a branch from before this change, maybe leading to the 2.3.0 release? I could then try that one. If I should run my program with logging/debug options and post the logs then I am ready to do so. -- Eyal Lebedinsky (ey...@ey...) <http://samba.org/eyal/> attach .zip as .dat |
|
From: Jeremy F. <je...@go...> - 2005-02-21 09:09:18
|
CVS commit by fitzhardinge:
Fix sigsuspend. sigsuspend() sets a temporary signal mask, which is in
effect for any signal delivered while sigsuspend is blocked. This
patch re-adds the eff_sig_mask member of ThreadState, which is the effective
signal mask; sig_mask is the one which was set by the last call to
sigprocmask. Apart from sigsuspend, they're always set together, and
eff_sig_mask is the only one looked at to find the current signal mask.
M +7 -0 core.h 1.87
M +1 -0 vg_scheduler.c 1.223
M +15 -9 vg_signals.c 1.124
M +4 -2 vg_syscalls.c 1.251
M +3 -1 linux/core_os.c 1.8
M +2 -1 x86-linux/syscalls.c 1.24
--- valgrind/coregrind/vg_syscalls.c #1.250:1.251
@@ -1804,5 +1804,5 @@ PRE(sys_execve, Special)
;
- VG_(sigprocmask)(VKI_SIG_SETMASK, &tst->sig_mask, NULL);
+ VG_(sigprocmask)(VKI_SIG_SETMASK, &tst->eff_sig_mask, NULL);
}
@@ -5432,4 +5432,5 @@ PRE(sys_sigsuspend, MayBlock)
int, history0, int, history1,
vki_old_sigset_t, mask);
+ convert_sigset_to_rt((vki_old_sigset_t *)arg3, &tst->eff_sig_mask);
}
@@ -5447,4 +5448,5 @@ PRE(sys_rt_sigsuspend, MayBlock)
if (arg1 != (Addr)NULL) {
SYS_PRE_MEM_READ( "rt_sigsuspend(mask)", arg1, sizeof(vki_sigset_t) );
+ tst->eff_sig_mask = *(vki_sigset_t *)arg1;
}
}
@@ -6068,5 +6070,5 @@ void VG_(client_syscall) ( ThreadId tid
PRINT(" --> ...\n");
- mask = tst->sig_mask;
+ mask = tst->eff_sig_mask;
VG_(sanitize_client_sigmask)(tid, &mask);
--- valgrind/coregrind/core.h #1.86:1.87
@@ -632,4 +632,11 @@ struct _ThreadState {
vki_sigset_t sig_mask;
+ /* Effective signal mask, eff_sig_mask, is usually identical to
+ sig_mask, except when running sigsuspend. sigsuspend sets a
+ temporary signal mask while it runs, which is retained while any
+ signal handler is run; sig_mask comes into effect once the
+ handler has finished. */
+ vki_sigset_t eff_sig_mask;
+
/* A little signal queue for signals we can't get the kernel to
queue for us. This is only allocated as needed, since it should
--- valgrind/coregrind/vg_signals.c #1.123:1.124
@@ -99,5 +99,5 @@ static const Char *signame(Int sigNo);
Int VG_(max_signal) = _VKI_NSIG;
-#define N_QUEUED_SIGNALS 4
+#define N_QUEUED_SIGNALS 8
typedef struct SigQueue {
@@ -662,5 +662,5 @@ void do_setmask ( ThreadId tid,
vg_assert(VG_(is_valid_tid)(tid));
if (oldset) {
- *oldset = VG_(threads)[tid].sig_mask;
+ *oldset = VG_(threads)[tid].eff_sig_mask;
if (VG_(clo_trace_signals))
VG_(message)(Vg_DebugExtraMsg,
@@ -672,4 +672,5 @@ void do_setmask ( ThreadId tid,
VG_(sigdelset)(&VG_(threads)[tid].sig_mask, VKI_SIGKILL);
VG_(sigdelset)(&VG_(threads)[tid].sig_mask, VKI_SIGSTOP);
+ VG_(threads)[tid].eff_sig_mask = VG_(threads)[tid].sig_mask;
}
}
@@ -1398,5 +1399,5 @@ static void synth_fault_common(ThreadId
/* If they're trying to block the signal, force it to be delivered */
- if (VG_(sigismember)(&VG_(threads)[tid].sig_mask, VKI_SIGSEGV))
+ if (VG_(sigismember)(&VG_(threads)[tid].eff_sig_mask, VKI_SIGSEGV))
VG_(set_default_handler)(VKI_SIGSEGV);
@@ -1491,10 +1492,10 @@ void VG_(deliver_signal) ( ThreadId tid,
mask. The original sigmask has already been saved in the
signal frame, and will be restored on signal return. */
- VG_(sigaddset_from_set)(&tst->sig_mask, &handler->scss_mask);
- VG_(sigaddset_from_set)(&tst->sig_mask, &VG_(threads)[tid].sig_mask);
+ VG_(sigaddset_from_set)(&tst->eff_sig_mask, &handler->scss_mask);
+ VG_(sigaddset_from_set)(&tst->eff_sig_mask, &VG_(threads)[tid].sig_mask);
/* also mask this signal, unless they ask us not to */
if (!(handler->scss_flags & VKI_SA_NOMASK))
- VG_(sigaddset)(&tst->sig_mask, sigNo);
+ VG_(sigaddset)(&tst->eff_sig_mask, sigNo);
}
@@ -1537,5 +1538,5 @@ void queue_signal(ThreadId tid, const vk
*/
if (sq->sigs[sq->next].si_signo != 0)
- VG_(message)(Vg_UserMsg, "Signal %d being dropped from thread %d's queue\n",
+ VG_(message)(Vg_UserMsg, "Signal %d being dropped from thread %d's queue",
sq->sigs[sq->next].si_signo, tid);
@@ -1718,4 +1719,8 @@ void vg_sync_signalhandler ( Int sigNo,
}
+ if (VG_(clo_trace_signals))
+ VG_(message)(Vg_DebugMsg, "Routing user-sent sync signal %d via queue; resume_sched=%d",
+ sigNo, resume_sched);
+
/* Since every thread has these signals unblocked, we can't rely
on the kernel to route them properly, so we need to queue
@@ -1807,5 +1812,5 @@ void vg_sync_signalhandler ( Int sigNo,
ThreadState *tst = VG_(get_ThreadState)(VG_(get_lwp_tid)(VG_(gettid)()));
- if (VG_(sigismember)(&tst->sig_mask, sigNo)) {
+ if (VG_(sigismember)(&tst->eff_sig_mask, sigNo)) {
/* signal is blocked, but they're not allowed to block faults */
VG_(set_default_handler)(sigNo);
@@ -1925,5 +1930,5 @@ void VG_(poll_signals)(ThreadId tid)
/* look for all the signals this thread isn't blocking */
for(i = 0; i < _VKI_NSIG_WORDS; i++)
- pollset.sig[i] = ~tst->sig_mask.sig[i];
+ pollset.sig[i] = ~tst->eff_sig_mask.sig[i];
VG_(sigdelset)(&pollset, VKI_SIGVGCHLD); /* already dealt with */
@@ -2059,4 +2064,5 @@ void VG_(sigstartup_actions) ( void )
vg_assert(VG_(threads)[VG_(master_tid)].status == VgTs_Init);
VG_(threads)[VG_(master_tid)].sig_mask = saved_procmask;
+ VG_(threads)[VG_(master_tid)].eff_sig_mask = saved_procmask;
/* Calculate SKSS and apply it. This also sets the initial kernel
--- valgrind/coregrind/vg_scheduler.c #1.222:1.223
@@ -501,4 +501,5 @@ void mostly_clear_thread_record ( Thread
VG_(sigemptyset)(&VG_(threads)[tid].sig_mask);
+ VG_(sigemptyset)(&VG_(threads)[tid].eff_sig_mask);
VGA_(os_state_init)(&VG_(threads)[tid]);
--- valgrind/coregrind/x86-linux/syscalls.c #1.23:1.24
@@ -327,5 +327,6 @@ static Int do_clone(ThreadId ptid,
/* inherit signal mask */
- ctst->sig_mask = ptst->sig_mask;
+ ctst->sig_mask = ptst->eff_sig_mask;
+ ctst->eff_sig_mask = ctst->sig_mask;
/* We don't really know where the client stack is, because its
--- valgrind/coregrind/linux/core_os.c #1.7:1.8
@@ -122,6 +122,8 @@ void VGA_(final_tidyup)(ThreadId tid)
// XXX should we use a special stack?
- /* block all blockable signals... */
+ /* Block all blockable signals by copying the real block state into
+ the thread's block state*/
VG_(sigprocmask)(VKI_SIG_BLOCK, NULL, &VG_(threads)[tid].sig_mask);
+ VG_(threads)[tid].eff_sig_mask = VG_(threads)[tid].sig_mask;
/* and restore handlers to default */
|
|
From: Jeremy F. <je...@go...> - 2005-02-21 09:07:01
|
CVS commit by fitzhardinge:
Add a little function to convert from old-style to RT sigset_t's.
M +9 -4 vg_syscalls.c 1.250
--- valgrind/coregrind/vg_syscalls.c #1.249:1.250
@@ -361,4 +361,11 @@ Bool VG_(is_kerror) ( Word res )
}
+/* Convert from non-RT to RT sigset_t's */
+static void convert_sigset_to_rt(const vki_old_sigset_t *oldset, vki_sigset_t *set)
+{
+ VG_(sigemptyset)(set);
+ set->sig[0] = *oldset;
+}
+
/* One of these is allocated for each open file descriptor. */
@@ -5534,6 +5541,5 @@ PRE(sys_sigaction, Special)
new.sa_flags = oldnew->sa_flags;
new.sa_restorer = oldnew->sa_restorer;
- VG_(sigemptyset)(&new.sa_mask);
- new.sa_mask.sig[0] = oldnew->sa_mask;
+ convert_sigset_to_rt(&oldnew->sa_mask, &new.sa_mask);
newp = &new;
}
@@ -5598,6 +5604,5 @@ PRE(sys_sigprocmask, Special)
vki_sigset_t bigger_oldset;
- VG_(memset)(&bigger_set, 0, sizeof(vki_sigset_t));
- bigger_set.sig[0] = *(vki_old_sigset_t*)set;
+ convert_sigset_to_rt(set, &bigger_set);
VG_(do_sys_sigprocmask) ( tid,
|
|
From: Jeremy F. <je...@go...> - 2005-02-21 08:49:56
|
CVS commit by fitzhardinge:
Check for pending signals when returning from a handler. This makes
sure that all signals are delivered before making progress (could result
in a live-lock too). Helps more Posix conformance tests pass.
M +6 -0 syscalls.c 1.23
--- valgrind/coregrind/x86-linux/syscalls.c #1.22:1.23
@@ -582,4 +582,7 @@ PRE(sys_sigreturn, Special)
VGA_(signal_return)(tid, False);
+
+ /* Keep looking for signals until there are none */
+ VG_(poll_signals)(tid);
}
@@ -597,4 +600,7 @@ PRE(sys_rt_sigreturn, Special)
VGA_(signal_return)(tid, True);
+
+ /* Keep looking for signals until there are none */
+ VG_(poll_signals)(tid);
}
|
|
From: Albert C. <val...@ml...> - 2005-02-21 08:20:02
|
I get the following error while building 2.2.0 on Redhat Linux 7.1: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./demangle -I../include -I../include -I./x86 -DVG_LIBDIR="\"/opt/TWWfsw/valgrind22/lib"\" -DKICKSTART_BASE=0xb0000000 -Winline -Wall -Wshadow -O -fno-omit-frame-pointer -mpreferred-stack-boundary=2 -g -DELFSZ=32 -c vg_syscalls.c vg_syscalls.c: In function `before_ioctl': vg_syscalls.c:3413: `PPGETMODE' undeclared (first use in this function) vg_syscalls.c:3413: (Each undeclared identifier is reported only once vg_syscalls.c:3413: for each function it appears in.) vg_syscalls.c:3421: `PPGETPHASE' undeclared (first use in this function) vg_syscalls.c:3425: `PPGETMODES' undeclared (first use in this function) vg_syscalls.c:3429: `PPSETFLAGS' undeclared (first use in this function) vg_syscalls.c:3433: `PPGETFLAGS' undeclared (first use in this function) vg_syscalls.c: In function `after_ioctl': vg_syscalls.c:3931: `PPSETFLAGS' undeclared (first use in this function) vg_syscalls.c:3940: `PPGETMODE' undeclared (first use in this function) vg_syscalls.c:3943: `PPGETPHASE' undeclared (first use in this function) vg_syscalls.c:3946: `PPGETMODES' undeclared (first use in this function) vg_syscalls.c:3949: `PPGETFLAGS' undeclared (first use in this function) Should I just #ifdef them out? -- albert chin (ch...@th...) |
|
From: <js...@ac...> - 2005-02-21 04:00:30
|
Nightly build on phoenix ( SuSE 9.1 ) started at 2005-02-21 03:50:00 GMT Checking out source tree ... done Configuring ... done Building ... done Running regression tests ... done Last 20 lines of log.verbose follow rcl_assert: valgrind ./rcl_assert seg_override: valgrind ./seg_override -- Finished tests in none/tests/x86 ------------------------------------ yield: valgrind ./yield -- Finished tests in none/tests ---------------------------------------- == 198 tests, 11 stderr failures, 0 stdout failures ================= corecheck/tests/fdleak_fcntl (stderr) helgrind/tests/allok (stderr) helgrind/tests/deadlock (stderr) helgrind/tests/inherit (stderr) helgrind/tests/race (stderr) helgrind/tests/race2 (stderr) helgrind/tests/readshared (stderr) memcheck/tests/pth_once (stderr) memcheck/tests/scalar (stderr) memcheck/tests/threadederrno (stderr) memcheck/tests/writev (stderr) make: *** [regtest] Error 1 |
|
From: Tom H. <to...@co...> - 2005-02-21 03:28:54
|
Nightly build on dunsmere ( Fedora Core 3 ) started at 2005-02-21 03:20:04 GMT Checking out source tree ... done Configuring ... done Building ... done Running regression tests ... done Last 20 lines of log.verbose follow pushpopseg: valgrind ./pushpopseg rcl_assert: valgrind ./rcl_assert seg_override: valgrind ./seg_override -- Finished tests in none/tests/x86 ------------------------------------ yield: valgrind ./yield -- Finished tests in none/tests ---------------------------------------- == 205 tests, 10 stderr failures, 0 stdout failures ================= helgrind/tests/allok (stderr) helgrind/tests/deadlock (stderr) helgrind/tests/inherit (stderr) helgrind/tests/race (stderr) helgrind/tests/race2 (stderr) helgrind/tests/readshared (stderr) memcheck/tests/pth_once (stderr) memcheck/tests/scalar (stderr) memcheck/tests/scalar_supp (stderr) memcheck/tests/threadederrno (stderr) make: *** [regtest] Error 1 |
|
From: Tom H. <th...@cy...> - 2005-02-21 03:23:18
|
Nightly build on audi ( Red Hat 9 ) started at 2005-02-21 03:15:02 GMT Checking out source tree ... done Configuring ... done Building ... done Running regression tests ... done Last 20 lines of log.verbose follow insn_sse2: (skipping, prereq failed: ../../../tests/cputest x86-sse2) int: valgrind ./int rm: cannot remove `vgcore.pid*': No such file or directory (cleanup operation failed: rm vgcore.pid*) pushpopseg: valgrind ./pushpopseg rcl_assert: valgrind ./rcl_assert seg_override: valgrind ./seg_override -- Finished tests in none/tests/x86 ------------------------------------ yield: valgrind ./yield -- Finished tests in none/tests ---------------------------------------- == 204 tests, 6 stderr failures, 0 stdout failures ================= helgrind/tests/allok (stderr) helgrind/tests/deadlock (stderr) helgrind/tests/inherit (stderr) helgrind/tests/race (stderr) helgrind/tests/race2 (stderr) helgrind/tests/readshared (stderr) make: *** [regtest] Error 1 |
|
From: Tom H. <th...@cy...> - 2005-02-21 03:17:09
|
Nightly build on ginetta ( Red Hat 8.0 ) started at 2005-02-21 03:10:03 GMT Checking out source tree ... done Configuring ... done Building ... done Running regression tests ... done Last 20 lines of log.verbose follow rm: cannot remove `vgcore.pid*': No such file or directory (cleanup operation failed: rm vgcore.pid*) pushpopseg: valgrind ./pushpopseg rcl_assert: valgrind ./rcl_assert seg_override: valgrind ./seg_override -- Finished tests in none/tests/x86 ------------------------------------ yield: valgrind ./yield -- Finished tests in none/tests ---------------------------------------- == 203 tests, 8 stderr failures, 0 stdout failures ================= helgrind/tests/allok (stderr) helgrind/tests/deadlock (stderr) helgrind/tests/inherit (stderr) helgrind/tests/race (stderr) helgrind/tests/race2 (stderr) helgrind/tests/readshared (stderr) memcheck/tests/pth_once (stderr) memcheck/tests/threadederrno (stderr) make: *** [regtest] Error 1 |
|
From: Tom H. <th...@cy...> - 2005-02-21 03:15:51
|
Nightly build on standard ( Red Hat 7.2 ) started at 2005-02-21 03:00:03 GMT Checking out source tree ... done Configuring ... done Building ... done Running regression tests ... done Last 20 lines of log.verbose follow (cleanup operation failed: rm vgcore.pid*) pushpopseg: valgrind ./pushpopseg rcl_assert: valgrind ./rcl_assert seg_override: valgrind ./seg_override -- Finished tests in none/tests/x86 ------------------------------------ yield: valgrind ./yield -- Finished tests in none/tests ---------------------------------------- == 203 tests, 9 stderr failures, 0 stdout failures ================= helgrind/tests/allok (stderr) helgrind/tests/deadlock (stderr) helgrind/tests/inherit (stderr) helgrind/tests/race (stderr) helgrind/tests/race2 (stderr) helgrind/tests/readshared (stderr) memcheck/tests/pth_once (stderr) memcheck/tests/threadederrno (stderr) memcheck/tests/vgtest_ume (stderr) make: *** [regtest] Error 1 |
|
From: Tom H. <th...@cy...> - 2005-02-21 03:11:56
|
Nightly build on alvis ( Red Hat 7.3 ) started at 2005-02-21 03:05:02 GMT Checking out source tree ... done Configuring ... done Building ... done Running regression tests ... done Last 20 lines of log.verbose follow == 203 tests, 16 stderr failures, 0 stdout failures ================= addrcheck/tests/addressable (stderr) helgrind/tests/allok (stderr) helgrind/tests/deadlock (stderr) helgrind/tests/inherit (stderr) helgrind/tests/race (stderr) helgrind/tests/race2 (stderr) helgrind/tests/readshared (stderr) massif/tests/toobig-allocs (stderr) massif/tests/true_html (stderr) massif/tests/true_text (stderr) memcheck/tests/addressable (stderr) memcheck/tests/badjump (stderr) memcheck/tests/post-syscall (stderr) memcheck/tests/pth_once (stderr) memcheck/tests/threadederrno (stderr) memcheck/tests/vgtest_ume (stderr) make: *** [regtest] Error 1 |