Piwigo Bugtracker

Piwigo bug tracker has moved to Github

This bugtracker is kept to provide history on old issues.


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003207Piwigosynchronizationpublic2015.02.24 21:142015.02.25 03:44
ReporterCChiappa 
Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
StatusnewResolutionopen 
PlatformLinuxOSDebianOS VersionUnstable
Product Version2.7.4 
Target VersionFixed in Version 
Summary0003207: Photo causes synchronization to hang
DescriptionMigrating a largish (40,000+ pics) Gallery 3 installation into Piwigo I've found that the synchronization process hangs repeatedly. I've finally narrowed at least one problem down to the attached picture. If it's in the tree to be sync'ed, piwigo seems to get through the process where it's scanning all of the files (I can watch files getting opened via /proc/<apachepid>/fd) but then the apache process spins in neverland forever (even having bumped up the php timeout to 20 minutes). I can import thousand of pictures at a time as long as this one is not in the path. Trivial rewriting of the picture via exiftran doesn't seem to have an effect.
Steps To ReproducePlace picture in tree to synchronize. Synchronize.
TagsNo tags attached.
browserany
Database engine and versionmysql 5.5.42
PHP version5.6.5
Web serverApache 2.4.10
Attached Filesjpg file icon IMG_20101019_090445.jpg [^] (1,254,292 bytes) 2015.02.24 21:14

- Relationships

-  Notes
(0007774)
CChiappa (reporter)
2015.02.24 21:36

Stripping the exif data (exiftool -all= ) causes the file to be synchronized properly
(0007775)
CChiappa (reporter)
2015.02.25 03:44

I've put Apache in the debugger and the stack traces all show deep zend evaluation stacks (one follows). Am happy to do further digging, but would need guidance about what would be useful.
#0 0x00007f23fa108eb3 in zval_addref_p (pz=<optimized out>) at /build/php5-xBqx0r/php5-5.6.5+dfsg/Zend/zend.h:407
0000001 zend_fetch_dimension_address_read (result=0x7f24018f1cc8, container=0x1, dim=0x7f23e48a5fb8, dim_type=75793192, dim_type@entry=1, type=0) at /build/php5-xBqx0r/php5-5.6.5+dfsg/Zend/zend_execute.c:1293
0000002 0x00007f23fa109e00 in ZEND_FETCH_DIM_R_SPEC_CV_CONST_HANDLER (execute_data=0x7f24018f1d08) at /build/php5-xBqx0r/php5-5.6.5+dfsg/Zend/zend_vm_execute.h:32584
0000003 0x00007f23fa0be4a0 in execute_ex (execute_data=0x7f24018f1d08) at /build/php5-xBqx0r/php5-5.6.5+dfsg/Zend/zend_vm_execute.h:363
0000004 0x00007f23fa070268 in dtrace_execute_ex (execute_data=0x7f24018f1d08) at /build/php5-xBqx0r/php5-5.6.5+dfsg/Zend/zend_dtrace.c:73
0000005 0x00007f23fa12e97e in zend_do_fcall_common_helper_SPEC (execute_data=0x7f24018f1b98) at /build/php5-xBqx0r/php5-5.6.5+dfsg/Zend/zend_vm_execute.h:592
#6 0x00007f23fa0be4a0 in execute_ex (execute_data=0x7f24018f1b98) at /build/php5-xBqx0r/php5-5.6.5+dfsg/Zend/zend_vm_execute.h:363
#7 0x00007f23fa070268 in dtrace_execute_ex (execute_data=0x7f24018f1b98) at /build/php5-xBqx0r/php5-5.6.5+dfsg/Zend/zend_dtrace.c:73
#8 0x00007f23fa0720fa in zend_call_function (fci=0x7fff2557a870, fci_cache=0x1, fci_cache@entry=0x7fff2557a840) at /build/php5-xBqx0r/php5-5.6.5+dfsg/Zend/zend_execute_API.c:829
0000009 0x00007f23f9f9bf53 in zif_call_user_func_array (ht=<optimized out>, return_value=0x7f2404844e80, return_value_ptr=<optimized out>, this_ptr=<optimized out>, return_value_used=<optimized out>)
    at /build/php5-xBqx0r/php5-5.6.5+dfsg/ext/standard/basic_functions.c:4777
