Actions
Feature #3670
closedadd visibility into agent LWP's spymaster
Start date:
2013-04-02
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
Description
From the Joyent bug report:
Based on HVM-771 and the other dumps that we have located with the agent LWP having induced a seg fault, presumably because it went rogue (see OS-2084). We need in situ and postmortem observability into the agent LWP's spymaster.
Related issues
Updated by Bryan Cantrill over 9 years ago
Here's the output from pflags of a core that died with the agent LWP:
# pflags core core 'core' of 28244: bash data model = _ILP32 flags = RLC|MSACCT|MSFORK /1: flags = STOPPED read(0x0,0x80472af,0x1) why = PR_SUSPENDED /2: flags = DETACH|AGENT sigmask = 0xfffffeff,0xffffffff,0x000000ff cursig = SIGSEGV spymaster = pid 28261, "./pbad64 28244" at 2013-04-01:13.50.30
And here's an elfdump of the same core:
# elfdump -n core [ ... ] entry [19] namesz: 0x5 descsz: 0x150 type: [ NT_SPYMASTER ] name: CORE\\0 desc: (psinfo_t) pr_flag: [ SMSACCT ] pr_nlwp: 1 pr_pid: 28261 pr_ppid: 28250 pr_pgid: 28261 pr_sid: 28250 pr_uid: 0 pr_euid: 0 pr_gid: 0 pr_egid: 0 pr_addr: 0x00000000 pr_size: 0 pr_rssize: 0 pr_ttydev: 6 pr_pctcpu: 0.0% pr_pctmem: 0.1% pr_start: tv_sec: 1364824230 tv_nsec: 486597268 pr_time: tv_sec: 1364824230 tv_nsec: 489772091 pr_ctime: tv_sec: 0 tv_nsec: 0 pr_fname: pbad64 pr_psargs: ./pbad64 28244 pr_wstat: 0 pr_argc: 2 pr_argv: 0x00000000 pr_envp: 0x00000000 pr_dmodel: [ PR_MODEL_LP64 ] pr_taskid: 1152 pr_projid: 1 pr_nzomb: 0 pr_poolid: 0 pr_zoneid: 0 pr_contract: 1343 pr_lwp: pr_flag: 0 pr_lwpid: 1 pr_addr: 0x00000000 pr_wchan: 0 pr_stype: [ SOBJ_NONE ] pr_state: 6 pr_sname: O pr_nice: 20 pr_syscall: [ write ] pr_oldpri: 40 pr_cpu: 0 pr_pri: 59 pr_pctcpu: 0.0% pr_start: tv_sec: 1364824230 tv_nsec: 0 pr_time: tv_sec: 0 tv_nsec: 0 pr_clname: FSS pr_name: pr_onpro: 0 pr_bindpro: -1 pr_bindpset: [ PS_NONE ] pr_lgrp: 0
Updated by Robert Mustacchi over 9 years ago
- Status changed from New to Resolved
- % Done changed from 90 to 100
Resolved in f971a3462face662ae8ef220a18a98354d625d54.
Updated by Robert Mustacchi over 4 years ago
- Related to Bug #9055: panic in prgetattr added
Actions