Skip to content

Triangle Python Users Group: TriPython (formerly TriZPUG)

Sections
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 and monthly first Tuesday project nights 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
http://maps.google.com/maps?q=WebAssign,+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

What
Meeting
When
2016-02-25 from 19:00 to 21:00
Where
WebAssign, NCSU Centennial Campus, 1791 Varsity Drive, Suite 200, Raleigh
Name
Steve Gambino
Contact Email
stevegambino@gmail.com
Contact Phone
757-2082

TriPython endorses:

PyLadies RDU

September 14-16, 2016:

PyData Carolinas 2016

Upcoming Events
Chapel Hill Project Night
Renaissance Computing Institute (RENCI), Biltmore Conference Room, 5th Floor, Europa Center, 100 Europa Drive, Suite 590, Chapel Hill,
2017-11-08
TriPython November 2017 Meeting: TBA
WebAssign, NCSU Centennial Campus, 1791 Varsity Drive, Suite 200, Raleigh,
2017-11-16
Durham Project Night
Caktus Group Tech Space, 108 Morris St., Durham,
2017-11-20
« October 2017 »
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        
2017-10-11
18:00-21:00 Chapel Hill Project Night
2017-10-16
18:00-21:00 Durham Project Night
2017-10-18
18:00-19:30 PyLadies RDU October 2017 Meeting: Python Tribal Knowledge
2017-10-19
19:00-21:00 TriPython October 2017 Meeting: Why You Need An API And How To Build It Using Django Rest Framework
Orders over $29.95 qualify for free shipping in the US.