We are seeing a crash in openHPI client (version ) while accessing two different shmm’s to open a session at a time.

Is open HPI thread safe? Why are we seeing this?


Here is the crash we are seeing.

[Thread debugging using libthread_db enabled]

Using host libthread_db library "/lib64/libthread_db.so.1".


warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7fffff5fe000

Core was generated by `/opt/atlas/kit/bin/StartNodeMgr --daemon --pidfile=/var/run/atlas/NodeMgr.pid'.

Program terminated with signal 11, Segmentation fault.

#0  0x0000003e446331f1 in g_hash_table_foreach () from /usr/lib64/libglib-2.0.so.0

(gdb) bt

#0  0x0000003e446331f1 in g_hash_table_foreach () from /usr/lib64/libglib-2.0.so.0

#1  0x00007faea91c5448 in ohc_add_domain_conf () from /opt/atlas/kit/lib/libopenhpi.so.3

#2  0x00007faea91c6c4b in oHpiDomainAdd () from /opt/atlas/kit/lib/libopenhpi.so.3