linux general protection fault , sorry for my poor english
#uname -r 5.10.134-16.1.al8.x86_64
php -i | grep -E 'mongodb|libmongoc|libbson'
mongodb libbson bundled version => 1.25.2 libmongoc bundled version => 1.25.2 libmongoc SSL => enabled libmongoc SSL library => OpenSSL libmongoc crypto => enabled libmongoc crypto library => libcrypto libmongoc crypto system profile => disabled libmongoc SASL => enabled libmongoc SRV => enabled libmongoc compression => enabled libmongoc compression snappy => disabled libmongoc compression zlib => enabled libmongoc compression zstd => enabled libmongocrypt bundled version => 1.8.2 libmongocrypt crypto => enabled libmongocrypt crypto library => libcrypto mongodb.debug => no value => no value
error
when i use the dmesg command , show the error [1640530.514829] traps: php[1487696] general protection fault ip:7f2246b2d340 sp:7f22353d3ce0 error:0 in mongodb.so (deleted)[7f2246b24000+ea000] [1640532.287286] traps: php[1487809] general protection fault ip:7f2246b2d340 sp:7f2234bcfce0 error:0 in mongodb.so (deleted)[7f2246b24000+ea000] [1640532.679037] traps: php[1487860] general protection fault ip:7f2246b2d340 sp:7f2235bd7ce0 error:0 in mongodb.so (deleted)[7f2246b24000+ea000] [1640533.073099] traps: php[1487920] general protection fault ip:7f2246b2d340 sp:7f22355d4ce0 error:0 in mongodb.so (deleted)[7f2246b24000+ea000] [1640535.829045] traps: php[1488123] general protection fault ip:7f2246b2d340 sp:7f22381fece0 error:0 in mongodb.so (deleted)[7f2246b24000+ea000] [1640535.881090] traps: php[1488114] general protection fault ip:7f2246b2d340 sp:7f22347cdce0 error:0 in mongodb.so (deleted)[7f2246b24000+ea000] [1640538.207350] traps: php[1488281] general protection fault ip:7f2246b2d340 sp:7f22391f2ce0 error:0 in mongodb.so (deleted)[7f2246b24000+ea000
@bain2018 sorry for the late reply here. Without debug symbols it's pretty much impossible to find the root cause for this. Can you please use a debug version of PHP and manually compile the driver using the --enable-mongodb-developer-flags configure option? Instructions for manually installing the driver can be found in the MongoDB documentation on php.net.
Once we have more information regarding the source of these errors we can then try to investigate what's causing it.