Summary: | Can not create a search index for KDE help center. | ||
---|---|---|---|
Product: | [Applications] khelpcenter | Reporter: | tom |
Component: | general | Assignee: | Documentation Editorial Team <kde-doc-english> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | djoxyk, faure |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/khelpcenter/cafde04221d0f0d20b042f9afcf63669f23b7a1d | Version Fixed In: | |
Sentry Crash Report: |
Description
tom
2005-09-20 20:07:53 UTC
I have a similar problem with KDE 3.4.3 installed from Ubuntu packages. When I try to build the index for the applications, the KHelpCenter would hang, now it just crashes. I'm a newbie to KDE, and it would be very helpful to have an index to the application documents/handbooks. Currently, I only have an index for the man pages available in KHelpCenter. Thanks to whoever fixes this! Tom: Does the progress dialog appear? Is there anything if you click the Details button? Casey: Do you have a backtrace for this crash? No,No, and sorry I don't. Now in the final version of Suse Linux 10 it doesn't seem to have this problem. So Don't know for sure how it was fixed or if it was just something with the distro or what but as I said now it seems to work ok. I am new to KDE and of course would like a little help. When I click on the icon it wants to build an Index, ok, cool. No problem. There are 5 things to download and it looks as if it (help center) is ok with downloading 4 of them. It appears to crash on "SUSE linux documentation" section. Now when I open the Help Center, it looks like I can browse a few options, but still do not have the SUSE documentation stuff to query. Again, I try to download and the Help center crashes. I am being told by SUSE that khelpcenter crashed (duh!) and caused a signal 11 SIGSEGV here is some of the output: (no debugging symbols found) Using host libthread_db library "/lib/tls/libthread_db.so.1". (no debugging symbols found) `system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols. (no debugging symbols found) (no debugging symbols found) .... .... about 50 lines of this no debugging thing .... .... [Thread debugging using libthread_db enabled] [New Thread 1100864960 (LWP 10731)] (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [KCrash handler] #4 0x4005bcca in ?? () from /opt/kde3/lib/libkdeinit_khelpcenter.so #5 0x08343318 in ?? () #6 0x00000000 in ?? () #7 0x08316770 in ?? () #8 0x083756e8 in ?? () #9 0x080e13c8 in ?? () #10 0x083756e8 in ?? () #11 0x00000005 in ?? () #12 0x40086bf4 in ?? () from /opt/kde3/lib/libkdeinit_khelpcenter.so #13 0x083365b0 in ?? () #14 0xbfef8cc4 in ?? () #15 0xbfef8a58 in ?? () #16 0x400638da in ?? () from /opt/kde3/lib/libkdeinit_khelpcenter.so #17 0x083365b0 in ?? () #18 0x40080c81 in typeinfo name for QGList () from /opt/kde3/lib/libkdeinit_khelpcenter.so #19 0xbfef8ab8 in ?? () #20 0x400604d9 in ?? () from /opt/kde3/lib/libkdeinit_khelpcenter.so #21 0x083365b0 in ?? () #22 0x40080c81 in typeinfo name for QGList () from /opt/kde3/lib/libkdeinit_khelpcenter.so #23 0x00000005 in ?? () #24 0x40db34b4 in ?? () from /opt/kde3/lib/libDCOP.so.4 #25 0x0810c668 in ?? () #26 0x40db0780 in typeinfo name for QStrList () from /opt/kde3/lib/libDCOP.so.4 #27 0xbfef8ab8 in ?? () #28 0x40d961ab in DCOPObject::find () from /opt/kde3/lib/libDCOP.so.4 Wade: are you using the same version of SUSE as the original reporter? I will try and match this bug up with some other crashes. I have a backtrace. I am using htdig-3.2.0b6. I have NPTL threads with GNU libc 2.3.6, and kernel 2.6.14.3. I am using gcc 3.4.4 and xorg 6.8.2. I compiled KDE 3.5 using konstruct. Here is the backtrace: Using host libthread_db library "/lib/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread -1231526224 (LWP 9344)] [KCrash handler] #3 0xb68b1b21 in KCMHelpCenter::advanceProgress () from /opt/kde3.5/lib/libkdeinit_khelpcenter.so #4 0xb68b955a in KCMHelpCenter::slotIndexProgress () from /opt/kde3.5/lib/libkdeinit_khelpcenter.so #5 0xb68a10a8 in KCMHelpCenterIface::process () from /opt/kde3.5/lib/libkdeinit_khelpcenter.so #6 0xb7604b79 in DCOPClient::receive () from /opt/kde3.5/lib/libDCOP.so.4 #7 0xb7609428 in DCOPProcessInternal () from /opt/kde3.5/lib/libDCOP.so.4 #8 0xb7609ab1 in DCOPProcessMessage () from /opt/kde3.5/lib/libDCOP.so.4 #9 0xb7612e94 in KDE_IceProcessMessages () from /opt/kde3.5/lib/libDCOP.so.4 #10 0xb75ff65e in DCOPClient::processSocketData () from /opt/kde3.5/lib/libDCOP.so.4 #11 0xb760a1a3 in DCOPClient::qt_invoke () from /opt/kde3.5/lib/libDCOP.so.4 #12 0xb7113610 in QObject::activate_signal () from /opt/kde3.5/lib/libqt-mt.so.3 #13 0xb7113b77 in QObject::activate_signal () from /opt/kde3.5/lib/libqt-mt.so.3 #14 0xb74373e8 in QSocketNotifier::activated () from /opt/kde3.5/lib/libqt-mt.so.3 #15 0xb712dfa1 in QSocketNotifier::event () from /opt/kde3.5/lib/libqt-mt.so.3 #16 0xb70b3354 in QApplication::internalNotify () from /opt/kde3.5/lib/libqt-mt.so.3 #17 0xb70b353d in QApplication::notify () from /opt/kde3.5/lib/libqt-mt.so.3 #18 0xb77cd893 in KApplication::notify () from /opt/kde3.5/lib/libkdecore.so.4 #19 0xb70a732c in QEventLoop::activateSocketNotifiers () from /opt/kde3.5/lib/libqt-mt.so.3 #20 0xb7061f90 in QEventLoop::processEvents () from /opt/kde3.5/lib/libqt-mt.so.3 #21 0xb70c854c in QEventLoop::enterLoop () from /opt/kde3.5/lib/libqt-mt.so.3 #22 0xb70c84a4 in QEventLoop::exec () from /opt/kde3.5/lib/libqt-mt.so.3 #23 0xb70b2580 in QApplication::exec () from /opt/kde3.5/lib/libqt-mt.so.3 #24 0xb68c2d61 in kdemain () from /opt/kde3.5/lib/libkdeinit_khelpcenter.so #25 0xb75e97b0 in kdeinitmain () from /opt/kde3.5/lib/kde3/khelpcenter.so #26 0x0804e2e1 in launch () #27 0x0804ea76 in handle_launcher_request () #28 0x0804efd7 in handle_requests () #29 0x0804f70e in main () I can confirm this see below: (I am running Suse Linux 10.1 beta 3 w/ KDE 3.5.1 level "a") System configuration startup check disabled. (no debugging symbols found) Using host libthread_db library "/lib/libthread_db.so.1". (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread -1236687184 (LWP 26589)] (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [KCrash handler] #6 0xb7f5745a in KCMHelpCenter::advanceProgress () from /opt/kde3/lib/libkdeinit_khelpcenter.so #7 0xb7f7942a in KCMHelpCenter::slotIndexProgress () from /opt/kde3/lib/libkdeinit_khelpcenter.so #8 0xb7f5bb9c in KCMHelpCenterIface::process () from /opt/kde3/lib/libkdeinit_khelpcenter.so #9 0xb71d2f07 in DCOPClient::receive () from /opt/kde3/lib/libDCOP.so.4 #10 0xb71d53cb in DCOPClient::find () from /opt/kde3/lib/libDCOP.so.4 #11 0xb71d5af5 in DCOPClient::qt_invoke () from /opt/kde3/lib/libDCOP.so.4 #12 0xb71e4ecb in KDE_IceProcessMessages () from /opt/kde3/lib/libDCOP.so.4 #13 0xb71cb4f3 in DCOPClient::processSocketData () from /opt/kde3/lib/libDCOP.so.4 #14 0xb71d56f9 in DCOPClient::qt_invoke () from /opt/kde3/lib/libDCOP.so.4 #15 0xb6d4177d in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3 #16 0xb6d41e42 in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3 #17 0xb707f010 in QSocketNotifier::activated () from /usr/lib/qt3/lib/libqt-mt.so.3 #18 0xb6d5f5d0 in QSocketNotifier::event () from /usr/lib/qt3/lib/libqt-mt.so.3 #19 0xb6ce2417 in QApplication::internalNotify () from /usr/lib/qt3/lib/libqt-mt.so.3 #20 0xb6ce30c1 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3 #21 0xb7384803 in KApplication::notify () from /opt/kde3/lib/libkdecore.so.4 #22 0xb6cd6f64 in QEventLoop::activateSocketNotifiers () from /usr/lib/qt3/lib/libqt-mt.so.3 #23 0xb6c91994 in QEventLoop::processEvents () from /usr/lib/qt3/lib/libqt-mt.so.3 #24 0xb6cf9128 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3 #25 0xb6cf8fbe in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3 #26 0xb6ce1eaf in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3 #27 0xb7f893eb in kdemain () from /opt/kde3/lib/libkdeinit_khelpcenter.so #28 0x080484a2 in ?? () #29 0x00000001 in ?? () #30 0xbfa7b304 in ?? () #31 0x08054420 in ?? () #32 0xb7f18ff4 in ?? () from /lib/libc.so.6 #33 0xb7fc1ae0 in _dl_sort_fini () from /lib/ld-linux.so.2 #34 0xb7e1281c in __libc_start_main () from /lib/libc.so.6 #35 0x080483f1 in ?? () I have the same basic problem on Slackware 10.2 running KDE 3.4.2 (that came with the Slack distro) I try to let KDE build an Applications Help search index, and it gives me this: INDEXDIR: /home/drak/.kde/share/apps/khelpcenter/index/ Creating index for 'kde_application_manuals' FINDCMD: find /opt/kde/share/doc/HTML/en/ -name index.docbook htdig failed I went to LinuxQuestions.org, and found others with the same problem in the Slackware forums. So what do you at KDE need from us in order to stop calling this problem "Unconfirmed"? -From where I'm sitting, it looks pretty damned real. I'm a newbie, and saw that people with tons more experience than me were stumped, as well. It seems that this problem ought to be fairly pressing. Considering that most Linux newbies are told to read the manual, search the web, and try to fix the problem themselves, it seems ludicrous to have a broken system for searching through help files. If there is more information that I could send about this, please E-mail and let me know what you want. The problem appears to be infinitely repeatable. Thank you for your consideration. -drachenchen *** This bug has been confirmed by popular vote. *** I have the same problem: Index is needed to do a search, but cannot build it as the button is grayed out. When I cancel, the KDE Help Center says: The requested help file could not be parsed: /usr/share/doc/kde/HTML/en//krdc/index.docbook I checked: the files exists and it is readable by the user. Running OpenSuse 10.3 with KDE 3.93.00 (KDE4 Beta2) I has this bug on Ubuntu 7.04 and now it's on Ubuntu 7.10 can't create index 'cause there's no files to choose from but now as an addon - khelpcenter won't open from any application and i can't read help ubuntu 7.10 KDE 4.03 Reply to comment #8: "htdig failed" usually means that htdig is not installed - better error message added now, cf bug 146010. But yeah, there is a real bug with this index thing, it finds no results at all. Git commit 163133768d77ae16e36b31d1174d6c60d53cfdce by Pino Toscano. Committed on 12/03/2016 at 23:01. Pushed by pino into branch 'master'. Remove the ht://dig support ht://dig is basically unmantained for the past decade, and its integration in khelpcenter has always been a sort of hack (execute a CGI, and print its resulting HTML text). Since Xapian is used as better solution, all of the htp://dig supporting code can be removed completely. Related: bug 122437, bug 125276, bug 152671, bug 158633, bug 209415, bug 244091, bug 255384, bug 256397, bug 277464, bug 103266 M +0 -2 CMakeLists.txt D +0 -14 README.htdig M +0 -14 doc/khelpcenter/index.docbook M +0 -9 docmetainfo.cpp M +0 -3 docmetainfo.h D +0 -61 htmlsearch.cpp D +0 -51 htmlsearch.h D +0 -47 htmlsearch/CMakeLists.txt D +0 -5 htmlsearch/Messages.sh D +0 -23 htmlsearch/checked.xpm D +0 -470 htmlsearch/htmlsearch.cpp D +0 -254 htmlsearch/htmlsearch.desktop D +0 -62 htmlsearch/htmlsearch.h D +0 -25 htmlsearch/index.cpp D +0 -371 htmlsearch/kcmhtmlsearch.cpp D +0 -84 htmlsearch/kcmhtmlsearch.h D +0 -52 htmlsearch/klangcombo.cpp D +0 -47 htmlsearch/klangcombo.h D +0 -246 htmlsearch/ktagcombobox.cpp D +0 -92 htmlsearch/ktagcombobox.h D +0 -6 htmlsearch/long.html D +0 -4 htmlsearch/meinproc_wrapper D +0 -21 htmlsearch/nomatch.html D +0 -89 htmlsearch/progressdialog.cpp D +0 -32 htmlsearch/progressdialog.h D +0 -1 htmlsearch/short.html D +- -- htmlsearch/star.png D +- -- htmlsearch/star_blank.png D +0 -19 htmlsearch/syntax.html D +0 -22 htmlsearch/unchecked.xpm D +0 -16 htmlsearch/wrapper.html D +0 -156 htmlsearchconfig.cpp D +0 -58 htmlsearchconfig.h M +0 -1 kcmhelpcenter.cpp M +0 -2 kcmhelpcenter.h M +2 -14 searchhandlers/CMakeLists.txt D +0 -8 searchhandlers/docbook.desktop.cmake D +0 -8 searchhandlers/htdig.desktop.cmake D +0 -2 searchhandlers/htdig_long.html D +0 -222 searchhandlers/khc_docbookdig.pl.cmake D +0 -148 searchhandlers/khc_htdig.pl.cmake D +0 -117 searchhandlers/khc_htsearch.pl M +1 -2 tests/CMakeLists.txt http://commits.kde.org/khelpcenter/163133768d77ae16e36b31d1174d6c60d53cfdce 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 115935, bug 161514, bug 173767, bug 207519, bug 222494, bug 237329, bug 266290, bug 269260, bug 269619 M +1 -3 navigator.cpp http://commits.kde.org/khelpcenter/cafde04221d0f0d20b042f9afcf63669f23b7a1d |