Paul J Stevens wrote:
Matthew O'Connor wrote:
Paul J Stevens wrote:
Matt,
Could plz you run this through valgrind? I'll look into this later today
if i can.
hmm... I can try, I don't have valgrind setup at the moment. BTW, I
fixed the gdb backtrace problem (I had a ulimit set for core files, so
the previous core file wasn't valid.) I now get:
Ok. It's the same problem I suspect is biting Igor. Will fix asap.
This is fallout from my fix for utf8 encoded postgres databases.
Paul, after reading about your UTF8 changes in the other thread, I again
updated to latest SVN from the 2.2 branch and tried again.
Basically, things got much further, I got a lot of debug output and
envelopes were inserted into the database. However, after running for a
while it again dumped core with a segmentation fault. I did another
backtrace and this time it's different from before, here is what I got:
(gdb) bt
#0 0x0082f152 in vfprintf () from /lib/tls/i686/libc.so.6
#1 0x00849600 in vasprintf () from /lib/tls/i686/libc.so.6
#2 0x07d8f751 in g_vasprintf () from /usr/lib/libglib-2.0.so.0
#3 0x07d80905 in g_strdup_vprintf () from /usr/lib/libglib-2.0.so.0
#4 0x001317bb in g_list_append_printf (list=0x9a309d0, format=0x148b58
"\"%s\"") at misc.c:471
#5 0x00133a45 in dbmail_imap_append_alist_as_plist (list=0x9958820,
ialist=0x9944c88) at misc.c:1877
#6 0x001341fb in envelope_address_part (list=0x9958820,
message=0x99442b0, header=0x14016e "From") at misc.c:1973
#7 0x0013438d in imap_get_envelope (message=0x99442b0) at misc.c:2028
#8 0x00121975 in dbmail_message_cache_envelope (self=0x993f908) at
dbmail-message.c:1281
#9 0x0012916d in db_set_envelope (lost=0xa32c920) at db.c:1700
#10 0x0804b047 in main (argc=2, argv=0xbfe97744) at maintenance.c:700
Hope that helps.
Matt