View Issue Details

IDProjectCategoryView StatusLast Update
0001127XdebugUsage problems (Wrong Results)public2015-03-21 13:35
ReporterguillaumekAssigned Toderick 
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionduplicate 
PlatformlinuxOScentos OS Version6.5
Product Version2.3.0 
Target VersionFixed in Version2.3.2 
Summary0001127: glibc detected php realloc() invalid next size
DescriptionHello there,

we are running into problem using phpunit with code coverage.

i tried phpunit version 4.3.5 / 4.5.0
php version 5.5.22
i tried xdebug version 2.3.0 / 2.3.1

Any help would be really appreciated
Best Guillaume.

======= Backtrace: =========
/lib64/libc.so.6[0x342f475e76]
/lib64/libc.so.6[0x342f47b937]
/lib64/libc.so.6(realloc+0xe5)[0x342f47baf5]
/usr/lib64/php/modules/xdebug.so(+0x11395)[0x7f1a89b3f395]
/usr/lib64/php/modules/xdebug.so(xdebug_path_info_add_path_for_level+0x23)[0x7f1a89b3f473]
/usr/lib64/php/modules/xdebug.so(xdebug_code_coverage_start_of_function+0x35)[0x7f1a89b42365]
/usr/lib64/php/modules/xdebug.so(xdebug_execute_ex+0x825)[0x7f1a89b3cc35]
php[0x63e090]
php(execute_ex+0x38)[0x62f478]
php(dtrace_execute_ex+0x8e)[0x5ab7de]
/usr/lib64/php/modules/xdebug.so(xdebug_execute_ex+0x383)[0x7f1a89b3c793]
php(zend_call_function+0xa5c)[0x5ae80c]
php(zend_call_method+0x1c7)[0x5d3a27]
php[0x4c73c6]
php(dtrace_execute_internal+0x39)[0x5ab6a9]
/usr/lib64/php/modules/xdebug.so(xdebug_execute_internal+0x165)[0x7f1a89b3c035]
php(zend_call_function+0xc85)[0x5aea35]
php(zend_lookup_class_ex+0x255)[0x5aed15]
php(zend_fetch_class_by_name+0x2f)[0x5af17f]
php[0x5fe333]
php(execute_ex+0x38)[0x62f478]
php(dtrace_execute_ex+0x8e)[0x5ab7de]
/usr/lib64/php/modules/xdebug.so(xdebug_execute_ex+0x383)[0x7f1a89b3c793]
php[0x62e100]
php(execute_ex+0x38)[0x62f478]
php(dtrace_execute_ex+0x8e)[0x5ab7de]
/usr/lib64/php/modules/xdebug.so(xdebug_execute_ex+0x383)[0x7f1a89b3c793]
php[0x63e090]
php(execute_ex+0x38)[0x62f478]
php(dtrace_execute_ex+0x8e)[0x5ab7de]
/usr/lib64/php/modules/xdebug.so(xdebug_execute_ex+0x383)[0x7f1a89b3c793]
php(zend_call_function+0xa5c)[0x5ae80c]
php(zend_call_method+0x1c7)[0x5d3a27]
php[0x4c73c6]
php(dtrace_execute_internal+0x39)[0x5ab6a9]
/usr/lib64/php/modules/xdebug.so(xdebug_execute_internal+0x165)[0x7f1a89b3c035]
php(zend_call_function+0xc85)[0x5aea35]
php(zend_lookup_class_ex+0x255)[0x5aed15]
php(zend_fetch_class_by_name+0x2f)[0x5af17f]
php[0x5fe333]
php(execute_ex+0x38)[0x62f478]
php(dtrace_execute_ex+0x8e)[0x5ab7de]
/usr/lib64/php/modules/xdebug.so(xdebug_execute_ex+0x383)[0x7f1a89b3c793]
php[0x62e100]
php(execute_ex+0x38)[0x62f478]
php(dtrace_execute_ex+0x8e)[0x5ab7de]
/usr/lib64/php/modules/xdebug.so(xdebug_execute_ex+0x383)[0x7f1a89b3c793]
php[0x63e090]
php(execute_ex+0x38)[0x62f478]
php(dtrace_execute_ex+0x8e)[0x5ab7de]
/usr/lib64/php/modules/xdebug.so(xdebug_execute_ex+0x383)[0x7f1a89b3c793]
php(zend_call_function+0xa5c)[0x5ae80c]
php(zend_call_method+0x1c7)[0x5d3a27]
php[0x4c73c6]
php(dtrace_execute_internal+0x39)[0x5ab6a9]
/usr/lib64/php/modules/xdebug.so(xdebug_execute_internal+0x165)[0x7f1a89b3c035]
php(zend_call_function+0xc85)[0x5aea35]
php(zend_lookup_class_ex+0x255)[0x5aed15]
php(zend_fetch_class_by_name+0x2f)[0x5af17f]
php[0x5f9d9b]
php(execute_ex+0x38)[0x62f478]
php(dtrace_execute_ex+0x8e)[0x5ab7de]
/usr/lib64/php/modules/xdebug.so(xdebug_execute_ex+0x383)[0x7f1a89b3c793]
======= Memory map: ========
00400000-0071d000 r-xp 00000000 fd:00 2234810 /usr/bin/php
0091d000-009a8000 rw-p 0031d000 fd:00 2234810 /usr/bin/php
009a8000-009c3000 rw-p 00000000 00:00 0
00ba7000-00bb1000 rw-p 003a7000 fd:00 2234810 /usr/bin/php
01b27000-03bbc000 rw-p 00000000 00:00 0 [heap]
3271200000-3271222000 r-xp 00000000 fd:00 1441844 /lib64/libncurses.so.5.7
3271222000-3271421000 ---p 00022000 fd:00 1441844 /lib64/libncurses.so.5.7
3271421000-3271422000 rw-p 00021000 fd:00 1441844 /lib64/libncurses.so.5.7
342ec00000-342ec20000 r-xp 00000000 fd:00 1442485 /lib64/ld-2.12.so
342ee1f000-342ee20000 r--p 0001f000 fd:00 1442485 /lib64/ld-2.12.so
342ee20000-342ee21000 rw-p 00020000 fd:00 1442485 /lib64/ld-2.12.so
342ee21000-342ee22000 rw-p 00000000 00:00 0
342f000000-342f015000 r-xp 00000000 fd:00 1442493 /lib64/libz.so.1.2.3
342f015000-342f214000 ---p 00015000 fd:00 1442493 /lib64/libz.so.1.2.3
342f214000-342f215000 r--p 00014000 fd:00 1442493 /lib64/libz.so.1.2.3
342f215000-342f216000 rw-p 00015000 fd:00 1442493 /lib64/libz.so.1.2.3
342f400000-342f58a000 r-xp 00000000 fd:00 1442486 /lib64/libc-2.12.so
342f58a000-342f78a000 ---p 0018a000 fd:00 1442486 /lib64/libc-2.12.so
342f78a000-342f78e000 r--p 0018a000 fd:00 1442486 /lib64/libc-2.12.so
342f78e000-342f78f000 rw-p 0018e000 fd:00 1442486 /lib64/libc-2.12.so
342f78f000-342f794000 rw-p 00000000 00:00 0
342f800000-342f817000 r-xp 00000000 fd:00 1442496 /lib64/libpthread-2.12.so
342f817000-342fa17000 ---p 00017000 fd:00 1442496 /lib64/libpthread-2.12.so
342fa17000-342fa18000 r--p 00017000 fd:00 1442496 /lib64/libpthread-2.12.so
342fa18000-342fa19000 rw-p 00018000 fd:00 1442496 /lib64/libpthread-2.12.so
342fa19000-342fa1d000 rw-p 00000000 00:00 0
342fc00000-342fc02000 r-xp 00000000 fd:00 1442488 /lib64/libdl-2.12.so
342fc02000-342fe02000 ---p 00002000 fd:00 1442488 /lib64/libdl-2.12.so
342fe02000-342fe03000 r--p 00002000 fd:00 1442488 /lib64/libdl-2.12.so
342fe03000-342fe04000 rw-p 00003000 fd:00 1442488 /lib64/libdl-2.12.so
3430000000-3430007000 r-xp 00000000 fd:00 1442497 /lib64/librt-2.12.so
3430007000-3430206000 ---p 00007000 fd:00 1442497 /lib64/librt-2.12.so
3430206000-3430207000 r--p 00006000 fd:00 1442497 /lib64/librt-2.12.so
3430207000-3430208000 rw-p 00007000 fd:00 1442497 /lib64/librt-2.12.so
3430400000-3430483000 r-xp 00000000 fd:00 1442494 /lib64/libm-2.12.so
3430483000-3430682000 ---p 00083000 fd:00 1442494 /lib64/libm-2.12.so
3430682000-3430683000 r--p 00082000 fd:00 1442494 /lib64/libm-2.12.so
3430683000-3430684000 rw-p 00083000 fd:00 1442494 /lib64/libm-2.12.so
3430800000-343081d000 r-xp 00000000 fd:00 1442495 /lib64/libselinux.so.1
343081d000-3430a1c000 ---p 0001d000 fd:00 1442495 /lib64/libselinux.so.1
3430a1c000-3430a1d000 r--p 0001c000 fd:00 1442495 /lib64/libselinux.so.1
3430a1d000-3430a1e000 rw-p 0001d000 fd:00 1442495 /lib64/libselinux.so.1Aborted (core dumped)
TagsNo tags attached.
Operating System
PHP Version5.5.20-5.5.25

