starting the KDE-Programm and crash
Ralf Nolden
nolden at kde.org
Wed Aug 8 21:44:52 BST 2001
On Wednesday, 8. August 2001 16:05, you wrote:
> Hi all,
>
> at first, i'm a c++ and kde rookie.
>
> My little c++ kde programm works (few minutes ago) - now i got no compile
> erros, but after starting the programm it crashed with the following
> error-message in std-err
>
> KCrash: crashing... crashRecursionCounter=2
> KCrash: Application Name = kairfoil2 path = <unknown>
>
> I'm working under KDE 2.1.2, QT 2.3.0, Kernel 2.4
>
> I don't know what i do wrong in my last source-changes.
You are accessing an object by a pointer which can't be referenced obviously.
So you're trying to operate on an object with an invalid address, and that
causes a segmentation fault. You can use the debugger to go step by step
through your application by setting breakpoints on the left sidebar, best
would be to set one in main() starting and then progressing up to where the
app segfaults. Then you know the pointer and can look for the code that needs
to be fixed. Come back if you need any help or just join irc.kde.org on #kde
where we'll try to help you.
Ralf
>
> Thanx for help
>
> Bernd
--
We're not a company, we just produce better code at less costs.
--------------------------------------------------------------------
Ralf Nolden
nolden at kde.org
The K Desktop Environment The KDevelop Project
http://www.kde.org http://www.kdevelop.org
-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«
More information about the KDevelop
mailing list