PHP5.5 Crash on certain scripting code

Bug #1364486 reported by Robbert
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
php
Unknown
Unknown
php5 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Running our websites requires specific code from an external supplier. This code makes PHP (5.5.09) and the website crash on Ubuntu 14.04.1. It's because of a known bug in PHP 5.5.09 which is already solved in the latest (minor) upgrade.

This is the PHP bug in question:
https://bugs.php.net/bug.php?id=48147

This particular PHP scripting code line makes PHP on Ubuntu 14.04 crash:
return @iconv($from_encoding, $to_encoding . '//TRANSLIT,IGNORE', $source);

Without this we cannot upgrade our webservers from Ubuntu 12.04 to Ubuntu 14.04. When will an update come available for Ubuntu to upgrade the PHP version?

Thank you in advance.

Regards,

Robbert Brackel

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: php5-common 5.5.9+dfsg-1ubuntu4.3
ProcVersionSignature: Ubuntu 3.13.0-35.62-generic 3.13.11.6
Uname: Linux 3.13.0-35-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.3
Architecture: amd64
Date: Tue Sep 2 18:04:54 2014
InstallationDate: Installed on 2014-06-06 (88 days ago)
InstallationMedia: Ubuntu-Server 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.2)
ProcEnviron:
 LANGUAGE=en_US:en
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: php5
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Robbert (robbert-w) wrote :
Revision history for this message
Robie Basak (racb) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

We cannot update 14.04 to the latest PHP version because my understanding is that they include feature changes in minor version updates, and this is unacceptable for Ubuntu's stable release users who expect behaviour to not change during the lifetime of a stable Ubuntu release. If I'm wrong about this and there's an upstream policy that says otherwise, please do correct me.

However, we can cherry-pick bugfixes from PHP's stable branch, but I don't see a reference to any fix in the upstream bug. Please can you point me to the fix in PHP's stable branch VCS?

For reference, our full rationale, policy and procedure for stable release updates is here: https://wiki.ubuntu.com/StableReleaseUpdates

Revision history for this message
Robbert (robbert-w) wrote : RE: [Bug 1364486] Re: PHP5.5 Crash on certain scripting code
Download full text (3.5 KiB)

Robie,

Thank you for taking the time to look at my issue. You are right the PHP bug I mentioned doesn't contain a patch.

The thing is that the required code (that's causing the PHP bug) was tested with PHP version 5.5.12 and up and with those version it works just fine. Looking at you remark about minor PHP versions I don't ask you to update the minor version, but to a newer revision (at least 5.5.12). Looking at the PHP changelog (http://php.net/ChangeLog-5.php) for versions 5.5.10, 5.5.11 and 5.5.12 I can't see any feature change that affects backward compatibility. I attached the changelog for your convenience. Do you agree? If so, can an update to version 5.5.12 make my day?

Regards,

Robbert Brackel

-----Oorspronkelijk bericht-----
Van: <email address hidden> [mailto:<email address hidden>] Namens Robie Basak
Verzonden: donderdag 4 september 2014 10:57
Aan: Robbert Brackel
Onderwerp: [Bug 1364486] Re: PHP5.5 Crash on certain scripting code

Thank you for taking the time to report this bug and helping to make Ubuntu better.

We cannot update 14.04 to the latest PHP version because my understanding is that they include feature changes in minor version updates, and this is unacceptable for Ubuntu's stable release users who expect behaviour to not change during the lifetime of a stable Ubuntu release. If I'm wrong about this and there's an upstream policy that says otherwise, please do correct me.

However, we can cherry-pick bugfixes from PHP's stable branch, but I don't see a reference to any fix in the upstream bug. Please can you point me to the fix in PHP's stable branch VCS?

For reference, our full rationale, policy and procedure for stable release updates is here: https://wiki.ubuntu.com/StableReleaseUpdates

--
You received this bug notification because you are subscribed to the bug report.
https://bugs.launchpad.net/bugs/1364486

Title:
  PHP5.5 Crash on certain scripting code

Status in PHP: Hypertext Preprocessor:
  Unknown
Status in “php5” package in Ubuntu:
  New

Bug description:
  Running our websites requires specific code from an external supplier.
  This code makes PHP (5.5.09) and the website crash on Ubuntu 14.04.1.
  It's because of a known bug in PHP 5.5.09 which is already solved in
  the latest (minor) upgrade.

  This is the PHP bug in question:
  https://bugs.php.net/bug.php?id=48147

  This particular PHP scripting code line makes PHP on Ubuntu 14.04 crash:
  return @iconv($from_encoding, $to_encoding . '//TRANSLIT,IGNORE', $source);

  Without this we cannot upgrade our webservers from Ubuntu 12.04 to
  Ubuntu 14.04. When will an update come available for Ubuntu to upgrade
  the PHP version?

  Thank you in advance.

  Regards,

  Robbert Brackel

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: php5-common 5.5.9+dfsg-1ubuntu4.3
  ProcVersionSignature: Ubuntu 3.13.0-35.62-generic 3.13.11.6
  Uname: Linux 3.13.0-35-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.3
  Architecture: amd64
  Date: Tue Sep 2 18:04:54 2014
  InstallationDate: Installed on 2014-06-06 (88 days ago)
  InstallationMedia: Ubuntu-Server 14.04 LTS "Trusty Tahr" - ...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.