http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13431 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart@biblibre.co | |m --- Comment #22 from Jonathan Druart <jonathan.druart@biblibre.com> --- I don't know if it is relevant, but maybe should we provide a quick fix like: if ( can_load( modules => { 'Cache::FastMmap' => undef } ) ) { - _initialize_fastmmap($self); - if ( $self->{'default_type'} eq 'fastmmap' - && defined( $self->{'fastmmap_cache'} ) ) - { - $self->{'cache'} = $self->{'fastmmap_cache'}; + eval { + _initialize_fastmmap($self); + if ( $self->{'default_type'} eq 'fastmmap' + && defined( $self->{'fastmmap_cache'} ) ) + { + $self->{'cache'} = $self->{'fastmmap_cache'}; + } + }; + if ( $@ ) { + warn "Cannot initialize FastMmap: $@"; } } In any case the application should crash if the cache is not correctly initialized. -- You are receiving this mail because: You are watching all bug changes.