This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 246938 - java.net.SocketException: Software caused connection abort: socket write error
Summary: java.net.SocketException: Software caused connection abort: socket write error
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-09 09:11 UTC by pchela.ilya
Modified: 2015-09-05 03:04 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 144008


Attachments
stacktrace (1.38 KB, text/plain)
2014-09-09 09:11 UTC, pchela.ilya
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pchela.ilya 2014-09-09 09:11:23 UTC
Build: NetBeans IDE 8.0 (Build 201403101706)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b17
OS: Windows 7

User Comments:
GUEST: Debugging a Drupal php site with xdebug atop MAMP;
I let it sit for a good while at a breakpoint, if that helps any..

GUEST: I was debugging my PHP 5.3 application using IE 8 on Win 7 RC (7100) build when a tiny red icon pops in status bar. I clicked it and it brought this 'Report Problem' dialog.

GUEST: during debug (xdebug)

pchela.ilya: xdebug

GUEST: Debugging in Firefox.
httpd.exe had just crashed.




Stacktrace: 
java.net.SocketException: Software caused connection abort: socket write error
   at java.net.SocketOutputStream.socketWrite0(SocketOutputStream.java:0)
   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:92)
   at org.netbeans.modules.php.dbgp.DebugSession.sendSynchronCommand(DebugSession.java:238)
   at org.netbeans.modules.php.dbgp.packets.InitMessage.setMaxDataSize(InitMessage.java:99)
Comment 1 pchela.ilya 2014-09-09 09:11:26 UTC
Created attachment 149079 [details]
stacktrace
Comment 2 Tomas Mysik 2015-09-04 07:29:25 UTC
Seems to be caused by broken Xdebug connection. Improved error reporting.

Thanks.

http://hg.netbeans.org/web-main/rev/5862d09b3630
Comment 3 Quality Engineering 2015-09-05 03:04:22 UTC
Integrated into 'main-silver', will be available in build *201509050002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/5862d09b3630
User: Tomas Mysik <tmysik@netbeans.org>
Log: #246938 - java.net.SocketException: Software caused connection abort: socket write error

All the cases seem to be caused by Xdebug (no/lost/broken connection).