You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org

Wikidiff2 segfaults

From Wikitech-static
Jump to navigation Jump to search

on srv39, repro'd twice

Program received signal SIGSEGV, Segmentation fault.
0x0000003a57870e16 in memmove () from /lib64/tls/libc.so.6
(gdb) bt
#0  0x0000003a57870e16 in memmove () from /lib64/tls/libc.so.6
#1  0x00002aaaaf29599c in std::vector<int, std::allocator<int> >::operator= () from /usr/local/lib/php/extensions/no-debug-non-zts-20050922/php_wikidiff2.so
#2  0x00002aaaaf29a17b in _DiffEngine<Word>::_diag () from /usr/local/lib/php/extensions/no-debug-non-zts-20050922/php_wikidiff2.so
#3  0x00002aaaaf29a43c in _DiffEngine<Word>::_compareseq () from /usr/local/lib/php/extensions/no-debug-non-zts-20050922/php_wikidiff2.so
#4  0x00002aaaaf29aee2 in _DiffEngine<Word>::diff () from /usr/local/lib/php/extensions/no-debug-non-zts-20050922/php_wikidiff2.so
#5  0x00002aaaaf29b9c7 in Diff<Word>::Diff () from /usr/local/lib/php/extensions/no-debug-non-zts-20050922/php_wikidiff2.so
#6  0x00002aaaaf28f8e2 in print_worddiff () from /usr/local/lib/php/extensions/no-debug-non-zts-20050922/php_wikidiff2.so
#7  0x00002aaaaf2901d9 in print_diff () from /usr/local/lib/php/extensions/no-debug-non-zts-20050922/php_wikidiff2.so
#8  0x00002aaaaf29035b in wikidiff2_do_diff () from /usr/local/lib/php/extensions/no-debug-non-zts-20050922/php_wikidiff2.so
#9  0x00002aaaaf29e4b6 in _wrap_wikidiff2_do_diff () from /usr/local/lib/php/extensions/no-debug-non-zts-20050922/php_wikidiff2.so
#10 0x00002aaaaad7b84c in zend_do_fcall_common_helper_SPEC () from /usr/local/apache/libexec/libphp5.so
#11 0x00002aaaaad7b1a2 in execute () from /usr/local/apache/libexec/libphp5.so
#12 0x00002aaaaad7b430 in zend_do_fcall_common_helper_SPEC () from /usr/local/apache/libexec/libphp5.so
#13 0x00002aaaaad7b1a2 in execute () from /usr/local/apache/libexec/libphp5.so
#14 0x00002aaaaad7b430 in zend_do_fcall_common_helper_SPEC () from /usr/local/apache/libexec/libphp5.so
#15 0x00002aaaaad7b1a2 in execute () from /usr/local/apache/libexec/libphp5.so
#16 0x00002aaaaad7b430 in zend_do_fcall_common_helper_SPEC () from /usr/local/apache/libexec/libphp5.so
#17 0x00002aaaaad7b1a2 in execute () from /usr/local/apache/libexec/libphp5.so
#18 0x00002aaaaad7b430 in zend_do_fcall_common_helper_SPEC () from /usr/local/apache/libexec/libphp5.so
#19 0x00002aaaaad7b1a2 in execute () from /usr/local/apache/libexec/libphp5.so
#20 0x00002aaaaad7b430 in zend_do_fcall_common_helper_SPEC () from /usr/local/apache/libexec/libphp5.so
#21 0x00002aaaaad7b1a2 in execute () from /usr/local/apache/libexec/libphp5.so
#22 0x00002aaaaad7b430 in zend_do_fcall_common_helper_SPEC () from /usr/local/apache/libexec/libphp5.so
#23 0x00002aaaaad7b1a2 in execute () from /usr/local/apache/libexec/libphp5.so
#24 0x00002aaaaad7b430 in zend_do_fcall_common_helper_SPEC () from /usr/local/apache/libexec/libphp5.so
#25 0x00002aaaaad7b1a2 in execute () from /usr/local/apache/libexec/libphp5.so
#26 0x00002aaaaad7b430 in zend_do_fcall_common_helper_SPEC () from /usr/local/apache/libexec/libphp5.so
#27 0x00002aaaaad7b1a2 in execute () from /usr/local/apache/libexec/libphp5.so
#28 0x00002aaaaad90ead in ZEND_INCLUDE_OR_EVAL_SPEC_VAR_HANDLER () from /usr/local/apache/libexec/libphp5.so
#29 0x00002aaaaad7b1a2 in execute () from /usr/local/apache/libexec/libphp5.so
#30 0x00002aaaaad5ce67 in zend_execute_scripts () from /usr/local/apache/libexec/libphp5.so
#31 0x00002aaaaad1decf in php_execute_script () from /usr/local/apache/libexec/libphp5.so
#32 0x00002aaaaadd3a7f in apache_php_module_main () from /usr/local/apache/libexec/libphp5.so
#33 0x00002aaaaadd447f in send_php () from /usr/local/apache/libexec/libphp5.so
#34 0x00002aaaaadd472f in send_parsed_php () from /usr/local/apache/libexec/libphp5.so
#35 0x00000000004315d4 in ap_invoke_handler (r=0x759a00) at http_config.c:475
#36 0x0000000000448ad6 in process_request_internal (r=0x759a00) at http_request.c:1298
#37 0x0000000000448b2b in ap_process_request (r=0x759a00) at http_request.c:1314
#38 0x000000000043f191 in child_main (child_num_arg=0) at http_main.c:4786
#39 0x000000000043f3a9 in make_child (s=0x5b10b0, slot=0, now=1140215056) at http_main.c:4901
#40 0x000000000043f528 in startup_children (number_to_start=5) at http_main.c:4983
#41 0x000000000043fc29 in standalone_main (argc=3, argv=0x7fffffff2528) at http_main.c:5315
#42 0x0000000000440412 in main (argc=3, argv=0x7fffffff2528) at http_main.c:5657
(gdb) 

Fixed in version 0.0.3.