View Issue Details

IDProjectCategoryView StatusLast Update
0001622XdebugUsage problems (Wrong Results)public2019-02-04 10:16
ReportercytopiaAssigned Toderick 
PrioritynormalSeveritycrashReproducibilityalways
Status assignedResolutionopen 
PlatformDockerOSDebianOS Version
Product Version2.7.0rc1 
Target VersionFixed in Version 
Summary0001622: PHP-FPM crashes on MongoDB login in Adminer 4.7.1
DescriptionWith Xdebug (2.7.0rc1) enabled in PHP 7.3, the login to MongoDB via Adminer 4.7.1 makes PHP-FPM crash:

[03-Feb-2019 13:21:57] NOTICE: [pool www] child 2892 started
[03-Feb-2019 13:22:18] WARNING: [pool www] child 2892 exited on signal 11 (SIGSEGV) after 20.930887 seconds from start
Steps To Reproduce1. Setup PHP-FPM 7.3 (latest) with MongoDB extension and Xdebug 2.7.0rc1 and connect to Nginx or Apache
2. Download Adminer 4.7.1
3. Start any recent version of MongoDB (or dockerized) and try to login via PHP-FPM into Adminer 4.7.1 into MongoDB (without username/password)
TagsNo tags attached.
Operating SystemDocker (Debian stable)
PHP Version7.3.0-7.3.1

Activities

derick

2019-02-03 18:58

administrator   ~0004869

Hi!

I would really need a reproducing script, and certainly need more information. Can you please follow the instructions at https://xdebug.org/support.php#crash ?

Making an example that crashes on the command line is the most important, and your email has "CLI" in the name, hopefully that's easy enough for you ;-)

Let me know if you have questions!

cheers,
Derick

cytopia

2019-02-04 10:16

reporter   ~0004870

I've managed to do something on the cli, but it does not segfault, it only fatals out. I am using this version of Adminer: https://github.com/vrana/adminer/releases/download/v4.7.1/adminer-4.7.1-en.php


The hostname of my MongoDB database is 'mongo'. I then use the following command to retrieve the fatal:


php -B "\$_GET = array('mongo' => 'mongo', 'username' => '');" -F adminer-4.7.1-en.php


I can however point you to a reproducible Docker environment to catch the segfault via http/https if you need.

Issue History

Date Modified Username Field Change
2019-02-03 18:44 cytopia New Issue
2019-02-03 18:58 derick Note Added: 0004869
2019-02-03 18:58 derick Assigned To => derick
2019-02-03 18:58 derick Status new => feedback
2019-02-04 10:16 cytopia Note Added: 0004870
2019-02-04 10:16 cytopia Status feedback => assigned