#34270 [Fbk->Opn]: Segmentation fault in Apache when executing an invalid SQL

From: Date: Mon, 29 Aug 2005 15:39:50 +0000
Subject: #34270 [Fbk->Opn]: Segmentation fault in Apache when executing an invalid SQL
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-84140@lists.php.net to get a copy of this message
ID: 34270 User updated by: nmariz at estadias dot com Reported By: nmariz at estadias dot com -Status: Feedback +Status: Open Bug Type: PDO related Operating System: Debian GNU/Linux 3.1 (Apache 2) PHP Version: 5.1.0RC1 New Comment: Man, Is in the query part, this happens in several queries on my app. I am not a beginner in PHP, so trust me... Whatever, forget... this is a waste of time. Previous Comments: ------------------------------------------------------------------------ [2005-08-29 17:07:13] sniper@php.net I think you don't understand that I am very very lazy. And that your problem _might_ be somewhere ELSE than in the query part. So either give the full code or go away. ------------------------------------------------------------------------ [2005-08-29 17:00:45] nmariz at estadias dot com What part in "Segmentation fault when executing an invalid SQL(_____ANY_____) statement" did you not understand? I think that you don't need more code to understand what i mean. ------------------------------------------------------------------------ [2005-08-29 13:24:51] sniper@php.net What part in "a short but complete example script" did you not understand? ------------------------------------------------------------------------ [2005-08-29 10:42:36] nmariz at estadias dot com Segmentation fault when executing an invalid SQL statement: <?php (...) // invalid sql statement $query = 'SELECT id name,text FROM modules'; $stmt = $this->dbconn->query($query); $result = $stmt->fetchAll(); $stmt = null; return $result (...) ?> ------------------------------------------------------------------------ [2005-08-26 21:29:58] johannes@php.net 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 possible, make the script source available online and provide an URL to it here. Try to avoid embedding huge scripts into the report. ------------------------------------------------------------------------ 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/34270 -- Edit this bug report at http://bugs.php.net/?id=34270&edit=1

« previous php.bugs (#84140) next »