Unexplained Segmentation Fault

Ken Murchison ken at oceana.com
Sun Jul 13 09:12:37 EDT 2003


Actually, I wanted a backtrace of the stack via a debugger, eg, run gdb 
on the imtest core file.


Guilden Crantz wrote:
> Here is the stack trace (password removed): 
>  
> [root at ophelia src]# strace imtest -t "" menagerie.cc 
> execve("/usr/local/bin/imtest", ["imtest", "-t", "", "menagerie.cc"], [/* 20 vars */]) = 0 
> uname({sys="Linux", node="ophelia.menagerie.cc", ...}) = 0 
> brk(0)                                  = 0x8052a1c 
> open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory) 
> open("/usr/local/lib/i586/mmx/libsasl2.so.2", O_RDONLY) = -1 ENOENT (No such file or 
> directory) 
> stat64("/usr/local/lib/i586/mmx", 0xbffff030) = -1 ENOENT (No such file or directory) 
> open("/usr/local/lib/i586/libsasl2.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) 
> stat64("/usr/local/lib/i586", 0xbffff030) = -1 ENOENT (No such file or directory) 
> open("/usr/local/lib/mmx/libsasl2.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) 
> stat64("/usr/local/lib/mmx", 0xbffff030) = -1 ENOENT (No such file or directory) 
> open("/usr/local/lib/libsasl2.so.2", O_RDONLY) = 3 
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`/\0\000"..., 1024) = 1024 
> fstat64(3, {st_mode=S_IFREG|0755, st_size=367489, ...}) = 0 
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
> 0) = 0x40012000 
> old_mmap(NULL, 72104, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40013000 
> mprotect(0x40024000, 2472, PROT_NONE)   = 0 
> old_mmap(0x40024000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
> 0x10000) = 0x40024000 
> close(3)                                = 0 
> open("/usr/local/lib/libssl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) 
> open("/etc/ld.so.cache", O_RDONLY)      = 3 
> fstat64(3, {st_mode=S_IFREG|0644, st_size=29391, ...}) = 0 
> old_mmap(NULL, 29391, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40025000 
> close(3)                                = 0 
> open("/lib/libssl.so.2", O_RDONLY)      = 3 
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\220"..., 1024) = 1024 
> fstat64(3, {st_mode=S_IFREG|0755, st_size=224997, ...}) = 0 
> old_mmap(NULL, 195044, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4002d000 
> mprotect(0x4005a000, 10724, PROT_NONE)  = 0 
> old_mmap(0x4005a000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
> 0x2d000) = 0x4005a000 
> close(3)                                = 0 
> open("/usr/local/lib/libcrypto.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) 
> open("/lib/libcrypto.so.2", O_RDONLY)   = 3 
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\00009\2\000"..., 1024) = 1024 
> fstat64(3, {st_mode=S_IFREG|0755, st_size=999564, ...}) = 0 
> old_mmap(NULL, 880612, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4005d000 
> mprotect(0x40125000, 61412, PROT_NONE)  = 0 
> old_mmap(0x40125000, 49152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
> 0xc7000) = 0x40125000 
> old_mmap(0x40131000, 12260, PROT_READ|PROT_WRITE, 
> MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40131000 
> close(3)                                = 0 
> open("/usr/local/lib/libresolv.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) 
> open("/lib/libresolv.so.2", O_RDONLY)   = 3 
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\270&\0"..., 1024) = 1024 
> fstat64(3, {st_mode=S_IFREG|0755, st_size=65191, ...}) = 0 
> old_mmap(NULL, 65348, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40134000 
> mprotect(0x40141000, 12100, PROT_NONE)  = 0 
> old_mmap(0x40141000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
> 0xd000) = 0x40141000 
> old_mmap(0x40142000, 8004, PROT_READ|PROT_WRITE, 
> MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40142000 
> close(3)                                = 0 
> open("/usr/local/lib/libdb-4.0.so", O_RDONLY) = -1 ENOENT (No such file or directory) 
> open("/lib/libdb-4.0.so", O_RDONLY)     = 3 
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\27"..., 1024) = 1024 
> fstat64(3, {st_mode=S_IFREG|0555, st_size=760175, ...}) = 0 
> old_mmap(NULL, 686348, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40144000 
> mprotect(0x401ea000, 6412, PROT_NONE)   = 0 
> old_mmap(0x401ea000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
> 0xa5000) = 0x401ea000 
> close(3)                                = 0 
> open("/usr/local/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) 
> open("/lib/libc.so.6", O_RDONLY)        = 3 
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0hU\1\000"..., 1024) = 1024 
> fstat64(3, {st_mode=S_IFREG|0755, st_size=1327065, ...}) = 0 
> old_mmap(NULL, 1171268, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x401ec000 
> mprotect(0x40301000, 36676, PROT_NONE)  = 0 
> old_mmap(0x40301000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
> 0x115000) = 0x40301000 
> old_mmap(0x40306000, 16196, PROT_READ|PROT_WRITE, 
> MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40306000 
> close(3)                                = 0 
> open("/usr/local/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) 
> open("/usr/local/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) 
> open("/lib/libdl.so.2", O_RDONLY)       = 3 
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\\\27\0"..., 1024) = 1024 
> fstat64(3, {st_mode=S_IFREG|0755, st_size=10825, ...}) = 0 
> old_mmap(NULL, 10888, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4030a000 
> mprotect(0x4030c000, 2696, PROT_NONE)   = 0 
> old_mmap(0x4030c000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
> 0x1000) = 0x4030c000 
> close(3)                                = 0 
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
> 0) = 0x4030d000 
> munmap(0x40025000, 29391)               = 0 
> brk(0)                                  = 0x8052a1c 
> brk(0x8053a1c)                          = 0x8053a1c 
> brk(0x8054000)                          = 0x8054000 
> open("/etc/nsswitch.conf", O_RDONLY)    = 3 
> fstat64(3, {st_mode=S_IFREG|0644, st_size=1745, ...}) = 0 
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
> 0) = 0x40025000 
> read(3, "#\n# /etc/nsswitch.conf\n#\n# An ex"..., 4096) = 1745 
> read(3, "", 4096)                       = 0 
> close(3)                                = 0 
> munmap(0x40025000, 4096)                = 0 
> open("/usr/local/lib/libnss_files.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) 
> open("/etc/ld.so.cache", O_RDONLY)      = 3 
> fstat64(3, {st_mode=S_IFREG|0644, st_size=29391, ...}) = 0 
> old_mmap(NULL, 29391, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40025000 
> close(3)                                = 0 
> open("/lib/libnss_files.so.2", O_RDONLY) = 3 
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\35\0"..., 1024) = 1024 
> fstat64(3, {st_mode=S_IFREG|0755, st_size=40952, ...}) = 0 
> old_mmap(NULL, 33720, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4030e000 
> mprotect(0x40316000, 952, PROT_NONE)    = 0 
> old_mmap(0x40316000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
> 0x8000) = 0x40316000 
> close(3)                                = 0 
> munmap(0x40025000, 29391)               = 0 
> open("/etc/services", O_RDONLY)         = 3 
> fcntl64(3, F_GETFD)                     = 0 
> fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0 
> fstat64(3, {st_mode=S_IFREG|0644, st_size=19950, ...}) = 0 
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
> 0) = 0x40025000 
> read(3, "# /etc/services:\n# $Id: services"..., 4096) = 4096 
> read(3, "TBIOS Name Service\nnetbios-ns\t13"..., 4096) = 4096 
> close(3)                                = 0 
> munmap(0x40025000, 4096)                = 0 
> brk(0x8055000)                          = 0x8055000 
> open("/dev/null", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = -1 ENOTDIR (Not a directory) 
> open("/usr/lib/sasl2", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3 
> fstat64(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 
> fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0 
> brk(0x8056000)                          = 0x8056000 
> getdents64(0x3, 0x8054a68, 0x1000, 0)   = 1224 
> open("/usr/lib/sasl2/libanonymous.la", O_RDONLY) = 4 
> fstat64(4, {st_mode=S_IFREG|0755, st_size=777, ...}) = 0 
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
> 0) = 0x40025000 
> read(4, "# libanonymous.la - a libtool li"..., 4096) = 777 
> close(4)                                = 0 
> munmap(0x40025000, 4096)                = 0 
> open("/usr/lib/sasl2/libanonymous.so.2", O_RDONLY) = 4 
> read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240\v\0"..., 1024) = 1024 
> fstat64(4, {st_mode=S_IFREG|0755, st_size=16161, ...}) = 0 
> old_mmap(NULL, 15148, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x40025000 
> mprotect(0x40028000, 2860, PROT_NONE)   = 0 
> old_mmap(0x40028000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 
> 0x2000) = 0x40028000 
> close(4)                                = 0 
> open("/usr/local/lib/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory) 
> open("/etc/ld.so.cache", O_RDONLY)      = 4 
> fstat64(4, {st_mode=S_IFREG|0644, st_size=29391, ...}) = 0 
> old_mmap(NULL, 29391, PROT_READ, MAP_PRIVATE, 4, 0) = 0x40317000 
> close(4)                                = 0 
> open("/lib/libcrypt.so.1", O_RDONLY)    = 4 
> read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\230\t\0"..., 1024) = 1024 
> fstat64(4, {st_mode=S_IFREG|0755, st_size=21094, ...}) = 0 
> old_mmap(NULL, 180860, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x4031f000 
> mprotect(0x40324000, 160380, PROT_NONE) = 0 
> old_mmap(0x40324000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 
> 0x4000) = 0x40324000 
> old_mmap(0x40325000, 156284, PROT_READ|PROT_WRITE, 
> MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40325000 
> close(4)                                = 0 
> brk(0x8057000)                          = 0x8057000 
> munmap(0x40317000, 29391)               = 0 
> open("/usr/lib/sasl2/libanonymous.la", O_RDONLY) = 4 
> close(4)                                = 0 
> open("/usr/lib/sasl2/libsasldb.la", O_RDONLY) = 4 
> fstat64(4, {st_mode=S_IFREG|0755, st_size=778, ...}) = 0 
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
> 0) = 0x40029000 
> read(4, "# libsasldb.la - a libtool libra"..., 4096) = 778 
> close(4)                                = 0 
> munmap(0x40029000, 4096)                = 0 
> open("/usr/lib/sasl2/libsasldb.so.2", O_RDONLY) = 4 
> read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\r\0"..., 1024) = 1024 
> fstat64(4, {st_mode=S_IFREG|0755, st_size=19933, ...}) = 0 
> old_mmap(NULL, 18712, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x40317000 
> mprotect(0x4031b000, 2328, PROT_NONE)   = 0 
> old_mmap(0x4031b000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 
> 0x3000) = 0x4031b000 
> close(4)                                = 0 
> open("/usr/lib/sasl2/libsasldb.la", O_RDONLY) = 4 
> close(4)                                = 0 
> open("/usr/lib/sasl2/libcrammd5.la", O_RDONLY) = 4 
> fstat64(4, {st_mode=S_IFREG|0755, st_size=763, ...}) = 0 
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
> 0) = 0x40029000 
> read(4, "# libcrammd5.la - a libtool libr"..., 4096) = 763 
> close(4)                                = 0 
> munmap(0x40029000, 4096)                = 0 
> open("/usr/lib/sasl2/libcrammd5.so.2", O_RDONLY) = 4 
> read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360\f\0"..., 1024) = 1024 
> fstat64(4, {st_mode=S_IFREG|0755, st_size=19425, ...}) = 0 
> old_mmap(NULL, 18148, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x4034c000 
> mprotect(0x40350000, 1764, PROT_NONE)   = 0 
> old_mmap(0x40350000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 
> 0x3000) = 0x40350000 
> close(4)                                = 0 
> open("/usr/lib/sasl2/libcrammd5.la", O_RDONLY) = 4 
> close(4)                                = 0 
> open("/usr/lib/sasl2/libdigestmd5.la", O_RDONLY) = 4 
> fstat64(4, {st_mode=S_IFREG|0755, st_size=786, ...}) = 0 
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
> 0) = 0x40029000 
> read(4, "# libdigestmd5.la - a libtool li"..., 4096) = 786 
> close(4)                                = 0 
> munmap(0x40029000, 4096)                = 0 
> open("/usr/lib/sasl2/libdigestmd5.so.2", O_RDONLY) = 4 
> read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\21\0\000"..., 1024) = 1024 
> fstat64(4, {st_mode=S_IFREG|0755, st_size=47047, ...}) = 0 
> old_mmap(NULL, 43820, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x40351000 
> mprotect(0x4035b000, 2860, PROT_NONE)   = 0 
> old_mmap(0x4035b000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 
> 0x9000) = 0x4035b000 
> close(4)                                = 0 
> open("/usr/lib/sasl2/libdigestmd5.la", O_RDONLY) = 4 
> close(4)                                = 0 
> open("/usr/lib/sasl2/liblogin.la", O_RDONLY) = 4 
> fstat64(4, {st_mode=S_IFREG|0755, st_size=749, ...}) = 0 
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
> 0) = 0x40029000 
> read(4, "# liblogin.la - a libtool librar"..., 4096) = 749 
> close(4)                                = 0 
> munmap(0x40029000, 4096)                = 0 
> open("/usr/lib/sasl2/liblogin.so.2", O_RDONLY) = 4 
> read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\v\0"..., 1024) = 1024 
> fstat64(4, {st_mode=S_IFREG|0755, st_size=16565, ...}) = 0 
> old_mmap(NULL, 15664, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x40029000 
> mprotect(0x4002c000, 3376, PROT_NONE)   = 0 
> old_mmap(0x4002c000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 
> 0x2000) = 0x4002c000 
> close(4)                                = 0 
> open("/usr/lib/sasl2/liblogin.la", O_RDONLY) = 4 
> close(4)                                = 0 
> open("/usr/lib/sasl2/libplain.la", O_RDONLY) = 4 
> fstat64(4, {st_mode=S_IFREG|0755, st_size=749, ...}) = 0 
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
> 0) = 0x4031c000 
> read(4, "# libplain.la - a libtool librar"..., 4096) = 749 
> close(4)                                = 0 
> munmap(0x4031c000, 4096)                = 0 
> open("/usr/lib/sasl2/libplain.so.2", O_RDONLY) = 4 
> read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240\v\0"..., 1024) = 1024 
> fstat64(4, {st_mode=S_IFREG|0755, st_size=16467, ...}) = 0 
> brk(0x8058000)                          = 0x8058000 
> old_mmap(NULL, 15604, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x4035c000 
> mprotect(0x4035f000, 3316, PROT_NONE)   = 0 
> old_mmap(0x4035f000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 
> 0x2000) = 0x4035f000 
> close(4)                                = 0 
> open("/usr/lib/sasl2/libplain.la", O_RDONLY) = 4 
> close(4)                                = 0 
> getdents64(0x3, 0x8054a68, 0x1000, 0)   = 0 
> close(3)                                = 0 
> gettimeofday({1058067136, 23875}, NULL) = 0 
> getpid()                                = 16671 
> open("/etc/resolv.conf", O_RDONLY)      = 3 
> fstat64(3, {st_mode=S_IFREG|0644, st_size=145, ...}) = 0 
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
> 0) = 0x4031c000 
> read(3, "search menagerie.cc\n#nameserver "..., 4096) = 145 
> read(3, "", 4096)                       = 0 
> close(3)                                = 0 
> munmap(0x4031c000, 4096)                = 0 
> socket(PF_UNIX, SOCK_STREAM, 0)         = 3 
> connect(3, {sin_family=AF_UNIX, path="/var/run/.nscd_socket"}, 110) = -1 ENOENT (No such 
> file or directory) 
> close(3)                                = 0 
> open("/etc/host.conf", O_RDONLY)        = 3 
> fstat64(3, {st_mode=S_IFREG|0644, st_size=17, ...}) = 0 
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
> 0) = 0x4031c000 
> read(3, "order hosts,bind\n", 4096)     = 17 
> read(3, "", 4096)                       = 0 
> close(3)                                = 0 
> munmap(0x4031c000, 4096)                = 0 
> open("/etc/hosts", O_RDONLY)            = 3 
> fcntl64(3, F_GETFD)                     = 0 
> fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0 
> fstat64(3, {st_mode=S_IFREG|0644, st_size=228, ...}) = 0 
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
> 0) = 0x4031c000 
> read(3, "# Do not remove the following li"..., 4096) = 228 
> read(3, "", 4096)                       = 0 
> close(3)                                = 0 
> munmap(0x4031c000, 4096)                = 0 
> open("/usr/local/lib/libnss_nisplus.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) 
> open("/etc/ld.so.cache", O_RDONLY)      = 3 
> fstat64(3, {st_mode=S_IFREG|0644, st_size=29391, ...}) = 0 
> old_mmap(NULL, 29391, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40360000 
> close(3)                                = 0 
> open("/lib/libnss_nisplus.so.2", O_RDONLY) = 3 
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\244\33"..., 1024) = 1024 
> fstat64(3, {st_mode=S_IFREG|0755, st_size=46843, ...}) = 0 
> old_mmap(NULL, 43316, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40368000 
> mprotect(0x40372000, 2356, PROT_NONE)   = 0 
> old_mmap(0x40372000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
> 0x9000) = 0x40372000 
> close(3)                                = 0 
> open("/usr/local/lib/libnsl.so.1", O_RDONLY) = -1 ENOENT (No such file or directory) 
> open("/lib/libnsl.so.1", O_RDONLY)      = 3 
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240:\0"..., 1024) = 1024 
> fstat64(3, {st_mode=S_IFREG|0755, st_size=82857, ...}) = 0 
> old_mmap(NULL, 81152, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40373000 
> mprotect(0x40384000, 11520, PROT_NONE)  = 0 
> old_mmap(0x40384000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
> 0x10000) = 0x40384000 
> old_mmap(0x40385000, 7424, PROT_READ|PROT_WRITE, 
> MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40385000 
> close(3)                                = 0 
> munmap(0x40360000, 29391)               = 0 
> uname({sys="Linux", node="ophelia.menagerie.cc", ...}) = 0 
> open("/var/nis/NIS_COLD_START", O_RDONLY) = -1 ENOENT (No such file or directory) 
> open("/var/nis/NIS_COLD_START", O_RDONLY) = -1 ENOENT (No such file or directory) 
> open("/usr/local/lib/libnss_dns.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) 
> open("/etc/ld.so.cache", O_RDONLY)      = 3 
> fstat64(3, {st_mode=S_IFREG|0644, st_size=29391, ...}) = 0 
> old_mmap(NULL, 29391, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40360000 
> close(3)                                = 0 
> open("/lib/libnss_dns.so.2", O_RDONLY)  = 3 
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\r\0"..., 1024) = 1024 
> fstat64(3, {st_mode=S_IFREG|0755, st_size=15218, ...}) = 0 
> old_mmap(NULL, 15464, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40387000 
> mprotect(0x4038a000, 3176, PROT_NONE)   = 0 
> old_mmap(0x4038a000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
> 0x2000) = 0x4038a000 
> close(3)                                = 0 
> munmap(0x40360000, 29391)               = 0 
> socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3 
> connect(3, {sin_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("63.240.76.19")}}, 28) 
> = 0 
> send(3, "\316\235\1\0\0\1\0\0\0\0\0\0\tmenagerie\2cc\0\0\1\0\1", 30, 0) = 30 
> gettimeofday({1058067136, 267107}, NULL) = 0 
> poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, 5000) = 1 
> recvfrom(3, "\316\235\201\202\0\1\0\0\0\0\0\0\tmenagerie\2cc\0\0\1\0"..., 65536, 0, 
> {sin_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("63.240.76.19")}}, [16]) = 30 
> close(3)                                = 0 
> socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3 
> connect(3, {sin_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("204.127.198.19")}}, 
> 28) = 0 
> send(3, "\316\235\1\0\0\1\0\0\0\0\0\0\tmenagerie\2cc\0\0\1\0\1", 30, 0) = 30 
> gettimeofday({1058067137, 844843}, NULL) = 0 
> poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, 5000) = 1 
> recvfrom(3, "\316\235\205\200\0\1\0\1\0\1\0\0\tmenagerie\2cc\0\0\1\0"..., 65536, 0, 
> {sin_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("204.127.198.19")}}, [16]) = 73 
> close(3)                                = 0 
> socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3 
> connect(3, {sin_family=AF_INET, sin_port=htons(143), sin_addr=inet_addr("24.131.185.5")}}, 
> 16) = 0 
> getpeername(3, {sin_family=AF_INET, sin_port=htons(143), 
> sin_addr=inet_addr("24.131.185.5")}}, [16]) = 0 
> getsockname(3, {sin_family=AF_INET, sin_port=htons(1279), 
> sin_addr=inet_addr("192.168.1.10")}}, [16]) = 0 
> uname({sys="Linux", node="ophelia.menagerie.cc", ...}) = 0 
> brk(0x8059000)                          = 0x8059000 
> brk(0x805a000)                          = 0x805a000 
> read(3, "* OK ophelia.menagerie.cc Cyrus "..., 4096) = 60 
> write(1, "S: * OK ophelia.menagerie.cc Cyr"..., 63S: * OK ophelia.menagerie.cc Cyrus IMAP4 
> v2.1.13 server ready 
> ) = 63 
> write(1, "C: C01 CAPABILITY\r\n", 19C: C01 CAPABILITY 
> )   = 19 
> write(3, "C01 CAPABILITY\r\n", 16)      = 16 
> read(3, "* CAPABILITY IMAP4 IMAP4rev1 ACL"..., 4096) = 212 
> write(1, "S: * CAPABILITY IMAP4 IMAP4rev1 "..., 197S: * CAPABILITY IMAP4 IMAP4rev1 
> ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE UIDPLUS ID 
> NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND SORT 
> THREAD=ORDEREDSUBJECT THREAD=REFERENCES IDLE STARTTLS 
> ) = 197 
> write(1, "S: C01 OK Completed\r\n", 21S: C01 OK Completed 
> ) = 21 
> write(1, "C: S01 STARTTLS\r\n", 17C: S01 STARTTLS 
> )     = 17 
> write(3, "S01 STARTTLS\r\n", 14)        = 14 
> read(3, "S01 OK Begin TLS negotiation now"..., 4096) = 34 
> write(1, "S: S01 OK Begin TLS negotiation "..., 37S: S01 OK Begin TLS negotiation now 
> ) = 37 
> brk(0x805b000)                          = 0x805b000 
> brk(0x805c000)                          = 0x805c000 
> brk(0x805d000)                          = 0x805d000 
> brk(0x805e000)                          = 0x805e000 
> brk(0x805f000)                          = 0x805f000 
> brk(0x8060000)                          = 0x8060000 
> brk(0x8061000)                          = 0x8061000 
> brk(0x8062000)                          = 0x8062000 
> open("/usr/share/ssl/openssl.cnf", O_RDONLY) = 4 
> fstat64(4, {st_mode=S_IFREG|0777, st_size=7338, ...}) = 0 
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
> 0) = 0x4031c000 
> read(4, "#\n# OpenSSL example configuratio"..., 4096) = 4096 
> brk(0x8063000)                          = 0x8063000 
> read(4, "onName_default\t= World Wide Web "..., 4096) = 3242 
> brk(0x8064000)                          = 0x8064000 
> read(4, "", 4096)                       = 0 
> close(4)                                = 0 
> munmap(0x4031c000, 4096)                = 0 
> time(NULL)                              = 1058067144 
> getpid()                                = 16671 
> brk(0x8069000)                          = 0x8069000 
> brk(0x8071000)                          = 0x8071000 
> brk(0x8076000)                          = 0x8076000 
> brk(0x8077000)                          = 0x8077000 
> brk(0x8078000)                          = 0x8078000 
> time(NULL)                              = 1058067144 
> time(NULL)                              = 1058067144 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> open("/dev/urandom", O_RDONLY)          = 4 
> read(4, "v\341B\35X\33<\'\240\373\332\313\7\272T\305Y\217\314C", 20) = 20 
> close(4)                                = 0 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getuid32()                              = 0 
> getpid()                                = 16671 
> time(NULL)                              = 1058067144 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> write(3, "\26\3\1\0S\1\0\0O\3\1?\20\322\310\364)\177\10\371^\267"..., 88) = 88 
> read(3, "\26\3\1\0J", 5)                = 5 
> read(3, "\2\0\0F\3\1?\20\322\310\251\277\226\221[<\306 \273\16\361"..., 74) = 74 
> read(3, "\26\3\1\3\377", 5)             = 5 
> read(3, "\v\0\3\373\0\3\370\0\3\3650\202\3\3610\202\3Z\240\3\2\1"..., 1023) = 1023 
> write(1, "verify error:num=18:self signed "..., 44verify error:num=18:self signed certificate 
> ) = 44 
> brk(0x8079000)                          = 0x8079000 
> time([1058067144])                      = 1058067144 
> open("/etc/localtime", O_RDONLY)        = 4 
> fstat64(4, {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0 
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
> 0) = 0x4031c000 
> read(4, "TZif\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\4\0"..., 4096) = 1267 
> close(4)                                = 0 
> munmap(0x4031c000, 4096)                = 0 
> time([1058067144])                      = 1058067144 
> getpid()                                = 16671 
> read(3, "\26\3\1\0\r", 5)               = 5 
> read(3, "\r\0\0\5\2\1\2\0\0\16\0\0\0", 13) = 13 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> getpid()                                = 16671 
> brk(0x807a000)                          = 0x807a000 
> write(3, "\26\3\1\0\7\v\0\0\3\0\0\0\26\3\1\0\206\20\0\0\202\0\200"..., 202) = 202 
> read(3, "\24\3\1\0\1", 5)               = 5 
> read(3, "\1", 1)                        = 1 
> brk(0x807b000)                          = 0x807b000 
> read(3, "\26\3\1\0(", 5)                = 5 
> read(3, "\222|\244\342 \201r\36I\320\207\30!\6\\\343\376\352\361"..., 40) = 40 
> write(1, "TLS connection established: TLSv"..., 74TLS connection established: TLSv1 with 
> cipher DES-CBC3-SHA (168/168 bits) 
> ) = 74 
> write(1, "C: C01 CAPABILITY\r\n", 19C: C01 CAPABILITY 
> )   = 19 
> write(3, "\27\3\1\0(\313\317\360\t\324\351t\222\216\254\6tE\376<"..., 45) = 45 
> read(3, "\27\3\1\0\370", 5)             = 5 
> read(3, "\235\222#)a3X\307\352\304\270e\215&\302U\320J7\21605\343"..., 248) = 248 
> write(1, "S: * CAPABILITY IMAP4 IMAP4rev1 "..., 208S: * CAPABILITY IMAP4 IMAP4rev1 
> ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE UIDPLUS ID 
> NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND SORT 
> THREAD=ORDEREDSUBJECT THREAD=REFERENCES IDLE STARTTLS AUTH=PLAIN 
> ) = 208 
> write(1, "S: C01 OK Completed\r\n", 21S: C01 OK Completed 
> ) = 21 
> write(1, "C: A01 AUTHENTICATE PLAIN", 25C: A01 AUTHENTICATE PLAIN) = 25 
> )                       = 1 
> write(1, "\n", 1 
> )                       = 1 
> write(3, "\27\3\1\0000\251\235\373\25\254\202\0371\341\353\251h/"..., 53) = 53 
> read(3, "\27\3\1\0 ", 5)                = 5 
> read(3, "[\364x\322\226Z\225\364\333\230\274\343\372\332T~8\36K"..., 32) = 32 
> write(1, "S: + \r\n", 7S: + 
> )                = 7 
> getuid32()                              = 0 
> socket(PF_UNIX, SOCK_STREAM, 0)         = 4 
> connect(4, {sin_family=AF_UNIX, path="/var/run/.nscd_socket"}, 110) = -1 ENOENT (No such 
> file or directory) 
> close(4)                                = 0 
> open("/etc/passwd", O_RDONLY)           = 4 
> fcntl64(4, F_GETFD)                     = 0 
> fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0 
> fstat64(4, {st_mode=S_IFREG|0644, st_size=1533, ...}) = 0 
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
> 0) = 0x4031c000 
> read(4, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1533 
> close(4)                                = 0 
> munmap(0x4031c000, 4096)                = 0 
> write(1, "Please enter your password: ", 28Please enter your password: ) = 28 
> open("/dev/tty", O_RDWR|O_CREAT|O_TRUNC, 0666) = 4 
> ioctl(4, SNDCTL_TMR_TIMEBASE, {B38400 opost isig icanon echo ...}) = 0 
> ioctl(4, SNDCTL_TMR_CONTINUE, {B38400 opost -isig icanon -echo ...}) = 0 
> fstat64(4, {st_mode=S_IFCHR|0666, st_rdev=makedev(5, 0), ...}) = 0 
> ioctl(4, SNDCTL_TMR_TIMEBASE, {B38400 opost -isig icanon -echo ...}) = 0 
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
> 0) = 0x4031c000 
> read(4, "[PASSWORDREMOVED]	\n", 4096)         = 13 
> write(4, "\n", 1 
> )                       = 1 
> ioctl(4, SNDCTL_TMR_CONTINUE, {B38400 opost isig icanon echo ...}) = 0 
> close(4)                                = 0 
> munmap(0x4031c000, 4096)                = 0 
> --- SIGSEGV (Segmentation fault) --- 
> +++ killed by SIGSEGV +++ 
>  


-- 
Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp





More information about the Info-cyrus mailing list