Forums / Setup & design / Fatal error with eztc.php script

Fatal error with eztc.php script

Author Message

Pascal France

Sunday 28 October 2007 8:49:39 am

Hi,

Each time I run the bin/php/eztc.php script I get this error message:

# bin/php/eztc.php
PHP Warning:  mime_magic: type search/400       \\input         text/x-tex invalid in Unknown on line 0
PHP Warning:  mime_magic: type search/400       \\section       text/x-tex invalid in Unknown on line 0
PHP Warning:  mime_magic: type search/400       \\setlength     text/x-tex invalid in Unknown on line 0
PHP Warning:  mime_magic: type search/400       \\documentstyle text/x-tex invalid in Unknown on line 0
PHP Warning:  mime_magic: type search/400       \\chapter       text/x-tex invalid in Unknown on line 0
PHP Warning:  mime_magic: type search/400       \\documentclass text/x-tex invalid in Unknown on line 0
PHP Warning:  mime_magic: type regex            [Cc]onstant[[:space:]]+[Ss]tory text/x-inform invalid in Unknown on line 0
Compiling in design standard
...................................................................... 8.65%
...................................................................... 17.31%
...................................................................... 25.96%
...................................................................... 34.61%
...................................................................... 43.26%
...................................................................... 51.92%
...................................................................... 60.57%
...................................................................... 69.22%
.........................
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 40961 bytes) in /usr/local/www/cfdtbis/lib/ezutils/classes/ezphpcreator.php on line 511
unset( $show1 );
*** glibc detected *** php: double free or corruption (fasttop): 0x0b093440 ***
======= Backtrace: =========
/lib/i686/cmov/libc.so.6[0xb7b87cf5]
/lib/i686/cmov/libc.so.6(cfree+0x90)[0xb7b8b790]
php(_efree+0x8c)[0x818047c]
php(php_end_ob_buffer+0x4db)[0x817385b]
php(php_end_ob_buffers+0x3e)[0x8173e6e]
php(php_request_shutdown+0x462)[0x815ed62]
php(main+0x3fe)[0x81baa4e]
/lib/i686/cmov/libc.so.6(__libc_start_main+0xe0)[0xb7b34050]
php[0x8073381]
======= Memory map: ========
08048000-08328000 r-xp 00000000 21:45 1996737    /usr/bin/php4
08328000-0833a000 rw-p 002e0000 21:45 1996737    /usr/bin/php4
0833a000-0b09f000 rw-p 0833a000 00:00 0          [heap]
b6d00000-b6d21000 rw-p b6d00000 00:00 0
b6d21000-b6e00000 ---p b6d21000 00:00 0
b6e5d000-b6e6d000 rw-p b6e5d000 00:00 0
b6e9a000-b6eaa000 rw-p b6e9a000 00:00 0
b6ed7000-b6ee7000 rw-p b6ed7000 00:00 0
b6f14000-b6f2b000 rw-p b6f14000 00:00 0
b6f51000-b6f73000 rw-p b6f51000 00:00 0
b6f8e000-b6fa5000 rw-p b6f8e000 00:00 0
b6fcb000-b6fe5000 rw-p b6fcb000 00:00 0
b7008000-b7022000 rw-p b7008000 00:00 0
b7045000-b7060000 rw-p b7045000 00:00 0
b7082000-b70b9000 rw-p b7082000 00:00 0
b70bf000-b70d6000 rw-p b70bf000 00:00 0
b70f1000-b70fb000 r-xp 00000000 21:42 179244     /lib/libgcc_s.so.1
b70fb000-b70fc000 rw-p 00009000 21:42 179244     /lib/libgcc_s.so.1
b70fc000-b729f000 r-xp 00000000 21:45 2878413    /usr/lib/libmysqlclient.so.15.0.0
b729f000-b72e3000 rw-p 001a2000 21:45 2878413    /usr/lib/libmysqlclient.so.15.0.0
b72e3000-b72e4000 rw-p b72e3000 00:00 0
b72f7000-b733d000 r-xp 00000000 21:45 2878541    /usr/lib/libmhash.so.2.0.1
b733d000-b733e000 rw-p 00045000 21:45 2878541    /usr/lib/libmhash.so.2.0.1
b733e000-b7363000 r-xp 00000000 21:45 2878636    /usr/lib/libmcrypt.so.4.4.7
b7363000-b7366000 rw-p 00025000 21:45 2878636    /usr/lib/libmcrypt.so.4.4.7
b7366000-b736c000 rw-p b7366000 00:00 0
b7374000-b737e000 r-xp 00000000 21:45 3401495    /usr/lib/php4/20050606+lfs/mysql.so
b737e000-b737f000 rw-p 0000a000 21:45 3401495    /usr/lib/php4/20050606+lfs/mysql.so
b737f000-b738d000 r-xp 00000000 21:45 2878661    /usr/lib/libmcal.so.0.6
b738d000-b738e000 rw-p 0000d000 21:45 2878661    /usr/lib/libmcal.so.0.6
b7398000-b73a0000 r-xp 00000000 21:45 3401494    /usr/lib/php4/20050606+lfs/mcrypt.so
b73a0000-b73a1000 rw-p 00007000 21:45 3401494    /usr/lib/php4/20050606+lfs/mcrypt.so
b73a1000-b73a5000 r-xp 00000000 21:45 2880333    /usr/lib/libXdmcp.so.6.0.0
b73a5000-b73a6000 rw-p 00003000 21:45 2880333    /usr/lib/libXdmcp.so.6.0.0
b73a6000-b73c9000 r-xp 00000000 21:45 2879406    /usr/lib/libfontconfig.so.1.2.0
b73c9000-b73d1000 rw-p 00022000 21:45 2879406    /usr/lib/libfontconfig.so.1.2.0
b73d1000-b73ef000 r-xp 00000000 21:45 2878371    /usr/lib/libjpeg.so.62.0.0
b73ef000-b73f0000 rw-p 0001e000 21:45 2878371    /usr/lib/libjpeg.so.62.0.0
b73f0000-b7412000 r-xp 00000000 21:45 2878369    /usr/lib/libpng12.so.0.15.0
b7412000-b7413000 rw-p 00021000 21:45 2878369    /usr/lib/libpng12.so.0.15.0
b7413000-b7422000 r-xp 00000000 21:45 2879435    /usr/lib/libXpm.so.4.11.0
b7422000-b7423000 rw-p 0000e000 21:45 2879435    /usr/lib/libXpm.so.4.11.0
b7423000-b750b000 r-xp 00000000 21:45 2879396    /usr/lib/libX11.so.6.2.0
b750b000-b750f000 rw-p 000e8000 21:45 2879396    /usr/lib/libX11.so.6.2.0
b750f000-b757a000 r-xp 00000000 21:45 2878482    /usr/lib/libfreetype.so.6.3.16
b757a000-b757e000 rw-p 0006a000 21:45 2878482    /usr/lib/libfreetype.so.6.3.16
b757e000-b75b9000 r-xp 00000000 21:45 2878653    /usr/lib/libt1.so.5.1.1
b75b9000-b75bc000 rw-p 0003b000 21:45 2878653    /usr/lib/libt1.so.5.1.1
b75bc000-b75d1000 rw-p b75bc000 00:00 0
b75d1000-b75ef000 r-xp 00000000 21:45 2878634    /usr/lib/libgd.so.2.0.0
b75ef000-b760f000 rw-p 0001d000 21:45 2878634    /usr/lib/libgd.so.2.0.0
b760f000-b7613000 rw-p b760f000 00:00 0
b7613000-b7627000 r-xp 00000000 21:45 3401492    /usr/lib/php4/20050606+lfs/gd.so
b7627000-b7628000 rw-p 00013000 21:45 3401492    /usr/lib/php4/20050606+lfs/gd.so
b7628000-b7677000 r-xp 00000000 21:45 2878174    /usr/lib/libgcrypt.so.11.2.3
b7677000-b7679000 rw-p 0004f000 21:45 2878174    /usr/lib/libgcrypt.so.11.2.3
b7679000-b7790000 r-xp 00000000 21:45 2878467    /usr/lib/libxml2.so.2.6.30
b7790000-b7795000 rw-p 00117000 21:45 2878467    /usr/lib/libxml2.so.2.6.30
b7795000-b7796000 rw-p b7795000 00:00 0
b7796000-b77c9000 r-xp 00000000 21:45 2881467    /usr/lib/libxslt.so.1.1.22
b77c9000-b77ca000 rw-p 00032000 21:45 2881467    /usr/lib/libxslt.so.1.1.22
b77ca000-b77da000 r-xp 00000000 21:45 2881466    /usr/lib/libexslt.so.0.8.13
b77da000-b77db000 rw-p 0000f000 21:45 2881466    /usr/lib/libexslt.so.0.8.13
b77db000-b77f1000 r-xp 00000000 21:45 3401491    /usr/lib/php4/20050606+lfs/domxml.so
b77f1000-b77f3000 rw-p 00015000 21:45 3401491    /usr/lib/php4/20050606+lfs/domxml.so
b77f3000-b7823000 r-xp 00000000 21:45 2878333    /usr/lib/libidn.so.11.5.30
b7823000-b7824000 rw-p 0002f000 21:45 2878333    /usr/lib/libidn.so.11.5.30
b7824000-b7858000 r-xp 00000000 21:45 2880435    /usr/lib/libcurl.so.3.0.0
b7858000-b7859000 rw-p 00033000 21:45 2880435    /usr/lib/libcurl.so.3.0.0
b7859000-b785a000 rw-p b7859000 00:00 0
b785a000-b7860000 r-xp 00000000 21:45 2879803    /usr/lib/libltdl.so.3.1.5
b7860000-b7861000 rw-p 00005000 21:45 2879803    /usr/lib/libltdl.so.3.1.5
b7861000-b786b000 r-xp 00000000 21:45 3401493    /usr/lib/php4/20050606+lfs/mcal.so
b786b000-b786c000 rw-p 0000a000 21:45 3401493    /usr/lib/php4/20050606+lfs/mcal.so
b786c000-b7875000 r-xp 00000000 21:42 212852     /lib/i686/cmov/libnss_files-2.6.1.so
b7875000-b7877000 rw-p 00008000 21:42 212852     /lib/i686/cmov/libnss_files-2.6.1.so
b7877000-b79af000 r--p 00000000 21:45 2878471    /usr/lib/locale/locale-archive
b79af000-b79b1000 rw-p b79af000 00:00 0
b79b1000-b79b3000 r-xp 00000000 21:42 179240     /lib/libkeyutils-1.2.so
b79b3000-b79b4000 rw-p 00001000 21:42 179240     /lib/libkeyutils-1.2.so
b79b4000-b79bb000 r-xp 00000000 21:45 2878461    /usr/lib/libkrb5support.so.0.1
b79bb000-b79bc000 rw-p 00006000 21:45 2878461    /usr/lib/libkrb5support.so.0.1
b79bc000-b79cf000 r-xp 00000000 21:42 212857     /lib/i686/cmov/libpthread-2.6.1.so
b79cf000-b79d1000 rw-p 00013000 21:42 212857     /lib/i686/cmov/libpthread-2.6.1.so
b79d1000-b79d4000 rw-p b79d1000 00:00 0
b79d4000-b7b05000 r-xp 00000000 21:45 2878445    /usr/lib/i686/cmov/libcrypto.so.0.9.8
b7b05000-b7b1b000 rw-p 00131000 21:45 2878445    /usr/lib/i686/cmov/libcrypto.so.0.9.8
b7b1b000-b7b1e000 rw-p b7b1b000 00:00 0
b7b1e000-b7c60000 r-xp 00000000 21:42 212843     /lib/i686/cmov/libc-2.6.1.so
b7c60000-b7c61000 r--p 00142000 21:42 212843     /lib/i686/cmov/libc-2.6.1.so
b7c61000-b7c63000 rw-p 00143000 21:42 212843     /lib/i686/cmov/libc-2.6.1.so
b7c63000-b7c66000 rw-p b7c63000 00:00 0
b7c66000-b7c68000 r-xp 00000000 21:42 179194     /lib/libcom_err.so.2.1
b7c68000-b7c69000 rw-p 00001000 21:42 179194     /lib/libcom_err.so.2.1
b7c69000-b7c8b000 r-xp 00000000 21:45 2878458    /usr/lib/libk5crypto.so.3.1
b7c8b000-b7c8c000 rw-p 00022000 21:45 2878458    /usr/lib/libk5crypto.so.3.1
b7c8c000-b7d18000 r-xp 00000000 21:45 2878460    /usr/lib/libkrb5.so.3.3
b7d18000-b7d1a000 rw-p 0008c000 21:45 2878460    /usr/lib/libkrb5.so.3.3
b7d1a000-b7d42000 r-xp 00000000 21:45 2878457    /usr/lib/libgssapi_krb5.so.2.2
b7d42000-b7d43000 rw-p 00028000 21:45 2878457    /usr/lib/libgssapi_krb5.so.2.2
b7d43000-b7d44000 rw-p b7d43000 00:00 0
b7d44000-b7d46000 r-xp 00000000 21:42 212846     /lib/i686/cmov/libdl-2.6.1.so
b7d46000-b7d48000 rw-p 00001000 21:42 212846     /lib/i686/cmov/libdl-2.6.1.so
b7d48000-b7d6b000 r-xp 00000000 21:42 212847     /lib/i686/cmov/libm-2.6.1.so
b7d6b000-b7d6d000 rw-p 00023000 21:42 212847     /lib/i686/cmov/libm-2.6.1.so
b7d6d000-b7d7c000 r-xp 00000000 21:42 212858     /lib/i686/cmov/libresolv-2.6.1.so
b7d7c000-b7d7e000 rw-p 0000f000 21:42 212858     /lib/i686/cmov/libresolv-2.6.1.so
b7d7e000-b7d80000 rw-p b7d7e000 00:00 0
b7d80000-b7dbe000 r-xp 00000000 21:45 2878446    /usr/lib/i686/cmov/libssl.so.0.9.8
b7dbe000-b7dc2000 rw-p 0003e000 21:45 2878446    /usr/lib/i686/cmov/libssl.so.0.9.8
b7dc2000-b7de7000 r-xp 00000000 21:45 2878336    /usr/lib/libpcre.so.3.12.1
b7de7000-b7de8000 rw-p 00025000 21:45 2878336    /usr/lib/libpcre.so.3.12.1
b7de8000-b7dfc000 r-xp 00000000 21:45 2878438    /usr/lib/libz.so.1.2.3.3
b7dfc000-b7dfd000 rw-p 00013000 21:45 2878438    /usr/lib/libz.so.1.2.3.3
b7dfd000-b7dfe000 rw-p b7dfd000 00:00 0
b7dfe000-b7e0d000 r-xp 00000000 21:42 179272     /lib/libbz2.so.1.0.3
b7e0d000-b7e0e000 rw-p 0000f000 21:42 179272     /lib/libbz2.so.1.0.3
b7e0e000-b7f06000 r-xp 00000000 21:45 2877968    /usr/lib/libdb-4.4.so
b7f06000-b7f09000 rw-p 000f7000 21:45 2877968    /usr/lib/libdb-4.4.so
b7f09000-b7f37000 r-xp 00000000 21:42 179252     /lib/libncurses.so.5.6
b7f37000-b7f3a000 rw-p 0002d000 21:42 179252     /lib/libncurses.so.5.6
b7f3a000-b7f3c000 r-xp 00000000 21:45 2878181    /usr/lib/libpanel.so.5.6
b7f3c000-b7f3d000 rw-p 00001000 21:45 2878181    /usr/lib/libpanel.so.5.6
b7f3d000-b7f5b000 r-xp 00000000 21:45 2880349    /usr/lib/libexpat.so.1.0.0
b7f5b000-b7f5d000 rw-p 0001d000 21:45 2880349    /usr/lib/libexpat.so.1.0.0
b7f5d000-b7f71000 r-xp 00000000 21:42 212849     /lib/i686/cmov/libnsl-2.6.1.so
b7f71000-b7f73000 rw-p 00013000 21:42 212849     /lib/i686/cmov/libnsl-2.6.1.so
b7f73000-b7f76000 rw-p b7f73000 00:00 0
b7f76000-b7f7b000 r-xp 00000000 21:45 2878657    /usr/lib/libzzip-0.so.12.0.83
b7f7b000-b7f7c000 rw-p 00004000 21:45 2878657    /usr/lib/libzzip-0.so.12.0.83
b7f7c000-b7f81000 r-xp 00000000 21:42 212845     /lib/i686/cmov/libcrypt-2.6.1.so
b7f81000-b7f83000 rw-p 00004000 21:42 212845     /lib/i686/cmov/libcrypt-2.6.1.so
b7f83000-b7faa000 rw-p b7f83000 00:00 0
b7faa000-b7fac000 r-xp 00000000 21:45 3401526    /usr/lib/php4/20050606+lfs/mhash.so
b7fac000-b7fad000 rw-p 00001000 21:45 3401526    /usr/lib/php4/20050606+lfs/mhash.so
b7fad000-b7faf000 r-xp 00000000 21:45 2878393    /usr/lib/libXau.so.6.0.0
b7faf000-b7fb0000 rw-p 00001000 21:45 2878393    /usr/lib/libXau.so.6.0.0
b7fb0000-b7fb3000 r-xp 00000000 21:45 2877998    /usr/lib/libgpg-error.so.0.3.0
b7fb3000-b7fb4000 rw-p 00002000 21:45 2877998    /usr/lib/libgpg-error.so.0.3.0
b7fb4000-b7fbc000 r-xp 00000000 21:45 3401525    /usr/lib/php4/20050606+lfs/curl.so
b7fbc000-b7fbd000 rw-p 00008000 21:45 3401525    /usr/lib/php4/20050606+lfs/curl.so
b7fbd000-b7fbf000 rw-p b7fbd000 00:00 0
b7fbf000-b7fc0000 r-xp b7fbf000 00:00 0          [vdso]
b7fc0000-b7fdc000 r-xp 00000000 21:42 179553     /lib/ld-2.6.1.so
b7fdc000-b7fde000 rw-p 0001b000 21:42 179553     /lib/ld-2.6.1.so
bf801000-bf853000 rw-p bf801000 00:00 0          [stack]
Abandon

Installed php packages are:

# dpkg -l |grep php
ii  libapache2-mod-php4                  6:4.4.4-8+etch4                 server-side, HTML-embedded scripting languag
ii  php-db                               1.7.6-2                         PHP PEAR Database Abstraction Layer
ii  php-http                             1.3.6-2                         PHP PEAR module for HTTP related stuff
ii  php-image-canvas                     0.2.2-1                         Image_Canvas module for PEAR
ii  php-image-graph                      0.7.1-1                         Image_Graph module for PEAR
ii  php-mail                             1.1.6-2                         PHP PEAR module for sending email
ii  php-mail-mime                        1.3.1-1.1                       PHP PEAR module for creating and decoding MI
ii  php-net-smtp                         1.2.6-2                         PHP PEAR module implementing SMTP protocol
ii  php-net-socket                       1.0.6-2                         PHP PEAR Network Socket Interface module
ii  php-pear                             5.2.4-2                         PEAR - PHP Extension and Application Reposit
ii  php-xml-parser                       1.2.6-2                         PHP PEAR module for parsing XML
ii  php4                                 6:4.4.4-8+etch4                 server-side, HTML-embedded scripting languag
ii  php4-cgi                             6:4.4.4-8+etch4                 server-side, HTML-embedded scripting languag
ii  php4-cli                             6:4.4.4-8+etch4                 command-line interpreter for the php4 script
ii  php4-common                          6:4.4.4-8+etch4                 Common files for packages built from the php
ii  php4-curl                            6:4.4.4-8+etch4                 CURL module for php4
ii  php4-domxml                          6:4.4.4-8+etch4                 XMLv2 module for php4
ii  php4-gd                              6:4.4.4-8+etch4                 GD module for php4
ii  php4-mcal                            6:4.4.4-8+etch4                 MCAL calendar module for php4
ii  php4-mcrypt                          6:4.4.4-8+etch4                 MCrypt module for php4
ii  php4-mhash                           6:4.4.4-8+etch4                 MHASH module for php4
ii  php4-mysql                           6:4.4.4-8+etch4                 MySQL module for php4
ii  php4-pear                            6:4.4.4-8+etch4                 PHP Extension and Application Repository (tr
ii  php5-common                          5.2.4-2                         Common files for packages built from the php

And my php.ini contains:

max_execution_time = 600     ; Maximum execution time of each script, in seconds
max_input_time = 120 ; Maximum amount of time each script may spend parsing request data
memory_limit = 250M      ; Maximum amount of memory a script may consume (8MB)

Any help is welcome,

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish