[xdebug-dev] Bug 0000094: xdebug_sprintf misbehaves with x86_64/glibc-2.3.3

From: <xdebug-dev[@]lists.xdebug.org>
Date: Sun, 28 Nov 2004 22:54:15 +0100

The following bug has been CLOSED
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000094
======================================================================
Reporter: ratchet
Handler:
======================================================================
Project: Xdebug
Bug ID: 94
Category: Usage problems
Reproducibility: random
Severity: major
Priority: normal
Status: closed
Operating System:
PHP Version: 4.3.4
Xdebug Version: 2.0-dev
======================================================================
Date Submitted: 2004-10-06 21:27 CEST
Last Modified: 2004-11-28 22:54 CET
======================================================================
Summary: xdebug_sprintf misbehaves with x86_64/glibc-2.3.3
Description:
Specifically, using PHP CLI, xdebug_path_to_url produces either either a
path of just "file://" or "file:///<garbage>" followed by a partial path.

Also, with PHP compiled with --enable-debug and xdebug.loaded with
"zend_extension_debug=/path/to/xdebug.so" it simply segfaults in
xdebug_sprintf after connecting to the listener.
======================================================================

----------------------------------------------------------------------
 derick - 2004-11-28 22:54 CET
----------------------------------------------------------------------
Fixed in CVS. Your patch was almost correct, and I committed a similar one.
I do not believe that it can break on other systems and, for that matter,
it works fine for me.

Bug History
Date Modified Username Field Change
======================================================================
2004-10-06 21:27ratchet New Bug
2004-11-28 22:54derick Bugnote Added: 0000218
2004-11-28 22:54derick Status new => closed
======================================================================
Received on Sun Nov 28 2004 - 22:54:17 GMT

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST