View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001162 | Xdebug | Installation | public | 2015-06-17 12:31 | 2017-01-03 18:44 |
Reporter | Rukien | Assigned To | derick | ||
Priority | normal | Severity | crash | Reproducibility | unable to reproduce |
Status | resolved | Resolution | unable to reproduce | ||
Platform | Windows | OS | Windows | OS Version | Server 2008 R2 |
Product Version | 2.3.2 | ||||
Summary | 0001162: php5ts.dll crashes with xdebug enabled | ||||
Description | Hello, I'm facing a strange issue. I configured a web server up-to-date with Apache 5.6.24, MySQL5.6.24, PHP 5.6.10 on Windows Server 2008 R2 Standard. I've copied two PHP apps from my old server to the newest which worked like a charm, but the third makes PHP crash. As PHP is loaded as an Apache modules, it also make apache restart. Windows Event log says that php5ts.dll has failed (see additionnal informations). I tried to unable some PHP extensions, but it has no effect, until I disabled xdebug. I Downgraded xdebug to 2.2.7 and then 2.2.5, but it didn't fixed it. If I can help by giving more infos, don't hesitate ! | ||||
Steps To Reproduce | I cannot give you steps : | ||||
Additional Information | Server config : Xdebug 2.3.2 5.6 VC11 32 bits apache error log : Windows event log : | ||||
Tags | No tags attached. | ||||
Operating System | Windows Server 2008 R2 | ||||
PHP Version | 5.6.5-5.6.9 | ||||
|
Can you try reducing the test case? For example, let's say it crashes in index.php. If you make index.php start with the following, does it still crash? <?php echo 'hi there'; ?> If this doesn't crash, how low can you move the die; before it does crash? If you can remove a bunch of code from possibly being the problem, you might be able to narrow it down to a small chunk of code (like just one file you include) that causes it. This might be something you could upload, so other people can reproduce it and possibly fix it. Unfortunately, just knowing that it can crash when pointed at certain PHP code probably won't lead to a fix very directly or soon. It's sorta like knowing there's a typo somewhere in a bookcase full of books. Sounds pretty believable (there's likely more than just one, in fact), but it's hard to find without more info than that. -[Unknown] |
|
Hi, Here's an example of "buggy code". I isolated it by using die() calls on the source code. It's extracted from a function : $res = database::$db->fetch_result($stmt, 'ROW'); echo '<h2>get_Acces Test 2 post query</h2>'; if($res[0][0] > -1) { It seems that the function works properly but its the return keyword seems to fail : when I try to get the result of this function, it crashes. Same error as above. I've upgraded xdebug in 2.3.3, same error. It is not the first function called in the script, the other ones are running properly. If I find another case like this one where it crash, I'll report it. |
|
Can you still reproduce this with PHP 5.6.28, and Xdebug 2.5.0RC1? Or is this no longer an issue for you? |
|
I could not reproduce this, as there was no reproducible case, and no additional information was presented. I am therefore closing this report. |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-06-17 12:31 | Rukien | New Issue | |
2015-06-25 03:19 | unknownbrackets | Note Added: 0003129 | |
2015-07-07 12:36 | Rukien | Note Added: 0003147 | |
2016-12-03 13:19 | derick | Note Added: 0003880 | |
2016-12-03 13:19 | derick | Assigned To | => derick |
2016-12-03 13:19 | derick | Status | new => feedback |
2017-01-03 18:44 | derick | Note Added: 0004117 | |
2017-01-03 18:44 | derick | Status | feedback => resolved |
2017-01-03 18:44 | derick | Resolution | open => unable to reproduce |