[SERVER-61595] CSFLE: investigate how gdb interacts with static library Created: 18/Nov/21  Updated: 29/Oct/23  Resolved: 26/Jan/22

Status: Closed
Project: Core Server
Component/s: Field Level Encryption
Affects Version/s: None
Fix Version/s: 5.3.0

Type: Task Priority: Major - P3
Reporter: Sergey Galtsev (Inactive) Assignee: Erwin Pe
Resolution: Fixed Votes: 0
Labels: FLE, csfle
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Security 2022-01-24, Security 2022-02-07
Participants:

 Description   

There was a concern during design review, whether our library will play nice with gdb. We need to investigate exception propagation in diverse and homogeneous compiler environments as well as our ability to debug process. In other words:

  • Build and try to debug mongo_csfle
  • Can we step into mongo_csfle code?
  • Do exceptions inside mongo_csfle work as-designed?

Following permutations must be verified:

  • Windows, Mac, Linux
  • x86, x64, ARM
  • libmongocrypt and mongo_csfle built using gcc vs clang (all 4 permutations)


 Comments   
Comment by Githook User [ 26/Jan/22 ]

Author:

{'name': 'Erwin Pe', 'email': 'erwin.pe@mongodb.com', 'username': 'erwee'}

Message: SERVER-61595 CSFLE: test how gdb interacts with csfle library
Branch: master
https://github.com/mongodb/mongo/commit/621652e91925e944e9c13669a5c212bae7dfd662

Comment by Githook User [ 26/Jan/22 ]

Author:

{'name': 'Erwin Pe', 'email': 'erwin.pe@mongodb.com', 'username': 'erwee'}

Message: SERVER-61595 CSFLE: test how gdb interacts with csfle library
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/9aa1991c02bbacb7579ec5228af005b34df69c20

Generated at Thu Feb 08 05:52:50 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.