ID: 33733 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open -Bug Type: Pspell related +Bug Type: CGI related Operating System: linux PHP Version: 5CVS-2005-07-17 (dev) New Comment:
Well, after some debugging I've found the problem. it was much simpler that I though. The problem was that strcpy() was copying 1 more char than the memory allocated, corrupting it. Patch: http://mega.ist.utl.pt/~ncpl/php_cli_interactive.txt Previous Comments: ------------------------------------------------------------------------ [2005-07-19 14:26:17] [EMAIL PROTECTED] Now the program receives a SIGABRT and backtrace shows readline. In fact it seems I cannot reproduce the problem if I execute the script from a file, just when I run PHP in interactive mode (and when I use the auto-completition feature). I'll try to debug this stupid thing. ------------------------------------------------------------------------ [2005-07-19 13:26:19] [EMAIL PROTECTED] config.nice: './configure' \ '--disable-cgi' \ '--enable-pcntl' \ '--with-ftp' \ '--with-tidy' \ '--with-apxs2=/usr/local/apache2/bin/apxs' \ '--with-readline' \ '--with-bz2' \ '--with-zlib' \ '--with-openssl' \ '--with-pspell' \ '--with-zend-vm=GOTO' ------------------------------------------------------------------------ [2005-07-18 18:44:52] [EMAIL PROTECTED] If you bothered to read the "how-to-report" page you would know what I want to know. I won't bother explaining this anymore, we've had this same discussion before and if you didn't learn from that -> bogus. ------------------------------------------------------------------------ [2005-07-18 13:02:30] [EMAIL PROTECTED] I don't know what kind of info you want... Well, here it is the script used (which is above): <? $pspell_link = pspell_new('en'); pspell_config_mode($pspell_link, PSPELL_FAST); ?> ------------------------------------------------------------------------ [2005-07-18 02:30:30] [EMAIL PROTECTED] Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. ------------------------------------------------------------------------ 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/33733 -- Edit this bug report at http://bugs.php.net/?id=33733&edit=1
