Bug 222494 - Kopete Help Assistant crashed after cancelling the index building
Summary: Kopete Help Assistant crashed after cancelling the index building
Status: RESOLVED FIXED
Alias: None
Product: khelpcenter
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Documentation Editorial Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-13 05:37 UTC by Matt
Modified: 2016-03-12 23:27 UTC (History)
1 user (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 Matt 2010-01-13 05:37:48 UTC
Application: khelpcenter (4.4.59 (KDE 4.4.59 (KDE 4.5 >= 20100107)))
KDE Platform Version: 4.4.59 (KDE 4.4.59 (KDE 4.5 >= 20100107)) (Compiled from sources)
Qt Version: 4.6.0
Operating System: Linux 2.6.32 x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
right after I cancelled the index building, the kopete help assistant crashed

 -- Backtrace:
Application: KDE Help Center (kdeinit4), signal: Segmentation fault
[KCrash Handler]
#5  0x00007f24535a05d7 in qDeleteInEventHandler (o=0x8c9450) at kernel/qobject.cpp:4021
#6  0x00007f2453515632 in QProcessPrivate::cleanup (this=0x1014b10) at io/qprocess.cpp:801
#7  0x00007f245351598c in ~QProcess (this=0xfec080) at io/qprocess.cpp:1129
#8  0x00007f2454dfd8b4 in ~KProcess (this=0xfec080) at /opt/kde4/kdesvn/kdelibs/kdecore/io/kprocess.cpp:109
#9  0x00007f243eeb82cc in KCMHelpCenter::deleteProcess (this=0xfa3fc0) at /opt/kde4/kdesvn/kdebase/runtime/khelpcenter/kcmhelpcenter.cpp:574
#10 0x00007f243eeb87f6 in KCMHelpCenter::cancelBuildIndex (this=0xfa3fc0) at /opt/kde4/kdesvn/kdebase/runtime/khelpcenter/kcmhelpcenter.cpp:523
#11 0x00007f243eebcd47 in KCMHelpCenter::qt_metacall (this=0xfa3fc0, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x7fff0b35c010) at /opt/kde4/build/kdebase/runtime/khelpcenter/kcmhelpcenter.moc:239
#12 0x00007f2453593f1f in QMetaObject::metacall (object=0xfa3fc0, cl=QMetaObject::InvokeMetaMethod, idx=77, argv=0x7fff0b35c010) at kernel/qmetaobject.cpp:237
#13 0x00007f24535a937b in QMetaObject::activate (sender=0xfe6e30, m=0x7f243f0e2ac0, local_signal_index=1, argv=0x0) at kernel/qobject.cpp:3294
#14 0x00007f243eeb837c in IndexProgressDialog::cancelled (this=0xfe6e30) at /opt/kde4/build/kdebase/runtime/khelpcenter/kcmhelpcenter.moc:160
#15 0x00007f243eeb83e8 in IndexProgressDialog::slotEnd (this=0xfe6e30) at /opt/kde4/kdesvn/kdebase/runtime/khelpcenter/kcmhelpcenter.cpp:192
#16 0x00007f243eeba77d in IndexProgressDialog::qt_metacall (this=0xfe6e30, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff0b35c210)
    at /opt/kde4/build/kdebase/runtime/khelpcenter/kcmhelpcenter.moc:142
#17 0x00007f2453593f1f in QMetaObject::metacall (object=0xfe6e30, cl=QMetaObject::InvokeMetaMethod, idx=75, argv=0x7fff0b35c210) at kernel/qmetaobject.cpp:237
#18 0x00007f24535a937b in QMetaObject::activate (sender=0xfe6e30, m=0x7f2454244ea0, local_signal_index=13, argv=0x0) at kernel/qobject.cpp:3294
#19 0x00007f2453d4ede0 in KDialog::closeClicked (this=0xfe6e30) at /opt/kde4/build/kdelibs/kdeui/kdialog.moc:282
#20 0x00007f2453d501fb in KDialog::slotButtonClicked (this=0xfe6e30, button=64) at /opt/kde4/kdesvn/kdelibs/kdeui/dialogs/kdialog.cpp:893
#21 0x00007f2453d525b5 in KDialog::qt_metacall (this=0xfe6e30, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0x7fff0b35c500) at /opt/kde4/build/kdelibs/kdeui/kdialog.moc:190
#22 0x00007f243eeba71f in IndexProgressDialog::qt_metacall (this=0xfe6e30, _c=QMetaObject::InvokeMetaMethod, _id=69, _a=0x7fff0b35c500)
    at /opt/kde4/build/kdebase/runtime/khelpcenter/kcmhelpcenter.moc:135
#23 0x00007f2453593f1f in QMetaObject::metacall (object=0xfe6e30, cl=QMetaObject::InvokeMetaMethod, idx=69, argv=0x7fff0b35c500) at kernel/qmetaobject.cpp:237
#24 0x00007f24535a937b in QMetaObject::activate (sender=0x10109f8, m=0x7f24539002c0, local_signal_index=0, argv=0x7fff0b35c500) at kernel/qobject.cpp:3294
#25 0x00007f24535af4d4 in QSignalMapper::mapped (this=0x10109f8, _t1=64) at .moc/debug-shared/moc_qsignalmapper.cpp:101
#26 0x00007f24535af5cd in QSignalMapper::map (this=0x10109f8, sender=0x1010f50) at kernel/qsignalmapper.cpp:266
#27 0x00007f24535af6e3 in QSignalMapper::map (this=0x10109f8) at kernel/qsignalmapper.cpp:257
#28 0x00007f24535af83b in QSignalMapper::qt_metacall (this=0x10109f8, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x7fff0b35c760) at .moc/debug-shared/moc_qsignalmapper.cpp:87
#29 0x00007f2453593f1f in QMetaObject::metacall (object=0x10109f8, cl=QMetaObject::InvokeMetaMethod, idx=8, argv=0x7fff0b35c760) at kernel/qmetaobject.cpp:237
#30 0x00007f24535a937b in QMetaObject::activate (sender=0x1010f50, m=0x7f2452935760, local_signal_index=2, argv=0x7fff0b35c760) at kernel/qobject.cpp:3294
#31 0x00007f245242d775 in QAbstractButton::clicked (this=0x1010f50, _t1=false) at .moc/debug-shared/moc_qabstractbutton.cpp:206
#32 0x00007f2452081c60 in QAbstractButtonPrivate::emitClicked (this=0x1014420) at widgets/qabstractbutton.cpp:546
#33 0x00007f245208307e in QAbstractButtonPrivate::click (this=0x1014420) at widgets/qabstractbutton.cpp:539
#34 0x00007f2452083368 in QAbstractButton::mouseReleaseEvent (this=0x1010f50, e=0x7fff0b35d5a0) at widgets/qabstractbutton.cpp:1118
#35 0x00007f2451c0c72e in QWidget::event (this=0x1010f50, event=0x7fff0b35d5a0) at kernel/qwidget.cpp:7974
#36 0x00007f2452081c0a in QAbstractButton::event (this=0x1010f50, e=0x7fff0b35d5a0) at widgets/qabstractbutton.cpp:1080
#37 0x00007f2452153555 in QPushButton::event (this=0x1010f50, e=0x7fff0b35d5a0) at widgets/qpushbutton.cpp:664
#38 0x00007f2451b8f43b in QApplicationPrivate::notify_helper (this=0x6ba1c0, receiver=0x1010f50, e=0x7fff0b35d5a0) at kernel/qapplication.cpp:4242
#39 0x00007f2451b902cd in QApplication::notify (this=0x7fff0b35e6a0, receiver=0x1010f50, e=0x7fff0b35d5a0) at kernel/qapplication.cpp:3822
#40 0x00007f2453de64b5 in KApplication::notify (this=0x7fff0b35e6a0, receiver=0x1010f50, event=0x7fff0b35d5a0) at /opt/kde4/kdesvn/kdelibs/kdeui/kernel/kapplication.cpp:302
#41 0x00007f245358c149 in QCoreApplication::notifyInternal (this=0x7fff0b35e6a0, receiver=0x1010f50, event=0x7fff0b35d5a0) at kernel/qcoreapplication.cpp:704
#42 0x00007f2451ba427b in QCoreApplication::sendSpontaneousEvent (receiver=0x1010f50, event=0x7fff0b35d5a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#43 0x00007f2451b9653c in QApplicationPrivate::sendMouseEvent (receiver=0x1010f50, event=0x7fff0b35d5a0, alienWidget=0x1010f50, nativeWidget=0xfe6e30, buttonDown=0x7f24529545f8, 
    lastMouseReceiver=@0x7f2452954600, spontaneous=true) at kernel/qapplication.cpp:2954
