Apache2 freezes on certain requests

Hi all,

I have RT running on a Centos 5.8, apache2, perl 5.8.8, mod_perl 2.0.4,
mysql 5.0.95 virtual machine. I use ldap to authentify users.
It’s been working for some time (~15 month), but after a patching of
perl last month the system seems to be a little bit messed up.

Debugging is turned on to the fullest, in apache2, mysql, perl and rt
itself. But this couldn’t help me in anyway so far, since there is no
output. :frowning: Maybe you can give me a push to the right direction.

All dependencies are met, when I check sbin/rt-test-dependencies
–verbose --with-mysql --with-modperl2 --with-dev. (see below)

In ticketview the apache doesn’t give a reply and uses 100% of the
processor (I run ‘top’ to check that).
But this only happens on

Ticket/ModifyPeople.html?id=4518 and
Ticket/Display.html?Action=Take;id=4518 and

on clicking “Save Changes” when I change the owner of the ticket in
Ticket/ModifyAll.html?id=4518

Also the server only sends part of the mask and then freezes when I call
Ticket/Update.html?Action=Comment;id=4518

Here the last lines of code are:

Attach:

but not when I call
Ticket/Update.html?Action=Respond;id=4518
There everything works fine, it seems.

So, I’m really puzzled and have no clue about how to manage this problem
and make the RT running again.

So, I guess it might have something to do with rights, but I just cannot
figure out what. Because this happens when I’m logged in as root as
well. And I thought that root has global rights.

I also had some problems with my scrips on creating tickets after
changing from version 4.0.6 to 4.0.7 that I couldn’t solve, so I turned
them of. Then at least the ticket creation worked again.

Any help is highly appreciated.

Here the print from
sbin/rt-test-dependencies --verbose --with-mysql --with-modperl2 --with-dev
perl:
>=5.8.3(5.8.8) …found
users:
rt group (rt) …found
bin owner (root) …found
libs owner (root) …found
libs group (bin) …found
web owner (www) …found
web group (www) …found
CLI dependencies:
Term::ReadKey …found
Getopt::Long >= 2.24 …found
HTTP::Request::Common …found
Term::ReadLine …found
Text::ParseWords …found
LWP …found
CORE dependencies:
DateTime >= 0.44 …found
Class::ReturnValue >= 0.40 …found
Text::Quoted >= 2.02 …found
Regexp::IPv6 …found
HTML::TreeBuilder …found
CSS::Squish >= 0.06 …found
Encode >= 2.39 …found
DateTime::Locale >= 0.40 …found
Module::Versions::Report >= 1.05 …found
MIME::Entity >= 5.425 …found
Digest::SHA …found
List::MoreUtils …found
DBI >= 1.37 …found
Locale::Maketext::Lexicon >= 0.32 …found
Devel::StackTrace >= 1.19 …found
Digest::base …found
HTML::FormatText …found
Text::Password::Pronounceable …found
Devel::GlobalDestruction …found
Time::ParseDate …found
File::Temp >= 0.19 …found
Locale::Maketext >= 1.06 …found
Tree::Simple >= 1.04 …found
Text::Template >= 1.44 …found
Scalar::Util …found
HTML::Quoted …found
HTML::Scrubber >= 0.08 …found
File::Spec >= 0.8 …found
DBIx::SearchBuilder >= 1.59 …found
Sys::Syslog >= 0.16 …found
Mail::Mailer >= 1.57 …found
File::ShareDir …found
Regexp::Common …found
Digest::MD5 >= 2.27 …found
Cache::Simple::TimedExpiry …found
File::Glob …found
Class::Accessor >= 0.34 …found
Locale::Maketext::Fuzzy …found
Time::HiRes …found
Text::Wrapper …found
Regexp::Common::net::CIDR …found
Net::CIDR …found
Log::Dispatch >= 2.23 …found
UNIVERSAL::require …found
Email::Address …found
DASHBOARDS dependencies:
HTML::RewriteAttributes >= 0.05 …found
URI >= 1.59 …found
MIME::Types …found
DEV dependencies:
Plack::Middleware::Test::StashWarnings >= 0.06 …found
Log::Dispatch::Perl …found
Test::NoWarnings …found
Test::Email …found
Test::Builder >= 0.90 …found
Email::Abstract …found
Test::Deep …found
Test::LongString …found
HTML::Form …found
Module::Refresh >= 0.03 …found
WWW::Mechanize >= 1.52 …found
String::ShellQuote …found
Test::MockTime …found
XML::Simple …found
HTML::TokeParser …found
File::Find …found
Test::WWW::Mechanize::PSGI …found
Test::Expect >= 0.31 …found
Test::Warn …found
Test::WWW::Mechanize >= 1.30 …found
GD dependencies:
GD::Text …found
GD …found
GD::Graph …found
GPG dependencies:
PerlIO::eol …found
GnuPG::Interface …found
ICAL dependencies:
Data::ICal …found
MAILGATE dependencies:
Pod::Usage …found
Getopt::Long …found
LWP::UserAgent …found
MASON dependencies:
Storable >= 2.08 …found
CSS::Squish >= 0.06 …found
Apache::Session >= 1.53 …found
Errno …found
Devel::StackTrace >= 1.19 …found
IPC::Run3 …found
CGI::Cookie >= 1.20 …found
Text::WikiFormat >= 0.76 …found
XML::RSS >= 1.05 …found
HTML::Mason >= 1.43 …found
Digest::MD5 >= 2.27 …found
JSON …found
MODPERL2 dependencies:
Apache::DBI …found
HTML::Mason >= 1.36 …found
MYSQL dependencies:
DBD::mysql >= 2.1018 …found
PSGI dependencies:
CGI::Emulate::PSGI …found
CGI >= 3.38 …found
CGI::PSGI >= 0.12 …found
HTML::Mason::PSGIHandler >= 0.52 …found
Plack >= 0.9971 …found
Plack::Handler::Starlet …found
SMTP dependencies:
Net::SMTP …found
USERLOGO dependencies:
Convert::Color …found

All dependencies have been found.

Thank you very much, everybody for reading until here. Any help is welcome.

Cheers,
Alex

signature.asc (553 Bytes)

Me again, I did some more research in this case and edited
share/html/Ticket/Update.html

<& /Ticket/Elements/AddAttachments, %ARGS, TicketObj => $TicketObj &>

Hello
</&>World

<& /Elements/Submit, Label => loc(‘Update Ticket’), Name =>
‘SubmitTicket’, id => ‘SubmitTicket’ &>

I inserted “Hello” “World”. But when I call
Ticket/Update.html?Action=Comment;id=4518

it only prints
"Hello


"

Though with
Ticket/Update.html?Action=Respond;id=4518
it prints

“Hello


World”

So I guess the apache, perl, mason, or which one ever does this magic
stops on processing the </&>

I have no clue about this syntax and what it means or where I can do
more checks, so I need you help. And I hope I could help you with this
bit of an analysis.

Cheers,
Alex

signature.asc (553 Bytes)

Me again, I did some more research in this case and edited share/html/Ticket/Update.html

Since you appear to be using GPG, the following patch included in
4.0.9 may help you (or may have no change at all) this is just a
guess.

-kevin