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

Brenner, Martin martin.brenner at whitfieldschool.org
Fri Jan 29 04:05:12 NZDT 2010


3.0.5 seemed to fix this problem on the records we were having this problem
on.

Martin

Martin Brenner
Head Librarian
Whitfield School
175 S Mason Rd
St. Louis MO 63141

2010/1/27 Franck Magron <FranckM at spc.int>

>  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/Template/Pro/Pro.so[0xf4614e]
>
>
> /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/HTML/Template/Pro/Pro.so[0xf48246]
>
>
> /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/HTML/Template/Pro/Pro.so[0xf489d7]
>
>
> /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/HTML/Template/Pro/Pro.so(tmplpro_exec_tmpl+0x239)[0xf48c19]
>
>
> /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/HTML/Template/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_entersub+0x40d)[0x19851d]
>
> (…)
>
>
>
> Is the problem reproduced by other 3.0.4 users ? How could it be fixed
> properly ?
>
>
>
> Regards
>
> Franck
>
> _______________________________________________
> Koha mailing list
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20100128/56ce6fab/attachment.htm 


More information about the Koha mailing list