Bug 262962 - Editing a odt document : crash at closing
Summary: Editing a odt document : crash at closing
Status: RESOLVED FIXED
Alias: None
Product: kword
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Thomas Zander
URL:
Keywords:
: 287924 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-01-12 16:06 UTC by Bruno Friedmann
Modified: 2011-12-01 04:51 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (6.98 KB, text/plain)
2011-01-14 13:16 UTC, Bruno Friedmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bruno Friedmann 2011-01-12 16:06:28 UTC
Application: kword (2.3.0)
KDE Platform Version: 4.5.95 (4.6 RC2)
Qt Version: 4.7.1
Operating System: Linux 2.6.37-rc7-desktop x86_64
Distribution: "openSUSE 11.4 Milestone 5 of 6 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed: libreoffice would not work correctly, so I fire the kwords, and edit the document.
One strange effect on a blank sheet, was for each characters typed, and new blank line appears ( or if you wish the text goes down in the page )
ctrl+s replace everything at the right place.

Then I hit the ctrl+q to quit. And I get this crash

The crash can be reproduced some of the time.

-- Backtrace:
Application: KWord (kdeinit4), signal: Segmentation fault
[KCrash Handler]
#6  operator== (this=0x20eb580, __in_chrg=<value optimized out>) at /usr/include/QtCore/qbasicatomic.h:70
#7  data (this=0x20eb580, __in_chrg=<value optimized out>) at /usr/include/QtCore/qsharedpointer_impl.h:557
#8  DeleteCommand::~DeleteCommand (this=0x20eb580, __in_chrg=<value optimized out>) at /usr/src/debug/koffice-2.3.0/plugins/textshape/commands/DeleteCommand.cpp:312
#9  0x00007fd482ef8b59 in DeleteCommand::~DeleteCommand (this=0x20eb580, __in_chrg=<value optimized out>) at /usr/src/debug/koffice-2.3.0/plugins/textshape/commands/DeleteCommand.cpp:326
#10 0x00007fd4a13637cf in qDeleteAll<QList<QUndoCommand*>::const_iterator> (this=0x939440) at ../../src/corelib/tools/qalgorithms.h:322
#11 qDeleteAll<QList<QUndoCommand*> > (this=0x939440) at ../../src/corelib/tools/qalgorithms.h:330
#12 QUndoStack::clear (this=0x939440) at util/qundostack.cpp:499
#13 0x00007fd49069c9f8 in KoMainWindow::setRootDocument (this=0x8ca4c0, doc=0x0) at /usr/src/debug/koffice-2.3.0/libs/main/KoMainWindow.cpp:497
#14 0x00007fd49069d29b in KoMainWindow::closeEvent (this=0x8ca4c0, e=0x7fffc3379d40) at /usr/src/debug/koffice-2.3.0/libs/main/KoMainWindow.cpp:1055
#15 0x00007fd4a0d6290e in QWidget::event (this=0x8ca4c0, event=0x7fffc3379d40) at kernel/qwidget.cpp:8358
#16 0x00007fd4a112044b in QMainWindow::event (this=0x8ca4c0, event=0x7fffc3379d40) at widgets/qmainwindow.cpp:1478
#17 0x00007fd4a28ae4a3 in KXmlGuiWindow::event (this=0x8ca4c0, ev=0x7fffc3379d40) at /usr/src/debug/kdelibs-4.5.95/kdeui/xmlgui/kxmlguiwindow.cpp:126
#18 0x00007fd4a0d10d44 in QApplicationPrivate::notify_helper (this=0x72e960, receiver=0x8ca4c0, e=0x7fffc3379d40) at kernel/qapplication.cpp:4445
#19 0x00007fd4a0d1924a in QApplication::notify (this=<value optimized out>, receiver=0x8ca4c0, e=0x7fffc3379d40) at kernel/qapplication.cpp:4324
#20 0x00007fd4a2805976 in KApplication::notify (this=0x7fffc337a790, receiver=0x8ca4c0, event=0x7fffc3379d40) at /usr/src/debug/kdelibs-4.5.95/kdeui/kernel/kapplication.cpp:311
#21 0x00007fd4a1b61c3c in QCoreApplication::notifyInternal (this=0x7fffc337a790, receiver=0x8ca4c0, event=0x7fffc3379d40) at kernel/qcoreapplication.cpp:732
#22 0x00007fd4a0d5d2f1 in sendEvent (this=0xa53440, mode=QWidgetPrivate::CloseWithSpontaneousEvent) at ../../src/corelib/kernel/qcoreapplication.h:215
#23 QWidgetPrivate::close_helper (this=0xa53440, mode=QWidgetPrivate::CloseWithSpontaneousEvent) at kernel/qwidget.cpp:7766
#24 0x00007fd4a0d90536 in translateCloseEvent (this=<value optimized out>, w=0x8ca4c0, event=<value optimized out>, passive_only=<value optimized out>) at kernel/qapplication_x11.cpp:5356
#25 QApplication::x11ClientMessage (this=<value optimized out>, w=0x8ca4c0, event=<value optimized out>, passive_only=<value optimized out>) at kernel/qapplication_x11.cpp:3080
#26 0x00007fd4a0d8e97b in QApplication::x11ProcessEvent (this=0x7fffc337a790, event=0x7fffc337a420) at kernel/qapplication_x11.cpp:3703
#27 0x00007fd4a0db6102 in x11EventSourceDispatch (s=0x7327f0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#28 0x00007fd49d411a43 in g_main_dispatch (context=0x731520) at gmain.c:2436
#29 g_main_context_dispatch (context=0x731520) at gmain.c:3009
#30 0x00007fd49d412220 in g_main_context_iterate (context=0x731520, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3087
#31 0x00007fd49d4124c0 in g_main_context_iteration (context=0x731520, may_block=1) at gmain.c:3150
#32 0x00007fd4a1b8c96f in QEventDispatcherGlib::processEvents (this=0x6183e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#33 0x00007fd4a0db5d9e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007fd4a1b61092 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#35 0x00007fd4a1b612a5 in QEventLoop::exec (this=0x7fffc337a740, flags=...) at kernel/qeventloop.cpp:201
#36 0x00007fd4a1b656eb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#37 0x00007fd49099a02d in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/koffice-2.3.0/kword/part/main.cpp:38
#38 0x00000000004075f9 in launch (argc=2, _name=0x6bdd68 "/usr/bin/kword", args=<value optimized out>, cwd=0x0, envc=<value optimized out>, envs=<value optimized out>, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x6bddc5 "c-3po.vellerat.ioda.net;1294843509;621563;4231_TIME22437240") at /usr/src/debug/kdelibs-4.5.95/kinit/kinit.cpp:730
#39 0x00000000004080fd in handle_launcher_request (sock=8, who=<value optimized out>) at /usr/src/debug/kdelibs-4.5.95/kinit/kinit.cpp:1222
#40 0x000000000040889a in handle_requests (waitForPid=<value optimized out>) at /usr/src/debug/kdelibs-4.5.95/kinit/kinit.cpp:1415
#41 0x00000000004094f0 in main (argc=4, argv=0x7fffc337ba18, envp=0x7fffc337ba40) at /usr/src/debug/kdelibs-4.5.95/kinit/kinit.cpp:1903

