#16864 [Fbk->NoF]: reproducable seg faults without --enable-debug
| From: | php-bugs at lists dot php dot net | Date: | Fri, 25 Oct 2002 06:00:09 +0000 |
| Subject: | #16864 [Fbk->NoF]: reproducable seg faults without --enable-debug | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-23266@lists.php.net to get a copy of this message | ||
ID: 16864
Updated by: php-bugs@lists.php.net
Reported By: timspam@donet.com
-Status: Feedback
+Status: No Feedback
Bug Type: Sybase-ct (ctlib) related
Operating System: Redhat 6.2
PHP Version: 4.2.0
New Comment:
No feedback was provided for this bug for over 2 weeks, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
Previous Comments:
------------------------------------------------------------------------
[2002-10-09 22:19:54] iliaa@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
------------------------------------------------------------------------
[2002-04-26 17:28:58] timspam@donet.com
Sybase is installed stock, 11.9.2, also tried 12.5
./configure --with-mysql=/usr/local/mysql \
--with-apxs=/usr/local/apache/bin/apxs --enable-debug \
--enable-ftp --with-sybase-ct=/opt/sybase-11.9.2
stock php.ini, changed register_globals on, magic_quotes_sybase on,
magic_quotes_gpc on
Program that is causing the issue is phpSybaseAdmin 0.0.10 which can be
found on freshmeat.
The most common segfaults happen when i click on the master/sysusers
table, below is what enable-debug has to say about this:
[Fri Apr 26 15:28:10 2002] [error] PHP Warning: Sybase: Server
message: Changed database context to 'master'.
(severity 10, procedure N/A) in
/usr/local/apache/htdocs/sybase/tbl_properties.php on line 12
/usr/local/apache/htdocs/sybase/tbl_properties.php(12) : Warning -
Sybase: Server message: Changed database context to 'master'.
(severity 10, procedure N/A)
[Fri Apr 26 15:28:10 2002] [error] PHP Warning: Sybase: Server
message: For information on declarative integrity features : PRIMARY
KEY, UNIQUE, FOREIGN KEY, CHECK CONSTRAINT, REFERENTIAL CONSTRAINT,
NULL/NOT NULL, and DEFAULT, use sp_helpconstraint, a new system stored
procedure. (severity 10, procedure sp_helpkey) in
/usr/local/apache/htdocs/sybase/tbl_properties.php on line 13
/usr/local/apache/htdocs/sybase/tbl_properties.php(13) : Warning -
Sybase: Server message: For information on declarative integrity
features : PRIMARY KEY, UNIQUE, FOREIGN KEY, CHECK CONSTRAINT,
REFERENTIAL CONSTRAINT, NULL/NOT NULL, and DEFAULT, use
sp_helpconstraint, a new system stored procedure. (severity 10,
procedure sp_helpkey)
[Fri Apr 26 15:28:10 2002] [error] PHP Warning: Sybase: Server
message: (severity 10, procedure sp_helpkey) in
/usr/local/apache/htdocs/sybase/tbl_properties.php on line 13
/usr/local/apache/htdocs/sybase/tbl_properties.php(13) : Warning -
Sybase: Server message: (severity 10, procedure sp_helpkey)
[Fri Apr 26 15:28:10 2002] Script:
'/usr/local/apache/htdocs/sybase/tbl_properties.php'
---------------------------------------
./zend_execute.c(449) : Block 0x082388F0 status:
zend_variables.c(44) : Actual location (location was relayed)
Beginning: OK (allocated on string.c:2262, 9 bytes)
End: Overflown (magic=0x2A8FCC00 instead of 0x2A8FCC84)
1 byte(s) overflown
---------------------------------------
[Fri Apr 26 15:28:10 2002] [error] PHP Notice: Undefined property:
Extra in /usr/local/apache/htdocs/sybase/tbl_properties.php on line
104
/usr/local/apache/htdocs/sybase/tbl_properties.php(104) : Notice -
Undefined property: Extra
[Fri Apr 26 15:28:10 2002] Script:
'/usr/local/apache/htdocs/sybase/tbl_properties.php'
---------------------------------------
./zend_execute.c(449) : Block 0x08238930 status:
zend_variables.c(44) : Actual location (location was relayed)
Beginning: OK (allocated on string.c:2262, 9 bytes)
End: Overflown (magic=0x2A8FCC00 instead of 0x2A8FCC84)
1 byte(s) overflown
---------------------------------------
[Fri Apr 26 15:28:10 2002] [error] PHP Notice: Undefined property:
Extra in /usr/local/apache/htdocs/sybase/tbl_properties.php on line
104
/usr/local/apache/htdocs/sybase/tbl_properties.php(104) : Notice -
Undefined property: Extra
[Fri Apr 26 15:28:10 2002] Script:
'/usr/local/apache/htdocs/sybase/tbl_properties.php'
---------------------------------------
./zend_execute.c(449) : Block 0x08258430 status:
zend_variables.c(44) : Actual location (location was relayed)
Beginning: OK (allocated on string.c:2262, 9 bytes)
End: Overflown (magic=0x2A8FCC00 instead of 0x2A8FCC84)
1 byte(s) overflown
---------------------------------------
[Fri Apr 26 15:28:10 2002] [error] PHP Notice: Undefined property:
Extra in /usr/local/apache/htdocs/sybase/tbl_properties.php on line
104
/usr/local/apache/htdocs/sybase/tbl_properties.php(104) : Notice -
Undefined property: Extra
[Fri Apr 26 15:28:10 2002] Script:
'/usr/local/apache/htdocs/sybase/tbl_properties.php'
---------------------------------------
./zend_execute.c(449) : Block 0x0825F0F8 status:
zend_variables.c(44) : Actual location (location was relayed)
Beginning: OK (allocated on string.c:2262, 8 bytes)
End: Overflown (magic=0x2A8FCC00 instead of 0x2A8FCC84)
1 byte(s) overflown
---------------------------------------
[Fri Apr 26 15:28:10 2002] [error] PHP Notice: Undefined property:
Extra in /usr/local/apache/htdocs/sybase/tbl_properties.php on line
104
/usr/local/apache/htdocs/sybase/tbl_properties.php(104) : Notice -
Undefined property: Extra
[Fri Apr 26 15:28:10 2002] Script:
'/usr/local/apache/htdocs/sybase/tbl_properties.php'
---------------------------------------
./zend_execute.c(449) : Block 0x08232F88 status:
zend_variables.c(44) : Actual location (location was relayed)
Beginning: OK (allocated on string.c:2262, 8 bytes)
End: Overflown (magic=0x2A8FCC00 instead of 0x2A8FCC84)
1 byte(s) overflown
---------------------------------------
[Fri Apr 26 15:28:10 2002] [error] PHP Notice: Undefined property:
Extra in /usr/local/apache/htdocs/sybase/tbl_properties.php on line
104
/usr/local/apache/htdocs/sybase/tbl_properties.php(104) : Notice -
Undefined property: Extra
[Fri Apr 26 15:28:11 2002] [error] PHP Warning: Sybase: Server
message: For information on declarative integrity features : PRIMARY
KEY, UNIQUE, FOREIGN KEY, CHECK CONSTRAINT, REFERENTIAL CONSTRAINT,
NULL/NOT NULL, and DEFAULT, use sp_helpconstraint, a new system stored
procedure. (severity 10, procedure sp_helpkey) in
/usr/local/apache/htdocs/sybase/tbl_properties.php on line 122
/usr/local/apache/htdocs/sybase/tbl_properties.php(122) : Warning -
Sybase: Server message: For information on declarative integrity
features : PRIMARY KEY, UNIQUE, FOREIGN KEY, CHECK CONSTRAINT,
REFERENTIAL CONSTRAINT, NULL/NOT NULL, and DEFAULT, use
sp_helpconstraint, a new system stored procedure. (severity 10,
procedure sp_helpkey)
[Fri Apr 26 15:28:11 2002] [error] PHP Warning: Sybase: Server
message: (severity 10, procedure sp_helpkey) in
/usr/local/apache/htdocs/sybase/tbl_properties.php on line 122
/usr/local/apache/htdocs/sybase/tbl_properties.php(122) : Warning -
Sybase: Server message: (severity 10, procedure sp_helpkey)
[Fri Apr 26 15:28:11 2002] [error] PHP Notice: Undefined property:
Non_unique in /usr/local/apache/htdocs/sybase/tbl_properties.php on
line 154
/usr/local/apache/htdocs/sybase/tbl_properties.php(154) : Notice -
Undefined property: Non_unique
[Fri Apr 26 15:28:11 2002] [error] PHP Notice: Undefined variable:
sql_query in /usr/local/apache/htdocs/sybase/tbl_properties.php on line
160
/usr/local/apache/htdocs/sybase/tbl_properties.php(160) : Notice -
Undefined variable: sql_query
[Fri Apr 26 15:28:11 2002] [error] PHP Notice: Undefined variable:
zero_rows in /usr/local/apache/htdocs/sybase/tbl_properties.php on line
160
/usr/local/apache/htdocs/sybase/tbl_properties.php(160) : Notice -
Undefined variable: zero_rows
[Fri Apr 26 15:28:11 2002] [error] PHP Notice: Undefined property:
Non_unique in /usr/local/apache/htdocs/sybase/tbl_properties.php on
line 154
/usr/local/apache/htdocs/sybase/tbl_properties.php(154) : Notice -
Undefined property: Non_unique
[Fri Apr 26 15:28:11 2002] [error] PHP Notice: Undefined variable:
sql_query in /usr/local/apache/htdocs/sybase/tbl_properties.php on line
160
/usr/local/apache/htdocs/sybase/tbl_properties.php(160) : Notice -
Undefined variable: sql_query
[Fri Apr 26 15:28:11 2002] [error] PHP Notice: Undefined variable:
zero_rows in /usr/local/apache/htdocs/sybase/tbl_properties.php on line
160
/usr/local/apache/htdocs/sybase/tbl_properties.php(160) : Notice -
Undefined variable: zero_rows
[Fri Apr 26 15:28:11 2002] [error] PHP Notice: Undefined property:
Non_unique in /usr/local/apache/htdocs/sybase/tbl_properties.php on
line 154
/usr/local/apache/htdocs/sybase/tbl_properties.php(154) : Notice -
Undefined property: Non_unique
[Fri Apr 26 15:28:11 2002] [error] PHP Notice: Undefined variable:
sql_query in /usr/local/apache/htdocs/sybase/tbl_properties.php on line
160
/usr/local/apache/htdocs/sybase/tbl_properties.php(160) : Notice -
Undefined variable: sql_query
[Fri Apr 26 15:28:11 2002] [error] PHP Notice: Undefined variable:
zero_rows in /usr/local/apache/htdocs/sybase/tbl_properties.php on line
160
/usr/local/apache/htdocs/sybase/tbl_properties.php(160) : Notice -
Undefined variable: zero_rows
[Fri Apr 26 15:28:11 2002] [error] PHP Notice: Undefined property:
Non_unique in /usr/local/apache/htdocs/sybase/tbl_properties.php on
line 154
/usr/local/apache/htdocs/sybase/tbl_properties.php(154) : Notice -
Undefined property: Non_unique
[Fri Apr 26 15:28:11 2002] [error] PHP Notice: Undefined variable:
sql_query in /usr/local/apache/htdocs/sybase/tbl_properties.php on line
160
/usr/local/apache/htdocs/sybase/tbl_properties.php(160) : Notice -
Undefined variable: sql_query
[Fri Apr 26 15:28:11 2002] [error] PHP Notice: Undefined variable:
zero_rows in /usr/local/apache/htdocs/sybase/tbl_properties.php on line
160
/usr/local/apache/htdocs/sybase/tbl_properties.php(160) : Notice -
Undefined variable: zero_rows
[Fri Apr 26 15:28:11 2002] [error] PHP Notice: Undefined property:
Non_unique in /usr/local/apache/htdocs/sybase/tbl_properties.php on
line 154
/usr/local/apache/htdocs/sybase/tbl_properties.php(154) : Notice -
Undefined property: Non_unique
[Fri Apr 26 15:28:11 2002] [error] PHP Notice: Undefined variable:
sql_query in /usr/local/apache/htdocs/sybase/tbl_properties.php on line
160
/usr/local/apache/htdocs/sybase/tbl_properties.php(160) : Notice -
Undefined variable: sql_query
[Fri Apr 26 15:28:11 2002] [error] PHP Notice: Undefined variable:
zero_rows in /usr/local/apache/htdocs/sybase/tbl_properties.php on line
160
/usr/local/apache/htdocs/sybase/tbl_properties.php(160) : Notice -
Undefined variable: zero_rows
[Fri Apr 26 15:28:11 2002] [error] PHP Notice: Undefined property:
Non_unique in /usr/local/apache/htdocs/sybase/tbl_properties.php on
line 154
/usr/local/apache/htdocs/sybase/tbl_properties.php(154) : Notice -
Undefined property: Non_unique
string.c(2262) : Freeing 0x08232FAC (8 bytes),
script=/usr/local/apache/htdocs/sybase/tbl_properties.php
Last leak repeated 4 times
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16864&edit=1