Re: [Dbmail] Segmentation Fault with dbmail 3.2.1 (FreeBSD)

2015-01-04 Thread Alan Hicks
Hello Andrea, Your libraries glib, gettext-runtime, mhash, libevent2, libzdb, libiconv, pcre, libffi and mysql56-client appear ok, the only difference is you have libc++, libcssrt and libgcc_s and I have ldap and postgresql. I assume everything is build using clang. Also I'm running

Re: [Dbmail] Segmentation Fault with dbmail 3.2.1 (FreeBSD)

2015-01-04 Thread Andrea Brancatelli
Yes, everything in on AMD64 and built with Clang... FreeBSD is 10.1 --- Andrea Brancatelli Schema31 S.p.a. Il 2015-01-04 16:26 Alan Hicks ha scritto: Hello Andrea, Your libraries glib, gettext-runtime, mhash, libevent2, libzdb, libiconv, pcre, libffi and mysql56-client appear ok,

Re: [Dbmail] Segmentation Fault with dbmail 3.2.1 (FreeBSD)

2015-01-04 Thread Andrea Brancatelli
P.S.: Yes, I have IPV6 enabled and working. I'll take a look at the authlog table and maybe just try to disable the authlog function. --- Andrea Brancatelli Schema31 S.p.a. Responsabile IT ROMA - FIRENZE - PALERMO ITALY Tel: +39. 06.98.358.472 Cell: +39 331.2488468 Fax: +39.

Re: [Dbmail] Segmentation Fault with dbmail 3.2.1 (FreeBSD)

2015-01-04 Thread Andrea Brancatelli
You're right, src_ip and dst_ip are VARCHAR(16), that wouldn't work with an IPV6 Address, but I don't know if this could cause a Segmentation Fault. I guess dbmail_authlog needs tuning anyhow. --- Andrea Brancatelli Schema31 S.p.a. Responsabile IT ROMA - FIRENZE - PALERMO ITALY Tel: +39.

Re: [Dbmail] Segmentation Fault with dbmail 3.2.1 (FreeBSD)

2015-01-04 Thread Andrea Brancatelli
I enlarged the column to VARCHAR(255) and tried a IPV6 connection and didn't seem to cause any problem, apart from the ip in the dst_ip being reported wrong. It says: 2001:470:28:12b:1000:: instead of 2001:470:28:12b::27 Also the source IP is wrong, it says 2001:470:28:12b:1000:0:1c1c:6e

Re: [Dbmail] Segmentation Fault with dbmail 3.2.1 (FreeBSD)

2015-01-03 Thread Alan Hicks
Perhaps something else has changed? You might try rebuilding/reinstalling dependent libraries including zdb and the database libraries, I understand that PostgreSQL has recently been updated to 9.3 which may have had an affect. That you have the same segfault with 3.2.0 suggests it is a

Re: [Dbmail] Segmentation Fault with dbmail 3.2.1 (FreeBSD)

2015-01-03 Thread Jorge Bastos
Andrea, Do you have the seq column in dbmail_mailboxes? From: dbmail-boun...@dbmail.org [mailto:dbmail-boun...@dbmail.org] On Behalf Of Alan Hicks Sent: sábado, 3 de Janeiro de 2015 10:22 To: DBMail mailinglist Subject: Re: [Dbmail] Segmentation Fault with dbmail 3.2.1 (FreeBSD

Re: [Dbmail] Segmentation Fault with dbmail 3.2.1 (FreeBSD)

2015-01-03 Thread Paul J Stevens
:* sábado, 3 de Janeiro de 2015 10:22 *To:* DBMail mailinglist *Subject:* Re: [Dbmail] Segmentation Fault with dbmail 3.2.1 (FreeBSD) Perhaps something else has changed? You might try rebuilding/reinstalling dependent libraries including zdb and the database libraries, I understand

Re: [Dbmail] Segmentation Fault with dbmail 3.2.1 (FreeBSD)

2015-01-03 Thread Paul J Stevens
Andrea, Could you send this same log, but with a bit more history? I'm mostly interested in the exact IMAP command that precedes this. Same goes for the lmtp trace. On 29-12-14 10:35, Andrea Brancatelli wrote: Hello everybody. We recently upgraded from 3.1.17 to 3.2.1 on two different

Re: [Dbmail] Segmentation Fault with dbmail 3.2.1 (FreeBSD)

2015-01-03 Thread Andrea Brancatelli
Sure Paul, I’m sending you privately at your mailbox. Thanks. --  Andrea Brancatelli Schema31 S.p.a. Responsabile IT ROMA - FIRENZE - PALERMO ITALY Tel: +39. 06.98.358.472 Cell: +39 331.2488468 Fax: +39. 055.71.880.466 Società del Gruppo SC31 ITALIA Il giorno 03 gennaio 2015 @ 12:03:02, Paul

Re: [Dbmail] Segmentation Fault with dbmail 3.2.1 (FreeBSD)

2015-01-03 Thread Andrea Brancatelli
] Segmentation Fault with dbmail 3.2.1 (FreeBSD) Perhaps something else has changed? You might try rebuilding/reinstalling dependent libraries including zdb and the database libraries, I understand that PostgreSQL has recently been updated to 9.3 which may have had an affect. That you have

Re: [Dbmail] Segmentation Fault with dbmail 3.2.1 (FreeBSD)

2015-01-03 Thread Andrea Brancatelli
Hello Alan. We're using MySQL, not pgSQL. We have three different machines all exposing the same behavior. One of them (the main one) has DBMail compiled from ports against MySQL 5.6, and this is it's LDD: root@rubidio:/home/abrancatelli # ldd /usr/local/sbin/dbmail-imapd

Re: [Dbmail] Segmentation Fault with dbmail 3.2.1 (FreeBSD)

2015-01-03 Thread Andrea Brancatelli
Hello eveybody. So I was able to get a dbmail-imapd crash while running inside gdb. It run for about 4 hours and served about 380 sessions (from dbmail_authlog) before crashing. I wasn’t able to recompile with symbols yet, but maybe the stack trace can already give you any hint of what’s

Re: [Dbmail] Segmentation Fault with dbmail 3.2.1 (FreeBSD)

2015-01-02 Thread Andrea Brancatelli
We tried to switch to 3.2.0 on an older machine but it segfaults the same… Please, we need some help! --- Andrea Brancatelli Schema 31 S.p.a. Responsabile IT ROMA - FIRENZE - PALERMO ITALY Tel: +39. 06.98.358.472 Cell: +39 331.2488468 Fax: +39. 055.71.880.466 Società del Gruppo SC31

[Dbmail] Segmentation Fault with dbmail 3.2.1 (FreeBSD)

2014-12-29 Thread Andrea Brancatelli
  Hello everybody. We recently upgraded from 3.1.17 to 3.2.1 on two different machines and we’re now facing continuous segmentation faults both in dbmail-imapd and dbmail-lmtpd (on both machines). We don’t have dbmail-pop3d active but I suppose that would be crashing too :-) The machine is