Public bug reported:

Hello, I have a problem with an app, is a form to upload a csv file
using fopen and fgetcsv, but looks like the error is before this two
functions, is when the code is on
Zend_File_Transfer_Adapter_Http>isValid().

I have the same app on a server with 12.04 with no problem. I read similar 
problems and solutions like:
set opcache.enable_cli=0
increase output_buffering
set export USE_ZEND_ALLOC=0
set export ZEND_MM_SEG_SIZE=255k
didnt work, some more info:
xdebug is installed and disabled
apc is not installed
opcache is disabled

php:
PHP 5.5.9-1ubuntu4.11 (cli) (built: Jul  2 2015 15:23:08)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies

apache:
2.4.7-1ubuntu4.4
Server version: Apache/2.4.7 (Ubuntu)
Server built:   Mar 10 2015 13:05:59

ubuntu:
Description:    Ubuntu 14.04.1 LTS
Release:        14.04

bt:
#0  zend_mm_remove_from_free_list (heap=0x7f519cb4fb80, 
mm_block=0x7f518c44b118) at 
/build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_alloc.c:837
#1  0x00007f5194614c4c in _zend_mm_free_int (heap=0x7f519cb4fb80, 
p=0x7f518c44b128) at /build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_alloc.c:2105
#2  0x00007f5194428a03 in apprentice_unmap (map=0x7f518c8d0248) at 
/build/php5-RpYHCf/php5-5.5.9+dfsg/ext/fileinfo/libmagic/apprentice.c:499
#3  0x00007f5194428a75 in mlist_free (mlist=0x7f519ced7540) at 
/build/php5-RpYHCf/php5-5.5.9+dfsg/ext/fileinfo/libmagic/apprentice.c:530
#4  0x00007f5194429861 in file_ms_free (ms=0x7f519cee8bf0) at 
/build/php5-RpYHCf/php5-5.5.9+dfsg/ext/fileinfo/libmagic/apprentice.c:444
#5  0x00007f519443203a in magic_close (ms=<optimized out>) at 
/build/php5-RpYHCf/php5-5.5.9+dfsg/ext/fileinfo/libmagic/magic.c:256
#6  0x00007f5194427b75 in finfo_resource_destructor (rsrc=0x7f519cee6bd0) at 
/build/php5-RpYHCf/php5-5.5.9+dfsg/ext/fileinfo/fileinfo.c:194
#7  0x00007f519464bcc0 in list_entry_destructor (ptr=0x7f519cee6bd0) at 
/build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_list.c:183
#8  0x00007f5194649b01 in zend_hash_del_key_or_index 
(ht=ht@entry=0x7f5194e007b0 <executor_globals+624>, arKey=arKey@entry=0x0,
    nKeyLength=nKeyLength@entry=0, h=h@entry=193, flag=flag@entry=1) at 
/build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_hash.c:532
#9  0x00007f519464bea1 in _zend_list_delete (id=<optimized out>) at 
/build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_list.c:57
#10 0x00007f519462c150 in _zval_dtor (zvalue=0x7f519ce64eb8) at 
/build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_variables.h:35
#11 i_zval_ptr_dtor (zval_ptr=0x7f519ce64eb8) at 
/build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_execute.h:81
#12 _zval_ptr_dtor (zval_ptr=<optimized out>) at 
/build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_execute_API.c:426
#13 0x00007f519465e207 in zend_object_std_dtor (object=0x7f519ce669f0) at 
/build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_objects.c:54
#14 0x00007f519465e239 in zend_objects_free_object_storage 
(object=0x7f519ce669f0) at 
/build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_objects.c:137
#15 0x00007f51946640cc in zend_objects_store_del_ref_by_handle_ex (handle=296, 
handlers=<optimized out>)
    at /build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_objects_API.c:226
#16 0x00007f51946640f3 in zend_objects_store_del_ref (zobject=0x7f519ce669c0) 
at /build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_objects_API.c:178
#17 0x00007f519462c150 in _zval_dtor (zvalue=0x7f519ce669c0) at 
/build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_variables.h:35
#18 i_zval_ptr_dtor (zval_ptr=0x7f519ce669c0) at 
/build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_execute.h:81
#19 _zval_ptr_dtor (zval_ptr=<optimized out>) at 
/build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_execute_API.c:426
#20 0x00007f5194649c08 in zend_hash_destroy (ht=0x7f518c6dd3e0) at 
/build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_hash.c:560
#21 0x00007f519463b07b in _zval_dtor_func (zvalue=0x7f518c95eb00) at 
/build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_variables.c:45
#22 0x00007f519462c150 in _zval_dtor (zvalue=0x7f518c95eb00) at 
/build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_variables.h:35
#23 i_zval_ptr_dtor (zval_ptr=0x7f518c95eb00) at 
/build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_execute.h:81
#24 _zval_ptr_dtor (zval_ptr=<optimized out>) at 
/build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_execute_API.c:426
#25 0x00007f519465e207 in zend_object_std_dtor (object=0x7f518c9faad0) at 
/build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_objects.c:54
#26 0x00007f519465e239 in zend_objects_free_object_storage 
(object=0x7f518c9faad0) at 
/build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_objects.c:137
#27 0x00007f5194663c37 in zend_objects_store_free_object_storage 
(objects=objects@entry=0x7f5194e008e0 <executor_globals+928>)
    at /build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_objects_API.c:97
#28 0x00007f519462c863 in shutdown_executor () at 
/build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_execute_API.c:293
#29 0x00007f519463c032 in zend_deactivate () at 
/build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend.c:935
#30 0x00007f51945dc3ad in php_request_shutdown (dummy=dummy@entry=0x0) at 
/build/php5-RpYHCf/php5-5.5.9+dfsg/main/main.c:1808
#31 0x00007f51946edc2f in php_apache_request_dtor (r=<optimized out>) at 
/build/php5-RpYHCf/php5-5.5.9+dfsg/sapi/apache2handler/sapi_apache2.c:507
#32 php_handler (r=<optimized out>) at 
/build/php5-RpYHCf/php5-5.5.9+dfsg/sapi/apache2handler/sapi_apache2.c:679
#33 0x00007f519b072830 in ap_run_handler (r=0x7f519ae1b998) at config.c:169
#34 0x00007f519b072d79 in ap_invoke_handler (r=r@entry=0x7f519ae1b998) at 
config.c:439
#35 0x00007f519b087dfc in ap_internal_redirect (new_uri=<optimized out>, 
r=<optimized out>) at http_request.c:648
#36 0x00007f5193091cfc in handler_redirect (r=0x7f518d0530a0) at 
mod_rewrite.c:5063
#37 0x00007f519b072830 in ap_run_handler (r=0x7f518d0530a0) at config.c:169
#38 0x00007f519b072d79 in ap_invoke_handler (r=r@entry=0x7f518d0530a0) at 
config.c:439
#39 0x00007f519b08833a in ap_process_async_request (r=0x7f518d0530a0) at 
http_request.c:317
#40 0x00007f519b088614 in ap_process_request (r=r@entry=0x7f518d0530a0) at 
http_request.c:363
#41 0x00007f519b0850b2 in ap_process_http_sync_connection (c=0x7f519ae22290) at 
http_core.c:190
#42 ap_process_http_connection (c=0x7f519ae22290) at http_core.c:231
#43 0x00007f519b07be70 in ap_run_process_connection (c=0x7f519ae22290) at 
connection.c:41
#44 0x00007f519b07c258 in ap_process_connection (c=c@entry=0x7f519ae22290, 
csd=<optimized out>) at connection.c:202
#45 0x00007f51958dc767 in child_main (child_num_arg=child_num_arg@entry=4) at 
prefork.c:704
#46 0x00007f51958dc9a6 in make_child (s=0x7f519afe1de0, slot=slot@entry=4) at 
prefork.c:800
#47 0x00007f51958dca06 in startup_children (number_to_start=1) at prefork.c:818
#48 0x00007f51958dd6e0 in prefork_run (_pconf=<optimized out>, 
plog=0x7f519afdd028, s=0x7f519afe1de0) at prefork.c:976
#49 0x00007f519b0596de in ap_run_mpm (pconf=0x7f519b00f028, 
plog=0x7f519afdd028, s=0x7f519afe1de0) at mpm_common.c:96
#50 0x00007f519b052e76 in main (argc=3, argv=0x7fff123d3ae8) at main.c:777

** Affects: php5 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in Ubuntu.
https://bugs.launchpad.net/bugs/1472407

Title:
  Segmentation fault uploading a csv using ZF1.12.1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1472407/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to