Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kdav segfaults on contacts sync #1

Open
akrus opened this issue Jan 30, 2019 · 3 comments
Open

kdav segfaults on contacts sync #1

akrus opened this issue Jan 30, 2019 · 3 comments
Assignees

Comments

@akrus
Copy link

akrus commented Jan 30, 2019

Hi,

for some reason when syncing contacts it crashes with segfault:

(gdb) bt                                                                                                                                                                                                                                     
#0  0x00007fe330b8a0a0 in zend_fetch_resource () from /usr/lib/apache2/modules/libphp7.2.so                                                                                                                                                  
#1  0x00007fe328c666b9 in ?? () from /usr/lib/php/20170718/mapi.so                                                                                                                                                                           
#2  0x00007fe31d5685e4 in ?? () from /usr/lib/x86_64-linux-gnu/kopano/libkcclient.so                                                                                                                                                         
#3  0x00007fe31d56b5a0 in ?? () from /usr/lib/x86_64-linux-gnu/kopano/libkcclient.so                                                                                                                                                         
#4  0x00007fe328c8bfa2 in ?? () from /usr/lib/php/20170718/mapi.so                                                                                                                                                                           
#5  0x00007fe330c2407b in execute_ex () from /usr/lib/apache2/modules/libphp7.2.so                                                                                                                                                           
#6  0x00007fe330b63fee in zend_call_function () from /usr/lib/apache2/modules/libphp7.2.so                                                                                                                                                   
#7  0x00007fe330a9b504 in ?? () from /usr/lib/apache2/modules/libphp7.2.so                                                                                                                                                                   
#8  0x00007fe330c2407b in execute_ex () from /usr/lib/apache2/modules/libphp7.2.so                                                                                                                                                           
#9  0x00007fe330b63fee in zend_call_function () from /usr/lib/apache2/modules/libphp7.2.so                                                                                                                                                   
#10 0x00007fe330a9b504 in ?? () from /usr/lib/apache2/modules/libphp7.2.so                                                                                                                                                                   
#11 0x00007fe330c2407b in execute_ex () from /usr/lib/apache2/modules/libphp7.2.so                                                                                                                                                           
#12 0x00007fe330c259b7 in zend_execute () from /usr/lib/apache2/modules/libphp7.2.so                                                                                                                                                         
#13 0x00007fe330b745a2 in zend_execute_scripts () from /usr/lib/apache2/modules/libphp7.2.so                                                                                                                                                 
#14 0x00007fe330b10490 in php_execute_script () from /usr/lib/apache2/modules/libphp7.2.so                                                                                                                                                   
#15 0x00007fe330c27b12 in ?? () from /usr/lib/apache2/modules/libphp7.2.so                                                                                                                                                                   
b#16 0x00005615d7db0be0 in ap_run_handler ()                                                                                                                                                                                                 
#17 0x00005615d7db115d in ap_invoke_handler ()                                                                                                                                                                                               
#18 0x00005615d7dc80ec in ap_internal_redirect ()                                                                                                                                                                                            
#19 0x00007fe32c8f3f35 in ?? () from /usr/lib/apache2/modules/mod_rewrite.so                                                                                                                                                                 
#20 0x00005615d7db0be0 in ap_run_handler ()                                                                                                                                                                                                  
#21 0x00005615d7db115d in ap_invoke_handler ()                                                                                                                                                                                               
#22 0x00005615d7dc8d1b in ap_process_async_request ()                                                                                                                                                                                        
#23 0x00005615d7dc8ef0 in ap_process_request ()                                                                                                                                                                                              
#24 0x00005615d7dc513d in ?? ()                                                                                                                                                                                                              
#25 0x00005615d7dba9f0 in ap_run_process_connection ()                                                                                                                                                                                       
#26 0x00007fe331192831 in ?? () from /usr/lib/apache2/modules/mod_mpm_prefork.so                                                                                                                                                             
#27 0x00007fe331192b44 in ?? () from /usr/lib/apache2/modules/mod_mpm_prefork.so                                                                                                                                                             
#28 0x00007fe3311935b4 in ?? () from /usr/lib/apache2/modules/mod_mpm_prefork.so                                                                                                                                                             
#29 0x00005615d7d9419e in ap_run_mpm ()                                                                                                                                                                                                      
#30 0x00005615d7d8ca7b in main ()                                                                                                                                                                                                            

In kdav logs this also appears:
30.01.2019 13:03:28 [29492] [WARN ] error /var/www/html/kdav/lib/PHPWrapper.php:136 Use of undefined constant SYNC_E_IGNORE - assumed 'SYNC_E_IGNORE' (this will throw an Error in a future version of PHP) (2)

Ubuntu 18.04, php 7.2.10, kopano 8.7.80.529 & latest kdav.

@fbartels fbartels self-assigned this Jan 30, 2019
@akrus
Copy link
Author

akrus commented Jan 31, 2019

Just as a note - https://github.com/1afa/sabre-zarafa works well.

@irreleph4nt
Copy link

Have you tried this again since your initial bug report by any chance? I have set up kdav with nginx and php7 on Arch Linux and it works very well.

@akrus
Copy link
Author

akrus commented May 20, 2019

Yes, just tested again with latest kdav, php 7.2.17. Still crashes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants
@akrus @fbartels @irreleph4nt and others