Bug 166343

Summary: KHelpCenter crashed when I try to create a index
Product: [Applications] khelpcenter Reporter: Percy Camilo Triveño Aucahuasi <percy.camilo.ta>
Component: generalAssignee: Cornelius Schumacher <schumacher>
Status: RESOLVED FIXED    
Severity: crash CC: colin.thomson, davek6hm, gabrieljoel, kevbert1, nocturne, Ronny.Standtke, schwarzer, thermes1, timoskar
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: backtrace of the crash

Description Percy Camilo Triveño Aucahuasi 2008-07-12 03:00:43 UTC
Version:            (using Devel)
Installed from:    Compiled sources
Compiler:          gcc 4.3.1  (Debian 4.3.1-2) kernel 2.6.25-2-amd64 #1 SMP
OS:                Linux

I updated my local copy yesterday (from trunk) y have a qt-copy too, I think that KHelpCenter use another program (or just used) i'm talking about htdig and htsearch, this version of KHelpCenter use htdig?

BTW I'm attached the backtrace ; )

Percy
Comment 1 Percy Camilo Triveño Aucahuasi 2008-07-12 03:01:27 UTC
Created attachment 26051 [details]
backtrace of the crash
Comment 2 Drew Fisher 2008-07-12 08:07:33 UTC
Confirmed with same backtrace in SVN r831172.
Comment 3 Christophe Marin 2008-07-17 12:18:44 UTC
*** Bug 166819 has been marked as a duplicate of this bug. ***
Comment 4 Christophe Marin 2008-07-17 12:19:19 UTC
Application: KDE Help Center (khelpcenter), signal SIGSEGV
0x00007f557aa771f1 in nanosleep () from /lib/libc.so.6
[Current thread is 0 (LWP 5162)]

Thread 2 (Thread 0x41eef950 (LWP 5163)):
#0  0x00007f557aaa1eb2 in select () from /lib/libc.so.6
#1  0x00007f5580c9e997 in QProcessManager::run (this=0x880c50) at io/qprocess_unix.cpp:307
#2  0x00007f5580bacacc in QThreadPrivate::start (arg=0x880c50) at thread/qthread_unix.cpp:190
#3  0x00007f5580604fc7 in start_thread () from /lib/libpthread.so.0
#4  0x00007f557aaa878d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f5583f39780 (LWP 5162)):
[KCrash Handler]
#5  0x00007f557c946b8c in QLayout::d_func (this=0x0) at ../../include/QtGui/../../src/gui/kernel/qlayout.h:94
#6  0x00007f557c94426d in QLayout::activate (this=0x0) at kernel/qlayout.cpp:1142
#7  0x00007f5583c3cb94 in IndexProgressDialog::hideDetails (this=0xd29a10) at /home/percy/kde/src/KDE/kdebase/runtime/khelpcenter/kcmhelpcenter.cpp:216
#8  0x00007f5583c3db70 in IndexProgressDialog (this=0xd29a10, parent=0xaa9870) at /home/percy/kde/src/KDE/kdebase/runtime/khelpcenter/kcmhelpcenter.cpp:129
#9  0x00007f5583c3e53b in KCMHelpCenter::buildIndex (this=0xaa9870) at /home/percy/kde/src/KDE/kdebase/runtime/khelpcenter/kcmhelpcenter.cpp:453
#10 0x00007f5583c3e66d in KCMHelpCenter::slotOk (this=0xaa9870) at /home/percy/kde/src/KDE/kdebase/runtime/khelpcenter/kcmhelpcenter.cpp:637
#11 0x00007f5583c3f11e in KCMHelpCenter::qt_metacall (this=0xaa9870, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0x7fff8c07b960)
    at /home/percy/kde/build/KDE/kdebase/runtime/khelpcenter/kcmhelpcenter.moc:221
#12 0x00007f5580cdc6e5 in QMetaObject::activate (sender=0xaa9870, from_signal_index=44, to_signal_index=44, argv=0x0) at kernel/qobject.cpp:3010
#13 0x00007f5580cdccb7 in QMetaObject::activate (sender=0xaa9870, m=0x7f55826d5b80, local_signal_index=9, argv=0x0) at kernel/qobject.cpp:3080
#14 0x00007f558225fd7a in KDialog::okClicked (this=0xaa9870) at /home/percy/kde/build/KDE/kdelibs/kdeui/kdialog.moc:247
#15 0x00007f55822610e3 in KDialog::slotButtonClicked (this=0xaa9870, button=4) at /home/percy/kde/src/KDE/kdelibs/kdeui/dialogs/kdialog.cpp:844
#16 0x00007f55822632e2 in KDialog::qt_metacall (this=0xaa9870, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0x7fff8c07bc50) at /home/percy/kde/build/KDE/kdelibs/kdeui/kdialog.moc:181
#17 0x00007f5583c3f011 in KCMHelpCenter::qt_metacall (this=0xaa9870, _c=QMetaObject::InvokeMetaMethod, _id=68, _a=0x7fff8c07bc50)
    at /home/percy/kde/build/KDE/kdebase/runtime/khelpcenter/kcmhelpcenter.moc:206
#18 0x00007f5580cdc6e5 in QMetaObject::activate (sender=0xe5e738, from_signal_index=4, to_signal_index=4, argv=0x7fff8c07bc50) at kernel/qobject.cpp:3010
#19 0x00007f5580cdccb7 in QMetaObject::activate (sender=0xe5e738, m=0x7f5580fe8760, local_signal_index=0, argv=0x7fff8c07bc50) at kernel/qobject.cpp:3080
#20 0x00007f5580ce39e6 in QSignalMapper::mapped (this=0xe5e738, _t1=4) at .moc/debug-shared/moc_qsignalmapper.cpp:93
#21 0x00007f5580ce3a95 in QSignalMapper::map (this=0xe5e738, sender=0xde3720) at kernel/qsignalmapper.cpp:277
#22 0x00007f5580ce3bab in QSignalMapper::map (this=0xe5e738) at kernel/qsignalmapper.cpp:268
#23 0x00007f5580ce3d03 in QSignalMapper::qt_metacall (this=0xe5e738, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x7fff8c07be70) at .moc/debug-shared/moc_qsignalmapper.cpp:80
#24 0x00007f5580cdc6e5 in QMetaObject::activate (sender=0xde3720, from_signal_index=29, to_signal_index=30, argv=0x7fff8c07be70) at kernel/qobject.cpp:3010
#25 0x00007f5580cdca3f in QMetaObject::activate (sender=0xde3720, m=0x7f557d48a3e0, from_local_signal_index=2, to_local_signal_index=3, argv=0x7fff8c07be70) at kernel/qobject.cpp:3100
#26 0x00007f557d013d1b in QAbstractButton::clicked (this=0xde3720, _t1=false) at .moc/debug-shared/moc_qabstractbutton.cpp:185
#27 0x00007f557ccfc6b0 in QAbstractButtonPrivate::emitClicked (this=0xeb0260) at widgets/qabstractbutton.cpp:543
#28 0x00007f557ccfd98a in QAbstractButtonPrivate::click (this=0xeb0260) at widgets/qabstractbutton.cpp:536
#29 0x00007f557ccfdc4c in QAbstractButton::mouseReleaseEvent (this=0xde3720, e=0x7fff8c07ca50) at widgets/qabstractbutton.cpp:1112
#30 0x00007f557c973ccd in QWidget::event (this=0xde3720, event=0x7fff8c07ca50) at kernel/qwidget.cpp:6927
#31 0x00007f557ccfc65a in QAbstractButton::event (this=0xde3720, e=0x7fff8c07ca50) at widgets/qabstractbutton.cpp:1074
#32 0x00007f557cdc7e67 in QPushButton::event (this=0xde3720, e=0x7fff8c07ca50) at widgets/qpushbutton.cpp:658
#33 0x00007f557c908f47 in QApplicationPrivate::notify_helper (this=0x87d530, receiver=0xde3720, e=0x7fff8c07ca50) at kernel/qapplication.cpp:3772
#34 0x00007f557c909b71 in QApplication::notify (this=0x7fff8c07d9f0, receiver=0xde3720, e=0x7fff8c07ca50) at kernel/qapplication.cpp:3501
#35 0x00007f55822ee0d6 in KApplication::notify (this=0x7fff8c07d9f0, receiver=0xde3720, event=0x7fff8c07ca50) at /home/percy/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:311
#36 0x00007f5580cc321c in QCoreApplication::notifyInternal (this=0x7fff8c07d9f0, receiver=0xde3720, event=0x7fff8c07ca50) at kernel/qcoreapplication.cpp:587
#37 0x00007f5583731ba3 in QCoreApplication::sendSpontaneousEvent (receiver=0xde3720, event=0x7fff8c07ca50) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#38 0x00007f557c90e4a3 in QApplicationPrivate::sendMouseEvent (receiver=0xde3720, event=0x7fff8c07ca50, alienWidget=0xde3720, nativeWidget=0xaa9870, buttonDown=0x7f557d4a44a8, 
    lastMouseReceiver=@0x7f557d4a44b0) at kernel/qapplication.cpp:2766
