https://bugzilla.wikimedia.org/show_bug.cgi?id=65796
Bug ID: 65796
Summary: HHVM segfaults when calling Parser->callParserFunction
Product: MediaWiki
Version: unspecified
Hardware: All
OS: All
Status: NEW
Keywords: hiphop
Severity: normal
Priority: Unprioritized
Component: Parser
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Web browser: ---
Mobile Platform: ---
Created attachment 15481
--> https://bugzilla.wikimedia.org/attachment.cgi?id=15481&action=edit
Stack trace
Host: osmium
ProcessID: 32178
ThreadID: 7f335b102540
ThreadPID: 32178
Name: /usr/bin/nice
Type: Segmentation fault
Runtime: hhvm
Version: heads/master-0-g298b3b71908c101e158dcb917f5f34f47b4e1675
DebuggerCount: 0
Arguments: MWScript.php runJobs.php --wiki=elwiktionary --procs=1 --maxtime=60
--memory-limit=300M
ThreadType: CLI
# 0 ?? at php:0
# 1 killpg at /lib/x86_64-linux-gnu/libc.so.6:0
# 2 ?? at php:0
# 3 HPHP::JIT::X64::BackEnd::enterTCHelper(unsigned char*,
HPHP::JIT::TReqInfo&) at php:0
# 4 HPHP::JIT::MCGenerator::enterTC(unsigned char*, void*) at php:0
# 5 HPHP::ExecutionContext::enterVM(HPHP::ActRec*,
HPHP::ExecutionContext::StackArgsState, HPHP::Resumable*, HPHP::ObjectData*) at
php:0
# 6 HPHP::ExecutionContext::invokeFunc(HPHP::TypedValue*, HPHP::Func const*,
HPHP::Variant const&, HPHP::ObjectData*, HPHP::Class*, HPHP::VarEnv*,
HPHP::StringData*, HPHP::ExecutionContext::InvokeFlags) at php:0
# 7 HPHP::ExecutionContext::invokeUnit(HPHP::TypedValue*, HPHP::Unit*) at
php:0
# 8 HPHP::invoke_file(HPHP::String const&, bool, char const*) at php:0
# 9 HPHP::include_impl_invoke(HPHP::String const&, bool, char const*) at php:0
# 10 HPHP::hphp_invoke(HPHP::ExecutionContext*, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, bool, HPHP::Array
const&, HPHP::VRefParamValue const&, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, bool&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, bool,
bool, bool) at php:0
# 11 HPHP::hphp_invoke_simple(std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&, bool) at php:0
# 12 ?? at php:0
# 13 HPHP::execute_program(int, char**) at php:0
# 14 HPHP::emulate_zend(int, char**) at php:0
# 15 main at php:0
# 16 __libc_start_main at /build/buildd/eglibc-2.19/csu/libc-start.c:321
# 17 ?? at php:0
PHP Stacktrace:
#0 Parser->callParserFunction(tplframe{}, invoke, Array) called at
[/usr/local/apache/common-local/php-1.24wmf5/includes/parser/Parser.php:3416]
#1 Parser->braceSubstitution(Array, tplframe{}) called at
[/usr/local/apache/common-local/php-1.24wmf5/includes/parser/Preprocessor_DOM.php:1153]
#2 PPFrame_DOM->expand(Object of class DOMElement could not be converted to
string) called at
[/usr/local/apache/common-local/php-1.24wmf5/includes/parser/Parser.php:3329]
#3 Parser->braceSubstitution(Array, tplframe{}) called at
[/usr/local/apache/common-local/php-1.24wmf5/includes/parser/Preprocessor_DOM.php:1153]
#4 PPFrame_DOM->expand(Object of class DOMElement could not be converted to
string) called at
[/usr/local/apache/common-local/php-1.24wmf5/includes/parser/Parser.php:3568]
#5 Parser->braceSubstitution(Array, frame{}) called at
[/usr/local/apache/common-local/php-1.24wmf5/includes/parser/Preprocessor_DOM.php:1153]
#6 PPFrame_DOM->expand(Object of class DOMElement could not be converted to
string, 0) called at
[/usr/local/apache/common-local/php-1.24wmf5/includes/parser/Parser.php:3226]
#7 Parser->replaceVariables({{δείτε|δικιά|-δικία}}
=={{-el-}}==
==={{μορφή ουσιαστικού|el}}===
'''{{PAGENAME}}''' {{ο}}
# {{πτώσειςΟΑΚπλ|δίκιο}}
{{κλείδα-ελλ}}
[[en:δίκια]]) called at
[/usr/local/apache/common-local/php-1.24wmf5/includes/parser/Parser.php:1238]
#8 Parser->internalParse({{δείτε|δικιά|-δικία}}
=={{-el-}}==
==={{μορφή ουσιαστικού|el}}===
'''{{PAGENAME}}''' {{ο}}
# {{πτώσειςΟΑΚπλ|δίκιο}}
{{κλείδα-ελλ}}
[[en:δίκια]]) called at
[/usr/local/apache/common-local/php-1.24wmf5/includes/parser/Parser.php:406]
#9 Parser->parse({{δείτε|δικιά|-δικία}}
=={{-el-}}==
==={{μορφή ουσιαστικού|el}}===
'''{{PAGENAME}}''' {{ο}}
# {{πτώσειςΟΑΚπλ|δίκιο}}
{{κλείδα-ελλ}}
[[en:δίκια]], δίκια, Object of class ParserOptions could not be converted to
string, 1, 1, 3194428) called at
[/usr/local/apache/common-local/php-1.24wmf5/includes/StubObject.php:105]
#10 StubObject->_call(parse, Array) called at
[/usr/local/apache/common-local/php-1.24wmf5/includes/StubObject.php:125]
#11 StubObject->__call(parse, Array) called at
[/usr/local/apache/common-local/php-1.24wmf5/includes/content/WikitextContent.php:327]
#12 WikitextContent->fillParserOutput(δίκια, 3194428, Object of class
ParserOptions could not be converted to string, 1, Object of class ParserOutput
could not be converted to string) called at
[/usr/local/apache/common-local/php-1.24wmf5/includes/content/AbstractContent.php:486]
#13 AbstractContent->getParserOutput(δίκια, 3194428) called at
[/usr/local/apache/common-local/php-1.24wmf5/extensions/CirrusSearch/includes/Updater.php:334]
#14 CirrusSearch\Updater->getContentAndParserOutput(Object of class WikiPage
could not be converted to string) called at
[/usr/local/apache/common-local/php-1.24wmf5/extensions/CirrusSearch/includes/Updater.php:286]
#15 CirrusSearch\Updater->buildDocumentsForPages(Array, 0) called at
[/usr/local/apache/common-local/php-1.24wmf5/extensions/CirrusSearch/includes/Updater.php:161]
#16 CirrusSearch\Updater->updatePages(Array, 1ms, 5, 0) called at
[/usr/local/apache/common-local/php-1.24wmf5/extensions/CirrusSearch/includes/Updater.php:67]
#17 CirrusSearch\Updater->updateFromTitle(δίκια) called at
[/usr/local/apache/common-local/php-1.24wmf5/extensions/CirrusSearch/includes/LinksUpdateJob.php:47]
#18 CirrusSearch\LinksUpdateJob->doJob() called at
[/usr/local/apache/common-local/php-1.24wmf5/extensions/CirrusSearch/includes/Job.php:52]
#19 CirrusSearch\Job->run() called at
[/usr/local/apache/common-local/php-1.24wmf5/maintenance/runJobs.php:110]
#20 RunJobs->execute() called at
[/usr/local/apache/common-local/php-1.24wmf5/maintenance/doMaintenance.php:109]
#21
include(/usr/local/apache/common-local/php-1.24wmf5/maintenance/doMaintenance.php)
called at
[/usr/local/apache/common-local/php-1.24wmf5/maintenance/runJobs.php:281]
#22
include(/usr/local/apache/common-local/php-1.24wmf5/maintenance/runJobs.php)
called at [/usr/local/apache/common-local/multiversion/MWScript.php:97]
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l