otrs.PostMasterMailbox.pl core dump

Moderator: crythias

Locked
ppatters
Znuny newbie
Posts: 1
Joined: 30 Nov 2012, 17:05
Znuny Version: 3.1.11
Real Name: Pam Patterson
Company: Master Merchant Systems

otrs.PostMasterMailbox.pl core dump

Post by ppatters »

Hi all,

We have just started testing creating tickets from incoming emails. It works great if you fetch the mail from the mail account management screen, but if you run otrs.PostMasterMailbox.pl from a cron job or from the command line, no matter what user, you get:

$ /opt/otrs/bin/otrs.PostMasterMailbox.pl -f 1
Segmentation fault (core dumped)
$

Our email is hosted at gmail, and I have tried both IMAPS and POP3S, which are the only choices, and neither works. We are at OTRS 3.1.11 on CentOS 6.3.

I ran it with some debugging and see:

main::(/opt/otrs/bin/otrs.PostMasterMailbox.pl:97):
97: Fetch(%CommonObject);
DB<1>

Signal SEGV at /usr/share/perl5/IO/Socket/SSL.pm line 335
IO::Socket::SSL::connect('IO::Socket::SSL=GLOB(0x3e90c28)', '\x{2}\x{0}\x{3}\x{e1}J}\x{88}m\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}') called at /usr/lib64/perl5/IO/Socket/INET.pm line 232
IO::Socket::INET::configure('IO::Socket::SSL=GLOB(0x3e90c28)', 'HASH(0x3cbe820)') called at /usr/share/perl5/IO/Socket/SSL.pm line 209
IO::Socket::SSL::configure('IO::Socket::SSL=GLOB(0x3e90c28)', 'HASH(0x3cbe820)') called at /usr/lib64/perl5/IO/Socket.pm line 48
IO::Socket::new('IO::Socket::SSL', 'PeerAddr', 'imap.gmail.com', 'PeerPort', 993, 'Timeout', 60, 'Proto', 'tcp', ...) called at /usr/lib64/perl5/IO/Socket/INET.pm line 37
IO::Socket::INET::new('IO::Socket::SSL', 'PeerAddr', 'imap.gmail.com', 'PeerPort', 993, 'Timeout', 60, 'Proto', 'tcp', ...) called at /opt/otrs/Kernel/cpan-lib/Net/IMAP/Simple.pm line 151
Net::IMAP::Simple::_connect('Net::IMAP::Simple::SSL=HASH(0x3e904d8)') called at /opt/otrs/Kernel/cpan-lib/Net/IMAP/Simple.pm line 89
Net::IMAP::Simple::new('Net::IMAP::Simple::SSL', 'imap.gmail.com', 'timeout', 60, 'debug', 9) called at /opt/otrs/Kernel/System/MailAccount/IMAPS.pm line 48
Kernel::System::MailAccount::IMAPS::Connect('Kernel::System::MailAccount::IMAPS=HASH(0x4198670)', 'Host', 'imap.gmail.com', 'Login', 'xxxx@mmspos.com', 'Password', 'xxxxx', 'Timeout', 60, ...) called at /opt/otrs/Kernel/System/MailAccount/IMAPS.pm line 117
Kernel::System::MailAccount::IMAPS::_Fetch('Kernel::System::MailAccount::IMAPS=HASH(0x4198670)', 'ID', 2, 'ChangeTime', '2012-11-27 17:35:08', 'ValidID', 1, 'CreateTime', '2012-11-27 16:24:13', ...) called at /opt/otrs/Kernel/System/MailAccount/IMAPS.pm line 78
Kernel::System::MailAccount::IMAPS::Fetch('Kernel::System::MailAccount::IMAPS=HASH(0x4198670)', 'ChangeTime', '2012-11-27 17:35:08', 'ID', 2, 'ValidID', 1, 'CreateTime', '2012-11-27 16:24:13', ...) called at /opt/otrs/Kernel/System/MailAccount.pm line 423
Kernel::System::MailAccount::MailAccountFetch('Kernel::System::MailAccount=HASH(0x3cb18c8)', 'ID', 2, 'ChangeTime', '2012-11-27 17:35:08', 'ValidID', 1, 'CreateTime', '2012-11-27 16:24:13', ...) called at /opt/otrs/bin/otrs.PostMasterMailbox.pl line 183
main::Fetch('EncodeObject', 'Kernel::System::Encode=HASH(0x369c7c0)', 'ConfigObject', 'Kernel::Config=HASH(0x368d038)', 'PIDObject', 'Kernel::System::PID=HASH(0x3b69620)', 'DBObject', 'Kernel::System::DB=HASH(0x3b29c38)', 'TimeObject', ...) called at /opt/otrs/bin/otrs.PostMasterMailbox.pl line 97
Aborted (core dumped)

Has anyone ever seen it do this? Do other people fetch mail from gmail with IMAPS? I can't find anything online anywhere that might explain this
Any help would be greatly appreciated.

Thanx,
Pam
syalcin
Znuny newbie
Posts: 3
Joined: 07 Sep 2010, 18:35
Znuny Version: 3b2

Re: otrs.PostMasterMailbox.pl core dump

Post by syalcin »

have you fixed this, i'm having the same problem
Locked