Comment # 23 on bug 923486 from
* try to redo failure in chroot env with ulimit set to generate core file
  need a while loop to ultimately failed (need between 30 to 50 trials)
* as reported in data below the abort is an explicit call in gl_rwlock_rdlock
  because glthread_rwlock_rdlock() is reporting an error.
* Need to continue investigation from there.

===
abuild@vm64:~/rpmbuild/BUILD/findutils-4.5.14/tests> ulimit -c unlimited
abuild@vm64:~/rpmbuild/BUILD/findutils-4.5.14/tests> while test 1 ; do
./test-lock || break;done
Starting test_lock ... OK
Starting test_rwlock ... OK
Starting test_recursive_lock ... OK
Starting test_once ... OK
...                       
Starting test_lock ... OK
Starting test_rwlock ... OK
Starting test_recursive_lock ... OK
Starting test_once ... OK
Starting test_lock ... OK
Starting test_rwlock ...Aborted (core dumped)
abuild@vm64:~/rpmbuild/BUILD/findutils-4.5.14/tests> file core
core: ELF 64-bit LSB core file 64-bit PowerPC or cisco 7500, version 1 (SYSV),
SVR4-style, from './test-lock'
abuild@vm64:~/rpmbuild/BUILD/findutils-4.5.14/tests> gdb -c core ./test-lock
...
Core was generated by `./test-lock '.
Program terminated with signal SIGABRT, Aborted.
#0  0x00003fffb185cf1c in raise () from /lib64/libc.so.6
Missing separate debuginfos, use: zypper install
glibc-debuginfo-2.21-6.25.ppc64le
(gdb) bt
#0  0x00003fffb185cf1c in raise () from /lib64/libc.so.6        
#1  0x00003fffb185f034 in abort () from /lib64/libc.so.6         
#2  0x0000000010002038 in rwlock_checker_thread (arg=<optimized out>) at
test-lock.c:265
#3  0x00003fffb19f7fb8 in start_thread () from /lib64/libpthread.so.0
#4  0x00003fffb1930414 in clone () from /lib64/libc.so.6
(gdb) frame 2
#2  0x0000000010002038 in rwlock_checker_thread (arg=<optimized out>) at
test-lock.c:265
265           gl_rwlock_rdlock(my_rwlock);
(gdb) info reg pc lr
pc             0x10002038       0x10002038 <rwlock_checker_thread+264>
lr             0x10002038       0x10002038 <rwlock_checker_thread+264>
(gdb) disas $pc-12,+20
Dump of assembler code from 0x1000202c to 0x10002040:
   0x000000001000202c <rwlock_checker_thread+252>:      cmpwi   cr7,r9,4000
   0x0000000010002030 <rwlock_checker_thread+256>:      beq     cr7,0x10001fd0
<rwlock_checker_thread+160>
   0x0000000010002034 <rwlock_checker_thread+260>:      bl      0x10000cb0
<00000043.plt_call.abort@@GLIBC_2.17>
=> 0x0000000010002038 <rwlock_checker_thread+264>:      ld      r2,24(r1)
   0x000000001000203c <rwlock_checker_thread+268>:      li      r3,0
End of assembler dump.
===
findutils-4.5.14/tests/test-lock.c:265: gl_rwlock_rdlock (my_rwlock);
findutils-4.5.14/gl/lib/glthread/lock.h:859: abort ();
===


You are receiving this mail because: