------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x00000000 103680 nobody 600 52228 3 dest
0x00000000 68865 jay 777 56 0
0x00000000 68866 jay 777 800 0
0x00000000 68867 jay 777 80 0
------ Semaphore Arrays --------
key semid owner perms nsems status
------ Message Queues --------
key msqid owner perms used-bytes messages
0x00000000 0 root 700 65 0
0x00000000 1 root 700 66 0
Segmentation fault (core dumped)
WTF? Seg fault?
I built a new ipcs from util-linux 2.9o (the latest, AFAIK)
and it still seg faults.
strace ./ipcs
<....>
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
fstat(3, {st_mode=0, st_size=0, ...}) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x4000c000
read(3, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 857
close(3) = 0
munmap(0x4000c000, 4096) = 0
write(1, "0x00000000 1 root 7"..., 660x00000000 1
root 700 66 0
) = 66
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++
even gdb is not giving me anything useful.
(gdb) run
Starting program: /usr/src/redhat/BUILD/util-linux-2.9r/sys-utils/ipcs
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x00000000 103680 nobody 600 52228 3 dest
0x00000000 68865 jay 777 56 0
0x00000000 68866 jay 777 800 0
0x00000000 68867 jay 777 80 0
------ Semaphore Arrays --------
key semid owner perms nsems status
------ Message Queues --------
key msqid owner perms used-bytes messages
0x00000000 0 root 700 65 0
0x00000000 1 root 700 66 0
Program received signal SIGSEGV, Segmentation fault.
0xffffffea in ?? ()
(gdb) bt
#0 0xffffffea in ?? ()
-- Jay Thorne The Net Result System Services jay@result.com Http://net.result.com Zoom 505 Effect page http://net.result.com/~jay Zoom 5xx series Patch Database: http://net.result.com/~jay/db.html- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/