Edward Pilatowicz wrote:
> so i just upgraded this morning from snv_105 to snv_106.  now
> Install(1M) is hanging whenever i run it.  i'm wondering if anyone else
> has seen this problem.  (perhaps there's already a bug filed?)
> 
> i'm running it as follows:
>         Install -o debug -k i86xpv -T domu-219:/tmp
> 
> and here's where it's hung:
> ---8<---
> e...@mcescher$ pstack 204600
> 204600: /bin/ksh /opt/onbld/bin/Install -o debug -k i86xpv -T
> domu-219:/tmp
>  fffffd7fff2e3d1a write    (1, 4154c0, 64)
>  fffffd7ffefdafc8 sfwr () + 2d0
>  fffffd7ffefc0f6f _sfflsbuf () + 217
>  fffffd7ffefcb9f7 sfsync () + 17f
>  fffffd7ffefc5c58 _sfphead () + 188
>  fffffd7ffefc5ef5 _sfpmove () + 55
>  fffffd7ffefc2595 _sfmode () + 22d
>  fffffd7ffefc5fb1 sfpool () + 99
>  fffffd7fff15eb8e sh_exec () + 2f56
>  fffffd7fff15f78c sh_exec () + 3b54
>  fffffd7fff15d9c8 sh_exec () + 1d90
>  fffffd7fff15788e sh_subshell () + 646
>  fffffd7fff134562 comsubst () + 8a2
>  fffffd7fff12f61f copyto () + bcf
>  fffffd7fff12df79 sh_macexpand () + 1f1
>  fffffd7fff1129f5 arg_expand () + a5
>  fffffd7fff112812 sh_argbuild () + 9a
>  fffffd7fff15dbe2 sh_exec () + 1faa
>  fffffd7fff15d854 sh_exec () + 1c1c
>  fffffd7fff0f22ef b_dot_cmd () + 507
>  fffffd7fff161559 sh_funct () + 199
>  fffffd7fff15ef35 sh_exec () + 32fd
>  fffffd7fff136e86 exfile () + 786
>  fffffd7fff136676 sh_main () + 7fe
>  0000000000400e72 main () + 52
>  0000000000400ccc ????
> ---8<---
> 
> there is only one place where Install(1M) invokes "uniq":
>         set -- `grep "^CONF" $modlist | sort | uniq`;
> 
> as it turns out, i can easily reproduce this problem as follows:
> ---8<---
> e...@mcescher$ ksh93
> e...@mcescher$ set -- `cat /etc/termcap | sort | uniq`

offtopic: s/sort | uniq/sort -u/ , please...

> <hang>
> ---8<---

Uhm... this should not happen...
... I guess this is a fallout from the change from |mmap()|'ed files to
pipes for command substitutions (I don't remeber the CR# for that).

Which size does the output of $ grep "^CONF" $modlist | sort | uniq #
have ?

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) roland.ma...@nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)
_______________________________________________
tools-discuss mailing list
tools-discuss@opensolaris.org

Reply via email to