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 

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 

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  
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

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/
#1  0x00007f7ffd59060d in posix_memalign () from /usr/lib/
#2  0x00007f7ffd590c6b in malloc () from /usr/lib/
#3  0x00007f7ffd5c76eb in _citrus_lookup_seq_open () from 
#4  0x00007f7ffd5c78cf in _citrus_lookup_simple () from 
#5  0x00007f7ffd58c5c1 in catopen () from /usr/lib/
#6  0x00007f7ffd58c30e in strerror_r () from /usr/lib/
#7  0x00007f7ffd5b6892 in strerror () from /usr/lib/
#8  0x00007f7ffd57331e in verr () from /usr/lib/
#9  0x00007f7ffd55dd38 in err () from /usr/lib/
#10 0x00007f7ffd80b70f in pthread__init () from /usr/lib/
#11 0x00007f7ffd5bb693 in __libc_init () from /usr/lib/
#12 0x00007f7ffd5dcdbb in __errno () from /usr/lib/
#13 0x00007f7ffd52f81e in _init () from /usr/lib/
#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.

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-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-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