[Koha] 3.0.4 - opac-detail.pl crashes when more than 1 item for a biblio number

Franck Magron FranckM at spc.int
Thu Jan 28 18:06:03 NZDT 2010


We upgraded recently to 3.0.4 and noticed that OPAC was broken (blank
page) for some bibliographic records.

 

We just found that opac-detail.pl crashes when the record is associated
to more than one item, 

could reproduce it by adding/removing items and fixed it for now by only
taking the first item of @all_items

in opac-detail.pl

 

The crash generates glibc memory error which seems to be linked to
HTML/Template/Pro/Pro.so

 

*** glibc detected *** /usr/bin/perl: realloc(): invalid next size:
0x0b222658 ***

======= Backtrace: =========

/lib/libc.so.6[0xacbefd]

/lib/libc.so.6(realloc+0x19d)[0xacdebd]

/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/HTML/Templat
e/Pro/Pro.so[0xf4614e]

/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/HTML/Templat
e/Pro/Pro.so[0xf48246]

/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/HTML/Templat
e/Pro/Pro.so[0xf489d7]

/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/HTML/Templat
e/Pro/Pro.so(tmplpro_exec_tmpl+0x239)[0xf48c19]

/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/HTML/Templat
e/Pro/Pro.so(XS_HTML__Template__Pro_exec_tmpl_string+0x19b)[0xf41b6b]

/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so(Perl_pp_ent
ersub+0x40d)[0x19851d]

(...)

 

Is the problem reproduced by other 3.0.4 users ? How could it be fixed
properly ?

 

Regards

Franck

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20100128/ff78c38f/attachment.htm 


More information about the Koha mailing list