Bug 445144 - google search segfaults
google search segfaults
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: konq-plugins (Show other bugs)
rawhide
x86_64 Linux
high Severity high
: ---
: ---
Assigned To: Kevin Kofler
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-05-04 13:57 EDT by Neal Becker
Modified: 2008-05-13 11:31 EDT (History)
5 users (show)

See Also:
Fixed In Version: 4.0.3-0.3.20080409svn.fc9
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-05-13 11:31:45 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Neal Becker 2008-05-04 13:57:39 EDT
Description of problem:
Any use of google search gives:

[KCrash handler]
#5  0x0000003a7e4f78a1 in qt_qFindChild_helper ()
   from /usr/lib64/libQtCore.so.4
#6  0x0000003a8022d0fc in KParts::BrowserExtension::childObject ()
   from /usr/lib64/libkparts.so.4
#7  0x00007f5f8a0d48de in ?? () from /usr/lib64/kde4/searchbarplugin.so
#8  0x00007f5f8a0d8134 in ?? () from /usr/lib64/kde4/searchbarplugin.so
#9  0x0000003a7e4fc396 in QMetaObject::activate ()
   from /usr/lib64/libQtCore.so.4
#10 0x0000003a7f83b235 in QComboBox::activated ()
   from /usr/lib64/libQtGui.so.4
#11 0x0000003a85e83913 in KHistoryComboBox::slotSimulateActivated ()
   from /usr/lib64/libkdeui.so.5
#12 0x0000003a85e852d5 in KHistoryComboBox::qt_metacall ()
   from /usr/lib64/libkdeui.so.5
#13 0x00007f5f8a0d424d in ?? () from /usr/lib64/kde4/searchbarplugin.so
#14 0x0000003a7e4fc396 in QMetaObject::activate ()
   from /usr/lib64/libQtCore.so.4
#15 0x0000003a85e72d15 in KComboBox::returnPressed ()
   from /usr/lib64/libkdeui.so.5
#16 0x0000003a85e73ea4 in KComboBox::qt_metacall ()
   from /usr/lib64/libkdeui.so.5
#17 0x0000003a85e85195 in KHistoryComboBox::qt_metacall ()
   from /usr/lib64/libkdeui.so.5
#18 0x00007f5f8a0d424d in ?? () from /usr/lib64/kde4/searchbarplugin.so
#19 0x0000003a7e4fc396 in QMetaObject::activate ()
   from /usr/lib64/libQtCore.so.4
#20 0x0000003a85e8aff5 in KLineEdit::returnPressed ()
   from /usr/lib64/libkdeui.so.5
#21 0x0000003a85e92a25 in KLineEdit::event () from /usr/lib64/libkdeui.so.5
#22 0x0000003a7f840311 in QComboBox::keyPressEvent ()
   from /usr/lib64/libQtGui.so.4
#23 0x0000003a85e84f14 in KHistoryComboBox::keyPressEvent ()
   from /usr/lib64/libkdeui.so.5
#24 0x0000003a7f5d3e5a in QWidget::event () from /usr/lib64/libQtGui.so.4
#25 0x0000003a7f590df1 in QApplicationPrivate::notify_helper ()
   from /usr/lib64/libQtGui.so.4
#26 0x0000003a7f5984dc in QApplication::notify ()
   from /usr/lib64/libQtGui.so.4
#27 0x0000003a85de323b in KApplication::notify ()
   from /usr/lib64/libkdeui.so.5
#28 0x0000003a7e4ea9f0 in QCoreApplication::notifyInternal ()
   from /usr/lib64/libQtCore.so.4
#29 0x0000003a7f6033cd in ?? () from /usr/lib64/libQtGui.so.4
#30 0x0000003a7f6053c8 in ?? () from /usr/lib64/libQtGui.so.4
#31 0x0000003a7f5e2efb in QApplication::x11ProcessEvent ()
   from /usr/lib64/libQtGui.so.4
#32 0x0000003a7f606bfc in ?? () from /usr/lib64/libQtGui.so.4
#33 0x0000003a7943749b in g_main_context_dispatch ()
   from /lib64/libglib-2.0.so.0
#34 0x0000003a7943ac7d in ?? () from /lib64/libglib-2.0.so.0
#35 0x0000003a7943ae3b in g_main_context_iteration ()
   from /lib64/libglib-2.0.so.0
#36 0x0000003a7e50a741 in QEventDispatcherGlib::processEvents ()
   from /usr/lib64/libQtCore.so.4
