drkonqi and backtrace analysis

Lubos Lunak l.lunak at suse.cz
Tue Aug 5 11:35:01 BST 2008


On Monday 04 of August 2008, Thiago Macieira wrote:
> On Monday 04 August 2008 12:54:27 Lubos Lunak wrote:
> I'd say:
> 1) no new features in the 4.1 branch; backport the fixes, but not the
> feature or the new i18n

 Well, I know this general rule, and that's why I asked. If I don't backport 
anything, we get even more reports with useless info. If I backport only the 
fixes, we will get bugreports even without it, just with complaints that 
drkonqi doesn't let them save the backtrace and that they don't know what to 
do. No big difference. Ok, we now have a bugsquad, but I still don't see why 
not help them a little.

> 2) how are you accomplishing this detection? Are you using the fact that
> gdb says you should install more debuginfo packages?

 Does it? Where?

> If so, maybe you could show the backtrace and simply add some text and
> another button at the bottom of the dialog.

 It normally analyzes the output from gdb and guesses from the backtrace. See 
BackTraceGdb::checkUsefulBacktrace().

> 3) the list of libraries to be installed should be trimmed by the
> installdebuginfo script that the distribution supplies. If the distro
> thinks installing debuginfo for libc and glib is not necessary, then so be
> it.

 It is not the distro who usually gets the report though, and the distro also 
doesn't know where in the backtrace a library is needed.

> 4) the backtrace at [2] below is an corner case: the crash happened in
> thread 6, which has a good enough backtrace, but thread 1 is completely
> useless. On the other hand, if you're not strict enough, the worst case
> scenario is that we stay where we are right now.

 That backtrace is currently not considered to be good enough, regardless of 
the irrelevant thread 1, but I take this that it should be strict only with 
really broken backtraces.

-- 
Lubos Lunak
KDE developer
--------------------------------------------------------------
SUSE LINUX, s.r.o.   e-mail: l.lunak at suse.cz , l.lunak at kde.org
Lihovarska 1060/12   tel: +420 284 028 972
190 00 Prague 9      fax: +420 284 028 951
Czech Republic       http://www.suse.cz




More information about the kde-core-devel mailing list