Summary: | crash on pasting a html table | ||
---|---|---|---|
Product: | [Unmaintained] kword | Reporter: | Daniel Alfonsi <alfonsi.acosta> |
Component: | tables | Assignee: | Thomas Zander <zander> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | andresbajotierra, boxdan, getaceres, mail, niels, olegallis1, takpeh, vojtech.vitek |
Priority: | NOR | ||
Version: | 2.1 | ||
Target Milestone: | Persona: Santiago | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | New crash information added by DrKonqi |
Description
Daniel Alfonsi
2010-05-14 18:38:29 UTC
*** Bug 237800 has been marked as a duplicate of this bug. *** *** Bug 240289 has been marked as a duplicate of this bug. *** *** Bug 241824 has been marked as a duplicate of this bug. *** ok maybe this bug was fixed for release 2.2, but even for my distribution is only 2.1, I have to wait. but I've noticed that not only when copies but also when you delete one letter, but it seems not be related to the two errors. thanks Created attachment 51574 [details]
New crash information added by DrKonqi
Crash after pasting formatted text.
*** Bug 251438 has been marked as a duplicate of this bug. *** well, first my apologies for disappearing from the group. update version 2.2.2 and this error has led me no more. Per #7 closing [Comment from a bug triager] @Thomas: bug 257172 has the same backtrace and it is happening on KOffice 2.2.2; should this be reopened and bug 257172 merged here ? From bug 257172: - What I was doing when the application crashed: 1. i copy text 2.i open a new sheet of KWord 3. i try to make copy of the text 4. crash of KWord *** Bug 252773 has been marked as a duplicate of this bug. *** Following Darios advice and reopening this one due to repeated reports. *** Bug 257172 has been marked as a duplicate of this bug. *** what he was doing when the error was given kword: 1) Copy the text. from the browser to the application. Note: The version of kword 2.2.2, this error is not repeated me I can confirm the crash with kword from the essen-branch from a few minutes ago. Backtrace; Application: KWord (kword), signal: Aborted [KCrash Handler] #6 0x00007f5f64f119e5 in raise () from /lib64/libc.so.6 #7 0x00007f5f64f12ee6 in abort () from /lib64/libc.so.6 #8 0x00007f5f65f846f4 in qt_message_output (msgType=<value optimized out>, buf=<value optimized out>) at global/qglobal.cpp:2259 #9 0x00007f5f65f848bd in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7f5f660d7808 "ASSERT: \"%s\" in file %s, line %d", ap=0x7fffb79958a0) at global/qglobal.cpp:2305 #10 0x00007f5f65f84a55 in qFatal (msg=<value optimized out>) at global/qglobal.cpp:2488 #11 0x00007f5f65f84a9a in qt_assert (assertion=0x2402 <Address 0x2402 out of bounds>, file=0x6 <Address 0x6 out of bounds>, line=-1) at global/qglobal.cpp:2004 #12 0x00007f5f512d7108 in QList<TableRect>::last (this=0xa5a138) at /usr/include/QtCore/qlist.h:271 #13 0x00007f5f512d59b5 in TableLayout::cellContentX (this=0xf4bb20, cell=...) at /home/kdab/src/kde/koffice-essen/plugins/textshape/TableLayout.cpp:501 #14 0x00007f5f512b7a70 in Layout::x (this=0xf4b9f0) at /home/kdab/src/kde/koffice-essen/plugins/textshape/Layout.cpp:170 #15 0x00007f5f512bab4f in Layout::nextParag (this=0xf4b9f0) at /home/kdab/src/kde/koffice-essen/plugins/textshape/Layout.cpp:572 #16 0x00007f5f5663d6bc in KWTextDocumentLayout::layout (this=0x9bc9f0) at /home/kdab/src/kde/koffice-essen/kword/part/frames/KWTextDocumentLayout.cpp:681 #17 0x00007f5f5663bec9 in KWTextDocumentLayout::relayout (this=0x9bc9f0) at /home/kdab/src/kde/koffice-essen/kword/part/frames/KWTextDocumentLayout.cpp:189 #18 0x00007f5f6a533e13 in KoTextDocumentLayout::Private::relayoutPrivate (this=0x9bca40) at /home/kdab/src/kde/koffice-essen/libs/kotext/KoTextDocumentLayout.cpp:125 #19 0x00007f5f6a533518 in KoTextDocumentLayout::qt_metacall (this=0x9bc9f0, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x9cc7e0) at /home/kdab/src/build/koffice-essen/libs/kotext/KoTextDocumentLayout.moc:84 SVN commit 1202073 by sebsauer: Fix crash on pasting a html table. CCBUG:237651 reproduce; 1. copy+paste the html-table from http://www.w3schools.com/html/html_tables.asp into kword 2. got to row=1, col=1 and try to copy+paste the same table into the cell again 3. boom backtrace; #11 0x00007fc47a162a9a in qt_assert (assertion=0x28c7 <Address 0x28c7 out of bounds>, file=0x6 <Address 0x6 out of bounds>, line=-1) at global/qglobal.cpp:2004 #12 0x00007fc4654b39d1 in TableLayout::cellContentX (this=0xf13b40, cell=...) at /home/kdab/src/kde/koffice-essen/plugins/textshape/TableLayout.cpp:501 #13 0x00007fc465495a70 in Layout::x (this=0xf13a10) at /home/kdab/src/kde/koffice-essen/plugins/textshape/Layout.cpp:170 #14 0x00007fc465498b4f in Layout::nextParag (this=0xf13a10) at /home/kdab/src/kde/koffice-essen/plugins/textshape/Layout.cpp:572 #15 0x00007fc46a81b6bc in KWTextDocumentLayout::layout (this=0x9f39e0) at /home/kdab/src/kde/koffice-essen/kword/part/frames/KWTextDocumentLayout.cpp:681 #16 0x00007fc46a819ec9 in KWTextDocumentLayout::relayout (this=0x9f39e0) at /home/kdab/src/kde/koffice-essen/kword/part/frames/KWTextDocumentLayout.cpp:189 #17 0x00007fc47e711e13 in KoTextDocumentLayout::Private::relayoutPrivate (this=0x9efe30) at /home/kdab/src/kde/koffice-essen/libs/kotext/KoTextDocumentLayout.cpp:125 M +4 -2 TableLayout.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1202073 SVN commit 1202078 by sebsauer: backport r1202073; Fix crash on pasting a html table. BUG:237651 M +4 -0 TableLayout.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1202078 Sebastian is right I think the error persists when you copy a table, so far only had copied from one text, I am sorry I had not gone through the tables. thanks. @Daniel; any reason you did reopen the report? My commit r1202078 from comment #16 fixed the problem (the fix will be in the next koffice 2.3 beta or rc release and will be part of 2.3.0 final) and I was not able to reproduce the crash described here in another way. If you can still reproduce the problem then please reopen and please provide a hint what I need to do to reproduce the still persistent problem. Thanks in advance and lot of thanks for the feedback! :) |