From:             adaro2000 at yahoo dot fr
Operating system: Win XP Pro Version 2002 SP2
PHP version:      5.2.10
PHP Bug Type:     Apache2 related
Bug description:  Parent: child process exited with status 3221225477 -- 
Restarting

Description:
------------
I install Xampp xampp-win32-1.7.0-installer. Php version is 5.2.8, Mysql
version 5.1.30, Apache version 2.2.11

I'm using PDO to query my database.
As i query out a result of more than one column, apache restart, and in
log i read :

[Thu Aug 06 17:53:23 2009] [notice] cannot use a full URL in a 401
ErrorDocument directive --- ignoring!
[Thu Aug 06 17:53:31 2009] [notice] Parent: child process exited with
status 3221225477 -- Restarting.
[Thu Aug 06 17:53:31 2009] [notice] Digest: generating secret for digest
authentication ...
[Thu Aug 06 17:53:31 2009] [notice] Digest: done

Reproduce code:
---------------
This produces an error :
<?php
$pdo = new PDO('mysql:host=localhost;dbname=data','user','pass');
$result = $pdo->query("SELECT login, pass FROM admin");
$result->setFetchMode(PDO::FETCH_OBJ);
foreach ($result AS $line){
  echo '<label class="nom">'.$line->login.'</label>';
  echo '<label class="rates">'.$line->pass.'</label>';
}
?>

Expected result:
----------------
I hope this will print data, but not. 

I run this without problem :
<?php
$pdo = new PDO('mysql:host=localhost;dbname=data','user','pass');
$result = $pdo->query("SELECT COUNT(*) as Me FROM admin");
$result->setFetchMode(PDO::FETCH_OBJ);
foreach ($result AS $line){
  echo '<label class="nom">'.$line->Me.'</label>';
}
?>

It prints the exact number.

Actual result:
--------------
The browser seems to load the page, but i have a prompt Apache HTTP
encouter an error and must... and the log is what i show on the top.

Can you help me please ?

-- 
Edit bug report at http://bugs.php.net/?id=49181&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=49181&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=49181&r=trysnapshot53
Try a snapshot (PHP 6.0):            
http://bugs.php.net/fix.php?id=49181&r=trysnapshot60
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=49181&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=49181&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=49181&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=49181&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=49181&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=49181&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=49181&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=49181&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=49181&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=49181&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=49181&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=49181&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=49181&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=49181&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=49181&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=49181&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=49181&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=49181&r=mysqlcfg

Reply via email to