0000010 0x00007f23fa0703ca in dtrace_execute_internal (execute_data_ptr=<optimized out>, fci=<optimized out>, return_value_used=<optimized out>) at /build/php5-xBqx0r/php5-5.6.5+dfsg/Zend/zend_dtrace.c:97
0000011 0x00007f23fa12e450 in zend_do_fcall_common_helper_SPEC (execute_data=0x7f24018f19c8) at /build/php5-xBqx0r/php5-5.6.5+dfsg/Zend/zend_vm_execute.h:560
0000012 0x00007f23fa0be4a0 in execute_ex (execute_data=0x7f24018f19c8) at /build/php5-xBqx0r/php5-5.6.5+dfsg/Zend/zend_vm_execute.h:363
0000013 0x00007f23fa070268 in dtrace_execute_ex (execute_data=0x7f24018f19c8) at /build/php5-xBqx0r/php5-5.6.5+dfsg/Zend/zend_dtrace.c:73
0000014 0x00007f23fa12e97e in zend_do_fcall_common_helper_SPEC (execute_data=0x7f24018f17c8) at /build/php5-xBqx0r/php5-5.6.5+dfsg/Zend/zend_vm_execute.h:592
0000015 0x00007f23fa0be4a0 in execute_ex (execute_data=0x7f24018f17c8) at /build/php5-xBqx0r/php5-5.6.5+dfsg/Zend/zend_vm_execute.h:363
0000016 0x00007f23fa070268 in dtrace_execute_ex (execute_data=0x7f24018f17c8) at /build/php5-xBqx0r/php5-5.6.5+dfsg/Zend/zend_dtrace.c:73
0000017 0x00007f23fa12e97e in zend_do_fcall_common_helper_SPEC (execute_data=0x7f24018f1628) at /build/php5-xBqx0r/php5-5.6.5+dfsg/Zend/zend_vm_execute.h:592
0000018 0x00007f23fa0be4a0 in execute_ex (execute_data=0x7f24018f1628) at /build/php5-xBqx0r/php5-5.6.5+dfsg/Zend/zend_vm_execute.h:363
0000019 0x00007f23fa070268 in dtrace_execute_ex (execute_data=0x7f24018f1628) at /build/php5-xBqx0r/php5-5.6.5+dfsg/Zend/zend_dtrace.c:73
0000020 0x00007f23fa12e97e in zend_do_fcall_common_helper_SPEC (execute_data=0x7f24018f1480) at /build/php5-xBqx0r/php5-5.6.5+dfsg/Zend/zend_vm_execute.h:592
0000021 0x00007f23fa0be4a0 in execute_ex (execute_data=0x7f24018f1480) at /build/php5-xBqx0r/php5-5.6.5+dfsg/Zend/zend_vm_execute.h:363
0000022 0x00007f23fa070268 in dtrace_execute_ex (execute_data=0x7f24018f1480) at /build/php5-xBqx0r/php5-5.6.5+dfsg/Zend/zend_dtrace.c:73
0000023 0x00007f23fa12e97e in zend_do_fcall_common_helper_SPEC (execute_data=0x7f24018f1358) at /build/php5-xBqx0r/php5-5.6.5+dfsg/Zend/zend_vm_execute.h:592
0000024 0x00007f23fa0be4a0 in execute_ex (execute_data=0x7f24018f1358) at /build/php5-xBqx0r/php5-5.6.5+dfsg/Zend/zend_vm_execute.h:363
0000025 0x00007f23fa070268 in dtrace_execute_ex (execute_data=0x7f24018f1358) at /build/php5-xBqx0r/php5-5.6.5+dfsg/Zend/zend_dtrace.c:73
0000026 0x00007f23fa12e97e in zend_do_fcall_common_helper_SPEC (execute_data=0x7f24018f0ff8) at /build/php5-xBqx0r/php5-5.6.5+dfsg/Zend/zend_vm_execute.h:592
0000027 0x00007f23fa0be4a0 in execute_ex (execute_data=0x7f24018f0ff8) at /build/php5-xBqx0r/php5-5.6.5+dfsg/Zend/zend_vm_execute.h:363
0000028 0x00007f23fa070268 in dtrace_execute_ex (execute_data=0x7f24018f0ff8) at /build/php5-xBqx0r/php5-5.6.5+dfsg/Zend/zend_dtrace.c:73
0000029 0x00007f23fa12d5dc in ZEND_INCLUDE_OR_EVAL_SPEC_TMP_HANDLER (execute_data=0x7f24018f0dd8) at /build/php5-xBqx0r/php5-5.6.5+dfsg/Zend/zend_vm_execute.h:8386
0000030 0x00007f23fa0be4a0 in execute_ex (execute_data=0x7f24018f0dd8) at /build/php5-xBqx0r/php5-5.6.5+dfsg/Zend/zend_vm_execute.h:363
0000031 0x00007f23fa070268 in dtrace_execute_ex (execute_data=0x7f24018f0dd8) at /build/php5-xBqx0r/php5-5.6.5+dfsg/Zend/zend_dtrace.c:73
0000032 0x00007f23fa082c60 in zend_execute_scripts (type=75793016, type@entry=8, retval=0x1, retval@entry=0x0, file_count=75793216, file_count@entry=3) at /build/php5-xBqx0r/php5-5.6.5+dfsg/Zend/zend.c:1341
0000033 0x00007f23fa01ec5b in php_execute_script (primary_file=primary_file@entry=0x7fff2557d710) at /build/php5-xBqx0r/php5-5.6.5+dfsg/main/main.c:2584
0000034 0x00007f23fa130012 in php_handler (r=<optimized out>) at /build/php5-xBqx0r/php5-5.6.5+dfsg/sapi/apache2handler/sapi_apache2.c:667
0000035 0x00007f23ff8e2f20 in ap_run_handler (r=r@entry=0x7f23ff69d0a0) at config.c:169
0000036 0x00007f23ff8e3469 in ap_invoke_handler (r=0x7f23ff69d0a0) at config.c:433
0000037 0x00007f23ff8f9302 in ap_process_async_request (r=0x7f23ff69d0a0) at http_request.c:317
0000038 0x00007f23ff8f94a0 in ap_process_request (r=0x7f23ff69d0a0) at http_request.c:363
0000039 0x00007f23ff8f5da2 in ap_process_http_sync_connection (c=0x7f23ff6c1290) at http_core.c:190
0000040 ap_process_http_connection (c=0x7f23ff6c1290) at http_core.c:231
0000041 0x00007f23ff8ec790 in ap_run_process_connection (c=0x7f23ff6c1290) at connection.c:41
0000042 0x00007f23faa547ba in child_main (child_num_arg=75793016) at prefork.c:704
0000043 0x00007f23faa54a01 in make_child (s=0x7f23ff846de0, slot=16) at prefork.c:800
0000044 0x00007f23faa55667 in perform_idle_server_maintenance (p=<optimized out>) at prefork.c:902
0000045 prefork_run (_pconf=0x7f23ffb2aeb8 <ap_server_conf>, plog=0x7fff2557db7c, s=0x7fff2557db80) at prefork.c:1090
0000046 0x00007f23ff8c8cae in ap_run_mpm (pconf=0x7f23ff87e028, plog=0x7f23ff84c028, s=0x7f23ff846de0) at mpm_common.c:94
0000047 0x00007f23ff8c21f3 in main (argc=3, argv=0x7fff2557de68) at main.c:777

- Issue History
Date Modified Username Field Change
2015.02.24 21:14 CChiappa New Issue
2015.02.24 21:14 CChiappa File Added: IMG_20101019_090445.jpg
2015.02.24 21:14 CChiappa browser => any
2015.02.24 21:14 CChiappa Database engine and version => mysql 5.5.42
2015.02.24 21:14 CChiappa PHP version => 5.6.5
2015.02.24 21:14 CChiappa Web server => Apache 2.4.10
2015.02.24 21:36 CChiappa Note Added: 0007774
2015.02.25 03:44 CChiappa Note Added: 0007775


Copyright © 2000 - 2018 MantisBT Team
Contact
Powered by Mantis Bugtracker