Project

General

Profile

Bug #10044

/usr/ucb/tr does a segmentation fault / core dump

Added by Hubert Garavel almost 2 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
-
Start date:
2018-12-06
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

On a freshly installed machine (SunOS 5.11 illumos-7d1eae8c55 i86pc i386 i86pc)

\# pkg install compatibility/ucb
\# /usr/ucb/tr
Segmentation Fault (core dumped)
\# truss /usr/ucb/tr
execve("/usr/ucb/tr", 0x0803D754, 0x0803D75C) argc = 1
sysinfo(SI_MACHINE, "i86pc", 257) = 6
mmap(0x00000000, 32, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0
) = 0xFE350000
mmap(0x00000000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFE
630000
mmap(0x00000000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFE
D20000
memcntl(0xF8B17000, 49652, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1,
0) = 0xFEE70000
memcntl(0x08050000, 3596, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12
resolvepath("/usr/ucb/tr", "/usr/ucb/tr", 1023) = 11
sysconfig(_CONFIG_PAGESIZE) = 4096
stat64("/usr/ucb/tr", 0x0803D3E0) = 0
open("/var/ld/ld.config", O_RDONLY) Err#2 ENOENT
stat64("/lib/libc.so.1", 0x0803CC00) = 0
resolvepath("/lib/libc.so.1", "/lib/libc.so.1", 1023) = 14
open("/lib/libc.so.1", O_RDONLY) = 3
mmapobj(3, MMOBJ_INTERPRET, 0xFEE70598, 0x0803CC6C, 0x00000000) = 0
close(3) = 0
memcntl(0xFEA10000, 263936, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1,
0) = 0xFECE0000
mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP
_ALIGN, -1, 0) = 0xFED00000
getcontext(0x0803D220)
getrlimit(RLIMIT_STACK, 0x0803D218) = 0
getpid() = 1603 [1602]
lwp_private(0, 1, 0xFED02A40) = 0x000001C3
setustack(0xFED02AA0)
lwp_cond_broadcast(0xFEE7077C) = 0
lwp_cond_broadcast(0xFEE700FC) = 0
sysi86(SI86FPSTART, 0xFEB71ACC, 0x0000133F, 0x00001F80) = 0x00000001
Incurred fault #6, FLTBOUNDS %pc = 0x08051121
siginfo: SIGSEGV SEGV_ACCERR addr=0x08051524
Received signal #11, SIGSEGV [default]
siginfo: SIGSEGV SEGV_ACCERR addr=0x08051524

Also available in: Atom PDF