#37 0x0000003a7f60647f in ?? () from /usr/lib64/libQtGui.so.4
#38 0x0000003a7e4e98a8 in QEventLoop::processEvents ()
   from /usr/lib64/libQtCore.so.4
#39 0x0000003a7e4e9a85 in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#40 0x0000003a7e4ecbc7 in QCoreApplication::exec ()
   from /usr/lib64/libQtCore.so.4
#41 0x0000003a81abc5d2 in kdemain () from /usr/lib64/libkdeinit4_konqueror.so
#42 0x0000003a7641e32a in __libc_start_main () from /lib64/libc.so.6
#43 0x0000000000400809 in _start ()
#0  0x0000003a764a6220 in __nanosleep_nocancel () from /lib64/libc.so.6

Version-Release number of selected component (if applicable):

konq-plugins-4.0.3-0.2.20080409svn.fc9.x86_64


How reproducible:

100%

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
Comment 1 Rex Dieter 2008-05-04 14:04:35 EDT
confirmed, yuck.
Comment 2 Kevin Kofler 2008-05-04 14:07:09 EDT
I'll take care of this. (I promised Sebastian I'd help with fixing the bugs in 
the code.)

Unfortunately, there is no debugging information in this backtrace. Can you 
please install konq-plugins-debuginfo and post or attach the resulting 
backtrace? I really need to know where:
#7  0x00007f5f8a0d48de in ?? () from /usr/lib64/kde4/searchbarplugin.so
#8  0x00007f5f8a0d8134 in ?? () from /usr/lib64/kde4/searchbarplugin.so
actually are in the code.

(Rex, if you can provide the backtrace with debugging info, feel free to cancel 
the needinfo.)
Comment 3 Neal Becker 2008-05-04 14:21:34 EDT
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f15e22cd790 (LWP 24712)]
0x0000003a7e4f78a1 in qt_qFindChild_helper () from /usr/lib64/libQtCore.so.4
(gdb) where
#0  0x0000003a7e4f78a1 in qt_qFindChild_helper () from
/usr/lib64/libQtCore.so.4
#1  0x0000003a8022d0fc in KParts::BrowserExtension::childObject ()
   from /usr/lib64/libkparts.so.4
#2  0x00007f15d8ca38de in SearchBarPlugin::startSearch (this=0x15885b0,
    search=@0x7fffea320060)
    at /usr/src/debug/konq-plugins-4.0.3/searchbar/searchbar.cpp:203
#3  0x00007f15d8ca7134 in SearchBarPlugin::qt_metacall (this=0x15885b0,
    _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>,
_a=0x7fffea31f3b0)
    at /usr/src/debug/konq-plugins-4.0.3/x86_64-redhat-linux-
#4  0x0000003a7e4fc396 in QMetaObject::activate () from
/usr/lib64/libQtCore.so.4
#5  0x0000003a7f83b235 in QComboBox::activated () from
/usr/lib64/libQtGui.so.4
#6  0x0000003a85e83913 in KHistoryComboBox::slotSimulateActivated ()
   from /usr/lib64/libkdeui.so.5
#7  0x0000003a85e852d5 in KHistoryComboBox::qt_metacall () from
/usr/lib64/libkdeui.so.5
#8  0x00007f15d8ca324d in SearchBarCombo::qt_metacall (this=0x3a7e7854e0,
    _c=3929140080, _id=-2143001824, _a=0x0)
    at /usr/src/debug/konq-plugins-4.0.3/x86_64-redhat-linux-
#9  0x0000003a7e4fc396 in QMetaObject::activate () from
/usr/lib64/libQtCore.so.4
---Type <return> to continue, or q <return> to quit---
#10 0x0000003a85e72d15 in KComboBox::returnPressed () from
/usr/lib64/libkdeui.so.5
#11 0x0000003a85e73ea4 in KComboBox::qt_metacall () from
/usr/lib64/libkdeui.so.5
#12 0x0000003a85e85195 in KHistoryComboBox::qt_metacall () from
/usr/lib64/libkdeui.so.5
#13 0x00007f15d8ca324d in SearchBarCombo::qt_metacall (this=0x3a7e7854e0,
    _c=3929140080, _id=-2143001824, _a=0x0)
    at /usr/src/debug/konq-plugins-4.0.3/x86_64-redhat-linux-
#14 0x0000003a7e4fc396 in QMetaObject::activate () from
/usr/lib64/libQtCore.so.4
#15 0x0000003a85e8aff5 in KLineEdit::returnPressed () from
/usr/lib64/libkdeui.so.5
#16 0x0000003a85e92a25 in KLineEdit::event () from /usr/lib64/libkdeui.so.5
#17 0x0000003a7f840311 in QComboBox::keyPressEvent () from
/usr/lib64/libQtGui.so.4
#18 0x0000003a85e84f14 in KHistoryComboBox::keyPressEvent ()
   from /usr/lib64/libkdeui.so.5
