Mason update kills RT 3.0.6

Hello,

In an attempt to fix a problem with the search box in RT we have hit a bit
of a snag. Mason was updated to 1.23 and now all users get when they try to
use RT is:

Can’t call method “FETCH” on an undefined value at
/usr/local/lib/perl5/5.8.0/CGI/Cookie.pm line 76.

Trace begun at /usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Exceptions.pm
line 131
HTML::Mason::Exceptions::rethrow_exception(‘Can’t call method “FETCH” on an
undefined value at /usr/local/lib/perl5/5.8.0/CGI/Cookie.pm line 76.^J’)
called at /usr/local/lib/perl5/5.8.0/CGI/Cookie.pm line 76
CGI::cookie::get_raw_cookie at /usr/local/lib/perl5/5.8.0/CGI/Cookie.pm line
43
CGI::cookie::fetch(‘CGI::Cookie’) called at
/opt/rt3/share/html/Elements/SetupSessionCookie line 25
HTML::Mason::Commands::ANON at
/usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0xb76a6c
)’) called at /usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm
line 1074
eval {…}(‘HTML::Mason::Component::FileBased=HASH(0xb76a6c)’) called at
/usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef) called at
/opt/rt3/share/html/autohandler line 51
HTML::Mason::Commands::ANON at
/usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0xb75d64
)’) called at /usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm
line 1069
eval {…}(‘HTML::Mason::Component::FileBased=HASH(0xb75d64)’) called at
/usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef, undef) called at
/usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 338
eval {…}(undef, undef, undef) called at
/usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 338
eval {…}(undef, undef, undef) called at
/usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 297
HTML::Mason::Request::exec(‘HTML::Mason::Request::ApacheHandler=HASH(0xb7362
8)’) called at
/usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 134
eval {…}(‘HTML::Mason::Request::ApacheHandler=HASH(0xb73628)’) called at
/usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 134
HTML::Mason::Request::ApacheHandler::exec(‘HTML::Mason::Request::ApacheHandl
er=HASH(0xb73628)’) called at
/usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 792
HTML::Mason::ApacheHandler::handle_request(‘HTML::Mason::ApacheHandler=HASH(
0x1088358)’, ‘Apache=SCALAR(0xa98acc)’) called at /opt/rt3/bin/webmux.pl
line 135
eval {…}(‘HTML::Mason::ApacheHandler=HASH(0x1088358)’,
‘Apache=SCALAR(0xa98acc)’) called at /opt/rt3/bin/webmux.pl line 135
RT::Mason::handler(‘Apache=SCALAR(0xa98acc)’) called at /dev/null line 0
eval {…}(‘Apache=SCALAR(0xa98acc)’) called at /dev/null line 0

Does anyone have any ideas?

Thanks,

Nick

This message is intended solely for the use of the individual or
organisation to whom it is addressed and may contain confidential or
copyrighted information. If you have received this message in error, please
reply to the originator and delete it immediately. If you are not the
intended recipient, you should not use, copy, alter, disseminate, print or
disclose the contents of this message.

Information or opinions expressed in this message and/or any attachments are
those of the author and are not necessarily those of EFSS Ltd. or its
affiliates. EFSS Ltd. accepts no responsibility for loss or damage arising
from its use, including damage from viruses.

Note: Internet e-mails are not necessarily secure. EFSS Ltd. does not accept
responsibility for changes made to this message after it was sent.

Hello.
Try to eliminate obj files that created by Mason at
/path/to/rt/var/mason_data/obj/
Then Apache restart.
Try to reproduce bug.

Also I have 2.89 version of CGI(CGI::Cookie) and everything seems OK.
Best regards. Ruslan.

Nick Bown wrote:

Hi Ruslan,

I have tried purging the Mason session and object data but I still get the
same error. I have put RT into debug mode and get the following in the error
log:

[Tue Oct 14 07:59:00 2003] [warning]: perl_tie_hash: Can’t locate object
method “TIEHASH” via package “Apache::Table” at
/usr/local/lib/perl5/5.8.0/CGI/Cookie.pm line 76.

Stack:
[/usr/local/lib/perl5/5.8.0/CGI/Cookie.pm:76]
[/usr/local/lib/perl5/5.8.0/CGI/Cookie.pm:43]
[/opt/rt3/share/html/Elements/SetupSessionCookie:25]
[/opt/rt3/share/html/autohandler:51]
(/opt/rt3/lib/RT.pm:247)

as well as the previous error on the screen (Can’t call method “FETCH” on an
undefined value at /usr/local/lib/perl5/5.8.0/CGI/Cookie.pm line 76).

I’m currently running mod_perl 1.29 and CGI.pm version 3.00

Cheers,

