|
From: Daniel B. <dan...@gm...> - 2003-07-17 14:40:47
|
Is support for the clone() syscall planned for valgrind at any stage? Valgrind-20030716 seems to be better than ever, and is such a powerful tool! Just that it can't go on when hitting a clone() it seems. Please CC replies to me, as I'm not subscribed. Many thanks! -- Daniel J Blueman +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Jetzt ein- oder umsteigen und USB-Speicheruhr als Prämie sichern! |
|
From: Dirk M. <dm...@gm...> - 2003-07-17 16:01:12
|
On Don, 17 Jul 2003, Daniel Blueman wrote: > Is support for the clone() syscall planned for valgrind at any stage? is this a ptread app or a NPTL one? -- Dirk |
|
From: Jeremy F. <je...@go...> - 2003-07-17 16:13:38
|
On Thu, 2003-07-17 at 07:40, Daniel Blueman wrote: > Is support for the clone() syscall planned for valgrind at any stage? > > Valgrind-20030716 seems to be better than ever, and is such a powerful tool! > Just that it can't go on when hitting a clone() it seems. What sort of clone()? If you're threading with a thread library V should never see them, so I'm guessing you're doing something special. What flags are you passing to clone()? J |
|
From: Daniel B. <dan...@gm...> - 2003-07-18 13:48:14
|
This app uses:
res = __clone(lwp, stack + STACK_SIZE,
CLONE_VM | CLONE_FS | CLONE_FILES | CLONE_SIGHAND,
(void *) ctx)) == -1);
Perhaps this is a varient that valgrind does not support?
Dan
> On Thu, 2003-07-17 at 07:40, Daniel Blueman wrote:
> > Is support for the clone() syscall planned for valgrind at any stage?
> >
> > Valgrind-20030716 seems to be better than ever, and is such a powerful
> tool!
> > Just that it can't go on when hitting a clone() it seems.
>
> What sort of clone()? If you're threading with a thread library V
> should never see them, so I'm guessing you're doing something special.
> What flags are you passing to clone()?
>
> J
>
--
Daniel J Blueman
+++ GMX - Mail, Messaging & more http://www.gmx.net +++
Jetzt ein- oder umsteigen und USB-Speicheruhr als Prämie sichern!
|
|
From: Jeremy F. <je...@go...> - 2003-07-18 18:50:58
|
On Fri, 2003-07-18 at 06:48, Daniel Blueman wrote: > This app uses: > > res = __clone(lwp, stack + STACK_SIZE, > CLONE_VM | CLONE_FS | CLONE_FILES | CLONE_SIGHAND, > (void *) ctx)) == -1); > > Perhaps this is a varient that valgrind does not support? Valgrind does not currently support any variant of clone. We are considering adding clone support, but I don't think it will be possible to do all (or even many) of the possible combinations of CLONE_* flags - but fortunately it seems that something like the flag set above would cover almost all real uses of clone(). J |