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

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



In article <532237B1.8030603__30393.1409529925$1394751274$gmane$org@fnac.net> you wrote:
> Some precisions.

> The SIGSEGV arise when we hover mouse on files in the file chooser dialog.

> The problems seems to be that KFileItemDelegate::paint ask for a state with
> d->animationState(...) and get a state that can have been deleted meanwhile
> (see kio/kio/kfileitemdelegate.cpp:~1271).

> Indeed, DelegateAnimationHandler::animationState (in
> kio/kio/delegateanimationhandler.cpp:~330) calls setSequenceIndex(0) which
> has the effect of finally call DelegateAnimationHandler::runAnimations and
> delete state (in kio/kio/delegateanimationhandler.cpp:~440).

Interesting, can you check if this bug is still present in kde4.12.3 (it's
currently available in experimental), and if so, report it upstream? Also, if
you seem to be quite close the produce a patch, which may attract more eyes.

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.

Thanks,
-- 
"Seek simplicity, and distrust it." -- Whitehead's Rule
Saludos /\/\ /\ >< `/

Attachment: signature.asc
Description: Digital signature


Reply to: