r32236 is a suspect

i am afk

I just read the code and a class is initialized with opal_class_initialize the 
first time an object is instantiated with OBJ_NEW

I would simply revert r32236 or update opal_class_finalize and 
free(cls->cls_construct_array); only if cls->cls_construct_array is not NULL

I hope this helps

Gilles

Ralph Castain <r...@open-mpi.org> wrote:
>Hi folks
>
>
>The changes to opal_class_finalize are generating 100% segfaults on the trunk:
>
>
>175                free(cls->cls_construct_array);
>
>Missing separate debuginfos, use: debuginfo-install 
>glibc-2.12-1.132.el6_5.2.x86_64 libgcc-4.4.7-4.el6.x86_64 
>numactl-2.0.7-8.el6.x86_64
>
>(gdb) where
>
>#0  0x00007f93e3206385 in opal_class_finalize () at class/opal_object.c:175
>
>#1  0x00007f93e320b62f in opal_finalize_util () at runtime/opal_finalize.c:110
>
>#2  0x00007f93e320b73b in opal_finalize () at runtime/opal_finalize.c:175
>
>#3  0x00007f93e350e05f in orte_finalize () at runtime/orte_finalize.c:79
>
>#4  0x00000000004057e2 in orterun (argc=4, argv=0x7fffe27ea718) at 
>orterun.c:1098
>
>#5  0x0000000000403a04 in main (argc=4, argv=0x7fffe27ea718) at main.c:13
>
>
>Can someone please fix this?
>
>Ralph
>
>

Reply via email to