nodejs assert failure: nodejs: ../src/debug-agent.cc:154: void node::debugger::Agent::Stop(): Assertion `(err) == (0)' failed.

Bug #1544718 reported by Peter Bauer
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nodejs (Ubuntu)
New
Medium
Unassigned

Bug Description

running just a for next loop with a syntax error leads to nodejs assert failure on amd64 in Ubuntu 16.04
which leads to an automatic bug report in Ubuntu.
nodejs version is v4.2.6

peter@brix:~/js$ node hello_world.js
/home/peter/js/hello_world.js:2
for(var i = 0; i < 10000 i++) {
                         ^

SyntaxError: Unexpected identifier
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:374:25)
    at Object.Module._extensions..js (module.js:417:10)
    at Module.load (module.js:344:32)
    at Function.Module._load (module.js:301:12)
    at Function.Module.runMain (module.js:442:10)
    at startup (node.js:136:18)
    at node.js:966:3

ProblemType: Crash
DistroRelease: Ubuntu 16.04
Package: nodejs 4.2.6~dfsg-1ubuntu4
ProcVersionSignature: Ubuntu 4.4.0-2.16-generic 4.4.0
Uname: Linux 4.4.0-2-generic x86_64
ApportVersion: 2.19.4-0ubuntu2
Architecture: amd64
AssertionMessage: nodejs: ../src/debug-agent.cc:154: void node::debugger::Agent::Stop(): Assertion `(err) == (0)' failed.
CurrentDesktop: MATE
Date: Thu Feb 11 21:17:40 2016
ExecutablePath: /usr/bin/nodejs
InstallationDate: Installed on 2016-01-22 (20 days ago)
InstallationMedia: Ubuntu-MATE 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160103)
ProcCmdline: /usr/bin/nodejs --debug-brk=5858 /home/username/js/hello_world.js
Signal: 6
SourcePackage: nodejs
StacktraceTop:
 __assert_fail_base (fmt=0x7fce0f1defa8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0xbeed04 "(err) == (0)", file=file@entry=0xbeecee "../src/debug-agent.cc", line=line@entry=154, function=function@entry=0xbeeee0 "void node::debugger::Agent::Stop()") at assert.c:92
 __GI___assert_fail (assertion=0xbeed04 "(err) == (0)", file=0xbeecee "../src/debug-agent.cc", line=154, function=0xbeeee0 "void node::debugger::Agent::Stop()") at assert.c:101
 ?? ()
 node::debugger::Agent::~Agent() ()
 node::Start(int, char**) ()
Title: nodejs assert failure: nodejs: ../src/debug-agent.cc:154: void node::debugger::Agent::Stop(): Assertion `(err) == (0)' failed.
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

Revision history for this message
Peter Bauer (peba) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 __assert_fail_base (fmt=0x7fce0f1defa8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0xbeed04 "(err) == (0)", file=file@entry=0xbeecee "../src/debug-agent.cc", line=line@entry=154, function=function@entry=0xbeeee0 <node::debugger::Agent::Stop()::__PRETTY_FUNCTION__> "void node::debugger::Agent::Stop()") at assert.c:92
 __GI___assert_fail (assertion=0xbeed04 "(err) == (0)", file=0xbeecee "../src/debug-agent.cc", line=154, function=0xbeeee0 <node::debugger::Agent::Stop()::__PRETTY_FUNCTION__> "void node::debugger::Agent::Stop()") at assert.c:101
 node::debugger::Agent::Stop() [clone .part.10] ()
 node::debugger::Agent::~Agent() ()
 node::Start(int, char**) ()

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceSource.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in nodejs (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Steve Beattie (sbeattie)
information type: Private → Public
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.