Project

General

Profile

Actions

Bug #7931

closed

pargs(1) still crashes on growing env

Added by Marcel Telka over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Start date:
2017-03-03
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:
External Bug:

Description

Fix for bug #6565 contains an OBOB.


Related issues

Related to illumos gate - Bug #6565: pargs crashes on growing envClosed2016-01-18

Actions
Actions #1

Updated by Marcel Telka over 6 years ago

  • Related to Bug #6565: pargs crashes on growing env added
Actions #2

Updated by Marcel Telka over 6 years ago

For the reproducer see #6565. pargs(1) cores with stacks like:

> ::stack
libc.so.1`_malloc_unlocked+0xcd(80)
libc.so.1`malloc+0x3b(80)
safe_zalloc+0x11()
extract_string+0x2d()
get_args+0x97()
main+0x5bc()
_start+0x6c()
> 
> ::stack
libc.so.1`realfree+0x8b(428710)
libc.so.1`_free_unlocked+0x84(423e00)
libc.so.1`free+0x3b(423e00)
libproc.so.1`file_info_free+0x172(419360, 423e00)
libproc.so.1`map_info_free+0x3c(419360, 41c070)
libproc.so.1`Preset_maps+0x9e(419360)
libproc.so.1`Pfree+0x11c(419360)
libproc.so.1`Prelease+0x170(419360, 0)
main+0x330()
_start+0x6c()
>
Actions #4

Updated by Marcel Telka over 6 years ago

  • Status changed from In Progress to Pending RTI
Actions #5

Updated by Electric Monk over 6 years ago

  • Status changed from Pending RTI to Closed
  • % Done changed from 0 to 100

git commit b0801aa3d090555ba5e601ac969e6bf11674cee3

commit  b0801aa3d090555ba5e601ac969e6bf11674cee3
Author: Marcel Telka <marcel@telka.sk>
Date:   2017-03-10T23:58:36.000Z

    7931 pargs(1) still crashes on growing env
    Reviewed by: Jason King <jason.brian.king@gmail.com>
    Reviewed by: Toomas Soome <tsoome@me.com>
    Reviewed by: Vitaliy Gusev <gusev.vitaliy@icloud.com>
    Reviewed by: Simon Klinkert <simon.klinkert@gmail.com>
    Approved by: Robert Mustacchi <rm@joyent.com>

Actions

Also available in: Atom PDF