[apport] php5 crashes with SIGSEGV when issuing an XPath query that incorrectly uses the XPath contains() function

Bug #103027 reported by Chris Wagner
4
Affects Status Importance Assigned to Milestone
php5 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: php5

See the atteched PHP script for an example that will crash PHP.

This could be (is likely to be?) a bug in libxml2, but I'm not one to make that call.

Info from apport:
--------------------------------------------------------
ProblemType: Crash
Architecture: i386
Date: Wed Apr 4 15:51:11 2007
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/bin/php5
Package: php5-cli 5.2.1-0ubuntu1
PackageArchitecture: i386
ProcCmdline: php test/test.php
ProcCwd: /home/chris/projects/terabolic/dmod_depwater
ProcEnviron:
 SHELL=/bin/bash
 PATH=/home/chris/bin:/opt/maven/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
 LANG=en_US.UTF-8
Signal: 11
SourcePackage: php5
StacktraceTop:
 ?? () from /lib/tls/i686/cmov/libc.so.6
 ?? () from /usr/lib/libxml2.so.2
 ?? ()
 ?? ()
 ?? ()
Uname: Linux chris-desktop 2.6.20-13-generic #2 SMP Sun Mar 25 00:21:25 UTC 2007 i686 GNU/Linux
UserGroups: adm admin audio cdrom dialout dip floppy lpadmin netdev plugdev powerdev scanner video

Revision history for this message
Chris Wagner (chris-wagner) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:malloc_consolidate () from /lib/tls/i686/cmov/libc.so.6
_int_malloc () from /lib/tls/i686/cmov/libc.so.6
_int_realloc () from /lib/tls/i686/cmov/libc.so.6
realloc () from /lib/tls/i686/cmov/libc.so.6
?? () from /usr/lib/libxml2.so.2

Revision history for this message
Apport retracing service (apport) wrote : Symbolic threaded stack trace
Revision history for this message
Chris Wagner (chris-wagner) wrote :
description: updated
Revision history for this message
Jonh Wendell (wendell) wrote :

Thanks for your bug report. This bug has been reported to the developers of the software. You can track it and make comments here: http://bugs.php.net/41702

Changed in php5:
status: Unconfirmed → Confirmed
Revision history for this message
Chris Wagner (chris-wagner) wrote : Re: [Bug 103027] Re: [apport] php5 crashes with SIGSEGV when issuing an XPath query that incorrectly uses the XPath contains() function

Thanks for forwarding that upstream.

Revision history for this message
Jonh Wendell (wendell) wrote :

Thanks taking the time to report this bug and helping to make Ubuntu better. However, I am closing it because the bug has been fixed in the latest development version of Ubuntu - the Gutsy Gibbon.

If you need a fix for the bug in previous versions of Ubuntu, please follow the instructions for "How to request new packages" at https://help.ubuntu.com/community/UbuntuBackports#request-new-packages .

Changed in php5:
status: Confirmed → Fix Released
Revision history for this message
Chris Wagner (chris-wagner) wrote :

On Fri, 2007-06-15 at 16:32 +0000, Jonh Wendell wrote:
> Thanks taking the time to report this bug and helping to make Ubuntu
> better. However, I am closing it because the bug has been fixed in the
> latest development version of Ubuntu - the Gutsy Gibbon.

Cool.

> If you need a fix for the bug in previous versions of Ubuntu, please
> follow the instructions for "How to request new packages" at
> https://help.ubuntu.com/community/UbuntuBackports#request-new-packages .

No, I don't; just wanted to make sure the bug was known, but it's not
really hassling me anymore. :) Thanks, though.

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.