View Issue Details

IDProjectCategoryView StatusLast Update
0001574XdebugInstallationpublic2018-10-20 00:39
ReporterhesiodauAssigned Toderick 
PrioritynormalSeveritymajorReproducibilityhave not tried
Status resolvedResolutionunable to reproduce 
PlatformOSUbuntuOS Version18
Product Version2.6.1 
Target VersionFixed in Version 
Summary0001574: Xdebug crashes on install w/ PHP 7.2 & Ubuntu 18
DescriptionXdebug crashes on install via pecl with a segmentation fault.

Steps To Reproduce>pecl install xdebug


Build process completed successfully
Installing '/usr/lib/php/20170718/'
Segmentation fault

Additional InformationAlso fails with Illegal instruction sometimes.
TagsNo tags attached.
Operating SystemUbuntu 18
PHP Version7.2.0-7.2.4



2018-10-20 00:39

administrator   ~0004708

I have never been able to reproduce this, although this has popped up maybe 5 times over the last 10 years. What I suspect is that some Linux distributions modify PHP's extension loading mechanism, but I don't know how. What seems to happen is that upon writing the newly compiled extension file the one in memory gets replaced too. That's not something that ought to happen, as Linux should hold a handle to any binary that is loaded into memory, and not just start using the newly written one.

If you can provide me with a reproducible set-up, I'm happy to have a look, although I doubt I can do anything about it. For now, a work around would be to run PECL with:

php -n `which pecl` install xdebug

I'm going to close this as "unable to reproduce", but feel free to reopen this if you can provide me with a set-up that I can access, and a set of instructions that you can reproduce this problem with.

Issue History

Date Modified Username Field Change
2018-08-24 04:19 hesiodau New Issue
2018-10-20 00:39 derick Note Added: 0004708
2018-10-20 00:39 derick Status new => resolved
2018-10-20 00:39 derick Resolution open => unable to reproduce
2018-10-20 00:39 derick Assigned To => derick