|
From: Tom H. <th...@cy...> - 2003-11-12 22:30:50
|
In message <3FB...@sa...>
"Ralph R. Peters" <rr...@sa...> wrote:
> Valgrind was suggested to me as an superior alternative to purify, which
> isn't avaliable for linux systems! I installed it and it worked on
> simple stuff. However, it will not work on the software that I have
> spent the last 4 years developing (Rapid World Modeler).
>
> I thought that I would forward the error to this group in hopes that
> someone might write the bit of code to fix the problem. I don't have
> the expertise to do the right thing to fix it.
>
> I am running RedHat 9 and using valgrind 2.0.0.
You're using RedHat 9 so this could be an NPTL related problem, as
the set_thread_area system call is part of the new threading model.
That said, this isn't the normal failure mode for NPTL and from the
filenames in stack trace it looks like valgrind has correctly forced
a fallback to the older threading model.
Do you perhaps have some custom threading code of your own that is
using this system call? or perhaps a library that you are using does?
Unfortunately simply implenting a wrapper for the system call is
unlikely to help much in this case, as being able to set the thread
area is much use on it's own.
Tom
--
Tom Hughes (th...@cy...)
Software Engineer, Cyberscience Corporation
http://www.cyberscience.com/
|