Segmentation violation (SEGSEGV 11)

Margus Metskivi Margus.Metskivi@liewenthal.ee
Fri Mar 15 03:02:00 GMT 2002


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



More information about the Gcc mailing list