|
From: Tom H. <th...@cy...> - 2003-12-18 10:05:10
|
In message <107...@ix...>
Jeremy Fitzhardinge <je...@go...> wrote:
> On Thu, 2003-12-18 at 00:24, Tom Hughes wrote:
>> It gives the kernel a pointer to a pid_t which in which it should
>> store the current thread's tid whenever it feels like it. In this
>> case ld.so was actually passing NULL as the argument so it was in
>> fact turning off this functionality.
>
> So we can just ignore the syscall for now?
I suspect so, because it seemed to work even though it printed a
warning about the unimplemented system call.
>> No. It was looking at the symbol tables and was managing to map about
>> half the libraries then reporting mmap failed for the rest. As I increased
>> that number it gradually reported fewer and fewer failures.
>
> Hm. I'm a bit confused. Can you look at what's mapped at the time it
> fails?
I'll have a look.
>> At 4 and 5, after stdin/out/err and my valgrind log fd which is 3:
>
> That was actually a bug in your patch to set VG_(max_fds) dynamically -
> it was trying to use VG_(safe_fd) before you'd initialized
> VG_(max_fds). I just checked in a fix.
Ah right. I'd forgotten I had some of my patches applied ;-)
Tom
--
Tom Hughes (th...@cy...)
Software Engineer, Cyberscience Corporation
http://www.cyberscience.com/
|