Closed ldidry closed 6 years ago
After sympa_msg
restart stack trace:
Le processus sympa_msg.pl précédent (avec le pid 5972) est mort brutalement.
Date du crash : 16 mai 2018 20:16
Erreurs :
Use of uninitialized value in numeric le (<=) at /home/sympa/bin/Sympa/List.pm line 1391, <FILE> line 22.
[lot of same lines]
Use of uninitialized value in numeric le (<=) at /home/sympa/bin/Sympa/List.pm line 1391.
[lot of same lines]
Use of uninitialized value in numeric le (<=) at /home/sympa/bin/Sympa/List.pm line 1391.
Warning: Could not parse date for message
Message-Id: <sympa.1526466151.30872.268@framalistes.org>
Date:
Use of uninitialized value in numeric le (<=) at /home/sympa/bin/Sympa/List.pm line 1391.
Use of uninitialized value in numeric le (<=) at /home/sympa/bin/Sympa/List.pm line 1391, <FILE> line 313.
Use of uninitialized value in numeric le (<=) at /home/sympa/bin/Sympa/List.pm line 1391, <FILE> line 313.
Use of uninitialized value in numeric le (<=) at /home/sympa/bin/Sympa/List.pm line 1391, <FILE> line 313.
Use of uninitialized value in numeric le (<=) at /home/sympa/bin/Sympa/List.pm line 1391.
[lot of same lines]
Use of uninitialized value in numeric le (<=) at /home/sympa/bin/Sympa/List.pm line 1391.
Use of uninitialized value in numeric le (<=) at /home/sympa/bin/Sympa/List.pm line 1391, <FILE> line 645.
Use of uninitialized value in numeric le (<=) at /home/sympa/bin/Sympa/List.pm line 1391, <FILE> line 645.
Use of uninitialized value in numeric le (<=) at /home/sympa/bin/Sympa/List.pm line 1391, <FILE> line 645.
Use of uninitialized value in numeric le (<=) at /home/sympa/bin/Sympa/List.pm line 1391.
[lot of same lines]
Use of uninitialized value in numeric le (<=) at /home/sympa/bin/Sympa/List.pm line 1391.
Use of uninitialized value in string eq at /home/sympa/bin/Sympa/Request/Handler/review.pm line 77.
[lot of same lines]
Use of uninitialized value in string eq at /home/sympa/bin/Sympa/Request/Handler/review.pm line 77.
DIED: Can't call method "isa" on an undefined value at /usr/share/perl5/MIME/Parser/Reader.pm line 186.
at /usr/share/perl5/MIME/Parser/Reader.pm line 186.
MIME::Parser::Reader::native_handle(undef) called at /usr/share/perl5/MIME/Parser/Reader.pm line 236
MIME::Parser::Reader::read_chunk(MIME::Parser::Reader=HASH(0x564916295610), undef, GLOB(0x56490ea750b0), 0, 1) called at /usr/share/perl5/MIME/Parser.pm line 628
MIME::Parser::process_header(MIME::Parser=HASH(0x56490f68ae20), undef, MIME::Parser::Reader=HASH(0x564915adee78)) called at /usr/share/perl5/MIME/Parser.pm line 1018
MIME::Parser::process_part(MIME::Parser=HASH(0x56490f68ae20), undef, undef) called at /usr/share/perl5/MIME/Parser.pm line 1158
MIME::Parser::parse(MIME::Parser=HASH(0x56490f68ae20), undef) called at /usr/share/perl5/MIME/Parser.pm line 1130
MIME::Parser::parse_data(MIME::Parser=HASH(0x56490f68ae20), SCALAR(0x5649094ccec8)) called at /home/sympa/bin/Sympa/Message.pm line 149
Sympa::Message::new('Sympa::Message::Template', 'Message-Id: <sympa.1526494573.5972.88@framalistes.org>\x{a}Date: ...', 'context', Sympa::List <list_name@framalistes.org>) called at /home/sympa/bin/Sympa/Message/Template.pm line 449
Sympa::Message::Template::_new_from_template('Sympa::Message::Template', Sympa::List <list_name@framalistes.org>, 'review.tt2', 'address@domain.com', HASH(0x5649220586c8), 'template', 'review', 'context', ...) called at /home/sympa/bin/Sympa/Message/Template.pm line 181
Sympa::Message::Template::new('Sympa::Message::Template', 'data', HASH(0x56491700f390), 'rcpt', 'address@domain.com', 'context', Sympa::List <list_name@framalistes.org>, 'template', ...) called at /home/sympa/bin/Sympa/Spindle.pm line 39
Sympa::Spindle::new('Sympa::Spindle::ProcessTemplate', 'context', Sympa::List <list_name@framalistes.org>, 'template', 'review', 'rcpt', 'address@domain.com', 'data', ...) called at /home/sympa/bin/Sympa.pm line 387
Sympa::send_file(Sympa::List <list_name@framalistes.org>, 'review', 'address@domain.com', HASH(0x56491700f390)) called at /home/sympa/bin/Sympa/Request/Handler/review.pm line 85
Sympa::Request::Handler::review::_twist(Sympa::Spindle::ProcessMessage=HASH(0x56491294e9e0), Sympa::Request <action=review;context=list_name@framalistes.org>) called at /home/sympa/bin/Sympa/Spindle.pm line 92
Sympa::Spindle::spin(Sympa::Spindle::ProcessMessage=HASH(0x56491294e9e0)) called at /home/sympa/bin/Sympa/Spindle/DoCommand.pm line 117
Sympa::Spindle::DoCommand::_twist(Sympa::Spindle::ProcessIncoming=HASH(0x564909e02df8), Sympa::Message <sympa@framalistes.org.1526494569.6179>) called at /home/sympa/bin/Sympa/Spindle.pm line 92
Sympa::Spindle::spin(Sympa::Spindle::ProcessIncoming=HASH(0x564909e02df8)) called at /home/sympa/bin/sympa_msg.pl line 240
In fact, it's not the mail itself that makes sympa crash, but in fact the creation of the mail: I sent a mail from the listmaster address and it crashes Sympa as well, but I can send a review command for an other list and it works well.
@ldidry, I suppose this behavior (and #305) may depend on version of external module (on this issue see also CPAN RT#119166).
If possible, could you please check following versions?
Or at least, specify versions you used.
Perhaps I got it.
#! /usr/local/perl-5.24.0/bin/perl
use warnings;
use IO::File;
$x = "\x{fffd}";
$io = IO::File->new(\$x, "<:");
print $io;
Result:
Strings with code points over 0xFF may not be mapped into in-memory file handles
Use of uninitialized value $io in print at xxxx.pl line 7.
Yeah \o/ The patch suggested in #305 worked! No more crash! (DBD::Pg 3.5.3)
Duplicate of #305.
A simple mail with a
review
command makesympa_msg
crashConfiguration: Debian 9, PostgreSQL 9.6, Sympa 6.2.16, libmime-tools-perl 5.508-1 (Debian package)
Log:
The (anonimized) mail: