NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
got timeout error


Joined: 19 Aug 2005
Posts: 2
Reply with quote
Hi

I get a timeout error in dbg-cli in FreeBSD. This is not a firewall's fault, since the connection should be to localhost. I tried a tcpdump but it shows NO connection attempts. A telnet connection to the client port works. I installed php5 and dbg from the freebsd ports collection. The extension seems to be enabled (from phpinfo()), but still no connection.

Could it be a version problem, because my php version is 5.0.4 and dbg version is 2.11.30 (tried 2.11.32 too)? If I downgrade php to 5.0.3 will it work?

Thanks
View user's profileFind all posts by vic_semionovSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
Please you compile dbg-cli 2.11.32 yourself with debug logs enabled, try to start the debugger and submit the resulted logs there.
TIA.
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 19 Aug 2005
Posts: 2
Reply with quote
Sure, here:
Code:

victor@neon:~/tmp/dbg$ bin/dbg-cli
ListenerBase::ListenerBase
DBG php debugger, version 2.11.32, Copyright 2001, 2005, Dmitri Dmitrienko, www.nusphere.com
[DBG] parse_args(argc=1, argv=(null))
dbg>file /home/victor/public_html/dms/index.php
Reading symbols from /home/victor/public_html/dms/index.php...done.
dbg>set mode off
[DBG] set mode->0 (off)dbg>
dbg>run
ListenerBase::startsession
ThreadBase::ThreadBase
dbh_create_listen_socket(, 10001)
socket=3
open_dbg_session
open_cgi_session
olddir=/usr/home/victor/tmp/dbg
path=/usr/local/bin
open_cgi_session -> pid=2380 OK
ThreadBase::close()

Program exited.
Session start timeout has expired.
Program is not being run.
dbg>q
ListenerBase::~ListenerBase
ListenerBase::stop
ListenerBase::stopJIT
stopping clients
victor@neon:~/tmp/dbg$


At the same time:
Code:

victor@neon:~$ netstat -ap tcp
Active Internet connections (including servers)
Proto Recv-Q Send-Q  Local Address          Foreign Address        (state)
tcp4       0      0  *.10001                *.*                    LISTEN

Code:

root@neon:~# tcpdump -f -i lo0
<empty>


I have no firewall running at this moment. phpinfo() shows:
Code:

dbg
DBG php debugger, version 2.11.32, Copyright 2001, 2005, Dmitri Dmitrienko, www.nusphere.com
   
Version   2.11.32
  Linked   as a shared library.
  Profiler   compiled, enabled
   
Directive                                      Local Value        Master Value
debugger.enable_session_cookie     On                      On
debugger.enabled                             On                      On
debugger.fail_silently                        On                      On
debugger.ignore_nops                      Off                      Off
debugger.JIT_enabled                       Off                      Off
debugger.JIT_host                       clienthost             clienthost
debugger.JIT_level                             3                         3
debugger.JIT_port                           7869                   7869
debugger.profiler_enabled                On                       On
debugger.session_nocache               On                       On
debugger.timeout_seconds              300                     300
View user's profileFind all posts by vic_semionovSend private message
got timeout error
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