|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18681 random segmentation faults with magic_quotes_sybase set
Submitted: 2002-07-31 16:07 UTC Modified: 2002-09-09 01:00 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: bstineman at mn dot rr dot com Assigned:
Status: No Feedback Package: Reproducible crash
PHP Version: 4.2.2 OS: RedHat 7.3 (kernel 2.4.18-3smp)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: bstineman at mn dot rr dot com
New email:
PHP Version: OS:


 [2002-07-31 16:07 UTC] bstineman at mn dot rr dot com
We recently upgraded our web server to PHP 2.2.2 and the latest version of the Zend Optimizer, however, we've noticed that when we've got the magic_quotes_sybase option set to on in the php.ini file, we get RANDOM segmentation faults from apache. The same page without changes may or may not complete for no apparent reason. We suspect the problem may be related to issues with stripslashes, but because of the randomness of the failures, have been unable to isolate the problem and suspect instead that there is an error in the stripslashes function itself that is causing the issue.

Unfortunately we've got some fairly extensive applications and would like to avoid having to revamp all our code to accomidate for having to turn this option off. 

As a side note, we're using the latest version of FreeTDS to access our mssql database (mssql 2k) and this issue did not appear until we upgraded from php 4.1.1. 

Any assistance is resolve this issue would be aprpeciated. We're under a time crunch.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-31 19:02 UTC]
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.

Please do this with this snapshot:

There was some 'magic_quotes_sybase' related fix recently..

 [2002-08-01 09:52 UTC] bstineman at mn dot rr dot com
That tar is an empty file. What's the correct snapshot and we'll get it loaded yet today.
 [2002-08-01 09:57 UTC]
Thats being fixed.  Try again later today.
 [2002-08-02 09:43 UTC] yyoon at turbinegames dot com
Any word on when the latest snapshots will be up?
 [2002-09-09 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, 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".
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Mon Dec 04 14:01:28 2023 UTC