running dbmail-maintenance -p creates a core on OpenBSD 3.2 Sparc64
all other dbmail-maintenance commands work fine.

any ideas ?

mail# /usr/local/sbin/dbmail-maintenance -cfid
*** dbmail-maintenance ***
Opening connection to the database... Ok. Connected
Setting DELETE status for deleted messages... Ok. [42] messages set for 
deletion.
Now checking DBMAIL messageblocks integrity.. Ok. Found 0 unconnected 
messageblks.
--- checking block integrity took 39 seconds
--- checking block integrity took 39 seconds
Now checking DBMAIL message integrity.. Ok. Found 0 unconnected messages.
--- checking message integrity took 16 seconds
--- checking message integrity took 16 seconds
Now checking DBMAIL mailbox integrity.. Ok. Found 0 unconnected mailboxes.
--- checking mailbox integrity took 0 seconds
--- checking mailbox integrity took 0 seconds
Cleaning up database structure... Ok. Database cleaned up.
Maintenance done.



mail# /usr/local/sbin/dbmail-maintenance -p
*** dbmail-maintenance ***
Opening connection to the database... Ok. Connected
Deleting messages with DELETE status... Segmentation fault (core dumped)
mail# ls
dbmail-maintenan.core

mail# gdb /usr/local/sbin/dbmail-maintenance dbmail-maintenan.core
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 "sparc64-unknown-openbsd3.2"...(no debugging 
symbols found)...
Core was generated by `dbmail-maintenan'.
Program terminated with signal 11, Segmentation fault.
#0  0x403187bc in ?? ()
(gdb) run -p
Starting program: /usr/local/sbin/dbmail-maintenance -p
*** dbmail-maintenance ***
Opening connection to the database... Ok. Connected
Deleting messages with DELETE status...
Program received signal SIGSEGV, Segmentation fault.
0x403187bc in ?? ()
(gdb)

Reply via email to