You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Patrick Mueller (JIRA)" <ji...@apache.org> on 2013/02/22 14:46:13 UTC
[jira] [Commented] (CB-2524) [weinre] [windows] server crash when
target refreshes
[ https://issues.apache.org/jira/browse/CB-2524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13584266#comment-13584266 ]
Patrick Mueller commented on CB-2524:
-------------------------------------
Guessing that we can just wrap one of the lowest levels shown in the stack with an try/catch, and be done with it. Log the errors when they occur. A little worried that we may leak something by doing this, but I guess we'll find out!
> [weinre] [windows] server crash when target refreshes
> -----------------------------------------------------
>
> Key: CB-2524
> URL: https://issues.apache.org/jira/browse/CB-2524
> Project: Apache Cordova
> Issue Type: Bug
> Components: weinre
> Environment: Windows 7 64-bit
> Reporter: Patrick Mueller
> Assignee: Patrick Mueller
>
> [from the google group|https://groups.google.com/d/topic/weinre/0JV0fzQDgks/discussion]:
> When I refresh the page in my mobile client node crashes with the following output:
> {noformat}
> 2013-02-22T12:41:19.235Z weinre: --------------------------------------------------
> 2013-02-22T12:41:19.235Z weinre: POST / [request]
> 2013-02-22T12:41:19.237Z weinre: {"id":"anonymous"}
> 2013-02-22T12:41:19.240Z weinre: --------------------------------------------------
> 2013-02-22T12:41:19.242Z weinre: POST / 200 [response]
> 2013-02-22T12:41:19.243Z weinre: {"channel":"t-3","id":"anonymous"}
> 2013-02-22T12:41:19.268Z weinre: --------------------------------------------------
> 2013-02-22T12:41:19.270Z weinre: POST /t-3 [request]
> 2013-02-22T12:41:19.271Z weinre: InspectorNotify.domContentEventFired([0.005999999999999978,null])
> 2013-02-22T12:41:19.272Z weinre: InspectorNotify.loadEventFired([0.012999999999999984,null])
> 2013-02-22T12:41:19.276Z weinre: WeinreExtraTargetEvents.databaseOpened([{"id":1,"domain":"http://localhost:8080","name":"clicks_db","version":"1.0"},null])
> 2013-02-22T12:41:19.277Z weinre: WeinreTargetCommands.registerTarget(["http://localhost:8080/demo/weinre-demo-strict.html","t-3::1"])
> 2013-02-22T12:41:19.282Z weinre: --------------------------------------------------
> 2013-02-22T12:41:19.287Z weinre: GET /c-1 200 [response]
> 2013-02-22T12:41:19.288Z weinre: WeinreClientEvents.targetRegistered([{"channel":"t-3","id":"anonymous","hostName":"127.0.0.1","remoteAddress":"127.0.0.1","url":"http://localhost:8080/demo/weinre-demo-strict.html"}])
> 2013-02-22T12:41:19.291Z weinre: --------------------------------------------------
> 2013-02-22T12:41:19.292Z weinre: GET /t-3 200 [response]
> 2013-02-22T12:41:19.294Z weinre: WeinreTargetEvents.sendCallback(["t-3::1",{"channel":"t-3","id":"anonymous","hostName":"127.0.0.1","remoteAddress":"127.0.0.1","url":"http://localhost:8080/demo/weinre-demo-strict.html"}])
> 2013-02-22T12:41:19.296Z weinre: --------------------------------------------------
> 2013-02-22T12:41:19.298Z weinre: POST /c-1 [request]
> 2013-02-22T12:41:19.299Z weinre: WeinreClientCommands.connectTarget(["c-1","t-3",null])
> events.js:71
> throw arguments[1]; // Unhandled 'error' event
> ^
> ---------------------------------------------------------
> error: Error: socket hang up
> ---------------------------------------------------------
> stack:
> http.js:1360 - createHangUpError()
> http.js:507 - OutgoingMessage._writeRaw()
> http.js:476 - OutgoingMessage._send()
> http.js:749 - OutgoingMessage.write()
> http.js:882 - OutgoingMessage.end()
> response.js:108 - res.send()
> dumpingHandler.coffee:34 - dumpResponse()
> dumpingHandler.coffee:12 - response.send()
> HttpChannelHandler.coffee:91 - handleGet()
> MessageQueue.coffee:78 - MessageQueue._updated()
> C:\
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira