[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#741564: libkio5: libkio : segmentation fault caused by KFileItemDelegate



Control: tag -1 + upstream
Control: forwarded -1 https://bugs.kde.org/show_bug.cgi?id=332132

¡Hola Paul!

El 2014-03-14 a las 12:29 +0100, Paul Chavent escribió:
> I've only checked by code review, and yes the suspicious code seems unchanged in the current git tree.

Ok.

> I've filled a report on the kde bug tracker : https://bugs.kde.org/show_bug.cgi?id=332132

Great, I've added the forward information to the Debian bug.

> I can write a patch that workaround the problem, but I'm not sure to find
> the solution the authors of this code would imagine.

Well, preparing a patch, testing it in your environment, and
submitting it to git.reviewboard.kde.org is a consistent way to get the
developers feedback.

> >In any case, the "backtrace" that you provide could be improved adding the
> >corresponding states to the involved variables, so even someone foreing to
> >this code (like myself), can understand somthing like why is that state is not
> >forward and not valid.
> I won't be able to use the monitor features of gdb since the bug disappear
> if i attach to the process.

> However i can add printf traces and still reproduce the bug. Is it what you
> mean ?

Well, printf won't work, you'll need to use kDebug or kWarning. And configure
your ~/.kde/share/config/kdebugrc to get the debug output to stderr, I think
it's something like this:

[kio (delegateanimationhandler)]
InfoOutput=2

The warning should appear in the ~/.xsession-errors file.

Happy hacking,
-- 
"Brilliant opportunities are cleverly disguised as insolvable problems."
-- Gardener's Philosophy
"The reverse is also true." -- Corollary
Saludos /\/\ /\ >< `/

Attachment: signature.asc
Description: Digital signature


Reply to: