https://bugzilla.wikimedia.org/show_bug.cgi?id=44306
Web browser: ---
Bug ID: 44306
Summary: Unit tests segfaulting often
Product: MediaWiki
Version: 1.21-git
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Unit tests
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
Here's one I caught with gdb:
(1732) TitleMethodsTest::testInNamespace:
Program received signal SIGSEGV, Segmentation fault.
zval_mark_grey (pz=0x1082a830) at /build/buildd/php5-5.3.10/Zend/zend_gc.c:368
368 /build/buildd/php5-5.3.10/Zend/zend_gc.c: No such file or directory.
in /build/buildd/php5-5.3.10/Zend/zend_gc.c
(gdb) bt
#0 zval_mark_grey (pz=0x1082a830) at
/build/buildd/php5-5.3.10/Zend/zend_gc.c:368
#1 0x00000000006c2e7e in zval_mark_grey (pz=0x1082a830) at
/build/buildd/php5-5.3.10/Zend/zend_gc.c:379
#2 0x00000000006c3965 in gc_collect_cycles () at
/build/buildd/php5-5.3.10/Zend/zend_gc.c:435
#3 0x00000000006c3b94 in gc_zval_possible_root (zv=0x1082a830) at
/build/buildd/php5-5.3.10/Zend/zend_gc.c:166
#4 0x00000000006b2328 in zend_hash_destroy (ht=0xfd6ee08) at
/build/buildd/php5-5.3.10/Zend/zend_hash.c:729
#5 0x00000000006a492f in _zval_dtor_func (zvalue=0x1082a460) at
/build/buildd/php5-5.3.10/Zend/zend_variables.c:46
#6 0x00000000004789c0 in php_pcre_match_impl (pce=0x7fffffffb868,
subject=0x1082a038 "/@requires\\s+(?P<name>function|extension)\\s(?P<value>([^
]+))\\r?$/m", subject_len=0, return_value=0x50000000f, subpats=0x1082a460,
global=1, use_flags=4688957, flags=0, start_offset=0) at
/build/buildd/php5-5.3.10/Zend/zend_variables.h:35
#7 0x0000000000478c3d in php_do_pcre_match (ht=3, return_value=0x107f1170,
return_value_ptr=0xc733d7c4e84a74cf, this_ptr=0xdcbc48,
return_value_used=276997216, global=1) at
/build/buildd/php5-5.3.10/ext/pcre/php_pcre.c:519
#8 0x00000000006f682a in zend_do_fcall_common_helper_SPEC
(execute_data=0x7ffff7e9e850) at
/build/buildd/php5-5.3.10/Zend/zend_vm_execute.h:320
#9 0x00000000006cdd30 in execute (op_array=0x2296968) at
/build/buildd/php5-5.3.10/Zend/zend_vm_execute.h:107
#10 0x000000000069ad48 in zend_call_function (fci=0x7fffffffbbb0,
fci_cache=0x7ffff7e9bf10) at
/build/buildd/php5-5.3.10/Zend/zend_execute_API.c:969
#11 0x00000000005d8387 in zif_call_user_func_array (ht=276998192,
return_value=0x10822f20, return_value_ptr=0xc733d7c4e84a74cf,
this_ptr=0xdcbc48, return_value_used=276997216)
at /build/buildd/php5-5.3.10/ext/standard/basic_functions.c:4803
#12 0x00000000006f682a in zend_do_fcall_common_helper_SPEC
(execute_data=0x7ffff7e9bf10) at
/build/buildd/php5-5.3.10/Zend/zend_vm_execute.h:320
#13 0x00000000006cdd30 in execute (op_array=0xc7e15c0) at
/build/buildd/php5-5.3.10/Zend/zend_vm_execute.h:107
#14 0x00000000006a4c2d in zend_execute_scripts (type=32767,
retval=0x7fffffffbdf0, file_count=3) at
/build/buildd/php5-5.3.10/Zend/zend.c:1308
#15 0x000000000064f878 in php_execute_script (primary_file=0x1) at
/build/buildd/php5-5.3.10/main/main.c:2323
#16 0x00000000007374ae in main (argc=0, argv=0x1) at
/build/buildd/php5-5.3.10/sapi/cli/php_cli.c:1188
PHP 5.3.10-1ubuntu2ppa6~lucid with Suhosin-Patch (cli) (built: Mar 10 2012
19:43:26)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
Some googling seems to point that disabling GC might help, but I haven't tried.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l