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

List:       kde-devel
Subject:    Re: Thoughts from a former KDE, currently Mozilla developer
From:       Thiago Macieira <thiago () kde ! org>
Date:       2010-12-08 16:58:42
Message-ID: 201012081658.oB8GwgYN009780 () mgw-sa02 ! nokia ! com
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Em Quarta-feira, 8 de Dezembro de 2010, ās 09:39:42, Benoit Jacob escreveu:
> > Also, with
> > enough debug symbols you won't be able to search for libGL anyway as
> > the backtrace has references to source files only.
> 
> How do you think that debuggers know the file? I think they just use
> the modules map for the process, e.g. on linux it's /proc/$PID/maps,
> that allows to find the object filename from the address.
> 
> Try this:
> cat /proc/`pidof kwin`/maps

Not really. The debugger queries the information from libdl first, which has a 
list of everything it loaded and where. It also contains a list of (public, 
dynamic) symbols, which is how it can show that the address is in a certain 
function. That's the dladdr() function.

And that's only after the debug symbol query failed.

The map list is not always complete, due to anonymous maps.

> >> Regarding backtraces, as I said in my next email, it's not realistic
> >> to expect the user to do anything more than click OK, when an app
> >> crashed on him.
> > 
> > I'm sorry, but I as a developer don't want to work with such users
> > anyway. If a user isn't able or willing to provide information what he
> > did for the crash to occur or tell me wether its reproduceable then I
> > don't want to spend time on helping him. On the other hand, if the user
> > is able/willing to do the above, he surely is able/willing to open his
> > package manager and select a package or two (where the name is suggested
> > by dr. konqi already) and then hit the reload button in dr. konqi.
> 
> Even if the x % of users who do this give you enough crash reports to
> handle, you still lose the other aspect of crash reports: statistics.
> It's just very useful to know the top 100 crash locations in an app,
> and how crashiness changes over time.

That is true.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

["signature.asc" (application/pgp-signature)]

>> 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