#34004 [NEW]: an fatal error on php5ts.dll

From: Date: Fri, 05 Aug 2005 08:44:37 +0000
Subject: #34004 [NEW]: an fatal error on php5ts.dll
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-83001@lists.php.net to get a copy of this message
From:             kenji at neojin dot com
Operating system: windows xp
PHP version:      5.0.4
PHP Bug Type:     *Web Server problem
Bug description:  an fatal error on php5ts.dll

Description:
------------
A windows erreor in php5ts.dll with windows xp and apache :
php5ts.dll crashes apache 2.0.54
version php5ts.dll : 5.0.4.4
signature : 

szAppNAme : Apache.exe  
szAppVer : 2.0.54.0
szModName : php5ts.dll
szModVer : 5.0.4.4
offset : 0003b927

I have uninstall php and reinstall it five times but the error is alaways
the same

Reproduce code:
---------------
			function sansaccent($chaine){
			   return
strtr($chaine,'àâäåãáÂÄÀÅÃÁæÆçÇéèêëÉÊËÈïîìíÏÎÌÍñÑöôóòõÓÔÖÒÕùûüúÜÛÙÚÿ','aaaaaaaaaaaaaacceeeeeeeeiiiiiiiinnoooooooooouuuuuuuuy');
			}
			
			//creation du fichier xml
			$result = $Bdd -> Send_Query("SELECT * FROM file_xml");
			if($objet = $Bdd -> get_object($result)){
				$id_file = $objet -> id_file_xml;	
			}
			if($id_file<>''){
				if(file_exists('../../cache/liste'.$id_file.'.xml')){
					@unlink('../../cache/liste'.$id_file.'.xml');
				}
				$Bdd -> Send_Query("DELETE FROM file_xml");
			}
			
			$Bdd -> Send_Query("INSERT INTO file_xml (date,heure) VALUES
(now(),now())");
			$id_xml = $Bdd -> insert_id();
			/*$xml = '<?xml version="1.0" encoding="UTF-8" ?>';*/
			$xml .= '<main>';
			$i = 1;
			
			$result = $Bdd -> Send_Query("SELECT * FROM maisons");	
			while($objet = $Bdd -> get_object($result)){
				$nom = stripslashes($objet -> m_nom);
				
				$xml .= '<cubor id="'.$i.'"
nom="'.sansaccent($nom).'">
					<methode type="" />
					<temps meilleur="" moyenne=""/>
					<lieu departement="" numero="'.$objet -> m_dpt.'" />
					<courriel adresse="" site="maison_presentation_'.$objet ->
id_maisons.'.html"/>
					</cubor>';
			}	
						
			$xml .= '</main>';
			
			$handle = fopen('../../cache/liste'.$id_xml.'.xml', 'w+');
			fwrite($handle, $xml);
			fclose($handle);


-- 
Edit bug report at http://bugs.php.net/?id=34004&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=34004&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34004&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34004&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=34004&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=34004&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=34004&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=34004&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=34004&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=34004&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=34004&r=notwrong
Not enough info:             http://bugs.php.net/fix.php?id=34004&r=notenoughinfo
Submitted twice:             http://bugs.php.net/fix.php?id=34004&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=34004&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=34004&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=34004&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=34004&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=34004&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=34004&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=34004&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=34004&r=mysqlcfg


Thread (6 messages)

« previous php.bugs (#83001) next »