Skip to content

node --inspect connecting with url in localhost:<port>/json gives malloc error with nightliesΒ #7418

@nojvek

Description

@nojvek
  • Version: v7.0.0-nightly20160621ecc48a154d (21st Jun)
  • Platform: Mac OS
  • Subsystem: 10.9.5

Starting node as
node --debug-brk --inspect=9999

Then navigating to http://localhost:9999/json
Gives

[
{
description: "node.js instance",
devtoolsFrontendUrl: "https://chrome-devtools-frontend.appspot.com/serve_file/@521e5b7e2b7cc66b4006a8a54cb9c4e57494a5ef/inspector.html?experiments=true&v8only=true&ws=localhost:9999/node",
faviconUrl: "https://nodejs.org/static/favicon.ico",
id: "8622",
title: "node",
type: "node",
webSocketDebuggerUrl: "ws://localhost:9999/node"
}
]

When connecting to devtoolsFrontendUrl: https://chrome-devtools-frontend.appspot.com/serve_file/@521e5b7e2b7cc66b4006a8a54cb9c4e57494a5ef/inspector.html

Debugger listening on port 9999.
To start debugging, open the following URL in Chrome:
    chrome-devtools://devtools/remote/serve_file/@521e5b7e2b7cc66b4006a8a54cb9c4e57494a5ef/inspector.html?experiments=true&v8only=true&ws=localhost:9999/node
node(8622,0x104801000) malloc: *** error for object 0x15: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
[1]    8622 abort      node --debug-brk --inspect=9999

/cc @ofrobots @pavelfeldman @paulirish

Metadata

Metadata

Assignees

No one assigned

    Labels

    confirmed-bugIssues with confirmed bugs.inspectorIssues and PRs related to the V8 inspector protocol

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions