Frederic Vander Elst wrote: > Hello All, > > Thanks for you good work... i've been testing 2.1.5 with mysql 5.0.19, > with a view to rolling it out and have found some issues. > > I too have been experiencing segfaults in dbmail-smtp. Setup is gentoo > linux 2.6.15, fresh install of everything. Using qmail as the mta. > > Here's the gdb session with the latest code.
Looks like you're all setup for debugging. Can you produce a diff against svn-trunk, or better yet: against my git repository: http://nfg3.nfgs.net/cgi-bin/gitweb.cgi That saves me from having to reconstruct the patch from your snippets :-) > ---------- > So, my questions are : > > 1. what's the right thing between 'deliver-to' vs 'delivered-to' ? it > sounds like we should use 'delivered-to', but the changelogs say the > most recent change is towards 'deliver-to', and svn snapshots have this too. No. The change was toward delivered-to, right? http://nfg3.nfgs.net/cgi-bin/gitweb.cgi?p=dbmail.git;a=commitdiff;h=fcfddb8014625f1f0708244165ee7d716aeafb7b > > 2. can we easily stop this segfaulting ? > > This segfaulting doesn't happen with 2.1.3, where the relevant code is > similal (i.e. no checking for nulls, but it just works.) ah well. Reproduce the bug in check_dbmail_deliver.c, and work from there. That's what I'd do. -- ________________________________________________________________ Paul Stevens paul at nfg.nl NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31 The Netherlands________________________________http://www.nfg.nl
