Hi!

----

While doing some testing I hit a problem where ast-ksh.2009-05-05 hangs
in a "conifgure" script... ;-(

Steps to reproduce:
1. Download
http://src.opensolaris.org/source/raw/sfw/usr/src/cmd/postgres/postgresql-8.3/postgresql-8.3.7.tar.gz
2. Unpack tarball
3. Run configure like this:
$ (CONFIG_SHELL=/usr/bin/ksh93 SHELL=/usr/bin/ksh93 ksh93 configure
--enable-thread-safety --without-readline) 2>&1 | tee -a buildlog.log
# After a while this hangs at this line:
-- snip --
checking for the pthreads library -lpthread...
-- snip --

Stack trace is:
-- snip --
$ pstack
2316                                                                            
                
2316:   /usr/bin/ksh93 ./configure --prefix=/usr/postgres/8.3
--exec-prefix=/usr/post
 fef02745 write    (4, 8064910, 491f9)
 fedd1416 sh_subtmpfile (1, 0, 0, fedd177a) + 17a
 fedd17c3 sh_subfork (fecf1e10, 5, 80af560, 80ad2cd, 1, fecee000) + 57
 fedd9f64 sh_exec  (80ad314, 0, 1, fedd6035) + 396c
 fedd6235 sh_eval  (80858e8, 0, 0, fed72f36) + 21d
 fed72fee b_eval   (a, 80ad2d8, fee0a074, 0) + c6
 fedd9870 sh_exec  (80ad180, 0, 44, fedd22d7) + 3278
 fedd2597 sh_subshell (80ad180, 0, 0, fedd6609) + 58f
 fedd8902 sh_exec  (80ad168, 1, 0, fedd22d7) + 230a
 fedd2597 sh_subshell (80ad168, 1, 1, fedb072d) + 58f
 fedb0f6d comsubst (8061230, 80ad168, 1, fedabb6e) + 851
 fedac591 copyto   (8061230, 0) + a31
 fedab1b6 sh_macexpand (fee09d90, 80894f0, 8042f6c, 0) + 1b6
 fed92793 arg_expand (fee09d90, 80894f0, 8042f6c, 0) + 93
 fed925b5 sh_argbuild (fee09d90, 8043034, 80894d0, 0) + 91
 fedd8961 sh_exec  (80894d0, 0, 0, fedd6609) + 2369
 fedd7851 sh_exec  (80894b0, 4, 0, fedd6609) + 1259
 fedd84e9 sh_exec  (80894b0, 4, 0, fedd6609) + 1ef1
 fedd789f sh_exec  (80892e4, 4, 8044b48, fedd6609) + 12a7
 fedd84d1 sh_exec  (8089848, 4, 0, 0) + 1ed9
 fedd8261 sh_exec  (808b004, 4, 0, fedd6609) + 1c69
 fedd789f sh_exec  (808af6c, 4, 0, fedd6609) + 12a7
 fedd84d1 sh_exec  (80ab39c, 4, 80a2f30, fedd6609) + 1ed9
 fedd789f sh_exec  (80673e4, 4, 0, fedb3605) + 12a7
 fedb37ae exfile   (fee09d90, 80731b8) + 716
 fedb3004 sh_main  (1f, 8046dcc, 0, fee70f32, 4, 0) + 808
 08050bd6 main     (1f, 8046dcc, 8046e4c, feffb7b4) + 4a
 08050afd _start   (1f, 8046ff0, 8046ff8, 8047004, 804701f, 804703f) +
7d
-- snip --


tail of xtrace looks like this:
-- snip --
+ eval echo 'configure:18908: "test -s conftest$ac_exeext"'
+ echo configure:18908: 'test -s conftest'
+ 2>& 5
+ ac_status=0
+ echo 'configure:18911: $? = 0'
+ 1>& 5
+ exit 0
+ acx_pthread_ok=yes
+ rm -f conftest.err conftest.o conftest conftest.c
+ test xyes = xyes
+ cat
+ 1> conftest.c 0<< \_ACEOF
int
main (int argc, char **argv)
{
  (void) argc;
  (void) argv;
  return 0;
}
_ACEOF
+ rm -f conftest.o conftest
+ eval '$CC' -o 'conftest$ac_exeext' '$CFLAGS' '$CPPFLAGS' '$LDFLAGS'
'conftest.$ac_ext' '$LIBS' '>&5'
+ 2>& 1 [--->HANG<---]
-- snip --

Looks like another hang in a command substitution... ;-(

Glenn, can you try to reproduce this on your side, please ?

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) [email protected]
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)
_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to