Application: kword (2.1.0) KDE Platform Version: 4.4.1 (KDE 4.4.1) Qt Version: 4.6.2 Operating System: Linux 2.6.31-20-generic x86_64 Distribution: Ubuntu 9.10 -- Information about the crash: Every time when I writing the text "Dies ist ein Test in KWord mit dem Grafiktablett", KWord crashes. I can write but at once KWord doesn't do it anymore than I click at the freehand tool the twice, third, ... then KWort crashes. Yes, perhaps the tool isn't designed for Graphic Tablets, but I think it were good if it's works... I'm using ubuntu 9.10 amd64 with GNOME KWord is version 2.1.0 (beta?) Thanks... The crash can be reproduced every time. -- Backtrace: Application: KWord (kword), signal: Aborted [KCrash Handler] #5 0x00007f65b9c8d4b5 in raise () from /lib/libc.so.6 #6 0x00007f65b9c90f50 in abort () from /lib/libc.so.6 #7 0x00007f65b8147cc5 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/libstdc++.so.6 #8 0x00007f65b81460f6 in ?? () from /usr/lib/libstdc++.so.6 #9 0x00007f65b8146123 in std::terminate() () from /usr/lib/libstdc++.so.6 #10 0x00007f65b81461a6 in __cxa_rethrow () from /usr/lib/libstdc++.so.6 #11 0x00007f65b84fbc5d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #12 0x00007f65b84ff84b in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4 #13 0x00007f65b9fcb05d in kdemain () from /usr/lib/libkdeinit4_kword.so #14 0x00007f65b9c78abd in __libc_start_main () from /lib/libc.so.6 #15 0x0000000000400679 in _start () Possible duplicates by query: bug 231551, bug 231448, bug 231418, bug 231410, bug 231335. Reported using DrKonqi
I'm using an Genuis F-610 tablet (wizardpen-Driver) configured by HAL (not by xorg.conf - xorg.conf works bad)
I am not able to reproduce this crash, it works fine with my tablet so far. Does it crash every time? Maybe you can install debug packages for better backtraces. Please also describe step-by-step what you do that leads to a crash.
I have made a screencast, you can look how to reproduce... NOTE: Write very fast (Perhaps KWord have problems with small i points.)
Created an attachment (id=42546) [details] screencast
Does it is only to install the debug packets? Or need I start KWord in debug-mode? Thanks.
At bottom-right you can choos the precision it's by default at curve Curve is not the best for writing, perhaps the letters not good readable If I choose Raw instead of curve Kword does not crash... BUT previously I must choose the freehand tool again...
Using either the tablet or the mouse I get the same issue. The QEventLoop::exec gets an exception from one of the events and then itself throws a new one causing the app to quit. It was much quicker to reproduce using the mouse than using the tablet here, btw. Not sure why ;) Draw some text using the freehand tool, causing loads of not-so big strokes to be added to the shape.
#0 0x00007ffff288f1c0 in __cxa_throw () from /usr/lib/libstdc++.so.6 #1 0x00007ffff2d75022 in qBadAlloc () at /home/zander/work/qt46/src/corelib/global/qglobal.cpp:2003 #2 0x00007ffff40ebbec in QVector<QPointF>::realloc (this=0x7fffffffc320, asize=67108863, aalloc=134217727) at ../../include/QtCore/../../../../../qt46/src/corelib/tools/qvector.h:480 #3 0x00007ffff41298de in QVector<QPointF>::append (this=0x7fffffffc320, t=<value optimized out>) at ../../include/QtCore/../../../../../qt46/src/corelib/tools/qvector.h:547 #4 0x00007ffff4123829 in QBezier::addToPolygon (this=<value optimized out>, polygon=0x7fffffffc320) at /home/zander/work/qt46/src/gui/painting/qbezier.cpp:224 #5 0x00007ffff41882b2 in QPainterPath::toSubpathPolygons (this=<value optimized out>, matrix=...) at /home/zander/work/qt46/src/gui/painting/qpainterpath.cpp:1507 #6 0x00007ffff41885d3 in QPainterPath::toFillPolygon (this=0x7ffff2ac0030, matrix=...) at /home/zander/work/qt46/src/gui/painting/qpainterpath.cpp:2687 #7 0x00007ffff4188932 in QPainterPath::toFillPolygon (this=0x7fffffffc650, matrix=<value optimized out>) at /home/zander/work/qt46/src/gui/painting/qpainterpath.cpp:2707 #8 0x00007fffe65ca87d in Outline::init(QMatrix const&, KoShape*, double) () from /home/zander/work/kde/build-qt46-release/installed/lib/libkwordprivate.so.7 #9 0x00007fffe65c8834 in KWTextDocumentLayout::layout() () from /home/zander/work/kde/build-qt46-release/installed/lib/libkwordprivate.so.7 #10 0x00007fffe65c9f1b in KWTextDocumentLayout::relayout() () from /home/zander/work/kde/build-qt46-release/installed/lib/libkwordprivate.so.7 #11 0x00007ffff704f0fb in KoTextDocumentLayout::qt_metacall(QMetaObject::Call, int, void**) () from /home/zander/work/kde/build-qt46-release/installed/lib/libkotext.so.7 #12 0x00007ffff2e84c76 in QMetaObject::activate (sender=0xab7060, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at /home/zander/work/qt46/src/corelib/kernel/qobject.cpp:3287 #13 0x00007ffff2e8c0ef in QSingleShotTimer::timerEvent (this=0xab7060) at /home/zander/work/qt46/src/corelib/kernel/qtimer.cpp:308 #14 0x00007ffff2e81503 in QObject::event (this=0xab7060, e=0x7fffffffd680) at /home/zander/work/qt46/src/corelib/kernel/qobject.cpp:1204 #15 0x00007ffff401c3cc in QApplicationPrivate::notify_helper (this=0x636230, receiver=0xab7060, e=0x7fffffffd680) Looks like this line is the one that caused the crash; QPainterPath path = matrix.map(shape->outline());
Yes with the mouse I can let crash Kword too...
SVN commit 1112981 by zander: Fix NaN creation on height or width zero. BUG:231846 M +9 -2 KWTextDocumentLayout.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1112981
You need to log in before you can comment on or make changes to this bug.