And I just found that after I kill opal_lifo, the opal_fifo test hangs too. Output was not shown by "make check", but here is what I see manually:
$ ./test/class/opal_lifo Single thread test. Time: 0 s 35084 us 35 nsec/poppush Atomics thread finished. Time: 0 s 197821 us 197 nsec/poppush ^C $ ./test/class/opal_fifo Single thread test. Time: 0 s 47514 us 47 nsec/poppush Atomics thread finished. Time: 0 s 142369 us 142 nsec/poppush ^C Sorry, no backtrace for opal_fifo because I have to head to a meeting now. -Paul On Wed, Jul 1, 2015 at 9:33 AM, Paul Hargrove <phhargr...@lbl.gov> wrote: > Testing last night's master tarball with "make check" I find that > opal_lifo *hangs* on every ppc/linux system I try, including both gcc and > xlc, both 32- and 64-bit CPUs and even a little-endian POWER8. > > Attaching gdb to a hung yields: > > (gdb) thread apply all bt full > > Thread 1 (Thread 0xfff9e4f8f30 (LWP 32858)): > #0 0x0000000010001778 in check_lifo_consistency (lifo=0xfffde0100b8, > expected_count=100) > at > /home/hargrove/SCRATCH/OMPI/openmpi-master-linux-ppc64-xlc-12.1/openmpi-dev-2014-gc8730b5/test/class/opal_lifo.c:73 > item = 0x1003d6a8190 > count = 215728334 > __func__ = "check_lifo_consistency" > #1 0x00000000100022e4 in main (argc=1, argv=0xfffde010688) > at > /home/hargrove/SCRATCH/OMPI/openmpi-master-linux-ppc64-xlc-12.1/openmpi-dev-2014-gc8730b5/test/class/opal_lifo.c:171 > threads = {17590531453408, 17590520967648, 17590510481888, > 17590499996128, 17590489510368, > 17590479024608, 17590468538848, 17590458053088} > item = 0x1003d6a83c0 > prev = 0xfffde0100f0 > item2 = 0x1003d6a2cf0 > start = {tv_sec = 1435767655, tv_usec = 746823} > stop = {tv_sec = 1435767667, tv_usec = 450808} > total = {tv_sec = 11, tv_usec = 703985} > lifo = {super = {obj_magic_id = 16046253926196952813, obj_class = > 0xfff9e431fb0, > obj_reference_count = 1, > cls_init_file_name = 0x10003524 > "/home/hargrove/SCRATCH/OMPI/openmpi-master-linux-ppc64-xlc-12.1/openmpi-dev-2014-gc8730b5/test/class/opal_lifo.c", > cls_init_lineno = 96}, opal_lifo_head = {data = { > counter = 0, item = 0x1003d6a8190}}, opal_lifo_ghost = > {super = { > obj_magic_id = 16046253926196952813, obj_class = > 0xfff9e431e18, obj_reference_count = 1, > cls_init_file_name = 0xfff9e36f528 > "/home/hargrove/SCRATCH/OMPI/openmpi-master-linux-ppc64-xlc-12.1/openmpi-dev-2014-gc8730b5/opal/class/opal_lifo.c", > cls_init_lineno = 27}, > opal_list_next = 0xfffde0100f0, opal_list_prev = 0x0, > item_free = 1, > opal_list_item_refcount = 0, opal_list_item_belong_to = 0x0}} > success = false > timing = 1.4629981249999999e-06 > rc = 0 > __func__ = "main" > > -Paul > > -- > Paul H. Hargrove phhargr...@lbl.gov > Computer Languages & Systems Software (CLaSS) Group > Computer Science Department Tel: +1-510-495-2352 > Lawrence Berkeley National Laboratory Fax: +1-510-486-6900 > -- Paul H. Hargrove phhargr...@lbl.gov Computer Languages & Systems Software (CLaSS) Group Computer Science Department Tel: +1-510-495-2352 Lawrence Berkeley National Laboratory Fax: +1-510-486-6900