Here's the trace:
bash-2.05b# gdb /var/qmail/bin/bincimapd 28944
GNU gdb 4.16.1
Copyright 1996 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-unknown-openbsd3.5"...
/root/28944: No such file or directory. Attaching to program `/var/qmail/bin/bincimapd', process 28944
^Z [1]+ Stopped gdb /var/qmail/bin/bincimapd 28944 bash-2.05b# fg gdb /var/qmail/bin/bincimapd 28944 where ^C
Reading symbols from /usr/lib/libstdc++.so.31.0...done.
Reading symbols from /usr/lib/libm.so.1.0...done.
Reading symbols from /usr/lib/libc.so.30.3...done.
Reading symbols from /usr/libexec/ld.so...done.
0xf43904d in _thread_sys_getdirentries ()
(gdb)
(gdb)
(gdb) where
#0 0xf43904d in _thread_sys_getdirentries ()
#1 0xf45659a in readdir ()
#2 0x1c02a939 in Binc::Maildir::updateFlags (this=0x3c01a000)
at maildir-updateflags.cc:106
#3 0x1c05c837 in Binc::StoreOperator::process (this=0x3c019160,
[EMAIL PROTECTED], [EMAIL PROTECTED]) at operator-store.cc:124
#4 0x1c00aec1 in main (argc=1, argv=0xcfbf54fc) at bincimapd.cc:162
#5 0x1c002011 in ___start ()
#6 0x1c001f87 in __start ()
#7 0xcfbf56b0 in ?? ()
Error accessing memory address 0x1: Invalid argument.
(gdb)END OF TRACE
The garbage in the middle was where gdb wasn't giving me anything... the process was hung up in NFS, so I think it was awaiting answers. I did send the process a couple kill signals before gdb got control. Hopefully this helps... I'd love to resolve this issue and be able to have my department in love with my mail server :)
Thanks, --Kurt Mosiejczuk
