ID: 46753 User updated by: essen at dev-extend dot eu Reported By: essen at dev-extend dot eu Status: Open Bug Type: Scripting Engine problem Operating System: Linux Ubuntu 8.10 PHP Version: 5.2CVS-2008-12-08 New Comment:
It also crashes on NetBSD running PHP 5.2.4. Previous Comments: ------------------------------------------------------------------------ [2008-12-17 01:12:56] essen at dev-extend dot eu Okay I've narrowed down the bug a bit. First, the crash do not happen in PHP 5.3 using the latest snapshot. Second, I've tried to make a small example and failed. So I made all the files involved available here: http://blog.extend.ws/~essen/bug46753.tar.gz I've changed a few things in the code to make it more friendly to an environment without some specific extensions, all you need is mysql and xsl. You need however to create a database (a script is available in app/sql). The configuration for the database can be changed in app/conf/wee.cnf. There is a hack in the index.php file to make it usable from the command line. If you want to use it from a browser, remove the line and point your browser to index.php/toppage/add instead. If everything goes well, you should have an error message instead of nothing and a segfault. One last thing. I've let the .svn directory in wee/db/meta/mysql in the archive. The crash doesn't happen if you remove this specific directory. Other directories were removed for this archive. ------------------------------------------------------------------------ [2008-12-16 01:00:00] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2008-12-08 22:35:36] j...@php.net Please try isolate the code. As short as possible script. You should also try the PHP 5.3 snapshot: http://snaps.php.net/php5.3- latest.tar.gz just in case this same issue is already fixed there.. ------------------------------------------------------------------------ [2008-12-08 17:31:15] essen at dev-extend dot eu Exactly the same problem using the snapshot. The problem also occurs from the command line (both on 5.2.6 and using the snapshot). The "bt full" made using this snapshot is available at the following address: http://blog.extend.ws/~essen/bug46753btfull.txt I can try to isolate the code leading to the segfault if you need it, but it's not going to be an easy task as it crashes inside classes querying metadata information from a MySQL database, and also because the same code works without problem for a different page. ------------------------------------------------------------------------ [2008-12-08 11:34:58] j...@php.net Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://windows.php.net/snapshots/ ------------------------------------------------------------------------ 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/46753 -- Edit this bug report at http://bugs.php.net/?id=46753&edit=1