Experiences on perl 5.8.0 -> 5.8.3 upgrade

Just for those seeking hints how to solve this…

I upgraded perl from 5.8.0. to 5.8.3 on our RT machine. I thought modules
would keep working, RT would keep working and I just would get uncorrupted
attachments in the process (we are trying to get other people to use RT for
mail handling who may have a positive stance towards html and .doc
attachments).

I got the following problems: internal server errors, empty pages on
updates, empty pages on search, search results missing from search pages,
and entries in the apache error_log:

[Tue Oct 19 07:58:56 2004] [crit]: 1
(/local/rt3/lib/RT/Principal_Overlay.pm:354)
[Tue Oct 19 07:58:56 2004] [crit]: 1
(/local/rt3/lib/RT/Principal_Overlay.pm:354)
[Tue Oct 19 09:58:56 2004] [notice] child pid 14268 exit signal
Segmentation fault (11)
Attempt to free unreferenced scalar: SV 0x9a4c55c at /local/rt3/lib/RT.pm
line 126.
[Tue Oct 19 09:59:00 2004] [error] Not a HASH reference at
/usr/lib/perl5/site_perl/5.8.3/DBIx/SearchBuilder/Record.pm line 991.

[Tue Oct 19 07:59:06 2004] [crit]: 1
(/local/rt3/lib/RT/Principal_Overlay.pm:354)
[Tue Oct 19 07:59:06 2004] [crit]: 1
(/local/rt3/lib/RT/Principal_Overlay.pm:354)
[Tue Oct 19 09:59:06 2004] [notice] child pid 14271 exit signal
Segmentation fault (11)
[Tue Oct 19 07:59:07 2004] [crit]: 1
(/local/rt3/lib/RT/Principal_Overlay.pm:354)
[Tue Oct 19 07:59:07 2004] [crit]: 1
(/local/rt3/lib/RT/Principal_Overlay.pm:354)
[Tue Oct 19 09:59:07 2004] [notice] child pid 14272 exit signal
Segmentation fault (11)
Attempt to free unreferenced scalar: SV 0x9e545e8 during global
destruction.

I have things running again without these problems, by searching for perl
5.8.0 modules that were still used:

:/usr/lib/perl5/site_perl/5.8.0# find . -atime -1 -type f -ls

The big culprit seemed to be the DBI module. After a forced
remove/reinstall in a 5.8.3 environment, things started working normal
again. I also upgraded a lot of other modules in the process and recompiled
mod_perl (and apache).

I hope someone else can benefit from this :wink:

                                              Koos van den Hout

Koos van den Hout, PGP keyid RSA/1024 0xCA845CB5 via keyservers
koos@kzdoos.xs4all.nl or DSS/1024 0xF0D7C263 -?)
Fax +31-30-2817051 Camp Wireless, wireless Internet access /\
http://idefix.net/~koos/ at campsites http://www.camp-wireless.org/ __V