Topic: Remi PHP 5.3.3 RPMS SIGSEGV

Hi,

I installed php and php-fpm 5.3.3 RPMS from the remi repository for Fedora 12. For some reason, when I tried to run Prosper202 (http://prosper.tracking202.com/apps/) this would cause PHP to Segmentation Fault (used with nginx and apache).

I rebuilt php 5.3.3 from the SRPM, and the Segmentation Fault disappeared. I think there might be an issue with binaries generated by the buildsys.

I can provide the versions of the RPMS I built if it would help troubleshoot the issue.

Sincerely,
Alex

Re: Remi PHP 5.3.3 RPMS SIGSEGV

Can you confirm what is the value of %fedora or %rhel in your build environment ?
(probaly not set).

rpm --eval 'fedora=%{?fedora} rhel=%{?rhel}'

I think one of the build patch (the systzdata) explain this.

I will try some test and probably push a new build (without the patch or with the patch fixed).

+

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: Remi PHP 5.3.3 RPMS SIGSEGV

Hi,

Just ran the command, got

[root@prosper202 /]# rpm --eval 'fedora=%{?fedora} rhel=%{?rhel}'
fedora=12 rhel=

Does this help?

Sincerely,
Alex

Re: Remi PHP 5.3.3 RPMS SIGSEGV

As %{fedora} is set (12) the systzdata is applied.

So I must search something else...

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: Remi PHP 5.3.3 RPMS SIGSEGV

I'll help in whatever capacity possible. I normally code in C++, and the last time I tried hacking on PHP didn't go to well, but willing to try again.

Here are the versions of the RPMS I built from provided SRPMS: http://noc.beyondhosting.net/mirror/custom-rpms/

Sincerely,
Alex

Re: Remi PHP 5.3.3 RPMS SIGSEGV

Can you try the new build in remi-test repository (php-5.3.3-1.fc12.remi.1.x86_64.rpm) ?

I have (perhaps) found a minor issue in the build process.

+

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi