Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 431126 - kde-base/okular-4.8.5 - KXMLGUIClient memory corruption warning
Summary: kde-base/okular-4.8.5 - KXMLGUIClient memory corruption warning
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard: Fixed in 4.9.1
Keywords: PATCH
Depends on:
Blocks: kde-4.8.5-stable
  Show dependency tree
 
Reported: 2012-08-12 18:30 UTC by Toralf Förster
Modified: 2012-08-18 19:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2012-08-12 18:30:31 UTC
This small patch applies cleanly to 4.8.5 :

https://bugs.kde.org/show_bug.cgi?id=261538#c31

and solves the issue

Reproducible: Always
Comment 1 Johannes Huber (RETIRED) gentoo-dev 2012-08-13 13:09:59 UTC
Thanks for reporting. Is this patch about to reduce a warning only?
Comment 2 Toralf Förster gentoo-dev 2012-08-13 13:42:30 UTC
(In reply to comment #1)
> Thanks for reporting. Is this patch about to reduce a warning only?

I'd say - mostly. OTOH one comment son the origin reports says :

>I wrote "this will leak" for a good reason. It does leak, forgetClient() can >only do some basic cleanup (forgetting this client, like the name says) but not >delete associated containers, that caused crashes (e.g. when they were being >deleted already).
Comment 3 Johannes Huber (RETIRED) gentoo-dev 2012-08-18 11:25:09 UTC
Thanks for reporting, this is fixed in CVS now.

+  18 Aug 2012; Johannes Huber <johu@gentoo.org>
+  +files/okular-4.9.0-memory-corruption-warning.patch, +okular-4.8.5-r1.ebuild,
+  +okular-4.9.0-r1.ebuild, -okular-4.8.5.ebuild, -okular-4.9.0.ebuild:
+  Backport upstream patch fixes a to early destructed object, which produces a
+  ugly warning. This will leak standalone popupmenus and could lead to crashes.
+  Spotted by Toralf Förster <toralf.foerster@gmx.de>, bug #431126.