473,395 Members | 1,987 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

debugging extension module

hi there,

I'v trouble debugging an extension module with gdb
and I'm wondering whether anybody has suggestions
about how to do this.

The symptoms of the bug I'm looking for are that
depending on some seemingly benign (C/C++) code, the process
will seg fault somewhere in the garbage collector's
cleanup at the end of the application. Unfortunately
gdb doesn't let me step through these functions, so
I couldn't have a closer look into what happens.
I got the stack trace from a call to glibc's 'backtrace'
function from within the seg fault signal handler.

What can cause this kind of failure ? How can I
debug this ? I tried to prepare a special python
installation configured with the '--with-pydebug' option,
but may be that's not enough... (I'm running python 2.3.4
in case that matters).

Thanks for any help !

Stefan
Jul 18 '05 #1
0 1045

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: David Abrahams | last post by:
Around the time I upgraded to Python 2.3 (can't be absolutely certain, though) I started to notice that debugging extension modules with VS 2003 became more painful. In particular, now, even if I...
8
by: Torsten Mohr | last post by:
Hi, i write an extension module in C at the moment. This module does some work on some own data types that consist of some values. The functions that can change the data are written in C. ...
2
by: Joseph S. | last post by:
(I am posting from a web interface- google groups, yet the message is not appearing on the group, so am posting again, if you get two of the same kindly ignore one) 1)I get startup error...
3
by: Joseph S. | last post by:
1)I get startup error messages: "Unable to load dynamic library c:\php\php_curl.dll - the specified file cannot be found" although the file is very much there at exactly that location Not only...
5
by: snicks | last post by:
I'm trying to exec a program external to my ASP.NET app using the following code. The external app is a VB.NET application. Dim sPPTOut As String sPPTOut = MDEPDirStr + sID + ".ppt" Dim p As...
3
by: Herb | last post by:
while trying to run this project. I recently loaded VS2005 onto my WinXP Pro computer. Prior to that I was able to start my VS2003 ASP.NET apps in debug mode. When I attempt to do so now, I get...
4
by: dbee | last post by:
Right. I've got a really, really annoying/difficult/time consuming problem with my development environment. I'm using django to build a web app with paypal integration. My server is hosted...
5
by: Christopher Anderson | last post by:
Hello all. I have a fairly fundamental question that I have been googling like crazy, but I can only seem to find really outdated or unreliable info: I am trying to build an extension module...
0
jwwicks
by: jwwicks | last post by:
Introduction This tutorial describes how to use Visual Studio to create a new C++ program, compile/run a program, resume work on an existing program and debug a program. It is aimed at the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.