I decided to pursue this a little further, and wrote a really brain dead test
case:
#include <sys/types.h>
#include <dirent.h>
int main() {
DIR *d;
struct dirent64 *dent;
struct dirent64 *dresult;
d = opendir("/tmp");
readdir64_r(d, dent, &dresult);
closedir(d);
}
This segfaults on my machine in the same way. Here's what I see from gdb:
(gdb) where
#0 0xb7ed09bc in memcpy () from /lib/tls/i686/cmov/libc.so.6
#1 0xb7eef10b in readdir64_r () from /lib/tls/i686/cmov/libc.so.6
#2 0x08048485 in main ()
If I get some time this evening I'll try stepping through this to see
what is going on. For now I'm going to have to let this go.
--
package ubuntu-docs 8.04.2~hardy failed to install/upgrade: subprocess
post-installation script returned error exit status 139
https://bugs.launchpad.net/bugs/220762
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs