Project

General

Profile

Actions

Bug #12286

open

Terminal gets SIGHUP in Global Zone after 'npm' command is run

Added by Michal Nowak over 1 year ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
kernel
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

An OpenIndiana user has problem with the npm -version in Global Zone. When the command finished, something gets SIGHUP and whole terminal gets terminated:

...
/1:    write(20, " 6 . 1 3 . 4\n", 7)            = 7
/1:    write(20, 0xFFDF9A00, 0)            = 0
/2:        Received signal #1, SIGHUP, in port_getn() [default]
/2:          siginfo: SIGHUP pid=4727 uid=2903
/4:        Received signal #25, SIGCONT, in lwp_park() [default]
/3:        Received signal #1, SIGHUP, in lwp_park() [default]
/1:        Received signal #24, SIGTSTP [default]
/2:    port_getn(10, 0xEED88EC0, 1024, 1, 0x00000000)    Err#4 EINTR
/3:    lwp_park(0x00000000, 0)                Err#4 EINTR

The user runs with very recent gate illumos-5801b0f01c.

This looks similar to a recent bug manifesting in local zone but the user has this one patched and this actually happens in the Global Zone.

I myself can't reproduce this.

truss attached.


Files

npm.truss.20200206T122017 (221 KB) npm.truss.20200206T122017 truss-ing of npm Michal Nowak, 2020-02-07 07:10 AM

Related issues

Related to illumos gate - Bug #12057: Writing part of the string to stderr makes zlogin exitClosed

Actions
Actions

Also available in: Atom PDF