Package: libc0.3 Severity: normal TIOCFLUSH ioctl causes segfault:
$ cat test.c #include <sys/ioctl.h> #include <fcntl.h> main () {ioctl (open("/tmp/file", O_CREAT|O_RDONLY|O_WRONLY), TIOCFLUSH, 0);} $ gcc -g test.c -o test $ LD_LIBRARY_PATH=/lib/debug gdb ./test [...] (gdb) r Starting program: /tmp/test Program received signal SIGSEGV, Segmentation fault. 0x010b57e9 in __mempcpy (dstpp=0x1017aac, srcpp=0x0, len=4) at ../sysdeps/generic/mempcpy.c:63 63 ../sysdeps/generic/mempcpy.c: No such file or directory. in ../sysdeps/generic/mempcpy.c (gdb) bt #0 0x010b57e9 in __mempcpy (dstpp=0x1017aac, srcpp=0x0, len=4) at ../sysdeps/generic/mempcpy.c:63 #1 0x0111a94e in in (count=1, type=IOC_32) at ../sysdeps/mach/hurd/ioctl.c:117 #2 0x0111a9bc in send_rpc.0 () at ../sysdeps/mach/hurd/ioctl.c:129 #3 0x010584cf in _hurd_ctty_output (port=72, ctty=0, rpc=0x1017b10) at ctty-output.c:50 #4 0x0111b2d9 in __ioctl () at ../sysdeps/mach/hurd/ioctl.c:257 #5 0x0804848e in main () at test.c:6 #6 0x0105a5bf in __libc_start_main (main=0x804845c <main>, argc=1, ubp_av=0x1017c14, init=0x8048354 <_init>, fini=0x80484b8 <_fini>, rtld_fini=0x4, stack_end=0x10012002) at ../sysdeps/generic/libc-start.c:144 (gdb) q -- Robert Millan make: *** No rule to make target `war'. Stop. Another world is possible - Just say no to genocide _______________________________________________ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd