Bug 269260 - search and build the indix for documentation
Summary: search and build the indix for documentation
Status: RESOLVED FIXED
Alias: None
Product: khelpcenter
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Documentation Editorial Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-23 20:52 UTC by clyde Childers
Modified: 2016-03-12 23:24 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description clyde Childers 2011-03-23 20:52:38 UTC
Application: khelpcenter (4.5.1 (KDE 4.5.1))
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-28-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:
trying to configure the dam thing. I was search for how to add disk drives to ftp system so I down load olarge dataa set from NASA cloud prodcuts  very large data.

-- Backtrace:
Application: KDE Help Center (khelpcenter), signal: Segmentation fault
[Current thread is 1 (Thread 0xb77cf710 (LWP 5204))]

Thread 2 (Thread 0xb759db70 (LWP 5205)):
#0  0x00f90416 in __kernel_vsyscall ()
#1  0x007a4df6 in poll () from /lib/libc.so.6
#2  0x0809ba1b in g_poll () from /lib/libglib-2.0.so.0
#3  0x0808e43c in ?? () from /lib/libglib-2.0.so.0
#4  0x0808eba7 in g_main_loop_run () from /lib/libglib-2.0.so.0
#5  0x01bcf9c4 in ?? () from /usr/lib/libgio-2.0.so.0
#6  0x080b548f in ?? () from /lib/libglib-2.0.so.0
#7  0x001f7cc9 in start_thread () from /lib/libpthread.so.0
#8  0x007b369e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb77cf710 (LWP 5204)):
[KCrash Handler]
#7  0x07c18606 in QProcessManager::remove (this=0x7d73888, process=0x87e3450) at io/qprocess_unix.cpp:308
#8  0x07c187be in QProcessPrivate::findExitCode (this=0x870b8f8) at io/qprocess_unix.cpp:1143
#9  0x07bd4163 in QProcess::~QProcess (this=0x86e81b0, __in_chrg=<value optimized out>) at io/qprocess.cpp:1138
#10 0x017165f1 in KProcess::~KProcess (this=0x86e81b0, __in_chrg=<value optimized out>) at ../../kdecore/io/kprocess.cpp:109
#11 0x00a1bb09 in ?? () from /usr/lib/kde4/libkdeinit/libkdeinit4_khelpcenter.so
#12 0x00a1d4fd in ?? () from /usr/lib/kde4/libkdeinit/libkdeinit4_khelpcenter.so
#13 0x00a22c2b in ?? () from /usr/lib/kde4/libkdeinit/libkdeinit4_khelpcenter.so
#14 0x07c458ca in QMetaObject::metacall (object=0x873c588, cl=QMetaObject::ReadProperty, idx=141804936, argv=0x0) at kernel/qmetaobject.cpp:237
#15 0x07c586ad in QMetaObject::activate (sender=0x86e8fb0, m=0xa38560, local_signal_index=1, argv=0x91) at kernel/qobject.cpp:3280
#16 0x00a1bc57 in ?? () from /usr/lib/kde4/libkdeinit/libkdeinit4_khelpcenter.so
#17 0x00a1bcb8 in ?? () from /usr/lib/kde4/libkdeinit/libkdeinit4_khelpcenter.so
#18 0x00a1ecd3 in ?? () from /usr/lib/kde4/libkdeinit/libkdeinit4_khelpcenter.so
#19 0x07c458ca in QMetaObject::metacall (object=0x86e8fb0, cl=QMetaObject::ReadProperty, idx=141463472, argv=0x86e8fb0) at kernel/qmetaobject.cpp:237
#20 0x07c586ad in QMetaObject::activate (sender=0x86e8fb0, m=0x24705a4, local_signal_index=13, argv=0x91) at kernel/qobject.cpp:3280
#21 0x021ed3b7 in KDialog::closeClicked (this=0x86e8fb0) at ./kdialog.moc:282
#22 0x021efa78 in KDialog::slotButtonClicked (this=0x86e8fb0, button=64) at ../../kdeui/dialogs/kdialog.cpp:902
#23 0x021f1b79 in KDialog::qt_metacall (this=0x86e8fb0, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0xbfd9cec8) at ./kdialog.moc:190
#24 0x00a1ec8a in ?? () from /usr/lib/kde4/libkdeinit/libkdeinit4_khelpcenter.so
#25 0x07c458ca in QMetaObject::metacall (object=0x86e8fb0, cl=QMetaObject::ReadProperty, idx=0, argv=0x86e8fb0) at kernel/qmetaobject.cpp:237
#26 0x07c586ad in QMetaObject::activate (sender=0x86e8de8, m=0x7d710f8, local_signal_index=0, argv=0x91) at kernel/qobject.cpp:3280
#27 0x07c5b5a3 in QSignalMapper::mapped (this=0x86e8de8, _t1=64) at .moc/release-shared/moc_qsignalmapper.cpp:101
#28 0x07c5c7ed in QSignalMapper::map (this=0x86e8de8, sender=0x87cacb0) at kernel/qsignalmapper.cpp:266
#29 0x07c5c9ce in QSignalMapper::map (this=0x86e8de8) at kernel/qsignalmapper.cpp:257
#30 0x07c5ca9b in QSignalMapper::qt_metacall (this=0x86e8de8, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfd9d068) at .moc/release-shared/moc_qsignalmapper.cpp:87
#31 0x07c458ca in QMetaObject::metacall (object=0x86e8de8, cl=QMetaObject::ReadProperty, idx=8, argv=0xbfd9d068) at kernel/qmetaobject.cpp:237
#32 0x07c586ad in QMetaObject::activate (sender=0x87cacb0, m=0x2f40704, local_signal_index=2, argv=0x91) at kernel/qobject.cpp:3280
#33 0x02d1d019 in QAbstractButton::clicked (this=0x87cacb0, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#34 0x029dcff9 in QAbstractButtonPrivate::emitClicked (this=0x87cae98) at widgets/qabstractbutton.cpp:546
#35 0x029dd112 in QAbstractButton::click (this=0x87cacb0) at widgets/qabstractbutton.cpp:983
#36 0x02a89a8a in QPushButton::keyPressEvent (this=0x87cacb0, e=0xbfd9d754) at widgets/qpushbutton.cpp:466
#37 0x0260cb13 in QWidget::event (this=0x87cacb0, event=0xbfd9d754) at kernel/qwidget.cpp:8222
#38 0x029dce9e in QAbstractButton::event (this=0x87cacb0, e=0x834c0d8) at widgets/qabstractbutton.cpp:1080
#39 0x02a8ac22 in QPushButton::event (this=0x87cacb0, e=0xbfd9d754) at widgets/qpushbutton.cpp:683
#40 0x025aefdc in QApplicationPrivate::notify_helper (this=0x8348a00, receiver=0x87cacb0, e=0xbfd9d754) at kernel/qapplication.cpp:4396
#41 0x025b6ac9 in QApplication::notify (this=0xbfd9e1bc, receiver=0x87cacb0, e=0xbfd9d754) at kernel/qapplication.cpp:3857
#42 0x022a468a in KApplication::notify (this=0xbfd9e1bc, receiver=0x87cacb0, event=0xbfd9d754) at ../../kdeui/kernel/kapplication.cpp:310
#43 0x07c3fb3b in QCoreApplication::notifyInternal (this=0xbfd9e1bc, receiver=0x87cacb0, event=0xbfd9d754) at kernel/qcoreapplication.cpp:732
#44 0x025aeb9e in sendSpontaneousEvent (receiver=0x87cacb0, event=0x834c0d8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#45 qt_sendSpontaneousEvent (receiver=0x87cacb0, event=0x834c0d8) at kernel/qapplication.cpp:5388
#46 0x0266b69d in QKeyMapper::sendKeyEvent (keyWidget=0x87cacb0, grab=false, type=QEvent::KeyPress, code=16777220, modifiers=..., text=..., autorepeat=<value optimized out>, count=<value optimized out>, nativeScanCode=36, nativeVirtualKey=65293, nativeModifiers=0) at kernel/qkeymapper_x11.cpp:1867
#47 0x0266db49 in QKeyMapperPrivate::translateKeyEvent (this=0x836e780, keyWidget=0x87cacb0, event=0xbfd9de1c, grab=145) at kernel/qkeymapper_x11.cpp:1837
#48 0x02641387 in QApplication::x11ProcessEvent (this=0xbfd9e1bc, event=0xbfd9de1c) at kernel/qapplication_x11.cpp:3429
#49 0x0267136a in x11EventSourceDispatch (s=0x834b9a8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#50 0x0808a855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#51 0x0808e668 in ?? () from /lib/libglib-2.0.so.0
#52 0x0808e848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#53 0x07c6e565 in QEventDispatcherGlib::processEvents (this=0x83296d8, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#54 0x02670be5 in QGuiEventDispatcherGlib::processEvents (this=0x83296d8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#55 0x07c3e609 in QEventLoop::processEvents (this=0xbfd9e114, flags=) at kernel/qeventloop.cpp:149
#56 0x07c3ea8a in QEventLoop::exec (this=0xbfd9e114, flags=...) at kernel/qeventloop.cpp:201
#57 0x07c4300f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#58 0x025ade07 in QApplication::exec () at kernel/qapplication.cpp:3672
#59 0x00a19b29 in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_khelpcenter.so
#60 0x080485ab in _start ()

Reported using DrKonqi
Comment 1 Pino Toscano 2016-03-12 23:24:36 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 222494

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
Comment 2 Pino Toscano 2016-03-12 23:24:49 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 222494, bug 237329, bug 266290, bug 269619

M  +1    -3    navigator.cpp

http://commits.kde.org/khelpcenter/cafde04221d0f0d20b042f9afcf63669f23b7a1d