Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

5.1_RC4 test hang and perl5 configure core dump



(If I should use different mailing list for upcoming 5.1 please let me 
know.)

I upgraded on amd64 (in some virtual machine) from 5.1_RC3 to 5.1_RC4 by 
untarring (with -p) all sets (other than etc) to /usr. Then used 
etcupdate and postinstall to do etc and xetc. Then put the /netbsd in 
place and rebooted. Then I build pkg_install and related with pkgsrc 
bootstrap.

Then attempted to build pbulk and it failed in perl5 configure with:

...
Try to use long doubles if available? [n]  
Checking for optional libraries...
What libraries to use? [-lm -lcrypt -lpthread]  
What optimizer/debugger flag should be used? [  -pthread  
-I/usr/include]  
Any additional cc flags? [-fno-strict-aliasing -pipe -fstack-protector]  
Let me guess what the preprocessor flags are...
Any additional ld flags (NOT including libraries)?
[ -Wl,-rpath,/usr/pkg/lib -Wl,-rpath,/usr/local/lib -fstack-protector]  
Checking your choice of C compiler and flags for coherency...
I've tried to compile and run the following simple program:

#include <stdio.h>
int main() { printf("Ok\n"); return(0); }

I used the command:

        cc -o try -pthread -I/usr/include -fno-strict-aliasing -pipe 
-fstack-protector -Wl,-rpath,/usr/pkg/lib -Wl,-rpath,/usr/local/lib 
-fstack-protector try.c -lm -lcrypt -lpthread
         ./try

and I got the following output:

try: _lwp_ctl: [1]   Segmentation fault (core dumped) ./try
The program compiled OK, but exited with status 139.
You have a problem.  Shall I abort Configure [y]  
Ok.  Stopping Configure.
*** Error code 1

(The "I used" and "I got" above is perl5 not me :)

gdb shows:

(gdb) bt
#0  0x00007f7ffd58f47a in free () from /usr/lib/libc.so.12
#1  0x00007f7ffd59060d in posix_memalign () from /usr/lib/libc.so.12
#2  0x00007f7ffd590c6b in malloc () from /usr/lib/libc.so.12
#3  0x00007f7ffd5c76eb in _citrus_lookup_seq_open () from 
/usr/lib/libc.so.12
#4  0x00007f7ffd5c78cf in _citrus_lookup_simple () from 
/usr/lib/libc.so.12
#5  0x00007f7ffd58c5c1 in catopen () from /usr/lib/libc.so.12
#6  0x00007f7ffd58c30e in strerror_r () from /usr/lib/libc.so.12
#7  0x00007f7ffd5b6892 in strerror () from /usr/lib/libc.so.12
#8  0x00007f7ffd57331e in verr () from /usr/lib/libc.so.12
#9  0x00007f7ffd55dd38 in err () from /usr/lib/libc.so.12
#10 0x00007f7ffd80b70f in pthread__init () from /usr/lib/libpthread.so.0
#11 0x00007f7ffd5bb693 in __libc_init () from /usr/lib/libc.so.12
#12 0x00007f7ffd5dcdbb in __errno () from /usr/lib/libc.so.12
#13 0x00007f7ffd52f81e in _init () from /usr/lib/libc.so.12
#14 0x00007f7fffffd098 in ?? ()
#15 0x00007f7ffde04ce1 in _rtld_call_init_functions ()
   from /usr/libexec/ld.elf_so
#16 0x00007f7ffde0517f in _rtld () from /usr/libexec/ld.elf_so
#17 0x00007f7ffde03a6f in .rtld_start () from /usr/libexec/ld.elf_so
#18 0x00007f7fffffffe0 in ?? ()
#19 0x0000000000000000 in ?? ()


And "atf-run | atf-compile" in /usr/tests hangs at:

atf/tools/t_atf_report (47/98): 6 test cases
    default: Failed: Exit code 1 does not match the expected code 0
    oflag: Passed.
    output_csv: Passed.
    output_ticker: Passed.
    output_xml: Passed.
    output_xml_space: Passed.

atf/tools/t_atf_exec (48/98): 2 test cases
    passthrough: Passed.
    process_group: 

I could repeat the hang. Running atf-run by itself:

tc-end: process_group, passed
tp-end: atf/tools/t_atf_exec
tp-start: atf/tools/t_atf_killpg, 3
tc-start: default
tc-se:[1]   Terminated[1]   Terminated              sleep 1              
${atf_exec} -g ....
tc-se:
tc-so:Checking command [test -f sigterm]
tc-end: default, passed
tc-start: sflag
tc-se:[1]   Hangup[1]   Hangup                  sleep 1                  
${atf_exec} -g ....
tc-se:
tc-so:Checking command [test -f sighup]
tc-so:Checking command [test -f sigterm]
tc-end: sflag, passed
tc-start: group
tc-se:atf-cleanup: ERROR: Cannot get information of /tmp/atf.01690a/fig; 
lstat(2) failed: No such file or directory
tc-so:Waiting for process 1 to be alive
tc-so:Process 1 waiting for termination
tc-so:Process 2 waiting for termination

(hangs here)


Home | Main Index | Thread Index | Old Index