https://bugzilla.wikimedia.org/show_bug.cgi?id=57292
Web browser: ---
Bug ID: 57292
Summary: Segfault when extending LuaSandbox on PHP 5.4 SAPI
Product: MediaWiki extensions
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Unprioritized
Component: Scribunto
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
Classification: Unclassified
Mobile Platform: ---
LuaSandbox 1.6 (latest version), compiled on Debian 7, PHP 5.4.4-14+deb7u5,
segfaults with the code below:
<?php
class XL extends LuaSandbox {
// Declaring a property will result in a segfault....
public $property;
}
$X = new XL(); // trigger the segfault
// setting a propery later does work when you remove the declaration from the
class
$X->foo = 'bar';
?>
(above code works fine on deb6, PHP 5.3.3-7+squeeze17)
--
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