From:             
Operating system: Mac OS X 10.6.5
PHP version:      5.3.4
Package:          Reproducible crash
Bug Type:         Bug
Bug description:Segmentation Fault

Description:
------------
./configure '--prefix=/usr' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' '--sysconfdir=/private/etc'
'--with-apxs2=/usr/sbin/apxs' '--enable-cli' '--with-config-file-path=/etc'
'--with-libxml-dir=/usr' '--with-openssl=/usr' '--with-kerberos=/usr'
'--with-zlib=/usr' '--enable-bcmath' '--with-bz2=/usr' '--enable-calendar'
'--with-curl=/usr' '--enable-exif' '--enable-ftp' '--with-gd'
'--with-jpeg-dir=/usr/local' '--with-png-dir=/usr/local'
'--enable-gd-native-ttf' '--with-ldap=/usr' '--with-ldap-sasl=/usr'
'--enable-mbstring' '--enable-mbregex' '--with-mysql=mysqlnd'
'--with-mysqli=mysqlnd' '--with-pdo-mysql=mysqlnd'
'--with-mysql-sock=/var/mysql/mysql.sock' '--with-iodbc=/usr'
'--enable-shmop' '--with-snmp=/usr' '--enable-soap' '--enable-sockets'
'--enable-sysvmsg' '--enable-sysvsem' '--enable-sysvshm' '--with-xmlrpc'
'--with-iconv-dir=/usr' '--with-xsl=/usr' '--enable-zend-multibyte'
'--enable-zip' '--with-pcre-regex' --disable-cgi --enable-debug
--with-freetype-dir=/usr/local --with-mcrypt

Expected result:
----------------
An error message describing whatever bad situation I created for PHP

Actual result:
--------------
Program received signal EXC_BAD_ACCESS, Could not access memory.

Reason: 13 at address: 0x0000000000000000

0x00000001015bed85 in zend_llist_del_element (l=0x1022aade8,
element=0x102099818, compare=0x101095ad6 <php_sqlite3_compare_stmt_free>)
at /downloads/php/php-5.3.4/Zend/zend_llist.c:97

97                      next = current->next;

(gdb) bt

#0  0x00000001015bed85 in zend_llist_del_element (l=0x1022aade8,
element=0x102099818, compare=0x101095ad6 <php_sqlite3_compare_stmt_free>)
at /downloads/php/php-5.3.4/Zend/zend_llist.c:97

#1  0x0000000101095d6d in php_sqlite3_stmt_object_free_storage
(object=0x1023132b0) at
/downloads/php/php-5.3.4/ext/sqlite3/sqlite3.c:1936

#2  0x00000001015fe9fd in zend_objects_store_free_object_storage
(objects=0x101c95e38) at
/downloads/php/php-5.3.4/Zend/zend_objects_API.c:92

#3  0x00000001015b8ff1 in shutdown_executor () at
/downloads/php/php-5.3.4/Zend/zend_execute_API.c:302

#4  0x00000001015cc9f3 in zend_deactivate () at
/downloads/php/php-5.3.4/Zend/zend.c:890

#5  0x00000001015493d4 in php_request_shutdown (dummy=0x0) at
/downloads/php/php-5.3.4/main/main.c:1633

#6  0x00000001016b948b in php_apache_request_dtor (r=0x1009b1ea8) at
/downloads/php/php-5.3.4/sapi/apache2handler/sapi_apache2.c:509

#7  0x00000001016b9c63 in php_handler (r=0x1009b1ea8) at
/downloads/php/php-5.3.4/sapi/apache2handler/sapi_apache2.c:681

#8  0x00000001000021db in ap_run_handler ()

#9  0x0000000100002aba in ap_invoke_handler ()

#10 0x000000010002f738 in ap_process_request ()

#11 0x000000010002bfa9 in ap_process_http_connection ()

#12 0x0000000100013737 in ap_run_process_connection ()

#13 0x0000000100013bd1 in ap_process_connection ()

#14 0x00000001000363f2 in child_main ()

#15 0x00000001000364dc in make_child ()

#16 0x0000000100036aaf in ap_mpm_run ()

#17 0x000000010000a821 in main ()

(gdb)

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

Reply via email to