Nick-----Original Message-----
From: Ruslan U. Zakirov [mailto:cubic@acronis.ru]
Sent: 14 October 2003 07:51
To: Nick Bown
Cc: ‘rt-users@lists.fsck.com’
Subject: Re: [rt-users] Mason update kills RT 3.0.6

Hello.

Try to eliminate obj files that created by Mason at
/path/to/rt/var/mason_data/obj/
Then Apache restart.
Try to reproduce bug.

Also I have 2.89 version of CGI(CGI::Cookie) and everything seems OK.
Best regards. Ruslan.

This message is intended solely for the use of the individual or
organisation to whom it is addressed and may contain confidential or
copyrighted information. If you have received this message in error, please
reply to the originator and delete it immediately. If you are not the
intended recipient, you should not use, copy, alter, disseminate, print or
disclose the contents of this message.

Information or opinions expressed in this message and/or any attachments are
those of the author and are not necessarily those of EFSS Ltd. or its
affiliates. EFSS Ltd. accepts no responsibility for loss or damage arising
from its use, including damage from viruses.

Note: Internet e-mails are not necessarily secure. EFSS Ltd. does not accept
responsibility for changes made to this message after it was sent.

Nick Bown wrote:

Hi Ruslan,

I have tried purging the Mason session and object data but I still get the
same error. I have put RT into debug mode and get the following in the error
log:

[Tue Oct 14 07:59:00 2003] [warning]: perl_tie_hash: Can’t locate object
method “TIEHASH” via package “Apache::Table” at
/usr/local/lib/perl5/5.8.0/CGI/Cookie.pm line 76.

Stack:
[/usr/local/lib/perl5/5.8.0/CGI/Cookie.pm:76]
[/usr/local/lib/perl5/5.8.0/CGI/Cookie.pm:43]
[/opt/rt3/share/html/Elements/SetupSessionCookie:25]
[/opt/rt3/share/html/autohandler:51]
(/opt/rt3/lib/RT.pm:247)

as well as the previous error on the screen (Can’t call method “FETCH” on an
undefined value at /usr/local/lib/perl5/5.8.0/CGI/Cookie.pm line 76).

I’m currently running mod_perl 1.29 and CGI.pm version 3.00

mod_perl as DSO? If so then you must recompile it and link staticaly
with Apache.
If you google with “perl_tie_hash: Can’t locate object” then in most
situations resolution would be ‘no DSO’.
Best regards. Ruslan

mod_perl wan’t built as a DSO but recompling it managed to clear the
problem. Most odd.

Thanks to everyone who helped.

NickFrom: Ruslan U. Zakirov [mailto:cubic@acronis.ru]
Sent: 14 October 2003 09:29
To: Nick Bown
Cc: ‘rt-users@lists.fsck.com’
Subject: Re: [rt-users] Mason update kills RT 3.0.6

Nick Bown wrote:

Hi Ruslan,

I have tried purging the Mason session and object data but I still get the
same error. I have put RT into debug mode and get the following in the
error
log:

[Tue Oct 14 07:59:00 2003] [warning]: perl_tie_hash: Can’t locate object
method “TIEHASH” via package “Apache::Table” at
/usr/local/lib/perl5/5.8.0/CGI/Cookie.pm line 76.

Stack:
[/usr/local/lib/perl5/5.8.0/CGI/Cookie.pm:76]
[/usr/local/lib/perl5/5.8.0/CGI/Cookie.pm:43]
[/opt/rt3/share/html/Elements/SetupSessionCookie:25]
[/opt/rt3/share/html/autohandler:51]
(/opt/rt3/lib/RT.pm:247)

as well as the previous error on the screen (Can’t call method “FETCH” on
an
undefined value at /usr/local/lib/perl5/5.8.0/CGI/Cookie.pm line 76).

I’m currently running mod_perl 1.29 and CGI.pm version 3.00

mod_perl as DSO? If so then you must recompile it and link staticaly
with Apache.
If you google with “perl_tie_hash: Can’t locate object” then in most
situations resolution would be ‘no DSO’.
Best regards. Ruslan

This message is intended solely for the use of the individual or
organisation to whom it is addressed and may contain confidential or
copyrighted information. If you have received this message in error, please
reply to the originator and delete it immediately. If you are not the
intended recipient, you should not use, copy, alter, disseminate, print or
disclose the contents of this message.

Information or opinions expressed in this message and/or any attachments are
those of the author and are not necessarily those of EFSS Ltd. or its
affiliates. EFSS Ltd. accepts no responsibility for loss or damage arising
from its use, including damage from viruses.

Note: Internet e-mails are not necessarily secure. EFSS Ltd. does not accept
responsibility for changes made to this message after it was sent.