I don\'t normally go to stackoverflow for sigsegv errors, but I have done all I can with my debugger at the moment.
I want to get address of instruction that causes external program to SIGSEGV. I tried using ptrace for this, but I\'m getting EIP from kernel space (probably default signal handler?). How GDB is able
This is literally the first thing I\'ve ever written in C, so please feel free to point out all it\'s flaws. :) My issue, however is this: if I write the program the way I feel is cleanest, I get a br
I have c/gtk+ application 开发者_高级运维and GList which filled three elements, when i try to run following code with gdb:
This one is probably very simple, but I can\'t seem to get it working. I have this very simple snippet of code:
I\'m in the process of building a GUI-based application with Python/Tkinter that builds on top of the existing Python bdb module.In this application, I want to silence all stdout/stderr from the conso
this generates a segmentation fault becuase of \"QColor colorMap[9]\";.If I remove colorMap the segmentation fault goes away.开发者_如何学JAVA If I put it back.It comes back. If I do a clean all then
Ok my C is a bit rusty but I figured I\'d make my next(small) 开发者_StackOverflow中文版project in C so I could polish back up on it and less than 20 lines in I already have a seg fault.
I want to open a text file (see below), read the first int in every line and store it in an array, but I get an segmentation fault. I got rid of all gcc warnings, I read through several tutorials I fo
I\'m having trouble debugging a segmentation fault. I\'d appreciate tips on how to go about narrowing in on the problem.