Matthew T. O'Connor wrote:
> Running the latest from SVN HEAD, dbmail-util -ay segfaults.  I can go
> into the database delete the problem email and dbmail-util will get a
> bit further through the DB, will then bomb on another message.
> 
> I get the following from dbmail-util -ay
> 
> .dbpgsql.c,db_query: executing query [SELECT messageblk FROM
> dbmail_messageblks WHERE physmessage_id = '786556' AND is_header = '1']
> dbmail-message.c,_set_content_from_stream: parse message
> dbpgsql.c,db_query: executing query [BEGIN]
> dbpgsql.c,db_query: executing query [SELECT id FROM dbmail_headername
> WHERE headername='Return-Path']
> dbpgsql.c,db_query: executing query [SAVEPOINT header_cache]

Mmm. Still need to backout the savepoint patch.


> [EMAIL PROTECTED] dbmail]$ gdb /usr/local/dbmail/sbin/dbmail-util core.22259
> GNU gdb Red Hat Linux (6.3.0.0-1.96rh)
> [ snip ]
> (gdb) bt
> #0  0x00a03474 in vfprintf () from /lib/tls/libc.so.6
> #1  0x009ffbfc in buffered_vfprintf () from /lib/tls/libc.so.6
> #2  0x009ffe3b in vfprintf () from /lib/tls/libc.so.6
> #3  0x00a0845f in fprintf () from /lib/tls/libc.so.6
> #4  0x00ea5c38 in trace (level=TRACE_DEBUG, formatstring=0x47ed5e
> "%s,%s: executing query [%s]") at debug.c:61

Looks like a missing catch in setting up error_log.

Did you specify:

[DBMAIL]
log=/var/log/dbmail.log # logfile for stdout messages
error_log=/var/log/dbmail.err   # logfile for stderr messages

in dbmail.conf?


-- 
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl

Reply via email to