Bug 1214111 - [abrt] php-cli: _zend_mm_realloc_int(): php-cgi killed by SIGSEGV
Summary: [abrt] php-cli: _zend_mm_realloc_int(): php-cgi killed by SIGSEGV
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: php-pecl-xdebug
Version: 21
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Remi Collet
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:0fc2288d953319a1e82dd67bd57...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-22 02:30 UTC by Ernie D
Modified: 2015-06-09 15:20 UTC (History)
5 users (show)

Fixed In Version: php-pecl-xdebug-2.3.2-3.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-09 15:08:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (79.25 KB, text/plain)
2015-04-22 02:30 UTC, Ernie D
no flags Details
File: cgroup (183 bytes, text/plain)
2015-04-22 02:30 UTC, Ernie D
no flags Details
File: core_backtrace (9.71 KB, text/plain)
2015-04-22 02:30 UTC, Ernie D
no flags Details
File: dso_list (7.36 KB, text/plain)
2015-04-22 02:30 UTC, Ernie D
no flags Details
File: environ (120 bytes, text/plain)
2015-04-22 02:30 UTC, Ernie D
no flags Details
File: exploitable (82 bytes, text/plain)
2015-04-22 02:30 UTC, Ernie D
no flags Details
File: limits (1.29 KB, text/plain)
2015-04-22 02:30 UTC, Ernie D
no flags Details
File: maps (21.88 KB, text/plain)
2015-04-22 02:30 UTC, Ernie D
no flags Details
File: open_fds (474 bytes, text/plain)
2015-04-22 02:30 UTC, Ernie D
no flags Details
File: proc_pid_status (801 bytes, text/plain)
2015-04-22 02:30 UTC, Ernie D
no flags Details
File: var_log_messages (158 bytes, text/plain)
2015-04-22 02:30 UTC, Ernie D
no flags Details

Description Ernie D 2015-04-22 02:30:10 UTC
Description of problem:
I was debugging with Eclipse-pdt - Luna.

while stepping through the code, it got hung up on
  $catalog_id = intval($_REQUEST['catalog_id']);

When I tried to step past that statement, it returned to it.

After stepping about three times, Eclipse gave me the message that it stopped debugging and then I saw the abrt message.

The code works with php5.4 on windows.

Version-Release number of selected component:
php-cli-5.6.7-1.fc21

Additional info:
reporter:       libreport-2.3.0
backtrace_rating: 4
cmdline:        /usr/bin/php-cgi
crash_function: _zend_mm_realloc_int
executable:     /usr/bin/php-cgi
kernel:         3.17.4-301.fc21.i686
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 _zend_mm_realloc_int at /usr/src/debug/php-5.6.7/Zend/zend_alloc.c:2155
 #1 _erealloc at /usr/src/debug/php-5.6.7/Zend/zend_alloc.c:2450
 #2 virtual_file_ex at /usr/src/debug/php-5.6.7/Zend/zend_virtual_cwd.c:1367
 #3 xdebug_path_to_url at /usr/src/debug/php-pecl-xdebug-2.3.2/NTS/usefulstuff.c:350
 #4 return_stackframe at /usr/src/debug/php-pecl-xdebug-2.3.2/NTS/xdebug_handler_dbgp.c:417
 #5 xdebug_dbgp_handle_stack_get at /usr/src/debug/php-pecl-xdebug-2.3.2/NTS/xdebug_handler_dbgp.c:1772
 #6 xdebug_dbgp_parse_option at /usr/src/debug/php-pecl-xdebug-2.3.2/NTS/xdebug_handler_dbgp.c:2078
 #7 xdebug_dbgp_cmdloop at /usr/src/debug/php-pecl-xdebug-2.3.2/NTS/xdebug_handler_dbgp.c:2127
 #8 xdebug_dbgp_breakpoint at /usr/src/debug/php-pecl-xdebug-2.3.2/NTS/xdebug_handler_dbgp.c:2398
 #9 xdebug_statement_call at /usr/src/debug/php-pecl-xdebug-2.3.2/NTS/xdebug.c:2110

Comment 1 Ernie D 2015-04-22 02:30:13 UTC
Created attachment 1017193 [details]
File: backtrace

Comment 2 Ernie D 2015-04-22 02:30:14 UTC
Created attachment 1017194 [details]
File: cgroup

Comment 3 Ernie D 2015-04-22 02:30:15 UTC
Created attachment 1017195 [details]
File: core_backtrace

Comment 4 Ernie D 2015-04-22 02:30:16 UTC
Created attachment 1017196 [details]
File: dso_list

Comment 5 Ernie D 2015-04-22 02:30:16 UTC
Created attachment 1017197 [details]
File: environ

Comment 6 Ernie D 2015-04-22 02:30:17 UTC
Created attachment 1017198 [details]
File: exploitable

Comment 7 Ernie D 2015-04-22 02:30:18 UTC
Created attachment 1017199 [details]
File: limits

Comment 8 Ernie D 2015-04-22 02:30:19 UTC
Created attachment 1017200 [details]
File: maps

Comment 9 Ernie D 2015-04-22 02:30:20 UTC
Created attachment 1017201 [details]
File: open_fds

Comment 10 Ernie D 2015-04-22 02:30:21 UTC
Created attachment 1017202 [details]
File: proc_pid_status

Comment 11 Ernie D 2015-04-22 02:30:22 UTC
Created attachment 1017203 [details]
File: var_log_messages

Comment 12 Remi Collet 2015-04-22 06:57:20 UTC
Reaffect to XDebug

Should be fixed by https://github.com/xdebug/xdebug/pull/172

Waiting for Derick feedback.

Comment 14 Ernie D 2015-04-22 16:28:14 UTC
It seems to be a nonrecurring situation. Although I might have told it to ignore further notices and don't know how to reset it for that problem.

But I also don't get a message from Eclipse stating that PHP stopped working.

I tried the test build, hoping that it would fix my original problem of Eclipse not stepping into the code, although with fc-21 it is actually stopping at a breakpoint, but just not displaying each statement that is processed.

Sorry I couldn't be more helpful

Ernie D

Comment 15 Fedora Update System 2015-05-27 11:38:51 UTC
php-pecl-xdebug-2.3.2-2.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/php-pecl-xdebug-2.3.2-2.fc22

Comment 16 Fedora Update System 2015-05-27 11:39:01 UTC
php-pecl-xdebug-2.3.2-2.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/php-pecl-xdebug-2.3.2-2.fc21

Comment 17 Fedora Update System 2015-05-28 12:04:42 UTC
Package php-pecl-xdebug-2.3.2-2.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing php-pecl-xdebug-2.3.2-2.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-9015/php-pecl-xdebug-2.3.2-2.fc22
then log in and leave karma (feedback).

Comment 18 Fedora Update System 2015-06-09 15:08:55 UTC
php-pecl-xdebug-2.3.2-3.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 19 Fedora Update System 2015-06-09 15:20:19 UTC
php-pecl-xdebug-2.3.2-3.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.