Plasma from KDE 4.2.1-3.FC10 segfaults at KDE startup (Fedora 10 / x86_64)

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

 



On Fri, Mar 6, 2009 at 11:41 AM, Chris January <chris at atomice.net> wrote:
> I have installed KDE 4.2.1-3.FC10 from the kde-redhat kde-testing
> repository and plasma segfaults when KDE is
> starting up. Can anyone tell me how to work out what's wrong?

I tracked this down to what appears to be a bug in panelview.cpp:

PanelView::PanelView calls:

pinchContainment(screenRect);    (panelview.cpp:243)

pinchContainment calls QGraphicsWidget::resize which causes
Plasma::Containment::resizeEvent to fire. This in turn calls
Plasma::Applet::itemChange which indirectly calls
PanelView::updatePanelGeometry.

PanelView::updatePanelGeometry references m_strutsTimer
(panelview.cpp:543). But m_strutsTimer is initialise *after* the call
to pinchContainment in PanelView::PanelView.

The attached (untested) patch may fix the segfault. I've also attached
a backtrace with debugging symbols.

Regards,
Chris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: panelview.cpp.patch
Type: text/x-patch
Size: 1104 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/kde/attachments/20090306/87e025b8/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: plasma.backtrace
Type: application/octet-stream
Size: 8295 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/kde/attachments/20090306/87e025b8/attachment.obj 


[Index of Archives]     [KDE Users]     [Fedora General Discussion]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Triage]     [Coolkey]     [Yum Users]     [Yosemite Forum]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux