[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Computing software bts automatically
From:       "Paulo J. Matos" <pocmatos () gmail ! com>
Date:       2006-04-29 11:18:40
Message-ID: 11b141710604290418k404d876co6585830b96303ae8 () mail ! gmail ! com
[Download RAW message or body]

On 29/04/06, Lubos Lunak <l.lunak@suse.cz> wrote:
> On Friday 28 April 2006 23:05, Paulo J. Matos wrote:
> > On 28/04/06, Ivor Hewitt <ivor@ivor.org> wrote:
> > > Paulo J. Matos wrote:
> > > > Hi all,
> > > >
> > > > I'm quite curious on how KDE currently computes the backtraces of
> > > > software when it crashes. Can someone explain me or point me to some
> > > > references on this issue?
> > >
> > > It invokes gdb. Although I recently spent some time writing code to walk
> > > the stack and collect symbol information, so I'd be happy to answer any
> > > questions.
> >
> > It invokes gdb on what? The dumped core?
> > Is there any gdb API for that invocation or KDE starts gdb as a
> > separate process and goes through all the work of handling the
> > communication between the processes?
>
>  Crash-handling is done by the KCrash class (kdelibs/kdecore/kcrash.*) and the
> drkonqi binary (kdebase/drkonqi/). KCrash takes over when any problem is
> encountered, launched drkonqi with info about the app and blocks. Drkonqi
> invokes gdb on the blocked process and takes care of the rest.
>

OK, I'll take a look into those classes. Thanks...

> --
> Lubos Lunak
> KDE developer
> ---------------------------------------------------------------------
> SuSE CR, s.r.o.  e-mail: l.lunak@suse.cz , l.lunak@kde.org
> Drahobejlova 27  tel: +420 2 9654 2373
> 190 00 Praha 9   fax: +420 2 9654 2374
> Czech Republic   http://www.suse.cz/
>
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
>


--
Paulo Jorge Matos - pocm at sat inesc-id pt
Web: http://sat.inesc-id.pt/~pocm
Computer and Software Engineering
INESC-ID - SAT Group
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic