[Rtir] Storable.pm error

Jesse Vincent jesse at bestpractical.com
Thu Aug 28 12:37:07 EDT 2003



On Thu, Aug 28, 2003 at 01:46:47PM +0200, Chelo Malagon CSIC RedIRIS wrote:
> Hello,
> I have a problem with the search option in RTIR. Always I try to do a 
> search I obtain the error attached in this message
> I'm using perl-5.8.0 with Apache-Session-1.53 and HTML-Mason-1.22 
> (which seems to be the modules related to the error)
> 
> Cheers,
> chelo

I bet you're using RedHat 9.0. Their perl build exposes a bug in perl
that causes strable to fail an assert. Any of: perl 5.8.1, rebuilding
perl in the C locale or waiting for a new release of Storable will fix
it.

	-j

> 

Content-Description: Listing.html
>                                   System error
> 
> error:A    Assertion flags == 0 failed: file "Storable.xs", line 2336 at            
>            ../../lib/Storable.pm (autosplit into                                    
>            ../../lib/auto/Storable/_freeze.al) line 282.                            
>                                                                                     
>            Stack:                                                                   
>            [../../lib/Storable.pm (autosplit into                                   
>            ../../lib/auto/Storable/_freeze.al):282]                                 
>            [../../lib/Storable.pm (autosplit into                                   
>            ../../lib/auto/Storable/nfreeze.al):270]                                 
>            [/usr/lib/perl5/site_perl/5.8.0/Apache/Session/Serialize/Storable.pm:21] 
>            [/usr/lib/perl5/site_perl/5.8.0/Apache/Session.pm:501]                   
>            [/usr/lib/perl5/site_perl/5.8.0/Apache/Session.pm:456]                   
>            [/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:1056], at          
>            /usr/lib/perl5/site_perl/5.8.0/Apache/Session/Serialize/Storable.pm line 
>            21                                                                       
> context:A  ...A                                                                     
>            187:A  # whether they should generate a full stack trace (confess() and  
>                   cluck())                                                          
>            188:A  # or simply report the caller's package (croak() and carp()),     
>                   respectively.                                                     
>            189:A  # confess() and croak() die, carp() and cluck() warn.             
>            190:A                                                                    
>            191:A  sub croak { die shortmess @_ }                                    
>            192:A  sub confess { die longmess @_ }                                   
>            193:A  sub carp { warn shortmess @_ }                                    
>            194:A  sub cluck { warn longmess @_ }                                    
>            195:A                                                                    
>            ...A                                                                     
> code       /usr/lib/perl5/5.8.0/Carp.pm:191                                         
> stack:A    ../../lib/Storable.pm (autosplit into                                    
>            ../../lib/auto/Storable/logcroak.al):66                                  
>            ../../lib/Storable.pm (autosplit into                                    
>            ../../lib/auto/Storable/_freeze.al):283                                  
>            ../../lib/Storable.pm (autosplit into                                    
>            ../../lib/auto/Storable/nfreeze.al):270                                  
>            /usr/lib/perl5/site_perl/5.8.0/Apache/Session/Serialize/Storable.pm:21   
>            /usr/lib/perl5/site_perl/5.8.0/Apache/Session.pm:501                     
>            /usr/lib/perl5/site_perl/5.8.0/Apache/Session.pm:456                     
>            /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:1056                
> 
>    raw error
> 
>  Assertion flags == 0 failed: file "Storable.xs", line 2336 at ../../lib/Storable.pm (autosplit into ../../lib/auto/Storable/_freeze.al) line 282.
> 
>  Stack:
>    [../../lib/Storable.pm (autosplit into ../../lib/auto/Storable/_freeze.al):282]
>    [../../lib/Storable.pm (autosplit into ../../lib/auto/Storable/nfreeze.al):270]
>    [/usr/lib/perl5/site_perl/5.8.0/Apache/Session/Serialize/Storable.pm:21]
>    [/usr/lib/perl5/site_perl/5.8.0/Apache/Session.pm:501]
>    [/usr/lib/perl5/site_perl/5.8.0/Apache/Session.pm:456]
>    [/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:1056], at /usr/lib/perl5/site_perl/5.8.0/Apache/Session/Serialize/Storable.pm line 21
> 
> 
>  Trace begun at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Exceptions.pm line 131
>  HTML::Mason::Exceptions::rethrow_exception('Assertion flags == 0 failed: file "Storable.xs", line 2336 at ../../lib/Storable.pm (autosplit into ../../lib/auto/Storable/_freeze.al) line 282.^J^JStack:^J  [../../lib/Storable.pm (autosplit into ../../lib/auto/Storable/_freeze.al):282]^J  [../../lib/Storable.pm (autosplit into ../../lib/auto/Storable/nfreeze.al):270]^J  [/usr/lib/perl5/site_perl/5.8.0/Apache/Session/Serialize/Storable.pm:21]^J  [/usr/lib/perl5/site_perl/5.8.0/Apache/Session.pm:501]^J  [/usr/lib/perl5/site_perl/5.8.0/Apache/Session.pm:456]^J  [/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:1056], at /usr/lib/perl5/site_perl/5.8.0/Apache/Session/Serialize/Storable.pm line 21^J') called at /usr/lib/perl5/5.8.0/Carp.pm line 191
>  Carp::croak('Assertion flags == 0 failed: file "Storable.xs", line 2336 at ../../lib/Storable.pm (autosplit into ../../lib/auto/Storable/_freeze.al) line 282.^J^JStack:^J  [../../lib/Storable.pm (autosplit into ../../lib/auto/Storable/_freeze.al):282]^J  [../../lib/Storable.pm (autosplit into ../../lib/auto/Storable/nfreeze.al):270]^J  [/usr/lib/perl5/site_perl/5.8.0/Apache/Session/Serialize/Storable.pm:21]^J  [/usr/lib/perl5/site_perl/5.8.0/Apache/Session.pm:501]^J  [/usr/lib/perl5/site_perl/5.8.0/Apache/Session.pm:456]^J  [/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:1056],') called at ../../lib/Storable.pm (autosplit into ../../lib/auto/Storable/logcroak.al) line 66
>  Storable::logcroak('Assertion flags == 0 failed: file "Storable.xs", line 2336 at ../../lib/Storable.pm (autosplit into ../../lib/auto/Storable/_freeze.al) line 282.^J^JStack:^J  [../../lib/Storable.pm (autosplit into ../../lib/auto/Storable/_freeze.al):282]^J  [../../lib/Storable.pm (autosplit into ../../lib/auto/Storable/nfreeze.al):270]^J  [/usr/lib/perl5/site_perl/5.8.0/Apache/Session/Serialize/Storable.pm:21]^J  [/usr/lib/perl5/site_perl/5.8.0/Apache/Session.pm:501]^J  [/usr/lib/perl5/site_perl/5.8.0/Apache/Session.pm:456]^J  [/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:1056],') called at ../../lib/Storable.pm (autosplit into ../../lib/auto/Storable/_freeze.al) line 283
>  Storable::_freeze('CODE(0x91a0870)', 'HASH(0x8c4907c)') called at ../../lib/Storable.pm (autosplit into ../../lib/auto/Storable/nfreeze.al) line 270
>  Storable::nfreeze('HASH(0x8c4907c)') called at /usr/lib/perl5/site_perl/5.8.0/Apache/Session/Serialize/Storable.pm line 21
>  Apache::Session::Serialize::Storable::serialize('Apache::Session::MySQL=HASH(0x8c48398)') called at /usr/lib/perl5/site_perl/5.8.0/Apache/Session.pm line 501
>  Apache::Session::save('Apache::Session::MySQL=HASH(0x8c48398)') called at /usr/lib/perl5/site_perl/5.8.0/Apache/Session.pm line 456
>  Apache::Session::DESTROY('Apache::Session::MySQL=HASH(0x8c48398)') called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1056
>  eval {...}('Apache::Session::MySQL=HASH(0x8c48398)') called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1056
>  HTML::Mason::Request::comp(undef, undef, undef, 'CustomField18', '', 'DateType', 'Created', 'OwnerOp', '=', 'CompileRestriction', 1, 'RefreshSearchInterval', -1, 'ValueOfOwner', '', 'Queue', 'Incident Reports', 'ValueOfAttachmentField', '', 'CustomFieldOp25', 'LIKE', 'PriorityOp', '<', 'AttachmentField', 'Content', 'Action', 'BM-CM-:squeda', 'Bookmark', 'FrT%3B%402%7C%2512%7C%242%7C30%242%7C31%242%7C32%242%7C33%242%7C34%242%7C35%258%7C%2411%7CDESCRIPTION%245%7CFIELD%248%7COPERATOR%245%7CVALUE%2423%7CCola%20%3D%20Incident%20Reports%245%7CQueue%241%7C%3D%2416%7CIncident%20Reports%2510%7C%2411%7CCUSTOMFIELD%2411%7CDESCRIPTION%245%7CFIELD%248%7COPERATOR%245%7CVALUE%241%7C1%2439%7CCF.Incident%20Reports.%7B_RTIR_State%7D%20%3D%20new%2433%7CCF.Incident%20Reports.%7B_RTIR_State%7D%241%7C%3D%243%7Cnew%2510%7C%2411%7CCUSTOMFIELD%2411%7CDESCRIPTION%245%7CFIELD%248%7COPERATOR%245%7CVALUE%241%7C1%2440%7CCF.Incident%20Reports.%7B_RTIR_State%7D%20%3D%20open%2433%7CCF.Incident%20Reports.%7B_RTIR_State%7D%241%7C%3D%244%7> Copen%2510%7C%2411%7CCUSTOMFIELD%2411%7CDESCRIPTION%245%7CFIELD%248%7COPERATOR%245%7CVALUE%241%7C1%2439%7CCF.Incident%20Reports.%7B_RTIR_State%7D%20%3D%20new%2433%7CCF.Incident%20Reports.%7B_RTIR_State%7D%241%7C%3D%243%7Cnew%2510%7C%2411%7CCUSTOMFIELD%2411%7CDESCRIPTION%245%7CFIELD%248%7COPERATOR%245%7CVALUE%241%7C1%2440%7CCF.Incident%20Reports.%7B_RTIR_State%7D%20%3D%20open%2433%7CCF.Incident%20Reports.%7B_RTIR_State%7D%241%7C%3D%244%7Copen%2510%7C%2411%7CDESCRIPTION%245%7CFIELD%248%7COPERATOR%244%7CTYPE%245%7CVALUE%2427%7CSolicitante%20LIKE%20rediris.es%249%7CRequestor%244%7CLIKE%249%7CRequestor%2410%7Crediris.es%242%7C36', 'CustomFieldOp26', 'LIKE', 'CustomField22', '', 'CustomFieldOp18', 'LIKE', 'id', '', 'SubjectOp', 'LIKE', 'ValueOfRequestor', '', 'CustomFieldOp22', 'LIKE', 'TicketsSortBy', 'id', 'RowsPerPage', 50, 'ValueOfPriority', '', 'CustomField26', '', 'ValueOfSubject', 'prueba', 'TicketsSortOrder', 'ASC', 'CustomField25', '', 'AttachmentFieldOp', 'LIKE', 'RequestorOp', 'LIKE', 'DateOp', '<', > 'ValueOfDate', '') called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 331
>  eval {...}(undef, undef, undef, 'CustomField18', '', 'DateType', 'Created', 'OwnerOp', '=', 'CompileRestriction', 1, 'RefreshSearchInterval', -1, 'ValueOfOwner', '', 'Queue', 'Incident Reports', 'ValueOfAttachmentField', '', 'CustomFieldOp25', 'LIKE', 'PriorityOp', '<', 'AttachmentField', 'Content', 'Action', 'BM-CM-:squeda', 'Bookmark', 'FrT%3B%402%7C%2512%7C%242%7C30%242%7C31%242%7C32%242%7C33%242%7C34%242%7C35%258%7C%2411%7CDESCRIPTION%245%7CFIELD%248%7COPERATOR%245%7CVALUE%2423%7CCola%20%3D%20Incident%20Reports%245%7CQueue%241%7C%3D%2416%7CIncident%20Reports%2510%7C%2411%7CCUSTOMFIELD%2411%7CDESCRIPTION%245%7CFIELD%248%7COPERATOR%245%7CVALUE%241%7C1%2439%7CCF.Incident%20Reports.%7B_RTIR_State%7D%20%3D%20new%2433%7CCF.Incident%20Reports.%7B_RTIR_State%7D%241%7C%3D%243%7Cnew%2510%7C%2411%7CCUSTOMFIELD%2411%7CDESCRIPTION%245%7CFIELD%248%7COPERATOR%245%7CVALUE%241%7C1%2440%7CCF.Incident%20Reports.%7B_RTIR_State%7D%20%3D%20open%2433%7CCF.Incident%20Reports.%7B_RTIR_State%7D%241%7C%3D%244%7Copen%2510%7C%24> 11%7CCUSTOMFIELD%2411%7CDESCRIPTION%245%7CFIELD%248%7COPERATOR%245%7CVALUE%241%7C1%2439%7CCF.Incident%20Reports.%7B_RTIR_State%7D%20%3D%20new%2433%7CCF.Incident%20Reports.%7B_RTIR_State%7D%241%7C%3D%243%7Cnew%2510%7C%2411%7CCUSTOMFIELD%2411%7CDESCRIPTION%245%7CFIELD%248%7COPERATOR%245%7CVALUE%241%7C1%2440%7CCF.Incident%20Reports.%7B_RTIR_State%7D%20%3D%20open%2433%7CCF.Incident%20Reports.%7B_RTIR_State%7D%241%7C%3D%244%7Copen%2510%7C%2411%7CDESCRIPTION%245%7CFIELD%248%7COPERATOR%244%7CTYPE%245%7CVALUE%2427%7CSolicitante%20LIKE%20rediris.es%249%7CRequestor%244%7CLIKE%249%7CRequestor%2410%7Crediris.es%242%7C36', 'CustomFieldOp26', 'LIKE', 'CustomField22', '', 'CustomFieldOp18', 'LIKE', 'id', '', 'SubjectOp', 'LIKE', 'ValueOfRequestor', '', 'CustomFieldOp22', 'LIKE', 'TicketsSortBy', 'id', 'RowsPerPage', 50, 'ValueOfPriority', '', 'CustomField26', '', 'ValueOfSubject', 'prueba', 'TicketsSortOrder', 'ASC', 'CustomField25', '', 'AttachmentFieldOp', 'LIKE', 'RequestorOp', 'LIKE', 'DateOp', '<', 'ValueOfDate', '> ') called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 331
>  eval {...}(undef, undef, undef, 'CustomField18', '', 'DateType', 'Created', 'OwnerOp', '=', 'CompileRestriction', 1, 'RefreshSearchInterval', -1, 'ValueOfOwner', '', 'Queue', 'Incident Reports', 'ValueOfAttachmentField', '', 'CustomFieldOp25', 'LIKE', 'PriorityOp', '<', 'AttachmentField', 'Content', 'Action', 'BM-CM-:squeda', 'Bookmark', 'FrT%3B%402%7C%2512%7C%242%7C30%242%7C31%242%7C32%242%7C33%242%7C34%242%7C35%258%7C%2411%7CDESCRIPTION%245%7CFIELD%248%7COPERATOR%245%7CVALUE%2423%7CCola%20%3D%20Incident%20Reports%245%7CQueue%241%7C%3D%2416%7CIncident%20Reports%2510%7C%2411%7CCUSTOMFIELD%2411%7CDESCRIPTION%245%7CFIELD%248%7COPERATOR%245%7CVALUE%241%7C1%2439%7CCF.Incident%20Reports.%7B_RTIR_State%7D%20%3D%20new%2433%7CCF.Incident%20Reports.%7B_RTIR_State%7D%241%7C%3D%243%7Cnew%2510%7C%2411%7CCUSTOMFIELD%2411%7CDESCRIPTION%245%7CFIELD%248%7COPERATOR%245%7CVALUE%241%7C1%2440%7CCF.Incident%20Reports.%7B_RTIR_State%7D%20%3D%20open%2433%7CCF.Incident%20Reports.%7B_RTIR_State%7D%241%7C%3D%244%7Copen%2510%7C%24> 11%7CCUSTOMFIELD%2411%7CDESCRIPTION%245%7CFIELD%248%7COPERATOR%245%7CVALUE%241%7C1%2439%7CCF.Incident%20Reports.%7B_RTIR_State%7D%20%3D%20new%2433%7CCF.Incident%20Reports.%7B_RTIR_State%7D%241%7C%3D%243%7Cnew%2510%7C%2411%7CCUSTOMFIELD%2411%7CDESCRIPTION%245%7CFIELD%248%7COPERATOR%245%7CVALUE%241%7C1%2440%7CCF.Incident%20Reports.%7B_RTIR_State%7D%20%3D%20open%2433%7CCF.Incident%20Reports.%7B_RTIR_State%7D%241%7C%3D%244%7Copen%2510%7C%2411%7CDESCRIPTION%245%7CFIELD%248%7COPERATOR%244%7CTYPE%245%7CVALUE%2427%7CSolicitante%20LIKE%20rediris.es%249%7CRequestor%244%7CLIKE%249%7CRequestor%2410%7Crediris.es%242%7C36', 'CustomFieldOp26', 'LIKE', 'CustomField22', '', 'CustomFieldOp18', 'LIKE', 'id', '', 'SubjectOp', 'LIKE', 'ValueOfRequestor', '', 'CustomFieldOp22', 'LIKE', 'TicketsSortBy', 'id', 'RowsPerPage', 50, 'ValueOfPriority', '', 'CustomField26', '', 'ValueOfSubject', 'prueba', 'TicketsSortOrder', 'ASC', 'CustomField25', '', 'AttachmentFieldOp', 'LIKE', 'RequestorOp', 'LIKE', 'DateOp', '<', 'ValueOfDate', '> ') called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 290
>  HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x946c4f0)') called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 134
>  eval {...}('HTML::Mason::Request::ApacheHandler=HASH(0x946c4f0)') called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 134
>  HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x946c4f0)') called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 792
>  HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x9299cac)', 'Apache=SCALAR(0x9246b00)') called at /usr/local/rt3/bin/webmux.pl line 118
>  RT::Mason::handler('Apache=SCALAR(0x9246b00)') called at /dev/null line 0
>  eval {...}('Apache=SCALAR(0x9246b00)') called at /dev/null line 0


-- 
http://www.bestpractical.com/rt  -- Trouble Ticketing. Free.



More information about the Rtir mailing list