Reported using DrKonqi
Comment 1 Bruno Friedmann 2011-01-14 13:16:42 UTC
Created attachment 56003 [details]
New crash information added by DrKonqi

kword (2.3.0) on KDE Platform 4.5.95 (4.6 RC2) using Qt 4.7.1

- What I was doing when the application crashed:
Just launched Kword, use the professionnal template, adjust page margings.
Try to setup some style.
Not convinced, so close the document, and quit kword -> get crash

-- Backtrace (Reduced):
#6  operator== (this=0xf3fb20, __in_chrg=<value optimized out>) at /usr/include/QtCore/qbasicatomic.h:70
#7  data (this=0xf3fb20, __in_chrg=<value optimized out>) at /usr/include/QtCore/qsharedpointer_impl.h:557
#8  DeleteCommand::~DeleteCommand (this=0xf3fb20, __in_chrg=<value optimized out>) at /usr/src/debug/koffice-2.3.0/plugins/textshape/commands/DeleteCommand.cpp:312
#9  0x00007f2603956b59 in DeleteCommand::~DeleteCommand (this=0xf3fb20, __in_chrg=<value optimized out>) at /usr/src/debug/koffice-2.3.0/plugins/textshape/commands/DeleteCommand.cpp:326
#10 0x00007f2621d917cf in qDeleteAll<QList<QUndoCommand*>::const_iterator> (this=0x77a2d0) at ../../src/corelib/tools/qalgorithms.h:322
Comment 2 Thomas Zander 2011-01-16 15:08:14 UTC
was fixed in rev 0903180464
Comment 3 T Zachmann 2011-12-01 04:51:46 UTC
*** Bug 287924 has been marked as a duplicate of this bug. ***