Paul J Stevens wrote:
Matt,
I've reverted the change that introduced this.
Paul, thank you again for the quick response. I have updated to latest
SVN and this problem is indeed fixed. Now, moving right along to the
next problem:
I'm trying to upgrade to latest 2.2 SVN from a much older (approx 2.1.7)
release, as such I have to populate the new envelopes table, but it
fails. Here is the detail:
[dbmail dbmail_2_2_branch]$ /usr/local/dbmail/sbin/dbmail-util -by
Opening connection to database...
Opening connection to authentication...
Ok. Connected.
Repairing DBMAIL for incorrect is_header flags...
Debug module pgsql file dbpgsql.c func db_query line 281: [SELECT
MIN(messageblk_idnr),MAX(is_header) FROM dbmail_messageblks GROUP BY
physmessage_id HAVING MAX(is_header)=0]
Ok. Found [0] incorrect is_header flags.
Repairing DBMAIL for rfcsize field...
Debug module pgsql file dbpgsql.c func db_query line 281: [SELECT id
FROM dbmail_physmessage WHERE rfcsize=0]
Ok. Found [0] missing rfcsize values.
Repairing DBMAIL for cached envelopes...
Debug module pgsql file dbpgsql.c func db_query line 281: [SELECT p.id
FROM dbmail_physmessage p LEFT JOIN dbmail_envelope e ON p.id =
e.physmessage_id WHERE e.physmessage_id IS NULL]
Ok. Found [430143] missing envelope values.
Debug module pgsql file dbpgsql.c func db_query line 281: [SELECT
messageblk FROM dbmail_messageblks WHERE physmessage_id = 13236 ORDER BY
messageblk_idnr]
Debug dbmail-message.c,_set_content_from_stream: parse message
Segmentation fault (core dumped)
I tried to get a back trace from the core file, but it didn't yield
anything useful:
[dbmail]$ gdb usr/local/dbmail/sbin/dbmail-util core.2261
GNU gdb Red Hat Linux (6.3.0.0-1.132.EL4rh)
Copyright 2004 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-redhat-linux-gnu"...Using host
libthread_db library "/lib/tls/i686/libthread_db.so.1".
Core was generated by `/usr/local/dbmail/sbin/dbmail-util -by'.
Program terminated with signal 11, Segmentation fault.
Cannot access memory at address 0xb7ff1000
#0 0x00a8144e in ?? ()
(gdb) bt
#0 0x00a8144e in ?? ()
Cannot access memory at address 0xbfe21458