| Summary: | php crash after include bcompiled file with class | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Luděk Janča <joelp> |
| Component: | RPM Packages | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED OLD | QA Contact: | |
| Severity: | major | ||
| Priority: | Normal | CC: | luigiwalser, oe, qa-bugs, stormi-mageia, thomas |
| Version: | 2 | Keywords: | Triaged |
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | php-bcompiler | CVE: | |
| Status comment: | |||
| Attachments: | test case | ||
|
Description
Luděk Janča
2012-06-05 10:25:22 CEST
Created attachment 2427 [details]
test case
run testincl.php
files testcmp.php is bcompiled test.php file. testcmpx.y.z.php is bcompiled file with this version of bcompiler. index.php is compiler.
Could you try rebuilding php-bcompiler and see if that fixes it? The procedure, if you haven't done this before, is: 1) Locate and download the source RPM from a mirror. It will be called php-bcompiler-1.0.2-2.mga2.src.rpm 2) (As root) urpmi php-bcompiler-1.0.2-2.mga2.src.rpm This will install the build dependencies. 3) rpmbuild --rebuild php-bcompiler-1.0.2-2.mga2.src.rpm This does the rebuild. 4) rpm -Uvh --force php-bcompiler-1.0.2-2.mga2.x86_64.rpm The path to the rpm that was built will be near the end of the output on the screen at the end of step 3. This will install it. CC:
(none) =>
luigiwalser It's the same with rebuilded package. I found that if I install package php-eaccelerator, bcompiler 0.9.3 (my compilation) does not work too. I don't think things like php-apc, php-eaccelerator, and php-bcompiler are meant to be used together. Does php-bcompiler work by itself (either ours or your rebuilt one)? No, it doesn't. It works only with my compilation of 0.9.3. If I used distribution package or compiled version newer than 0.9.3, it doesn't work. So rebuilding the package did work for you? Or did you have to compile it some other way for it to work? As I wrote. Workable is only compiled version 0.9.3. Rebuild of MGA package does not work. I guess it might work on Mageia 1 since we still have 0.9.3 there. Thomas, do you have any idea about this? CC:
(none) =>
thomas Im suffering on allergies and can hardly open my eyes. Any news with this problem?
David Walser
2012-12-31 20:18:19 CET
CC:
(none) =>
oe Works fine here on mga2 64bit. Not for me. You must run index.php for compile script. And after that run testcmp.php.
Samuel Verschelde
2013-08-28 10:10:56 CEST
Keywords:
(none) =>
Triaged Please try the latest php-bcompiler-1.0.3-0.svn316143.0.mga2 when it's there. CC'ing QA. We've asked the original reporter to test and verify that it works, but if anyone from QA wants to get a jump on testing it as well, you may. CC:
(none) =>
qa-bugs Before ------ index.php in a browser does nothing # php index.php Extensin loaded OK<hr>Segmentation fault it does produce a testcmp.php though but viewing it in a browser does nothing After ----- rm testcmp.php index.php in a browser still does nothing # php index.php Extensin loaded OK<hr>Segmentation fault Viewing testcmp.php in a browser does nothing viewing testincl.php does nothing either. I think this should echo some 'stuff'. Testing with the code from here works ok with either version http://php.net/manual/en/book.bcompiler.php Closing this now due to Mageia 2 EOL. http://blog.mageia.org/en/2013/11/21/farewell-mageia-2/ Status:
NEW =>
RESOLVED |