Activities

derick

2015-03-11 15:45

administrator   ~0003045

Could you please try the xdebug_2_3 branch from github first, and if that still errors out, let me know how I can reproduce this issue?

guillaumek

2015-03-11 15:55

reporter   ~0003046

ok will do thank you sir :)

guillaumek

2015-03-11 16:28

reporter   ~0003047

ok great news its all good with master version.
thanks your reactivity and work :)
Guillaume.

derick

2015-03-21 13:35

administrator   ~0003048

Okay - cool. Closing this one then.

Issue History

Date Modified Username Field Change
2015-03-11 15:40 guillaumek New Issue
2015-03-11 15:45 derick Note Added: 0003045
2015-03-11 15:45 derick Assigned To => derick
2015-03-11 15:45 derick Status new => feedback
2015-03-11 15:55 guillaumek Note Added: 0003046
2015-03-11 15:55 guillaumek Status feedback => assigned
2015-03-11 16:28 guillaumek Note Added: 0003047
2015-03-21 13:35 derick Note Added: 0003048
2015-03-21 13:35 derick Status assigned => resolved
2015-03-21 13:35 derick Fixed in Version => 2.3.2
2015-03-21 13:35 derick Resolution open => duplicate
2016-07-31 12:36 derick Category Usage problems => Usage problems (Crashes)
2016-07-31 12:38 derick Category Usage problems (Crashes) => Usage problems (Wrong Results)