|
From: Mikhail K. <me...@cs...> - 2005-01-21 18:40:37
|
Hi, Under Valgrind, when trying to call system() from a pthread on Linux (RH 3) I'm getting strange error message: ==16943== Thread 2: ==16943== Syscall param execve(envp) contains uninitialised or unaddressable byte(s) ==16943== at 0x1B9E5BEA: execve (in /lib/tls/libc-2.3.2.so) ==16943== by 0x1B97A460: do_system (in /lib/tls/libc-2.3.2.so) ==16943== by 0x1B979FAB: system (in /lib/tls/libc-2.3.2.so) ==16943== by 0x1B910453: system (vg_libpthread.c:2531) ==16943== Address 0x52BFEA9C is not stack'd, malloc'd or (recently) free'd ==16943== ==16943== Thread 2: ==16943== Syscall param execve(envp[i]) contains uninitialised or unaddressable byte(s) ==16943== at 0x1B9E5BEA: execve (in /lib/tls/libc-2.3.2.so) ==16943== by 0x1B97A460: do_system (in /lib/tls/libc-2.3.2.so) ==16943== by 0x1B979FAB: system (in /lib/tls/libc-2.3.2.so) ==16943== by 0x1B910453: system (vg_libpthread.c:2531) ==16943== Address 0x52BFEB98 is not stack'd, malloc'd or (recently) free'd What does this mean? Please cc, I'm not subscribed. |
|
From: Tom H. <th...@cy...> - 2005-01-21 19:21:34
|
In message <Pin...@eo...> you wrote: > Under Valgrind, when trying to call system() from a pthread on Linux (RH > 3) I'm getting strange error message: > > ==16943== Thread 2: > ==16943== Syscall param execve(envp) contains uninitialised or > unaddressable > byte(s) > ==16943== at 0x1B9E5BEA: execve (in /lib/tls/libc-2.3.2.so) > ==16943== by 0x1B97A460: do_system (in /lib/tls/libc-2.3.2.so) > ==16943== by 0x1B979FAB: system (in /lib/tls/libc-2.3.2.so) > ==16943== by 0x1B910453: system (vg_libpthread.c:2531) > ==16943== Address 0x52BFEA9C is not stack'd, malloc'd or (recently) > free'd See bug 85625 for details of why this happens. It is fixed in the current CVS code base. Tom -- Tom Hughes (th...@cy...) Software Engineer, Cyberscience Corporation http://www.cyberscience.com/ |