-
Type:
Bug
-
Resolution: Done
-
Priority:
Critical - P2
-
None
-
Affects Version/s: 1.3.5
-
Component/s: libmongoc
-
None
-
Environment:In CentOS7.0, RAID5, xfs filesystem, NUMA system.
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Accidently we get this stacktrace when using mongodb, and my application keeps crashing:
Got signal: Segmentation fault (11), address is 0xb0 from 0x7f9ea3a010a2
=======Stack Trace===========
/opt/NetSensor/lib/libmongoc-1.0.so.0(+0x27ea1) [0x7f9ea3a02ea1]
/opt/NetSensor/lib/libmongoc-1.0.so.0(+0x26e33) [0x7f9ea3a01e33]
/opt/NetSensor/lib/libmongoc-1.0.so.0(+0xf735) [0x7f9ea39ea735]
/opt/NetSensor/lib/libmongoc-1.0.so.0(+0xf98d) [0x7f9ea39ea98d]
/opt/NetSensor/lib/libmongoc-1.0.so.0(+0x3065e) [0x7f9ea3a0b65e]
/opt/NetSensor/lib/libmongoc-1.0.so.0(+0x30913) [0x7f9ea3a0b913]
/opt/NetSensor/lib/libmongoc-1.0.so.0(mongoc_bulk_operation_execute+0x109) [0x7f9ea39e7669]
The size of each bulk is limited to 1000 in my application, and I have 4 bulks which insert into 4 different collections in the same database.
The execution sequence of the mongoc_bulk_operation_execute for each bulk is random in my application.