[CDRIVER-4383] Hang in "jsonsl_feed" of libbson Created: 06/May/22  Updated: 27/Oct/23  Resolved: 26/May/22

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Gopu Krishna S Assignee: Colby Pike
Resolution: Gone away Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Summary

I have a customer who reported a hang in the "jsonsl_feed" function in jsonsl.c file of libbson library. As the customer is not willing to give actual data, I tried to reproduce with dummy data but failed to do so. 

Stack trace of library is 

  address: 0x00007FF5278A5630 ; dladdress: 0x00007FF527896000 ; offset in lib: 0x000000000000F630 ;

  address: 0x00007FF520B36AE4 ; dladdress: 0x00007FF518775000 ; offset in lib: 0x00000000083C1AE4 ;

  0x00007FF520B39A22 jsonsl_feed + 0x0112  (jsonsl.c line number 223)

  0x00007FF520B36354 bson_json_reader_read + 0x01b4

  0x00007FF520B36A7F bson_init_from_json + 0x00ff

  address: 0x00007FF52086BE5B ; dladdress: 0x00007FF518775000 ; offset in lib: 0x00000000080F6E5B ;

Is there any possible reason for this to happen?
Help is much appreciated.

Environment

Please provide the version of the C / CXX driver - 1.6.3

Please provide the host OS, version, and architecture (example: Windows 10 64-bit x86)  - SUSE Linux 11.4

Please provide the C / CXX compiler and version - gcc (SUSE Linux) 4.3.4

 



 Comments   
Comment by PM Bot [ 26/May/22 ]

There hasn't been any recent activity on this ticket, so we're resolving it. Thanks for reaching out! Please feel free to comment on this if you're able to provide more information.

Comment by Colby Pike [ 11/May/22 ]

We cannot find a way to reproduce the issue as described. We'll have to close as "Cannot reproduce," but we will take a look again if the customer is able to provide a minimal example of JSON data that exhibits the behavior. We don't need to see exactly the customer's data, we just need any data that can reproduce the issue.

Generated at Wed Feb 07 21:20:46 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.