#36752 [Fbk-Opn]: pdo_odbc crashes apache

2006-05-02 Thread mauroi at digbang dot com
 ID:   36752
 User updated by:  mauroi at digbang dot com
 Reported By:  mauroi at digbang dot com
-Status:   Feedback
+Status:   Open
 Bug Type: PDO related
 Operating System: Win XP SP2
 PHP Version:  5CVS-2006-03-16 (snap)
 Assigned To:  wez
 New Comment:

Yes. It happens.
phpinfo() reports PHP Version 5.2.0-dev .
I've downloaded php5.1-win32-200605012230.zip .


Previous Comments:


[2006-04-30 01:29:48] [EMAIL PROTECTED]

Please try using this CVS snapshot:

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

Try with the next snapshot dated after this message.



[2006-04-21 13:33:16] mauroi at digbang dot com

Yes. It still happens.
phpinfo() reports 5.1.3RC4-dev.

Thank you.



[2006-04-21 04:11:50] [EMAIL PROTECTED]

Please try using this CVS snapshot:

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





[2006-03-28 14:26:53] mauroi at digbang dot com

Yes.
The same happens.

Thanks.



[2006-03-28 12:30:06] [EMAIL PROTECTED]

Please try using this CVS snapshot:

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





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/36752

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


#36752 [Fbk-Opn]: pdo_odbc crashes apache

2006-04-21 Thread mauroi at digbang dot com
 ID:   36752
 User updated by:  mauroi at digbang dot com
 Reported By:  mauroi at digbang dot com
-Status:   Feedback
+Status:   Open
 Bug Type: PDO related
 Operating System: Win XP SP2
 PHP Version:  5CVS-2006-03-16 (snap)
 Assigned To:  wez
 New Comment:

Yes. It still happens.
phpinfo() reports 5.1.3RC4-dev.

Thank you.


Previous Comments:


[2006-04-21 04:11:50] [EMAIL PROTECTED]

Please try using this CVS snapshot:

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





[2006-03-28 14:26:53] mauroi at digbang dot com

Yes.
The same happens.

Thanks.



[2006-03-28 12:30:06] [EMAIL PROTECTED]

Please try using this CVS snapshot:

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





[2006-03-16 00:14:45] mauroi at digbang dot com

Description:

I'm trying to create a class that provides a layer between the
programmer and the PDO native class.
When running the following code, Apache crashes. Only with the odbc PDO
driver.

Thanks in advance.


Reproduce code:
---
class db
{
protected $_Handle;
function __construct($dsn)
{
$this-_Handle = new PDO($dsn);
}
public function DoSomething()
{
$a = $this-_Handle-prepare('SELECT * FROM valid_table');
echo $undefined_variable; // or any other error
}
}

function strange($errorNumber, $errorMessage)
{
echo $errorMessage;
exit; // if i take this out everything works as expected
}
set_error_handler('strange');

$a = new db('odbc:valid_connection_string');
$b = $a-DoSomething();

Expected result:

The $errorMessage reported by the error handler. And the script
execution terminated.

Actual result:
--
Crash





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


#36752 [Fbk-Opn]: pdo_odbc crashes apache

2006-03-28 Thread mauroi at digbang dot com
 ID:   36752
 User updated by:  mauroi at digbang dot com
 Reported By:  mauroi at digbang dot com
-Status:   Feedback
+Status:   Open
 Bug Type: PDO related
 Operating System: Win XP SP2
 PHP Version:  5CVS-2006-03-16 (snap)
 New Comment:

Yes.
The same happens.

Thanks.


Previous Comments:


[2006-03-28 12:30:06] [EMAIL PROTECTED]

Please try using this CVS snapshot:

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





[2006-03-16 00:14:45] mauroi at digbang dot com

Description:

I'm trying to create a class that provides a layer between the
programmer and the PDO native class.
When running the following code, Apache crashes. Only with the odbc PDO
driver.

Thanks in advance.


Reproduce code:
---
class db
{
protected $_Handle;
function __construct($dsn)
{
$this-_Handle = new PDO($dsn);
}
public function DoSomething()
{
$a = $this-_Handle-prepare('SELECT * FROM valid_table');
echo $undefined_variable; // or any other error
}
}

function strange($errorNumber, $errorMessage)
{
echo $errorMessage;
exit; // if i take this out everything works as expected
}
set_error_handler('strange');

$a = new db('odbc:valid_connection_string');
$b = $a-DoSomething();

Expected result:

The $errorMessage reported by the error handler. And the script
execution terminated.

Actual result:
--
Crash





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