[SERVER-28800] Ensure user has the correct version of GDB when running hang_analyzer.py Created: 14/Apr/17  Updated: 06/Dec/22  Resolved: 11/May/20

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Eddie Louie Assignee: Backlog - Server Tooling and Methods (STM) (Inactive)
Resolution: Won't Fix Votes: 0
Labels: stm, tig-hanganalyzer
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Assigned Teams:
Server Tooling & Methods
Participants:

 Description   

With the recent improvements to the hang_analyzer.py, it is necessary to run with the minimum GDB version of 7.12, otherwise we may not get some GDB extension output like mongodb-show-locks and mongodb-waitsfor-graph. Add a similar check to what is done for the LLDB debugger.



 Comments   
Comment by Ryan Timmons [ 11/May/20 ]

Closing as wont-fix to indicate that there is currently no intention of doing this. Please re-open if there is priority for this. Perhaps this change could self-service by an appropriate server team if this is necessary rather than having to go thru the STM prioritization queue.

Comment by Eddie Louie [ 14/Apr/17 ]

This turns out to be a bug in GDB >= 7.11 as documented here:

https://mongodb.slack.com/archives/C0V2Z88D8/p1489178943365135

https://sourceware.org/bugzilla/show_bug.cgi?id=20899

Comment by Max Hirschhorn [ 14/Apr/17 ]

eddie.louie, what about the mongodb-show-locks and mongodb-waitsfor-graph commands actually require running with GDB version 7.12?

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