#44 0x00007f2451c4cc12 in QETWidget::translateMouseEvent (this=0xfe6e30, event=0x7fff0b35e1f0) at kernel/qapplication_x11.cpp:4368
#45 0x00007f2451c4dd64 in QApplication::x11ProcessEvent (this=0x7fff0b35e6a0, event=0x7fff0b35e1f0) at kernel/qapplication_x11.cpp:3379
#46 0x00007f2451c8261a in x11EventSourceDispatch (s=0x6bd790, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#47 0x00007f244d42765a in IA__g_main_context_dispatch (context=0x6bc520) at gmain.c:1824
#48 0x00007f244d42aca8 in g_main_context_iterate (context=0x6bc520, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2455
#49 0x00007f244d42ae5c in IA__g_main_context_iteration (context=0x6bc520, may_block=1) at gmain.c:2518
#50 0x00007f24535c7c05 in QEventDispatcherGlib::processEvents (this=0x6b9a60, flags={i = 188081344}) at kernel/qeventdispatcher_glib.cpp:407
#51 0x00007f2451c81c7b in QGuiEventDispatcherGlib::processEvents (this=0x6b9a60, flags={i = 188081440}) at kernel/qguieventdispatcher_glib.cpp:202
#52 0x00007f245358857f in QEventLoop::processEvents (this=0x7fff0b35e600, flags={i = 188081552}) at kernel/qeventloop.cpp:149
#53 0x00007f24535887a3 in QEventLoop::exec (this=0x7fff0b35e600, flags={i = 188081680}) at kernel/qeventloop.cpp:201
#54 0x00007f245358cb93 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#55 0x00007f2451b920e8 in QApplication::exec () at kernel/qapplication.cpp:3570
#56 0x00007f243eeb69fd in kdemain (argc=2, argv=0x66a3c0) at /opt/kde4/kdesvn/kdebase/runtime/khelpcenter/application.cpp:84
#57 0x0000000000407880 in launch (argc=2, _name=0x66a198 "/opt/kde4/bin/khelpcenter", args=0x66a1ca "\001", cwd=0x0, envc=1, envs=0x66a1df "", reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x66a1e7 "kailas;1263356013;130514;9298_TIME327745561") at /opt/kde4/kdesvn/kdelibs/kinit/kinit.cpp:706
#58 0x00000000004080ab in handle_launcher_request (sock=8, who=0x40bd44 "launcher") at /opt/kde4/kdesvn/kdelibs/kinit/kinit.cpp:1198
#59 0x0000000000408a52 in handle_requests (waitForPid=0) at /opt/kde4/kdesvn/kdelibs/kinit/kinit.cpp:1391
#60 0x000000000040943d in main (argc=4, argv=0x7fff0b35f448, envp=0x7fff0b35f470) at /opt/kde4/kdesvn/kdelibs/kinit/kinit.cpp:1830

Reported using DrKonqi
Comment 1 Christoph Feck 2013-09-12 21:35:27 UTC
This crash report is at least 3 years old and there were no further comments or status updates since then.

Therefore we believe that this crash is already fixed in recent KDE 4 versions or the backtrace is no longer applicable to the current KDE 4 sources.

If the crash still happens with a recent KDE version (4.10.5 or 4.11), please add an updated backtrace or provide steps to reproduce. For more information, see http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports

(To prevent automatic closing of this bug in the future, please set the bug status to ASSIGNED or CONFIRMED)
Comment 2 Pino Toscano 2016-03-12 23:25:07 UTC
Git commit cafde04221d0f0d20b042f9afcf63669f23b7a1d by Pino Toscano.
Committed on 12/03/2016 at 23:02.
Pushed by pino into branch 'master'.

Re-enable the full-index search

Now that
- Xapian is in place for indexing and searching
- ht://dig is removed
- indexes are updated automatically each startup
we can enable the full-index search again.
Related: bug 57897, bug 93664, bug 103266, bug 112958, bug 115935, bug 161514, bug 173767, bug 207519, bug 237329, bug 266290, bug 269260, bug 269619

M  +1    -3    navigator.cpp

http://commits.kde.org/khelpcenter/cafde04221d0f0d20b042f9afcf63669f23b7a1d
Comment 3 Pino Toscano 2016-03-12 23:27:21 UTC
Git commit 02c218083bebd581e8a33741cd101fcc0ac2cfef by Pino Toscano.
Committed on 12/03/2016 at 23:01.
Pushed by pino into branch 'master'.

Automatically update indexes at startup

Currently the user is asked to manually update the search index, which
is not a friendly solution. Instead, start the indexing update right
after the startup, with a indefinite progress bar showing the on-going
process. Considering the Xapian indexing is generally fast, this won't
cause a big delay between the startup and when the user can start
searching.

Move the queue-based index logic from IndexBuilder to Navigator
directly, getting rid of the separate khc_indexbuilder tool (no need to
have an helper tool to spawn the actual indexing/searcing tools) and
the D-Bus interface to support it, and removing the indexing dialog
(now everything that can be indexed is updated).

This also removes the need for indexers to create <identifier>.exists
files in the index directories.
Related: bug 101876, bug 164308, bug 205126, bug 269260

M  +0    -16   CMakeLists.txt
D  +0    -1    config-khelpcenter.h.cmake
M  +1    -16   docentry.cpp
M  +0    -2    docentry.h
D  +0    -691  kcmhelpcenter.cpp
D  +0    -251  kcmhelpcenter.desktop
D  +0    -166  kcmhelpcenter.h
D  +0    -204  khc_indexbuilder.cpp
D  +0    -58   khc_indexbuilder.h
M  +2    -0    mainwindow.cpp
M  +121  -44   navigator.cpp
M  +15   -6    navigator.h
D  +0    -14   org.kde.khelpcenter.kcmhelpcenter.xml
M  +1    -4    searchhandlers/README.searchhandlers
M  +0    -9    searchhandlers/xapianindexer.cpp
M  +1    -10   searchwidget.cpp
M  +2    -6    searchwidget.h

http://commits.kde.org/khelpcenter/02c218083bebd581e8a33741cd101fcc0ac2cfef