#19 0x0000003a7f5d3e5a in QWidget::event () from /usr/lib64/libQtGui.so.4
#20 0x0000003a7f590df1 in QApplicationPrivate::notify_helper ()
   from /usr/lib64/libQtGui.so.4
#21 0x0000003a7f5984dc in QApplication::notify () from
/usr/lib64/libQtGui.so.4
#22 0x0000003a85de323b in KApplication::notify () from
/usr/lib64/libkdeui.so.5
#23 0x0000003a7e4ea9f0 in QCoreApplication::notifyInternal ()
   from /usr/lib64/libQtCore.so.4
---Type <return> to continue, or q <return> to quit---
#24 0x0000003a7f6033cd in ?? () from /usr/lib64/libQtGui.so.4
#25 0x0000003a7f6053c8 in ?? () from /usr/lib64/libQtGui.so.4
#26 0x0000003a7f5e2efb in QApplication::x11ProcessEvent () from
/usr/lib64/libQtGui.so.4
#27 0x0000003a7f606bfc in ?? () from /usr/lib64/libQtGui.so.4
#28 0x0000003a7943749b in g_main_context_dispatch () from
/lib64/libglib-2.0.so.0
#29 0x0000003a7943ac7d in ?? () from /lib64/libglib-2.0.so.0
#30 0x0000003a7943ae3b in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#31 0x0000003a7e50a741 in QEventDispatcherGlib::processEvents ()
   from /usr/lib64/libQtCore.so.4
#32 0x0000003a7f60647f in ?? () from /usr/lib64/libQtGui.so.4
#33 0x0000003a7e4e98a8 in QEventLoop::processEvents () from
/usr/lib64/libQtCore.so.4
#34 0x0000003a7e4e9a85 in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#35 0x0000003a7e4ecbc7 in QCoreApplication::exec () from
/usr/lib64/libQtCore.so.4
#36 0x0000003a81abc5d2 in kdemain () from /usr/lib64/libkdeinit4_konqueror.so
#37 0x0000003a7641e32a in __libc_start_main () from /lib64/libc.so.6
#38 0x0000000000400809 in _start ()
(gdb)
Comment 4 Neal Becker 2008-05-04 14:23:37 EDT
Got a little cutoff:
#8  0x00007f15d8ca324d in SearchBarCombo::qt_metacall (this=0x3a7e7854e0,
    _c=3929140080, _id=-2143001824, _a=0x0)
    at /usr/src/debug/konq-plugins-4.0.3/x86_64-redhat-linux-    at /usr/src/debug/konq-plugins-4.0.3/x86_64-redhat-linux-gnu/searchbar/searchbar.moc:64
Comment 5 Kevin Kofler 2008-05-04 14:46:39 EDT
That should suffice, let me look at what's going on.
Comment 6 Kevin Kofler 2008-05-04 15:03:21 EDT
The line which crashes is this:
KParts::BrowserExtension * ext = KParts::BrowserExtension::childObject(m_part);

The code which finds m_part has been changed on April 7 (2 days before 
Sebastian took the snapshot), here:
http://websvn.kde.org/?view=rev&revision=794424
"listen to (new) PartActivateEvent from konqmainwindow, instead of the 
qFindChild<KParts::PartManager*> hack."

I can try to revert this change.
Comment 7 Kevin Kofler 2008-05-04 15:52:15 EDT
Can you please try this build to see if this fixes it?
http://koji.fedoraproject.org/koji/taskinfo?taskID=595103
Comment 8 Kevin Kofler 2008-05-04 15:59:25 EDT
If this doesn't work, I can also try reverting this pair of commits (which adds 
WebKitPart support, we don't ship the WebKitPart anyway):
http://websvn.kde.org/?view=rev&revision=794409
http://websvn.kde.org/?view=rev&revision=794422
The second commit in that series is what introduced the line which crashes.
Comment 9 Neal Becker 2008-05-04 16:16:33 EDT
Appears to be fixed (comment #7)!
Comment 10 Fedora Update System 2008-05-04 16:23:50 EDT
konq-plugins-4.0.3-0.3.20080409svn.fc9 has been submitted as an update for Fedora 9
Comment 11 Fedora Update System 2008-05-13 11:31:42 EDT
konq-plugins-4.0.3-0.3.20080409svn.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.