KDE Bug Tracking System
Home
Report New Wish or Bug
Query Existing Reports
First
Last
Prev
Next
No search results available
Search page
Bug
127555
:
[PATCH] crash in style manager
P
roduct
:
kword
Co
m
ponent
:
general
Status
:
RESOLVED
Resolution
:
FIXED
Target
:
---
Version
:
unspecified
Pr
i
ority
:
NOR
Severity
:
crash
V
otes
:
0
Description
:
Opened:
2006-05-18 11:22
Last Changed:
2006-08-18 22:18:36
Version: (using KDE KDE 3.5.1) Different crash from the one I reported before: Create a new document. Create a new style. (I named mine "body"). Make body inherit standard, make body follow body. Close style manager. Set current para to body. Open style manager. #6 0xb76527b6 in QString::operator+= () from /usr/lib/libqt-mt.so.3 #7 0xb67cbc25 in kdbgstream::operator<< (this=0xbfbf1ecc, string=@0xbfbf1e74) at kdebug.h:218 #8 0xb5e48d6f in KoStyleManager::updateGUI (this=0x8565d98) at KoStyleManager.cpp:322 #9 0xb5e55edb in KoStyleManager::switchStyle (this=0x8565d98) at KoStyleManager.cpp:262 #10 0xb5e935f7 in KoStyleManager (this=0x8565d98, _parent=0x85dbe78, unit=U_MM, styles=@0x83ec220, activeStyleName=@0xbfbf207c, flags=1) at KoStyleManager.cpp:105 #11 0xb615eb13 in KWStyleManager (this=0x8565d98, _parent=0x85dbe78, unit=KoUnit::U_MM, _doc=0x83d1770, styles=@0x83ec220, activeStyleName=@0xbfbf207c) at KWStyleManager.cpp:36 #12 0xb615ecc4 in KWView::extraStylist (this=0x85dbe78) at KWView.cpp:4059 #13 0xb625613a in KWView::qt_invoke (this=0x85dbe78, _id=98, _o=0xbfbf217c) at KWView.moc:644 #14 0xb7339929 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #15 0xb733a3c4 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #16 0xb6da0a26 in KAction::activated () from /usr/lib/libkdeui.so.4 #17 0xb6dd722b in KAction::slotActivated () from /usr/lib/libkdeui.so.4 #18 0xb6df2f4b in KAction::slotPopupActivated () from /usr/lib/libkdeui.so.4 #19 0xb6df3282 in KAction::qt_invoke () from /usr/lib/libkdeui.so.4 #20 0xb7339929 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #21 0xb7698e92 in QSignal::signal () from /usr/lib/libqt-mt.so.3 #22 0xb7357344 in QSignal::activate () from /usr/lib/libqt-mt.so.3 #23 0xb745c963 in QPopupMenu::mouseReleaseEvent () from /usr/lib/libqt-mt.so.3 #24 0xb6dace80 in KPopupMenu::mouseReleaseEvent () from /usr/lib/libkdeui.so.4 #25 0xb7374356 in QWidget::event () from /usr/lib/libqt-mt.so.3 #26 0xb72d0f80 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3 #27 0xb72d1500 in QApplication::notify () from /usr/lib/libqt-mt.so.3 #28 0xb796317c in KApplication::notify () from /usr/lib/libkdecore.so.4 #29 0xb7261e25 in QApplication::sendSpontaneousEvent () from /usr/lib/libqt-mt.so.3 #30 0xb725d072 in QETWidget::translateMouseEvent () from /usr/lib/libqt-mt.so.3 #31 0xb725b66f in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3 #32 0xb7274fff in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3 #33 0xb72e8cfb in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3 #34 0xb72e8c1e in QEventLoop::exec () from /usr/lib/libqt-mt.so.3 #35 0xb72cfc13 in QApplication::exec () from /usr/lib/libqt-mt.so.3 #36 0xb67fd1df in kdemain (argc=1, argv=0x8206d00) at main.cpp:40 #37 0xb67ff7d0 in kdeinitmain () from /usr/lib/kde3/kword.so
Comment
#1
Alexander Rieder 2006-07-24 14:20:30
Created an attachment (id=17112)
[details]
patch for KoStyleManager.cpp This patch should fix this problem (and probably also some other crashes with inherited styles). The problem was, that it was saving a pointer to the style in the changedStyles list, which is deleted later, instead of the original one.
Comment
#2
Andreas Kling 2006-07-31 14:53:55
***
Bug 127553
has been marked as a duplicate of this bug. ***
Comment
#3
Andreas Kling 2006-07-31 14:56:23
***
Bug 107662
has been marked as a duplicate of this bug. ***
Comment
#4
Andreas Kling 2006-07-31 14:57:00
***
Bug 112942
has been marked as a duplicate of this bug. ***
Comment
#5
Andreas Kling 2006-07-31 15:04:33
***
Bug 129153
has been marked as a duplicate of this bug. ***
Comment
#6
Inge Wallin 2006-08-07 10:45:27
Changed heading to indicate the fact that there is a patch.
Comment
#7
Sebastian Sauer 2006-08-18 21:19:58
The patch fixes the crasher, but does not seem to work perfect since now once I applied the steps described by boud, on re-open the style-manager first-time (and only first-time) the Next-style is "Standard" rather then the before defined "body". This happens only the first time the style-manager got reopened. If I close the style-manager again and reopen it, the next-style is "body" as expected.
Comment
#8
Sebastian Sauer 2006-08-18 22:18:36
The patch got applied to 1.6-branch and 2.0-trunk. A lot of thanks to boud for the report and to Alex for the great fix!
P
latform
:
unspecified
O
S
:
Linux
K
eywords
:
U
RL
:
People
Reporter
:
Assigned To
:
David Faure
CC
:
greatbunzinni gmail com
Related actions
View Bug Activity
Format For Printing
XML
Clone This Bug
Note
You need to
log in
before you can comment on or make changes to this bug.
Attachments
patch for KoStyleManager.cpp
(1.09 KB, patch)
2006-07-24 14:20
,
Alexander Rieder
Details
View All
Add an attachment
(proposed patch, testcase, etc.)
Depends on
:
B
locks
:
Show dependency tree
-
Show dependency graph
First
Last
Prev
Next
No search results available
Search page
Actions
Reports
Requests
Reports
Bugs reported today
Bugs reported in the last 3 days
Bug reports with patches
Weekly Bug statistics
The most hated bugs
The most severe bugs
The most frequently reported bugs
The most wanted features
Junior Jobs
Report ownership counts and charts
My Account
New Account
Log In