Bug 344585 - Crash inserting new pair in autocorrection
Summary: Crash inserting new pair in autocorrection
Status: RESOLVED WORKSFORME
Alias: None
Product: calligrawords
Classification: Applications
Component: general (show other bugs)
Version: 2.7.5
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Calligra Words Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-26 10:21 UTC by Joe
Modified: 2018-11-05 14:07 UTC (History)
2 users (show)

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 Joe 2015-02-26 10:21:07 UTC
New text open for writing
opened autocorrection menu for addding a new pair (cosi->così) 
tried to resume editing without clikking ok on the OK button
calligra crashed.

I tried to continue writing without closing autocorrection menu, couse was the first time I was using calligra on a new installation. So having many auto corrections to add I  thougt was better keeping the autocorrection form open so to not call it at any new word to add.


Reproducible: Sometimes

Steps to Reproduce:
1. opened autocorrection menu for addding a new pair
2. tried to resume editing without clikking ok on the OK button


Actual Results:  
calligrawords cashes

Expected Results:  
should permit continue editing my text

-- Backtrace:
Application: Calligra Words (calligrawords), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f7fe27837c0 (LWP 4190))]

Thread 4 (Thread 0x7f7fcc233700 (LWP 4191)):
#0  0x00007f7fdcb5bf10 in pthread_mutex_unlock@plt () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f7fdcbca3d1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7fdcb8a55d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7fdcb8ab0a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f7fd1de3b66 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#5  0x00007f7fdcbaf0f5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f7fdd062f6e in start_thread (arg=0x7f7fcc233700) at pthread_create.c:311
#7  0x00007f7fe20d39cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f7fcb0f9700 (LWP 4192)):
#0  0x00007f7fe20c6f7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f7fdcb8a6a4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7fdcb8a7ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7fdcb8a7f9 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f7fdcbaf0f5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f7fdd062f6e in start_thread (arg=0x7f7fcb0f9700) at pthread_create.c:311
#6  0x00007f7fe20d39cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f7fa5cbc700 (LWP 4199)):
#0  0x00007f7fdcbca0ea in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f7fdcbca3c9 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7fdcb89dd8 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7fdcb8a5c3 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f7fdcb8a7ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f7fe07dca76 in QEventDispatcherGlib::processEvents (this=0x7f7fa00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f7fe07ae5ef in QEventLoop::processEvents (this=this@entry=0x7f7fa5cbbd70, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f7fe07ae8e5 in QEventLoop::exec (this=this@entry=0x7f7fa5cbbd70, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f7fe06ad88f in QThread::exec (this=this@entry=0x2a4d5d0) at thread/qthread.cpp:542
#9  0x00007f7fe078fd13 in QInotifyFileSystemWatcherEngine::run (this=0x2a4d5d0) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f7fe06aff2f in QThreadPrivate::start (arg=0x2a4d5d0) at thread/qthread_unix.cpp:338
#11 0x00007f7fdd062f6e in start_thread (arg=0x7f7fa5cbc700) at pthread_create.c:311
#12 0x00007f7fe20d39cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f7fe27837c0 (LWP 4190)):
[KCrash Handler]
#6  row (this=0x21) at /usr/include/qt4/QtGui/qtablewidget.h:360
#7  AutocorrectConfig::enableAddRemoveButton (this=0x2d32260) at /build/buildd/calligra-2.7.2/plugins/textediting/autocorrection/AutocorrectConfigDialog.cpp:278
#8  0x00007f7fe07c3a58 in QMetaObject::activate (sender=0x3b37780, m=m@entry=0x7f7fe1c57780 <QLineEdit::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffcb46c5f0) at kernel/qobject.cpp:3539
#9  0x00007f7fe159fb72 in QLineEdit::textChanged (this=<optimized out>, _t1=...) at .moc/release-shared/moc_qlineedit.cpp:264
#10 0x00007f7fe159ff49 in QLineEdit::qt_static_metacall (_o=0x5b24738, _c=33, _id=95569696, _a=0x5b24720) at .moc/release-shared/moc_qlineedit.cpp:140
#11 0x00007f7fe07c3a58 in QMetaObject::activate (sender=sender@entry=0x28cf440, m=m@entry=0x7f7fe1c751e0 <QLineControl::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fffcb46c740) at kernel/qobject.cpp:3539
#12 0x00007f7fe17f15c5 in QLineControl::textChanged (this=this@entry=0x28cf440, _t1=...) at .moc/release-shared/moc_qlinecontrol_p.cpp:148
#13 0x00007f7fe15a557d in QLineControl::finishChange (this=this@entry=0x28cf440, validateFromState=13, update=update@entry=false, edited=edited@entry=true) at widgets/qlinecontrol.cpp:660
#14 0x00007f7fe15a5805 in QLineControl::insert (this=this@entry=0x28cf440, newText=...) at widgets/qlinecontrol.cpp:248
#15 0x00007f7fe15a7030 in QLineControl::processKeyEvent (this=0x28cf440, event=event@entry=0x7fffcb46cc50) at widgets/qlinecontrol.cpp:1886
#16 0x00007f7fe159c60a in QLineEdit::keyPressEvent (this=0x3b37780, event=0x7fffcb46cc50) at widgets/qlineedit.cpp:1707
#17 0x00007f7fe11f01ea in QWidget::event (this=this@entry=0x3b37780, event=event@entry=0x7fffcb46cc50) at kernel/qwidget.cpp:8421
#18 0x00007f7fe15a1931 in QLineEdit::event (this=0x3b37780, e=0x7fffcb46cc50) at widgets/qlineedit.cpp:1524
#19 0x00007f7fe11a0dfc in QApplicationPrivate::notify_helper (this=this@entry=0x23e0cf0, receiver=receiver@entry=0x3b37780, e=e@entry=0x7fffcb46cc50) at kernel/qapplication.cpp:4567
#20 0x00007f7fe11a86c1 in QApplication::notify (this=<optimized out>, receiver=receiver@entry=0x3b37780, e=e@entry=0x7fffcb46cc50) at kernel/qapplication.cpp:4008
#21 0x00007f7fe1ce5928 in KoApplication::notify (this=<optimized out>, receiver=0x3b37780, event=0x7fffcb46cc50) at /build/buildd/calligra-2.7.2/libs/main/KoApplication.cpp:556
#22 0x00007f7fe07af8bd in QCoreApplication::notifyInternal (this=0x7fffcb46df60, receiver=receiver@entry=0x3b37780, event=event@entry=0x7fffcb46cc50) at kernel/qcoreapplication.cpp:946
#23 0x00007f7fe119f526 in sendSpontaneousEvent (event=event@entry=0x7fffcb46cc50, receiver=receiver@entry=0x3b37780) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#24 qt_sendSpontaneousEvent (receiver=receiver@entry=0x3b37780, event=event@entry=0x7fffcb46cc50) at kernel/qapplication.cpp:5565
#25 0x00007f7fe123fe19 in QKeyMapper::sendKeyEvent (keyWidget=keyWidget@entry=0x3b37780, grab=grab@entry=false, type=QEvent::KeyPress, code=79, modifiers=..., text=..., autorepeat=autorepeat@entry=false, count=1, nativeScanCode=32, nativeVirtualKey=111, nativeModifiers=16) at kernel/qkeymapper_x11.cpp:1866
#26 0x00007f7fe12401b9 in QKeyMapperPrivate::translateKeyEvent (this=0x24361e0, keyWidget=keyWidget@entry=0x3b37780, event=event@entry=0x7fffcb46d1e0, grab=grab@entry=false) at kernel/qkeymapper_x11.cpp:1836
#27 0x00007f7fe121a207 in QApplication::x11ProcessEvent (this=0x7fffcb46df60, event=event@entry=0x7fffcb46d1e0) at kernel/qapplication_x11.cpp:3639
#28 0x00007f7fe1242922 in x11EventSourceDispatch (s=0x23e4d10, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#29 0x00007f7fdcb8a3b6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f7fdcb8a708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f7fdcb8a7ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f7fe07dca55 in QEventDispatcherGlib::processEvents (this=0x2343b30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#33 0x00007f7fe12429d6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007f7fe07ae5ef in QEventLoop::processEvents (this=this@entry=0x7fffcb46d5d0, flags=...) at kernel/qeventloop.cpp:149
#35 0x00007f7fe07ae8e5 in QEventLoop::exec (this=this@entry=0x7fffcb46d5d0, flags=...) at kernel/qeventloop.cpp:204
#36 0x00007f7fe164738c in QDialog::exec (this=this@entry=0x3b422b0) at dialogs/qdialog.cpp:554
#37 0x00007f7f9e3600c3 in Autocorrect::configureAutocorrect (this=0x33fb920) at /build/buildd/calligra-2.7.2/plugins/textediting/autocorrection/Autocorrect.cpp:152
#38 0x00007f7fe07c3a58 in QMetaObject::activate (sender=sender@entry=0x33fad30, m=m@entry=0x7f7fe1c49de0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fffcb46d750) at kernel/qobject.cpp:3539
#39 0x00007f7fe119aa32 in QAction::triggered (this=this@entry=0x33fad30, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#40 0x00007f7fe119c403 in QAction::activate (this=0x33fad30, event=<optimized out>) at kernel/qaction.cpp:1257
#41 0x00007f7fe07c7dce in QObject::event (this=0x33fad30, e=e@entry=0x283c700) at kernel/qobject.cpp:1194
#42 0x00007f7fe119c4c2 in QAction::event (this=<optimized out>, e=e@entry=0x283c700) at kernel/qaction.cpp:1187
#43 0x00007f7fddd94d3f in KAction::event (this=<optimized out>, event=0x283c700) at ../../kdeui/actions/kaction.cpp:131
#44 0x00007f7fe11a0dfc in QApplicationPrivate::notify_helper (this=this@entry=0x23e0cf0, receiver=receiver@entry=0x33fad30, e=e@entry=0x283c700) at kernel/qapplication.cpp:4567
#45 0x00007f7fe11a7470 in QApplication::notify (this=0x7fffcb46df60, receiver=receiver@entry=0x33fad30, e=e@entry=0x283c700) at kernel/qapplication.cpp:4353
#46 0x00007f7fe1ce5928 in KoApplication::notify (this=<optimized out>, receiver=0x33fad30, event=0x283c700) at /build/buildd/calligra-2.7.2/libs/main/KoApplication.cpp:556
#47 0x00007f7fe07af8bd in QCoreApplication::notifyInternal (this=0x7fffcb46df60, receiver=receiver@entry=0x33fad30, event=event@entry=0x283c700) at kernel/qcoreapplication.cpp:946
#48 0x00007f7fe07b2e1f in sendEvent (event=0x283c700, receiver=0x33fad30) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#49 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x2342670) at kernel/qcoreapplication.cpp:1570
#50 0x00007f7fe07b32c3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#51 0x00007f7fe07dd073 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#52 postEventSourceDispatch (s=0x23e53b0) at kernel/qeventdispatcher_glib.cpp:279
#53 0x00007f7fdcb8a3b6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#54 0x00007f7fdcb8a708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#55 0x00007f7fdcb8a7ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#56 0x00007f7fe07dca55 in QEventDispatcherGlib::processEvents (this=0x2343b30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#57 0x00007f7fe12429d6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#58 0x00007f7fe07ae5ef in QEventLoop::processEvents (this=this@entry=0x7fffcb46dec0, flags=...) at kernel/qeventloop.cpp:149
#59 0x00007f7fe07ae8e5 in QEventLoop::exec (this=this@entry=0x7fffcb46dec0, flags=...) at kernel/qeventloop.cpp:204
#60 0x00007f7fe07b3e5b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#61 0x00007f7fe119f34c in QApplication::exec () at kernel/qapplication.cpp:3828
#62 0x00007f7fe23a3c65 in kdemain (argc=<optimized out>, argv=0x7fffcb46e078) at /build/buildd/calligra-2.7.2/words/app/main.cpp:43
#63 0x00007f7fe1ffade5 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=1, ubp_av=0x7fffcb46e078, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffcb46e068) at libc-start.c:260
#64 0x00000000004006fe in _start ()
Comment 1 Camilla Boemann 2015-03-27 12:50:15 UTC
I can't reproduce.
I can see from the data that you were entering something in  one of the textboxes when you got the crash.
Can you please try and explai in more detail how to reproduce
Comment 2 Andrew Crouthamel 2018-10-31 04:10:17 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Joe 2018-11-05 13:20:18 UTC
Hi Andrew: no, seems in latest version the bug does not occur anymore!!
JC
Comment 4 Joe 2018-11-05 13:21:10 UTC
.
Comment 5 Andrew Crouthamel 2018-11-05 14:07:57 UTC
Thanks for the update!