#39 0x00007f557c999d87 in QETWidget::translateMouseEvent (this=0xaa9870, event=0x7fff8c07d590) at kernel/qapplication_x11.cpp:4133
#40 0x00007f557c99ad23 in QApplication::x11ProcessEvent (this=0x7fff8c07d9f0, event=0x7fff8c07d590) at kernel/qapplication_x11.cpp:3133
#41 0x00007f557c9c9ea6 in x11EventSourceDispatch (s=0x880a40, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#42 0x00007f55798360f2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#43 0x00007f5579839396 in ?? () from /usr/lib/libglib-2.0.so.0
#44 0x00007f557983982f in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#45 0x00007f5580cf9ee2 in QEventDispatcherGlib::processEvents (this=0x8707f0, flags={i = -1945642960}) at kernel/qeventdispatcher_glib.cpp:325
#46 0x00007f557c9c9507 in QGuiEventDispatcherGlib::processEvents (this=0x8707f0, flags={i = -1945642864}) at kernel/qguieventdispatcher_glib.cpp:204
#47 0x00007f5580cbf8af in QEventLoop::processEvents (this=0x7fff8c07d950, flags={i = -1945642752}) at kernel/qeventloop.cpp:149
#48 0x00007f5580cbfaac in QEventLoop::exec (this=0x7fff8c07d950, flags={i = -1945642656}) at kernel/qeventloop.cpp:200
#49 0x00007f5580cc3c9d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#50 0x00007f557c908ca4 in QApplication::exec () at kernel/qapplication.cpp:3304
#51 0x00007f5583c392db in kdemain (argc=2, argv=0x7fff8c07dd78) at /home/percy/kde/src/KDE/kdebase/runtime/khelpcenter/application.cpp:83
#52 0x0000000000400a07 in main (argc=2, argv=0x7fff8c07dd78) at /home/percy/kde/build/KDE/kdebase/runtime/khelpcenter/khelpcenter_dummy.cpp:3
Comment 5 Pino Toscano 2008-08-01 21:30:30 UTC
*** Bug 165896 has been marked as a duplicate of this bug. ***
Comment 6 Pino Toscano 2008-08-01 21:30:45 UTC
*** Bug 166154 has been marked as a duplicate of this bug. ***
Comment 7 Pino Toscano 2008-08-01 21:31:06 UTC
*** Bug 168032 has been marked as a duplicate of this bug. ***
Comment 8 Pino Toscano 2008-08-04 10:18:52 UTC
*** Bug 168283 has been marked as a duplicate of this bug. ***
Comment 9 Christophe Marin 2008-08-07 08:27:18 UTC
*** Bug 168564 has been marked as a duplicate of this bug. ***
Comment 10 Percy Camilo Triveño Aucahuasi 2008-08-08 14:18:16 UTC
SVN commit 844019 by aucahuasi:

CCBUG: 166343

Ok I think that this solved the issue (seems the was a layout problem) and rename the meinproc to meinproc4. To work on debian based distros, you have to install the package htdig (htsearch command is inside this package)

 M  +3 -1      kcmhelpcenter.cpp  
 M  +2 -1      searchhandlers/khc_docbookdig.pl.cmake  


WebSVN link: http://websvn.kde.org/?view=rev&revision=844019
Comment 11 Percy Camilo Triveño Aucahuasi 2008-08-09 00:14:29 UTC
I will close this bug, becouse it seems that the crash is gone.
Comment 12 Christophe Marin 2008-08-11 10:37:35 UTC
*** Bug 168893 has been marked as a duplicate of this bug. ***
Comment 13 Christophe Marin 2008-08-11 10:37:57 UTC
Changing worksforme -> fixed 
Comment 14 Christophe Marin 2008-08-11 10:38:09 UTC
*** Bug has been marked as fixed ***.