NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
[Resolved] DBG 9.2.8 Segmentation fault


Joined: 31 May 2017
Posts: 57
Reply with quote
Hi,
could you please give me some hint to debug a segmentation fault that I've when I enable the dbg extension?

this is my php version:

[root@dev centos]# php -v
PHP 7.2.29 (cli) (built: Mar 17 2020 11:36:1Cool ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with DBG v9.2.8, (C) 2000,2018, by Dmitri Dmitrienko
with Zend OPcache v7.2.29, Copyright (c) 1999-2018, by Zend Technologies
with Xdebug v2.9.3, Copyright (c) 2002-2020, by Derick Rethans
[root@dev centos]#

I've tried without xdebug, but doesn't solve anything.

The php scripts are able to run, but some stops at a certain time with a segmentation fault.

This happens with Magento too:

-bash-4.2$ bin/magento module:status
.... normal output...
segmentation fault

I'm using dbg-9.2.8-Linux\x86_64

In my php.ini I've:

zend.ze1_compatibility_mode Off
zend_extension="/usr/lib64/php/modules/dbg-php-7.2.so"
[debugger]
debugger.enabled=on
debugger.profiler_enabled=on
debugger.hosts_allow=localhost 127.0.0.1 <some_ips> [::1]
debugger.hosts_deny=ALL
debugger.ports=7869, 10000/16

The problem happens in CLI. If I set debugger.enabled=off doesn't solve anything

Where can I start looking?
View user's profileFind all posts by blacktekSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
It' s a known issue with some scripts that use closures in certain way and running under php 7.x.
Fixed dbg-9.3 is currently available with 19.3 beta. It you want to give it a try, please contact support

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 31 May 2017
Posts: 57
Reply with quote
Hi Dmitri,
thank you. I'll wait the release.
View user's profileFind all posts by blacktekSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
BTW 19.3 is available for ordering and downloading

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 31 May 2017
Posts: 57
Reply with quote
It’s out of beta now?
View user's profileFind all posts by blacktekSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
Ordering beta -- what that would be?
Of course, it's not beta.
Web update is still not ready

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 31 May 2017
Posts: 57
Reply with quote
it sounded a bit strange the beta and out of beta in few hours Smile

I've installed the new dbg and now there is not segmentation fault anymore.

I've to thank you for showing the requested URL in the profiler Wink

tnx
View user's profileFind all posts by blacktekSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
We were almost ready to release new version. Just pushed a little bit to make it faster.
Glad the problem is resolved for you too.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
[Resolved] DBG 9.2.8 Segmentation fault
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic