NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
ereallstaff@gmail.com
Joined: 08 May 2012 Posts: 1
|
Posted: Tue May 08, 2012 3:30 pm Post subject: Socket exception continous problem with xDebug |
|
|
My system
PHP Version 5.4.0-1build1~ppa1~oneiric
Xdebug v2.2.0rc1, Copyright (c) 2002-2012, by Derick Rethans
Apache/2.2.20 (Ubuntu)
When I debug a Joomla up, coming near to the error that I wish to spot on, debugger breaks and gives me Socket Exception problem, with follownig stack trace.
Please help me, I am going crazy.
I was not able to downgrade xdebug, and I have tried on my machine with - another browser,
- another Java build,
- a new userdir for netbeans ( deleting completely the older one ,
- recreating the project putting also the netbeans directory under another path ( this because I needed to put files under www-data properties)
INFO [org.netbeans.modules.php.dbgp.DebugSession]
java.net.SocketException: Pipe interrotta
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)
at java.net.SocketOutputStream.write(SocketOutputStream.java:141)
at org.netbeans.modules.php.dbgp.packets.DbgpCommand.send(DbgpCommand.java:90)
at org.netbeans.modules.php.dbgp.DebugSession.sendCommands(DebugSession.java:211)
[catch] at org.netbeans.modules.php.dbgp.DebugSession.run(DebugSession.java:143)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679) |
|
| Back to top |
|
 |
Geoff Hoffman Posted via mailing list.
|
Posted: Tue May 08, 2012 9:58 pm Post subject: Socket exception continous problem with xDebug |
|
|
On Tue, May 8, 2012 at 8:31 AM, address-removed ([email]address-removed[/email]) <address-removed ([email]address-removed[/email])> wrote:
| Quote: | My system
PHP Version 5.4.0-1build1~ppa1~oneiric
Xdebug v2.2.0rc1, Copyright (c) 2002-2012, by Derick Rethans
Apache/2.2.20 (Ubuntu)
When I debug a Joomla up, coming near to the error that I wish to spot on, debugger breaks and gives me Socket Exception problem, with follownig stack trace.
Please help me, I am going crazy.
I was not able to downgrade xdebug, and I have tried on my machine with - another browser,
- another Java build,
- a new userdir for netbeans ( deleting completely the older one |
|
| Back to top |
|
 |
dtison
Joined: 09 May 2012 Posts: 1
|
Posted: Wed May 09, 2012 4:20 pm Post subject: Re: Socket exception continous problem with xDebug |
|
|
Getting the same results with 7.1.2 PHP debugger on OSX.
Debugger starts out fine, then, navigating through a few different files and classes, consistently produces this error. In my case it was when calling mysql_connect().
Socket exception error, and some instructions about disabling watches.
Did not have any debug watches active.
Netbeans 7.1.2
OSX 10.6.8
PHP-5.4.2
xdebug-2.2.0 released 8 May
Experimentation with this problem has shown if you
| ereallstaff@gmail.com wrote: | My system
PHP Version 5.4.0-1build1~ppa1~oneiric
Xdebug v2.2.0rc1, Copyright (c) 2002-2012, by Derick Rethans
Apache/2.2.20 (Ubuntu)
When I debug a Joomla up, coming near to the error that I wish to spot on, debugger breaks and gives me Socket Exception problem, with follownig stack trace.
Please help me, I am going crazy.
I was not able to downgrade xdebug, and I have tried on my machine with - another browser,
- another Java build,
- a new userdir for netbeans ( deleting completely the older one ,
- recreating the project putting also the netbeans directory under another path ( this because I needed to put files under www-data properties)
INFO [org.netbeans.modules.php.dbgp.DebugSession]
java.net.SocketException: Pipe interrotta
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)
at java.net.SocketOutputStream.write(SocketOutputStream.java:141)
at org.netbeans.modules.php.dbgp.packets.DbgpCommand.send(DbgpCommand.java:90)
at org.netbeans.modules.php.dbgp.DebugSession.sendCommands(DebugSession.java:211)
[catch] at org.netbeans.modules.php.dbgp.DebugSession.run(DebugSession.java:143)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679) |
|
|
| Back to top |
|
 |
paolosca
Joined: 09 Sep 2010 Posts: 384
|
Posted: Wed May 09, 2012 6:04 pm Post subject: Socket exception continous problem with xDebug |
|
|
Hi,
A socket exception (broken pipe) can be caused by xdebug crashing while
sending data.
Try to find some hint in the Apache httpd logs, perhaps increasing
increase log verbosity first.
Not all xdebug versions work fine with all php versions, the best bet is
always to install both from the same repository.
There are xdebug options that may cause instability, try to comment all
non-necessary options in your xdebug.ini.
Also, try to disable the "Watches and Balloons Evaluation" in
Tools->Options->PHP->Debugging.
Regards,
Paolo.
On 05/08/2012 11:31 PM, address-removed wrote:
| Quote: | java.net.SocketException: Pipe interrotta
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)
at java.net.SocketOutputStream.write(SocketOutputStream.java:141)
at org.netbeans.modules.php.dbgp.packets.DbgpCommand.send(DbgpCommand.java:90)
at org.netbeans.modules.php.dbgp.DebugSession.sendCommands(DebugSession.java:211) |
|
|
| Back to top |
|
 |
prembo
Joined: 22 Jul 2009 Posts: 6 Location: Melbourne, Australia
|
Posted: Mon Jan 14, 2013 4:52 pm Post subject: |
|
|
Hi,
See this other post for a solution.
Hope it helps.
Prembo. |
|
| Back to top |
|
 |
|
|
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 You can attach files in this forum You can download files in this forum
|
|
|