ID:               35394
 User updated by:  blade106 at free dot fr
 Reported By:      blade106 at free dot fr
-Status:           Feedback
+Status:           Open
 Bug Type:         Compile Failure
 Operating System: Debian Sarge
 PHP Version:      5.1.0
 Assigned To:      dmitry
 New Comment:

Thanks for you reply, I've just tested the last snapshots : and it
worked.

Snaps : 
php5-2005 11 25 17 30 => just after your debug
php5-2005 11 28 07 30 => this morning

Both worked, but a question remains : is Gawk useful or not then ?

Thanks for your good work on PHP !


Previous Comments:
------------------------------------------------------------------------

[2005-11-25 16:46:55] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip

I just committed a fix that should take care of this.
Please try in 2 hours from getting this message. (to make sure you got
the snapshot with the fix)

------------------------------------------------------------------------

[2005-11-25 16:42:15] [EMAIL PROTECTED]

Dmitry, please take a look at it.
Shouldn't it work without that tricky awk script?

------------------------------------------------------------------------

[2005-11-25 16:22:32] blade106 at free dot fr

Here's the backtrace you requested (I've uninstalled gawk, ran "make"
and the CLI did the same error, as expected) :

Core was generated by `./sapi/cli/php'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /usr/lib/libmcrypt.so.4...done.
Loaded symbols for /usr/lib/libmcrypt.so.4
Reading symbols from /usr/lib/libltdl.so.3...done.
Loaded symbols for /usr/lib/libltdl.so.3
Reading symbols from /usr/lib/libfreetype.so.6...done.
Loaded symbols for /usr/lib/libfreetype.so.6
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /usr/lib/libpng10.so.0...done.
Loaded symbols for /usr/lib/libpng10.so.0
Reading symbols from /usr/lib/libjpeg.so.62...done.
Loaded symbols for /usr/lib/libjpeg.so.62
Reading symbols from /usr/lib/libbz2.so.1.0...done.
Loaded symbols for /usr/lib/libbz2.so.1.0
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_dns.so.2...done.
Loaded symbols for /lib/libnss_dns.so.2
Reading symbols from /usr/lib/libxml2.so.2...done.
Loaded symbols for /usr/lib/libxml2.so.2
Reading symbols from /lib/libpthread.so.0...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
#0  0x082e039e in _zend_hash_add_or_update (ht=0x86b3d00,
arKey=0x84cf46c "sqlite", nKeyLength=6, pData=0xbffff830, nDataSize=4,
pDest=0x0, flag=2,
    __zend_filename=0x84cb420 "/usr/local/src/php-5.1.0/ext/pdo/pdo.c",
__zend_lineno=171) at /usr/local/src/php-5.1.0/Zend/zend_hash.c:213
213             p = ht->arBuckets[nIndex];
warning: not using untrusted file ".gdbinit"
(gdb) bt
#0  0x082e039e in _zend_hash_add_or_update (ht=0x86b3d00,
arKey=0x84cf46c "sqlite", nKeyLength=6, pData=0xbffff830, nDataSize=4,
pDest=0x0, flag=2,
    __zend_filename=0x84cb420 "/usr/local/src/php-5.1.0/ext/pdo/pdo.c",
__zend_lineno=171) at /usr/local/src/php-5.1.0/Zend/zend_hash.c:213
#1  0x0818143f in php_pdo_register_driver (driver=0x85b46b8) at
/usr/local/src/php-5.1.0/ext/pdo/pdo.c:170
#2  0x0818d90a in zm_startup_pdo_sqlite (type=1, module_number=8) at
/usr/local/src/php-5.1.0/ext/pdo_sqlite/pdo_sqlite.c:80
#3  0x082db7e6 in zend_startup_module_ex (module=0x86f24b8) at
/usr/local/src/php-5.1.0/Zend/zend_API.c:1341
#4  0x082e1e5e in zend_hash_apply (ht=0x86b93e0, apply_func=0x82db66f
<zend_startup_module_ex>) at
/usr/local/src/php-5.1.0/Zend/zend_hash.c:664
#5  0x082db959 in zend_startup_modules () at
/usr/local/src/php-5.1.0/Zend/zend_API.c:1388
#6  0x0828c9a8 in php_module_startup (sf=0x85c28a0,
additional_modules=0x0, num_additional_modules=0) at
/usr/local/src/php-5.1.0/main/main.c:1533
#7  0x083520ef in main (argc=1, argv=0xbffffb84) at
/usr/local/src/php-5.1.0/sapi/cli/php_cli.c:655

Hope you find a way !

------------------------------------------------------------------------

[2005-11-25 15:50:16] [EMAIL PROTECTED]

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.



------------------------------------------------------------------------

[2005-11-25 15:24:43] blade106 at free dot fr

Also, "make test" should have ended with an exit status 1.

The way I compile is :
make && make test && make install

So the process should have stopped on the "make test", which continues
to "make install".

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/35394

-- 
Edit this bug report at http://bugs.php.net/?id=35394&edit=1

Reply via email to