Problem with batch : canary mismatch on efree()

Author Message

christophe wedeux

Monday 28 April 2008 1:43:32 am

Hi,

i have a batch that use lot of object and i have this message "error canary mismatch on efree() - heap overflow or double efree detected" . Anyone know that and find the solution?

I use a 3.9.1 on FreeBSD linux with PHP 4.4.7 and Mysql 2.11.0

Steven E. Bailey

Monday 28 April 2008 4:01:04 am

You are using a apache version with the suhosin patch? I had this error message while running remove drafts - lots of objects, etc. I managed to work around it by having the program loop and do 100 objects at a time.

I think it's related to the suhosin patch...

Certified eZPublish developer
http://ez.no/certification/verify/396111

Available for ezpublish troubleshooting, hosting and custom extension development: http://www.leidentech.com

christophe wedeux

Monday 28 April 2008 5:14:32 am

Thank's

i just look my config i have the Suhosin Patch 0.9.6 copyright 2006. anyone know if a patch more recently exist ?

my conf web is :
Apache/2.1.9 (FreeBSD) PHP/4.4.7 with Suhosin-Patch mod_ssl/2.1.9 OpenSSL/0.9.7e-p1.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 19 2025 06:16:28
Script start
Timing: Jan 19 2025 06:16:28
Module start 'layout'
Timing: Jan 19 2025 06:16:28
Module start 'content'
Timing: Jan 19 2025 06:16:28
Module end 'content'
Timing: Jan 19 2025 06:16:28
Script end

Main resources:

Total runtime0.0119 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0046 589.2891152.6406
Module start 'layout' 0.00460.0021 741.929739.4766
Module start 'content' 0.00670.0034 781.406389.3672
Module end 'content' 0.01010.0017 870.773430.3047
Script end 0.0119  901.0781 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002218.5894140.0002
Check MTime0.00118.9178140.0001
Mysql Total
Database connection0.00086.357510.0008
Mysqli_queries0.001916.171530.0006
Looping result0.00000.092210.0000
Template Total0.001412.110.0014
Template load0.00086.307410.0008
Template processing0.00075.760110.0007
Override
Cache load0.00054.280410.0005
General
dbfile0.00032.534280.0000
String conversion0.00000.042140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs