Bug 208397 - SearchBarPlugin seems to cause crashes
Summary: SearchBarPlugin seems to cause crashes
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: searchbarplugin (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR major
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
: 207783 209944 210276 210282 210375 210388 210447 210931 210936 212674 215452 215502 215616 215686 218102 218225 223721 224710 245394 252633 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-24 15:37 UTC by kavol
Modified: 2011-05-31 14:20 UTC (History)
15 users (show)

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


Attachments
Possible fix (1.48 KB, patch)
2009-09-24 18:15 UTC, Fredy Yanardi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kavol 2009-09-24 15:37:01 UTC
Application that crashed: konqueror
Version of the application: 4.3.1 (KDE 4.3.1)
KDE Version: 4.3.1 (KDE 4.3.1)
Qt Version: 4.5.2
Operating System: Linux 2.6.30.5-43.fc11.x86_64 x86_64
Distribution: "Fedora release 11 (Leonidas)"

 -- Backtrace:
Application: Konqueror (konqueror), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fea42f74820 (LWP 6015))]

Thread 2 (Thread 0x7fea20a21910 (LWP 8868)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x000000366a85ad62 in QWaitConditionPrivate::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#3  0x000000366a850e3a in QThreadPoolThread::run (this=<value optimized out>) at concurrent/qthreadpool.cpp:140
#4  0x000000366a859d45 in QThreadPrivate::start (arg=0x17537e0) at thread/qthread_unix.cpp:188
#5  0x0000003660c0685a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x00000036600dd8fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fea42f74820 (LWP 6015)):
[KCrash Handler]
#5  0x000000367a9dd6c4 in KHTMLPart::htmlDocument (this=0x1159070) at /usr/src/debug/kdelibs-4.3.1/khtml/khtml_part.cpp:1000
#6  0x00007fea2a0280dc in SearchBarPlugin::HTMLDocLoaded (this=0xe4c9d0) at /usr/src/debug/konq-plugins-4.3.1/searchbar/searchbar.cpp:507
#7  0x00007fea2a02d4fc in SearchBarPlugin::qt_metacall (this=0xe4c9d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffb0665f80)
    at /usr/src/debug/konq-plugins-4.3.1/x86_64-redhat-linux-gnu/searchbar/searchbar.moc:189
#8  0x000000366a9547dc in QMetaObject::activate (sender=0xe8fc160, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0xffffffffffff90b0) at kernel/qobject.cpp:3113
#9  0x000000367a9caf05 in KHTMLView::timerEvent (this=0xe4d5820, e=<value optimized out>) at /usr/src/debug/kdelibs-4.3.1/khtml/khtmlview.cpp:4211
#10 0x000000366a94e7de in QObject::event (this=0xe4d5820, e=0x1159070) at kernel/qobject.cpp:1075
#11 0x000000366d1dd52f in QWidget::event (this=0xe4d5820, event=0x7fffb0666a10) at kernel/qwidget.cpp:7946
#12 0x000000366d535916 in QFrame::event (this=0xe4d5820, e=0x7fffb0666a10) at widgets/qframe.cpp:559
#13 0x000000366d5c4bf1 in QAbstractScrollArea::event (this=0xe4d5820, e=0x7fffb0666a10) at widgets/qabstractscrollarea.cpp:918
#14 0x000000367a9cd033 in KHTMLView::event (this=0xe4d5820, e=<value optimized out>) at /usr/src/debug/kdelibs-4.3.1/khtml/khtmlview.cpp:546
#15 0x000000366d18f69c in QApplicationPrivate::notify_helper (this=0x8cc1d0, receiver=0xe4d5820, e=0x7fffb0666a10) at kernel/qapplication.cpp:4056
#16 0x000000366d1968fe in QApplication::notify (this=0x7fffb06699b0, receiver=0xe4d5820, e=0x7fffb0666a10) at kernel/qapplication.cpp:4021
#17 0x000000366ea11b56 in KApplication::notify (this=0x7fffb06699b0, receiver=0xe4d5820, event=0x7fffb0666a10) at /usr/src/debug/kdelibs-4.3.1/kdeui/kernel/kapplication.cpp:302
#18 0x000000366a93f59c in QCoreApplication::notifyInternal (this=0x7fffb06699b0, receiver=0xe4d5820, event=0x7fffb0666a10) at kernel/qcoreapplication.cpp:610
#19 0x000000366a969fc2 in QCoreApplication::sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:213
#20 QTimerInfoList::activateTimers (event=<value optimized out>, receiver=<value optimized out>) at kernel/qeventdispatcher_unix.cpp:572
#21 0x000000366a9679ed in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:165
#22 0x0000003662c3790e in g_main_dispatch (context=<value optimized out>) at gmain.c:1824
#23 IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2377
#24 0x0000003662c3b0e8 in g_main_context_iterate (context=0x8ced20, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2455
#25 0x0000003662c3b20a in IA__g_main_context_iteration (context=0x8ced20, may_block=1) at gmain.c:2518
#26 0x000000366a967936 in QEventDispatcherGlib::processEvents (this=0x8aed90, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#27 0x000000366d221f8e in QGuiEventDispatcherGlib::processEvents (this=0x6d0074002f0000, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#28 0x000000366a93ded2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 100}) at kernel/qeventloop.cpp:149
#29 0x000000366a93e2a4 in QEventLoop::exec (this=0x7fffb0666cb0, flags={i = 64}) at kernel/qeventloop.cpp:201
#30 0x000000366d60543e in QDialog::exec (this=0x7fffb0666d50) at dialogs/qdialog.cpp:498
#31 0x000000366e9b4798 in KShortcutsDialog::configure (this=0x7fffb0666d50, saveSettings=true) at /usr/src/debug/kdelibs-4.3.1/kdeui/dialogs/kshortcutsdialog.cpp:169
#32 0x000000366eb25112 in KXMLGUIFactory::configureShortcuts (this=<value optimized out>, letterCutsOk=<value optimized out>, bSaveSettings=112)
    at /usr/src/debug/kdelibs-4.3.1/kdeui/xmlgui/kxmlguifactory.cpp:740
#33 0x000000366eb283e2 in KXMLGUIFactory::qt_metacall (this=0xd75820, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffb0666f40)
    at /usr/src/debug/kdelibs-4.3.1/x86_64-redhat-linux-gnu/kdeui/kxmlguifactory.moc:89
#34 0x000000366a9547dc in QMetaObject::activate (sender=0xd75ea0, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0xffffffffffff90b0) at kernel/qobject.cpp:3113
#35 0x000000366d189857 in QAction::triggered (this=0x6d0074002f0000, _t1=false) at .moc/release-shared/moc_qaction.cpp:236
#36 0x000000366d18acbf in QAction::activate (this=0xd75ea0, event=<value optimized out>) at kernel/qaction.cpp:1160
#37 0x000000366d573215 in QMenuPrivate::activateCausedStack (this=<value optimized out>, causedStack=@0x7fffb0667060, action=0xd75ea0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:967
#38 0x000000366d5790fa in QMenuPrivate::activateAction (this=0xe576d0, action=0xd75ea0, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1060
#39 0x000000366eae35be in KMenu::mouseReleaseEvent (this=0xd4fc00, e=0x1159070) at /usr/src/debug/kdelibs-4.3.1/kdeui/widgets/kmenu.cpp:456
#40 0x000000366d1ddd88 in QWidget::event (this=0xd4fc00, event=0x7fffb0667960) at kernel/qwidget.cpp:7549
#41 0x000000366d57b863 in QMenu::event (this=0xd4fc00, e=0x7fffb0667960) at widgets/qmenu.cpp:2353
#42 0x000000366d18f69c in QApplicationPrivate::notify_helper (this=0x8cc1d0, receiver=0xd4fc00, e=0x7fffb0667960) at kernel/qapplication.cpp:4056
#43 0x000000366d196741 in QApplication::notify (this=<value optimized out>, receiver=0xd4fc00, e=0x7fffb0667960) at kernel/qapplication.cpp:3758
#44 0x000000366ea11b56 in KApplication::notify (this=0x7fffb06699b0, receiver=0xd4fc00, event=0x7fffb0667960) at /usr/src/debug/kdelibs-4.3.1/kdeui/kernel/kapplication.cpp:302
#45 0x000000366a93f59c in QCoreApplication::notifyInternal (this=0x7fffb06699b0, receiver=0xd4fc00, event=0x7fffb0667960) at kernel/qcoreapplication.cpp:610
#46 0x000000366d196030 in QCoreApplication::sendSpontaneousEvent (event=<value optimized out>, receiver=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:216
#47 QApplicationPrivate::sendMouseEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qapplication.cpp:2924
#48 0x000000366d1fbe6e in QETWidget::translateMouseEvent (this=0xd4fc00, event=<value optimized out>) at kernel/qapplication_x11.cpp:4338
#49 0x000000366d1fab08 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffb0669490) at kernel/qapplication_x11.cpp:3545
#50 0x000000366d2227dc in x11EventSourceDispatch (s=<value optimized out>, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#51 0x0000003662c3790e in g_main_dispatch (context=<value optimized out>) at gmain.c:1824
#52 IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2377
#53 0x0000003662c3b0e8 in g_main_context_iterate (context=0x8ced20, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2455
#54 0x0000003662c3b20a in IA__g_main_context_iteration (context=0x8ced20, may_block=1) at gmain.c:2518
#55 0x000000366a967936 in QEventDispatcherGlib::processEvents (this=0x8aed90, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#56 0x000000366d221f8e in QGuiEventDispatcherGlib::processEvents (this=0x6d0074002f0000, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#57 0x000000366a93ded2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 36}) at kernel/qeventloop.cpp:149
#58 0x000000366a93e2a4 in QEventLoop::exec (this=0x7fffb06697c0, flags={i = 0}) at kernel/qeventloop.cpp:201
#59 0x000000366a940439 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#60 0x0000003670ecf4e3 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdebase-4.3.1/apps/konqueror/src/konqmain.cpp:257
#61 0x000000366001ea2d in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, 
    rtld_fini=<value optimized out>, stack_end=0x7fffb066a3c8) at libc-start.c:220
#62 0x0000000000400759 in _start ()

This bug may be a duplicate of or related to bug 207783

Reported using DrKonqi
Comment 1 Fredy Yanardi 2009-09-24 18:15:50 UTC
Created attachment 37159 [details]
Possible fix

This is a possible fix for this bug, if you have time, can you please test the attached patch? This patch is to be applied to konq searchbar plugin directory. Thank you.
Comment 2 Maksim Orlovich 2009-09-24 19:52:42 UTC
*** Bug 207783 has been marked as a duplicate of this bug. ***
Comment 3 Maksim Orlovich 2009-09-24 19:54:36 UTC
On that note, in  SearchBarPlugin::HTMLDocLoaded you should be using 
->document() and not ->htmlDocument(), since the latter will return a null node in case of XML, and then method accesses to it will throw an exception, aborting the program.
Comment 4 Dario Andres 2009-10-09 14:21:00 UTC
*** Bug 209944 has been marked as a duplicate of this bug. ***
Comment 5 Frank Reininghaus 2009-10-12 10:19:46 UTC
*** Bug 210276 has been marked as a duplicate of this bug. ***
Comment 6 Frank Reininghaus 2009-10-12 10:21:11 UTC
*** Bug 210282 has been marked as a duplicate of this bug. ***
Comment 7 Dario Andres 2009-10-12 22:29:03 UTC
*** Bug 210375 has been marked as a duplicate of this bug. ***
Comment 8 Tommi Tervo 2009-10-13 08:05:27 UTC
*** Bug 210388 has been marked as a duplicate of this bug. ***
Comment 9 Frank Reininghaus 2009-10-13 17:55:46 UTC
*** Bug 210447 has been marked as a duplicate of this bug. ***
Comment 10 Frank Reininghaus 2009-10-18 10:54:18 UTC
*** Bug 210936 has been marked as a duplicate of this bug. ***
Comment 11 Frank Reininghaus 2009-10-18 10:54:56 UTC
*** Bug 210931 has been marked as a duplicate of this bug. ***
Comment 12 Frank Reininghaus 2009-11-02 01:59:07 UTC
*** Bug 212674 has been marked as a duplicate of this bug. ***
Comment 13 Maksim Orlovich 2009-11-05 20:15:31 UTC
A way to reproduce this would be very helpful...
Comment 14 Tommi Tervo 2009-11-20 20:09:27 UTC
*** Bug 215452 has been marked as a duplicate of this bug. ***
Comment 15 Tommi Tervo 2009-11-21 09:22:32 UTC
*** Bug 215502 has been marked as a duplicate of this bug. ***
Comment 16 Tommi Tervo 2009-11-22 08:54:38 UTC
*** Bug 215616 has been marked as a duplicate of this bug. ***
Comment 17 Tommi Tervo 2009-11-22 16:01:39 UTC
*** Bug 215686 has been marked as a duplicate of this bug. ***
Comment 18 Frank Reininghaus 2009-11-25 14:07:57 UTC
(In reply to comment #1)
> This is a possible fix for this bug, if you have time, can you please test the
> attached patch? This patch is to be applied to konq searchbar plugin directory.
> Thank you.

Probably the reporters are not building from source and cannot test your patch... Maybe you should just commit it (after considering comment 3)?

Note that bug 208039 looks like another duplicate.
Comment 19 Frank Reininghaus 2009-12-10 18:24:25 UTC
*** Bug 218102 has been marked as a duplicate of this bug. ***
Comment 20 Frank Reininghaus 2009-12-11 10:26:11 UTC
*** Bug 218225 has been marked as a duplicate of this bug. ***
Comment 21 Frank Reininghaus 2010-01-22 15:30:02 UTC
*** Bug 223721 has been marked as a duplicate of this bug. ***
Comment 22 Maksim Orlovich 2010-01-23 18:09:15 UTC
This may be coincidentally fixed by r1029026/r1033738
Comment 23 Frank Reininghaus 2010-01-29 13:55:42 UTC
*** Bug 224710 has been marked as a duplicate of this bug. ***
Comment 24 Gerry Gavigan 2010-07-14 12:45:28 UTC
Using 4.4.92 (openSUSE 11.2 RPMs) the search bar crashes silently when choosing one of the suggestions
Comment 25 Gerry Gavigan 2010-07-14 15:13:00 UTC
Still there on 4.4.93 but it's only specific websites, specifically, searching on "information tribunal decisions" entering the phrase causes no problems ut choosing as a suggestion causes the silent crash
Comment 26 Tommi Tervo 2010-07-22 13:10:57 UTC
*** Bug 245394 has been marked as a duplicate of this bug. ***
Comment 27 Pino Toscano 2010-09-28 13:18:45 UTC
*** Bug 252633 has been marked as a duplicate of this bug. ***
Comment 28 Tommi Tervo 2010-10-02 16:16:30 UTC
trunk r1181826

==1296== Invalid read of size 1
==1296==    at 0x4029CBC: memmove (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==1296==    by 0x4F02302: QListData::remove(int) (string3.h:59)
==1296==    by 0x590A77D: QListModel::take(int) (qlist.h:473)
==1296==    by 0x590A83E: QListWidget::takeItem(int) (qlistwidget.cpp:1423)
==1296==    by 0xCCDAED2: SearchBarCombo::clearSuggestions() (searchbar.cpp:742)
==1296==    by 0xCCD91AD: SearchBarPlugin::searchTextChanged(QString const&) (searchbar.cpp:511)
==1296==    by 0xCCDBA34: SearchBarPlugin::qt_metacall(QMetaObject::Call, int, void**) (searchbar.moc:196)
==1296==    by 0x4FE696C: QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) (qmetaobject.cpp:237)
==1296==    by 0x4FF6B1B: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.cpp:3272)
==1296==    by 0x57733A4: QLineEdit::textEdited(QString const&) (moc_qlineedit.cpp:249)
==1296==    by 0x4AA6B4D: KLineEdit::_k_slotCompletionBoxTextChanged(QString const&) (klineedit.cpp:1685)
==1296==    by 0x4AA7A33: KLineEdit::qt_metacall(QMetaObject::Call, int, void**) (klineedit.moc:164)
==1296==    by 0x4FE696C: QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) (qmetaobject.cpp:237)
==1296==    by 0x4FF6B1B: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.cpp:3272)
==1296==    by 0x5908C44: QListWidget::currentTextChanged(QString const&) (moc_qlistwidget.cpp:240)
==1296==    by 0x5908FFC: QListWidgetPrivate::_q_emitCurrentItemChanged(QModelIndex const&, QModelIndex const&) (qlistwidget.cpp:1120)
==1296==    by 0x590C97E: QListWidget::qt_metacall(QMetaObject::Call, int, void**) (moc_qlistwidget.cpp:147)
==1296==    by 0x4991B49: KListWidget::qt_metacall(QMetaObject::Call, int, void**) (klistwidget.moc:80)
==1296==    by 0x4A83C78: KCompletionBox::qt_metacall(QMetaObject::Call, int, void**) (kcompletionbox.moc:108)
==1296==    by 0x4FE696C: QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) (qmetaobject.cpp:237)
==1296==    by 0x4FF6B1B: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.cpp:3272)
==1296==    by 0x58F5F4C: QItemSelectionModel::currentChanged(QModelIndex const&, QModelIndex const&) (moc_qitemselectionmodel.cpp:159)
==1296==    by 0x58F60CB: QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) (qitemselectionmodel.cpp:1156)
==1296==    by 0x5895F36: QAbstractItemView::setCurrentIndex(QModelIndex const&) (qabstractitemview.cpp:1007)
==1296==    by 0x58A3C3E: QAbstractItemView::rowsAboutToBeRemoved(QModelIndex const&, int, int) (qabstractitemview.cpp:3227)
==1296==    by 0x58C2948: QListView::rowsAboutToBeRemoved(QModelIndex const&, int, int) (qlistview.cpp:757)
==1296==    by 0x589D66D: QAbstractItemView::qt_metacall(QMetaObject::Call, int, void**) (moc_qabstractitemview.cpp:236)
==1296==    by 0x5A25DA1: QListView::qt_metacall(QMetaObject::Call, int, void**) (moc_qlistview.cpp:111)
==1296==    by 0x590C641: QListWidget::qt_metacall(QMetaObject::Call, int, void**) (moc_qlistwidget.cpp:123)
==1296==    by 0x4991B49: KListWidget::qt_metacall(QMetaObject::Call, int, void**) (klistwidget.moc:80)
==1296==    by 0x4A83C78: KCompletionBox::qt_metacall(QMetaObject::Call, int, void**) (kcompletionbox.moc:108)
==1296==    by 0x4FE696C: QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) (qmetaobject.cpp:237)
==1296==    by 0x4FF6B1B: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.cpp:3272)
==1296==    by 0x5044DE4: QAbstractItemModel::rowsAboutToBeRemoved(QModelIndex const&, int, int) (moc_qabstractitemmodel.cpp:188)
==1296==    by 0x4FD7126: QAbstractItemModel::beginRemoveRows(QModelIndex const&, int, int) (qabstractitemmodel.cpp:2450)
==1296==    by 0x590A718: QListModel::take(int) (qlistwidget.cpp:164)
==1296==    by 0x590A83E: QListWidget::takeItem(int) (qlistwidget.cpp:1423)
==1296==    by 0xCCDAED2: SearchBarCombo::clearSuggestions() (searchbar.cpp:742)
==1296==    by 0xCCD91AD: SearchBarPlugin::searchTextChanged(QString const&) (searchbar.cpp:511)
==1296==    by 0xCCDBA34: SearchBarPlugin::qt_metacall(QMetaObject::Call, int, void**) (searchbar.moc:196)
==1296==    by 0x4FE696C: QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) (qmetaobject.cpp:237)
==1296==    by 0x4FF6B1B: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.cpp:3272)
==1296==    by 0x57733A4: QLineEdit::textEdited(QString const&) (moc_qlineedit.cpp:249)
==1296==    by 0x4AA6B4D: KLineEdit::_k_slotCompletionBoxTextChanged(QString const&) (klineedit.cpp:1685)
==1296==    by 0x4AA7A33: KLineEdit::qt_metacall(QMetaObject::Call, int, void**) (klineedit.moc:164)
==1296==    by 0x4FE696C: QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) (qmetaobject.cpp:237)
==1296==    by 0x4FF6B1B: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.cpp:3272)
==1296==    by 0x5908C44: QListWidget::currentTextChanged(QString const&) (moc_qlistwidget.cpp:240)
==1296==    by 0x5908FFC: QListWidgetPrivate::_q_emitCurrentItemChanged(QModelIndex const&, QModelIndex const&) (qlistwidget.cpp:1120)
==1296==    by 0x590C97E: QListWidget::qt_metacall(QMetaObject::Call, int, void**) (moc_qlistwidget.cpp:147)
==1296==  Address 0x12038578 is 0 bytes after a block of size 128 alloc'd
==1296==    at 0x4028700: realloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==1296==    by 0x4EDC312: qRealloc(void*, unsigned int) (qmalloc.cpp:65)
==1296==    by 0x4F01E26: QListData::realloc(int) (qlist.cpp:221)
==1296==    by 0x4F01EEB: QListData::append(int) (qlist.cpp:243)
==1296==    by 0x4F01F72: QListData::append() (qlist.cpp:253)
==1296==    by 0x4F0220F: QListData::insert(int) (qlist.cpp:305)
==1296==    by 0x590AF6F: QListModel::insert(int, QListWidgetItem*) (qlist.h:584)
==1296==    by 0xCCDADD4: SearchBarCombo::setSuggestionItems(QStringList const&) (searchbar.cpp:731)
==1296==    by 0xCCDA450: SearchBarPlugin::addSearchSuggestion(QStringList const&) (searchbar.cpp:637)
==1296==    by 0xCCDBA50: SearchBarPlugin::qt_metacall(QMetaObject::Call, int, void**) (searchbar.moc:197)
==1296==    by 0x4FE696C: QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) (qmetaobject.cpp:237)
==1296==    by 0x4FF6B1B: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.cpp:3272)
==1296==    by 0x43F14CC: KIO::SlaveInterface::finished() (slaveinterface.moc:171)
==1296==    by 0x43EEA97: KIO::SlaveInterface::dispatch(int, QByteArray const&) (slaveinterface.cpp:173)
==1296==    by 0x43EE739: KIO::SlaveInterface::dispatch() (slaveinterface.cpp:89)
==1296==    by 0x43E4A17: KIO::Slave::gotInput() (slave.cpp:347)
==1296==    by 0x43E5AFF: KIO::Slave::qt_metacall(QMetaObject::Call, int, void**) (slave.moc:82)
==1296==    by 0x4FE696C: QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) (qmetaobject.cpp:237)
==1296==    by 0x4FF6B1B: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.cpp:3272)
==1296==    by 0x4316FF6: KIO::Connection::readyRead() (connection.moc:92)
==1296==    by 0x4313D97: KIO::ConnectionPrivate::dequeue() (connection.cpp:82)
==1296==    by 0x4316F83: KIO::Connection::qt_metacall(QMetaObject::Call, int, void**) (connection.moc:79)
==1296==    by 0x4FE696C: QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) (qmetaobject.cpp:237)
==1296==    by 0x4FF1464: QMetaCallEvent::placeMetaCall(QObject*) (qobject.cpp:534)
==1296==    by 0x4FF569E: QObject::event(QEvent*) (qobject.cpp:1211)
==1296==    by 0x52F11A3: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:4396)
==1296==    by 0x52F9DD6: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:3798)
==1296==    by 0x49CB579: KApplication::notify(QObject*, QEvent*) (kapplication.cpp:311)
==1296==    by 0x4FE012D: QCoreApplication::notifyInternal(QObject*, QEvent*) (qcoreapplication.cpp:732)
==1296==    by 0x4FE3E6B: QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (qcoreapplication.h:215)
==1296==    by 0x4FE3FBB: QCoreApplication::sendPostedEvents(QObject*, int) (qcoreapplication.cpp:1266)
==1296==    by 0x500E6D3: postEventSourceDispatch(_GSource*, int (*)(void*), void*) (qcoreapplication.h:220)
==1296==    by 0x64CBB48: g_main_context_dispatch (in /usr/lib/libglib-2.0.so.0.2400.1)
==1296==    by 0x64CC34F: ??? (in /usr/lib/libglib-2.0.so.0.2400.1)
==1296==    by 0x64CC60D: g_main_context_iteration (in /usr/lib/libglib-2.0.so.0.2400.1)
==1296==    by 0x500E85A: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventdispatcher_glib.cpp:415)
==1296==    by 0x53A6199: QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qguieventdispatcher_glib.cpp:204)
==1296==    by 0x4FDF40C: QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:149)
==1296==
Comment 29 Dawit Alemayehu 2011-05-31 14:20:01 UTC
This bug should not affect anything newer than KDE v4.6 since the searchbar plugin has been ported to use the new abstracted interface and no longer accesses the html engines directly anymore. If anyone can duplicate this on KDE v4.6 and up, feel free to reopen this report.