"undefined symbol zend_error_noreturn" error

Bug #667668 reported by Jouni Mäkeläinen
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
swig
Unknown
Unknown
redland-bindings (Fedora)
Won't Fix
Undecided
redland-bindings (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Description: Ubuntu 10.04.1 LTS
Release: 10.04
php5-librdf package version: 1.0.10.1-1.1ubuntu1
PHP-version: PHP 5.3.2-1ubuntu4.5 with Suhosin-Patch (cli) (built: Sep 17 2010 13:41:55)

Trying to execute following code ($query_str contains simple sparql select query as string):
$query = librdf_new_query(self::get_world(), 'sparql', NULL, $query_str, NULL);
if (!$query) throw new Exception('Creating query failed');
$res = librdf_query_execute($this->rdflib_model, $query);

librdf_query_execute apparently fails. Instead of giving error message, program executions fails silently and next row is added to Apache error log:
/usr/sbin/apache2: symbol lookup error: /usr/lib/php5/20090626+lfs/redland.so: undefined symbol: zend_error_noreturn

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: php5-librdf 1.0.10.1-1.1ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-24.43-generic-pae 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-generic-pae i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Thu Oct 28 12:15:02 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
ProcEnviron:
 LANG=fi_FI.UTF-8
 SHELL=/bin/bash
SourcePackage: redland-bindings

Revision history for this message
Jouni Mäkeläinen (jouni-makelainen) wrote :
Revision history for this message
In , Alex (alex-redhat-bugs) wrote :

Description of problem:
php-redland cannot be loaded do an unresolved symbol.

Version-Release number of selected component (if applicable):
php-redland-1.0.11.1-6.fc15.x86_64

How reproducible:
Every time.

Steps to Reproduce:
1. yum -y install php-redland
2. php -r 'dl("redland.so");'

Actual results:
[achernya@busy-beaver]:~$ cat /etc/redhat-release
Fedora release 15 (Lovelock)
[achernya@busy-beaver]:~$ rpm -q php-redland
php-redland-1.0.11.1-6.fc15.x86_64
[achernya@busy-beaver]:~$ php -r 'dl("redland.so");'
PHP Warning: () dl(): Unable to load dynamic library '/usr/lib64/php/modules/redland.so' - /usr/lib64/php/modules/redland.so: undefined symbol: zend_error_noreturn in Command line code on line 1

Expected results:
redland.so works correctly

Additional info:
It appears running "sed -i -e 's/zend_error_noreturn/zend_error/' php/*" on the source tree and recompiling fixes this error.

Revision history for this message
In , Anders (anders-redhat-bugs) wrote :

This was fixed upstream in 1.0.14.1 (which had the bindings regenerated with SWIG 2; see http://sourceforge.net/tracker/index.php?func=detail&aid=3166423&group_id=1645&atid=101645 ), and Fedora 17’s php-redland 1.0.14.1-1.fc17 seems to work.

Revision history for this message
Anders Kaseorg (andersk) wrote :

This was fixed upstream in 1.0.14.1 (which had the bindings regenerated with SWIG 2; see http://sourceforge.net/tracker/index.php?func=detail&aid=3166423&group_id=1645&atid=101645 ), and quantal’s php5-librdf 1.0.14.1-1 seems to work.

Changed in redland-bindings (Ubuntu):
status: New → Fix Released
Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Changed in redland-bindings (Fedora):
importance: Unknown → Undecided
status: Unknown → Won't Fix
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.