ID: 38775 Updated by: [EMAIL PROTECTED] Reported By: iain at iaindooley dot com -Status: Open +Status: Feedback Bug Type: Scripting Engine problem Operating System: FreeBSD 6.1 PHP Version: 5.1.6 New Comment:
No, the page says "--enable-debug", which is the correct option. Previous Comments: ------------------------------------------------------------------------ [2006-09-11 08:25:50] iain at iaindooley dot com okay, in my configure line i have --enable-debug. on the page with instructions to obtaining a backtrace, it says i need to compile --with-debug. will compiling with --with-debug instead of --enable-debug improve the backtrace? ------------------------------------------------------------------------ [2006-09-11 08:17:05] [EMAIL PROTECTED] >is this something incorrect i have done in my php script? > i don't know what ap_getline is. No, it's not about you or your script. ap_getline() is a function from Apache API, so it just can't appear in CLI. ------------------------------------------------------------------------ [2006-09-11 08:16:51] [EMAIL PROTECTED] Because ap_getline() really looks like an Apache httpd internal function. Anyway, you can produce much better backtraces with a debug build. Thanks. ------------------------------------------------------------------------ [2006-09-11 08:03:29] iain at iaindooley dot com okay, i'll put a script into cron that doesn't do much and see if it segfaults. i'm a bit mystified by the last line of the comment: "ap_getline () in CLI? Something is really broken there." is this something incorrect i have done in my php script? i don't know what ap_getline is. the scripts that are producing this problem are largish applications. based on the information available do you have any suggested content for a script to test on the command line? ------------------------------------------------------------------------ [2006-09-11 07:36:48] [EMAIL PROTECTED] Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If the script requires a database to demonstrate the issue, please make sure it creates all necessary tables, stored procedures etc. Please avoid embedding huge scripts into the report. ap_getline () in CLI? Something is really broken there. ------------------------------------------------------------------------ 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/38775 -- Edit this bug report at http://bugs.php.net/?id=38775&edit=1