Skip to content

Triangle Python Users Group: TriPython (formerly TriZPUG)

Personal tools
You are here: Home » Members » sgambino's Home » TriPython February 2016 Meeting: Debugging Hung Python Processes With GDB

TriPython January, April, July, and October general meetings and monthly second Wednesday project nights meet at:

UNC Renaissance Computing Institute

TriPython February, May, August, and November general meetings meet at:

WebAssign: Online Homework and Grading

TriPython March, June, September, and December general meetings and monthly third Monday project nights meet at:

Caktus Consulting Group
Log in

TriPython February 2016 Meeting: Debugging Hung Python Processes With GDB

Document Actions
When things go wrong in production, it can be necessary to troubleshoot problems where they occur, instead of in a development environment. In those situations having a working knowledge of GDB, GDB Python Extensions, and strace is very helpful. Brian Bouterse will show some simple techniques to get insight into those situations. This talk outlines a variety of debugging techniques for connecting to an already running, "stuck", or deadlocked Python process using GDB. Together we will inspect the current state of threads with and without the help of the new GDB macros for Python, inspect a local running process and a core dump collected from a remote machine, use strace to gather system call information about a process, and discuss the SIGTRAP handler as a proactive way to make rpdb available in production. Brian Bouterse is a Senior Software Engineer at Red Hat. He is a developer on Pulp which is written in Python and deploys Python software among other types (rpm, puppet, docker, etc). He also is a contributor to the Kombu project. Brian loves open source because he loves freedom, collaboration, and choice. He is a Computer Science PhD candidate at North Carolina State University where he studies capacity planning and performance analysis. He lives in Raleigh near NCSU with his wife Katie and his cat Schmowee. Extemporaneous "lightning talks" of 5-10 minute duration are also welcome and don't need to be pre-announced. Plenty of free after hours parking is available in the upper level of the deck behind WebAssign (turn through the median just before the intersection of Varsity and Main Campus Drives). If the door is locked, call the number posted on the door. An after-meeting location for food and beverage will be decided at the meeting (usually BaDa Wings for the Thursday night draught specials).

For more information, visit,+Varsity+Drive,+Raleigh,+NC&hl=en&sll=35.773896,-78.677111&sspn=0.026288,0.044289&t=h&hq=WebAssign,&hnear=Varsity+Dr,+Raleigh,+Wake,+North+Carolina&z=16

2016-02-25 from 19:00 to 21:00
WebAssign, NCSU Centennial Campus, 1791 Varsity Drive, Suite 200, Raleigh
Steve Gambino
Contact Email
Contact Phone

TriPython endorses:

PyLadies RDU

September 14-16, 2016:

PyData Carolinas 2016

Upcoming Events
Durham Project Night
Caktus Group Tech Space, 108 Morris St., Durham,
« March 2018 »
Su Mo Tu We Th Fr Sa
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
13:00-15:00 PyLadies RDU: Intro to Python with Grishma Jena (in your PJ series)
18:00-21:00 Chapel Hill Project Night
18:00-21:00 Durham Project Night
19:00-21:00 TriPython March 2018 Meeting: itk-jupyter-widgets: Interactive 3D and 2D Visualization in Jupyter
Orders over $29.95 qualify for free shipping in the US.