Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linux general protection fault , sorry for my poor english #1508

Open
bain2018 opened this issue Jan 10, 2024 · 1 comment
Open

linux general protection fault , sorry for my poor english #1508

bain2018 opened this issue Jan 10, 2024 · 1 comment

Comments

@bain2018
Copy link

#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

@alcaeus
Copy link
Member

alcaeus commented Jan 30, 2024

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants