Application: kword (2.1.2) KDE Platform Version: 4.4.2 (KDE 4.4.2) Qt Version: 4.6.2 Operating System: Linux 2.6.32-22-generic x86_64 Distribution: Ubuntu 10.04 LTS -- Information about the crash: the error occurs when you copy text from google chrome to kword . The crash can be reproduced every time. -- Backtrace: Application: KWord (kdeinit4), signal: Segmentation fault [Current thread is 1 (Thread 0x7facf4f1d760 (LWP 4957))] Thread 2 (Thread 0x7facd8abc710 (LWP 4959)): #0 0x00007facf1f0cf53 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007facee8d24a9 in ?? () from /lib/libglib-2.0.so.0 #2 0x00007facee8d28fc in g_main_context_iteration () from /lib/libglib-2.0.so.0 #3 0x00007facf3514566 in QEventDispatcherGlib::processEvents (this=0x273a9c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414 #4 0x00007facf34e9992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #5 0x00007facf34e9d6c in QEventLoop::exec (this=0x7facd8abbdb0, flags=) at kernel/qeventloop.cpp:201 #6 0x00007facf33f3d59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487 #7 0x00007facf34ca178 in QInotifyFileSystemWatcherEngine::run (this=0x2b211d0) at io/qfilesystemwatcher_inotify.cpp:248 #8 0x00007facf33f6775 in QThreadPrivate::start (arg=0x2b211d0) at thread/qthread_unix.cpp:248 #9 0x00007facf31669ca in start_thread (arg=<value optimized out>) at pthread_create.c:300 #10 0x00007facf1f1969d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #11 0x0000000000000000 in ?? () Thread 1 (Thread 0x7facf4f1d760 (LWP 4957)): [KCrash Handler] #5 TableRect (this=0x2baeb78, cell=...) at ../../../plugins/textshape/TableLayoutData.h:36 #6 TableLayout::cellBoundingRect (this=0x2baeb78, cell=...) at ../../../plugins/textshape/TableLayout.cpp:469 #7 0x00007facdf3aa42e in TableLayout::cellContentRect (this=0x2baeb78, cell=...) at ../../../plugins/textshape/TableLayout.cpp:462 #8 0x00007facdf39e5e8 in Layout::x (this=0x2baea60) at ../../../plugins/textshape/Layout.cpp:127 #9 0x00007facdf39ec22 in Layout::handleTable (this=0x2baea60) at ../../../plugins/textshape/Layout.cpp:565 #10 0x00007facdf3a31f3 in Layout::nextParag (this=0x2baea60) at ../../../plugins/textshape/Layout.cpp:518 #11 0x00007face198d581 in KWTextDocumentLayout::layout (this=0x2d1fa40) at ../../../kword/part/frames/KWTextDocumentLayout.cpp:514 #12 0x00007face198daaf in KWTextDocumentLayout::relayout (this=0x2d1fa40) at ../../../kword/part/frames/KWTextDocumentLayout.cpp:297 #13 0x00007face784298e in KoTextDocumentLayout::Private::relayoutPrivate (this=0x2d1fa40, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>) at ../../../libs/kotext/KoTextDocumentLayout.cpp:106 #14 KoTextDocumentLayout::qt_metacall (this=0x2d1fa40, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>) at ./KoTextDocumentLayout.moc:75 #15 0x00007facf34fde3f in QMetaObject::activate (sender=0x6320590, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x62c7ff0) at kernel/qobject.cpp:3293 #16 0x00007facf350565f in QSingleShotTimer::timerEvent (this=0x6320590) at kernel/qtimer.cpp:308 #17 0x00007facf34faa63 in QObject::event (this=0x6320590, e=0x7fff22e0d8f0) at kernel/qobject.cpp:1212 #18 0x00007facf268722c in QApplicationPrivate::notify_helper (this=0x24b2200, receiver=0x6320590, e=0x7fff22e0d8f0) at kernel/qapplication.cpp:4300 #19 0x00007facf268d6fb in QApplication::notify (this=0x7fff22e0dbe0, receiver=0x6320590, e=0x7fff22e0d8f0) at kernel/qapplication.cpp:4183 #20 0x00007facf3a32526 in KApplication::notify (this=0x7fff22e0dbe0, receiver=0x6320590, event=0x7fff22e0d8f0) at ../../kdeui/kernel/kapplication.cpp:302 #21 0x00007facf34eb06c in QCoreApplication::notifyInternal (this=0x7fff22e0dbe0, receiver=0x6320590, event=0x7fff22e0d8f0) at kernel/qcoreapplication.cpp:704 #22 0x00007facf3517d42 in QCoreApplication::sendEvent (this=0x24b5d50) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #23 QTimerInfoList::activateTimers (this=0x24b5d50) at kernel/qeventdispatcher_unix.cpp:603 #24 0x00007facf3514824 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184 #25 0x00007facee8ce8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #26 0x00007facee8d2748 in ?? () from /lib/libglib-2.0.so.0 #27 0x00007facee8d28fc in g_main_context_iteration () from /lib/libglib-2.0.so.0 #28 0x00007facf3514513 in QEventDispatcherGlib::processEvents (this=0x2412140, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412 #29 0x00007facf273746e in QGuiEventDispatcherGlib::processEvents (this=0x7facf21b0e40, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #30 0x00007facf34e9992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #31 0x00007facf34e9d6c in QEventLoop::exec (this=0x7fff22e0db90, flags=) at kernel/qeventloop.cpp:201 #32 0x00007facf34edaab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981 #33 0x00007face855708d in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../../kword/part/main.cpp:38 #34 0x00000000004070f3 in launch (argc=1, _name=<value optimized out>, args=<value optimized out>, cwd=<value optimized out>, envc=1, envs=<value optimized out>, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x246bc74 "daniel-desktop;1273854543;755599;1564_TIME8511582") at ../../kinit/kinit.cpp:717 #35 0x0000000000407cb0 in handle_launcher_request (sock=8, who=<value optimized out>) at ../../kinit/kinit.cpp:1209 #36 0x000000000040823a in handle_requests (waitForPid=0) at ../../kinit/kinit.cpp:1402 #37 0x0000000000408e22 in main (argc=4, argv=<value optimized out>, envp=<value optimized out>) at ../../kinit/kinit.cpp:1845 Reported using DrKonqi
*** 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! :)