Bug 291675 - New line crash
Summary: New line crash
Status: RESOLVED DUPLICATE of bug 291172
Alias: None
Product: calligrawords
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Calligra Words Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-16 17:32 UTC by Jaroslav Reznik
Modified: 2012-01-16 17:37 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Reznik 2012-01-16 17:32:09 UTC
Application: calligrawords (2.4 Beta 6)
KDE Platform Version: 4.7.97 (4.8 RC2 (4.7.97)
Qt Version: 4.8.0
Operating System: Linux 3.1.4-1.fc16.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
Steps to reproduce:
* press Enter between two lines (first char position)
* if it does not crash, try it more times (and different lines, I can't attach the original document where it happens much more often).

The original document was created in OpenOffice.

http://rezza.hofyland.cz/kde/reproducer.odt

Build from RH-KDE-repo

rpm -q calligra-words
calligra-words-2.3.86-3.fc16.x86_64

The crash can be reproduced every time.

-- Backtrace:
Application: Words (calligrawords), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[KCrash Handler]
#6  0x00007f6f616a95cb in QTextLine::cursorToX (this=0x7fff4b10a110, cursorPos=0x7fff4b10a12c, edge=QTextLine::Leading) at text/qtextlayout.cpp:2511
#7  0x00007f6f616ee317 in cursorToX (edge=QTextLine::Leading, cursorPos=0, this=0x7fff4b10a110) at ../../src/gui/text/qtextlayout.h:230
#8  setX (this=0x11b2390) at text/qtextcursor.cpp:146
#9  QTextCursorPrivate::setX (this=0x11b2390) at text/qtextcursor.cpp:133
#10 0x00007f6f64526c41 in KoTextEditor::Private::newLine (this=0x11299a0) at /usr/src/debug/calligra-2.3.86/libs/kotext/KoTextEditor.cpp:278
#11 0x00007f6f6452b87b in newLine (this=0x117e9f0) at /usr/src/debug/calligra-2.3.86/libs/kotext/KoTextEditor.cpp:2026
#12 KoTextEditor::newLine (this=0x117e9f0) at /usr/src/debug/calligra-2.3.86/libs/kotext/KoTextEditor.cpp:2012
#13 0x00007f6f4e34393e in TextTool::keyPressEvent (this=0x10c1b00, event=0x7fff4b10ad10) at /usr/src/debug/calligra-2.3.86/plugins/textshape/TextTool.cpp:1159
#14 0x00007f6f527695fd in KWCanvas::keyPressEvent (this=0x10d72c0, e=0x7fff4b10ad10) at /usr/src/debug/calligra-2.3.86/words/part/KWCanvas.cpp:117
#15 0x00007f6f614920ae in QWidget::event (this=0x10d72c0, event=0x7fff4b10ad10) at kernel/qwidget.cpp:8396
#16 0x00007f6f61441994 in notify_helper (e=0x7fff4b10ad10, receiver=0x10d72c0, this=0xbdf9e0) at kernel/qapplication.cpp:4550
#17 QApplicationPrivate::notify_helper (this=0xbdf9e0, receiver=0x10d72c0, e=0x7fff4b10ad10) at kernel/qapplication.cpp:4522
#18 0x00007f6f61446ede in QApplication::notify (this=<optimized out>, receiver=<optimized out>, e=0x7fff4b10ad10) at kernel/qapplication.cpp:3991
#19 0x00007f6f62180eb6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#20 0x00007f6f6056a03c in QCoreApplication::notifyInternal (this=0x7fff4b10bc00, receiver=0x10d72c0, event=0x7fff4b10ad10) at kernel/qcoreapplication.cpp:876
#21 0x00007f6f614e06c9 in QKeyMapper::sendKeyEvent (keyWidget=0x10d72c0, grab=<optimized out>, type=QEvent::KeyPress, code=16777220, modifiers=..., text=..., autorepeat=false, count=1, nativeScanCode=36, nativeVirtualKey=65293, nativeModifiers=0) at kernel/qkeymapper_x11.cpp:1866
#22 0x00007f6f614e0b3b in QKeyMapperPrivate::translateKeyEvent (this=0xc20a90, keyWidget=0x10d72c0, event=0x7fff4b10b7f0, grab=false) at kernel/qkeymapper_x11.cpp:1836
#23 0x00007f6f614bcce4 in QApplication::x11ProcessEvent (this=0x7fff4b10bc00, event=0x7fff4b10b7f0) at kernel/qapplication_x11.cpp:3534
#24 0x00007f6f614e492c in x11EventSourceDispatch (s=0xbe83d0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#25 0x00000032c8844a7d in g_main_dispatch (context=0xbe50e0) at gmain.c:2425
#26 g_main_context_dispatch (context=0xbe50e0) at gmain.c:2995
#27 0x00000032c8845278 in g_main_context_iterate (context=0xbe50e0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3073
#28 0x00000032c884544c in g_main_context_iteration (context=0xbe50e0, may_block=1) at gmain.c:3136
#29 0x00007f6f60598d4f in QEventDispatcherGlib::processEvents (this=0xb667a0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#30 0x00007f6f614e461e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#31 0x00007f6f60569172 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#32 0x00007f6f605693c7 in QEventLoop::exec (this=0x7fff4b10bbc0, flags=...) at kernel/qeventloop.cpp:204
#33 0x00007f6f6056ddc5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#34 0x00007f6f64e48f3d in kdemain (argc=<optimized out>, argv=0x7fff4b10bda8) at /usr/src/debug/calligra-2.3.86/words/part/main.cpp:43
#35 0x00000032c682169d in __libc_start_main () from /lib64/libc.so.6
#36 0x0000000000400821 in _start ()

Reported using DrKonqi
Comment 1 Camilla Boemann 2012-01-16 17:37:17 UTC

*** This bug has been marked as a duplicate of bug 291172 ***