This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Segmentation violation (SEGSEGV 11)


Hello

Have you had much experience with segmentation fault errors? I have here
UI built using QT and a hierarchy of my .so libraries UI windows work with to
test actual result of the whole system (I give input parameters on window
and see the result on it). I haven't understood yet why even when sometimes 
just pushing a button on window everything crashes with "segmentation fault"
error. What can be the most common cases for segmentation faults?
Even when compiling the code with -g -ggdb it crashes during the work
of gdb graphical tool Debugger without showing the real problem (it seems
there are address mismatch but why I can't see why).

Oh, by the way, QT user interface libraries and all the code is built with
g++3(3.0.4). Machine runs Redhat 7.2 with the latest available kernel.

Margus Metskivi


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]