Segmentation Fault
killer
delta_x at gmx.net
Sat Sep 4 20:50:49 BST 1999
Thomas Regner wrote:
> On Wed, 01 Sep 1999, you wrote:
> > i have a big problem !
> > my programm looks like fine and work great.
> > it must read directorys and fill it in my selfmade list.
> > now, if i take two of these lists, the programm crashs without any message
> > in kdevelop.
> >
> > if i start it from a xterm, there can i see only the message: Segmentation
> > Fault
>
> Your app tries to get access to a place in memory that doesn't belong to it.
> Normally this means that you messed around with array-borders (or something
> similar), or that you used a variable unitialized, or that you use
> class-members that are not initialized (maybe not in the scope you try to gain
> access).
> The right way to figure it out is to debug your app (kdbg!) (you have
> to compile it with the -g option, see Project->Options->Compiler-Options)
> this is: 'walk through' the execution by setting brakepoints, to determine
> where the error occurs, you may controle suspicious variables by adding them in
> lower right 'variable track' window of kdbg (see kdbg help for reference)
>
> hope this helps a bit,
>
> bye
>
> Tom
> ###########################################
> ## Thomas Regner ### Kaiserstr.5 ##
> ###################### 26122 Oldenburg ##
> ## tomte at subdimension.com ################
> ###########################################
thanx, i´ve found the error.
it was a pointerproblem to unallocated memory.
rene
More information about the KDevelop
mailing list