Bug 190257 - konqueror crash in KHTMLFindBar::setHasSelection when searching in page
Summary: konqueror crash in KHTMLFindBar::setHasSelection when searching in page
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords: triaged
: 191521 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-04-21 15:13 UTC by Marcus Better
Modified: 2018-10-27 02:23 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus Better 2009-04-21 15:13:51 UTC
Version:           4.2.2 (KDE 4.2.2) (using 4.2.2 (KDE 4.2.2), Debian packages)
Compiler:          cc
OS:                Linux (x86_64) release 2.6.29-melech

Konqueror crashed (twice today) with this stack trace. This was while searching in the page. I think the first time I pressed Back, and the other time I clicked the mouse to follow a link in the page (while the search bar was visible).

Program: Konqueror (konqueror), signal SIGSEGV
0x00007fc19da508d1 in nanosleep () from /lib/libc.so.6
Current language:  auto; currently c

Thread 1 (Thread 0x7fc19e0d5750 (LWP 2864)):
[KCrash Handler]
#5  QAction::setEnabled (this=0x0, b=false) at kernel/qaction.h:67
#6  0x00007fc18e9e627e in KHTMLFindBar::setHasSelection (this=0x2e29d80, hasSelection=<value optimized out>) at ../../khtml/find/khtmlfindbar.cpp:147
#7  0x00007fc18e962580 in KHTMLFind::qt_metacall (this=0x1d53db8, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa620c880) at moc_khtmlfind_p.cpp:85
#8  0x00007fc19b6a6622 in QMetaObject::activate (sender=0x1d55480, from_signal_index=<value optimized out>, to_signal_index=16, argv=0x7fffa620c880) at kernel/qobject.cpp:3069
#9  0x00007fc18e9827b3 in KHTMLPart::emitSelectionChanged (this=0x1d55480) at ../../khtml/khtml_part.cpp:5503
#10 0x00007fc18e982aea in KHTMLPart::notifySelectionChanged (this=0x1d55480, closeTyping=true) at ../../khtml/khtml_part.cpp:3393
#11 0x00007fc18e982bfe in KHTMLPart::setCaret (this=0x1d55480, s=@0x7fffa620c9d0, closeTyping=false) at ../../khtml/khtml_part.cpp:3259
#12 0x00007fc18e98e527 in KHTMLPart::handleMousePressEventSingleClick (this=0x1d55480, event=0x7fffa620d220) at ../../khtml/khtml_part.cpp:6078
#13 0x00007fc18e99504a in KHTMLPart::khtmlMousePressEvent (this=0x1d55480, event=0x7fffa620d220) at ../../khtml/khtml_part.cpp:6117
#14 0x00007fc19b6a0ccd in QObject::event (this=0x1d55480, e=0x7fffa620d220) at kernel/qobject.cpp:1149
#15 0x00007fc19aad667d in QApplicationPrivate::notify_helper (this=0x6209b0, receiver=0x1d55480, e=0x7fffa620d220) at kernel/qapplication.cpp:4084
#16 0x00007fc19aade86a in QApplication::notify (this=0x7fffa620efa0, receiver=0x1d55480, e=0x7fffa620d220) at kernel/qapplication.cpp:4049
#17 0x00007fc19c28e55b in KApplication::notify (this=0x7fffa620efa0, receiver=0x1d55480, event=0x7fffa620d220) at ../../kdeui/kernel/kapplication.cpp:307
#18 0x00007fc19b690c4c in QCoreApplication::notifyInternal (this=0x7fffa620efa0, receiver=0x1d55480, event=0x7fffa620d220) at kernel/qcoreapplication.cpp:602
#19 0x00007fc18e972a51 in KHTMLView::mousePressEvent (this=0x1d4c150, _mouse=0x7fffa620e070) at /usr/include/qt4/QtCore/qcoreapplication.h:209
#20 0x00007fc19ab279a6 in QWidget::event (this=0x1d4c150, event=0x7fffa620e070) at kernel/qwidget.cpp:7512
#21 0x00007fc19aec00ab in QFrame::event (this=0x1d4c150, e=0x7fffa620e070) at widgets/qframe.cpp:559
#22 0x00007fc18e96da4d in KHTMLView::widgetEvent (this=0x1d4c150, e=0x0) at ../../khtml/khtmlview.cpp:2382
#23 0x00007fc18e96dd04 in KHTMLView::eventFilter (this=0x1d4c150, o=0x1d547f0, e=0x7fffa620e070) at ../../khtml/khtmlview.cpp:2246
#24 0x00007fc19b68ff58 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x1d547f0, event=0x7fffa620e070) at kernel/qcoreapplication.cpp:718
#25 0x00007fc19aad664c in QApplicationPrivate::notify_helper (this=0x6209b0, receiver=0x1d547f0, e=0x7fffa620e070) at kernel/qapplication.cpp:4080
#26 0x00007fc19aadefca in QApplication::notify (this=<value optimized out>, receiver=0x1d547f0, e=0x7fffa620e070) at kernel/qapplication.cpp:3786
#27 0x00007fc19c28e55b in KApplication::notify (this=0x7fffa620efa0, receiver=0x1d547f0, event=0x7fffa620e070) at ../../kdeui/kernel/kapplication.cpp:307
#28 0x00007fc19b690c4c in QCoreApplication::notifyInternal (this=0x7fffa620efa0, receiver=0x1d547f0, event=0x7fffa620e070) at kernel/qcoreapplication.cpp:602
#29 0x00007fc19aade218 in QApplicationPrivate::sendMouseEvent (receiver=0x1d547f0, event=0x7fffa620e070, alienWidget=0x1d547f0, nativeWidget=0x71ee50, buttonDown=<value optimized out>, 
    lastMouseReceiver=@0x7fc19b538eb0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#30 0x00007fc19ab47ca9 in QETWidget::translateMouseEvent (this=0x71ee50, event=<value optimized out>) at kernel/qapplication_x11.cpp:4425
#31 0x00007fc19ab46de8 in QApplication::x11ProcessEvent (this=0x7fffa620efa0, event=0x7fffa620ea00) at kernel/qapplication_x11.cpp:3543
#32 0x00007fc19ab6efa4 in x11EventSourceDispatch (s=0x6246c0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#33 0x00007fc1977b6e4a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#34 0x00007fc1977ba510 in ?? () from /usr/lib/libglib-2.0.so.0
#35 0x00007fc1977ba6ac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#36 0x00007fc19b6ba29f in QEventDispatcherGlib::processEvents (this=0x60c490, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:323
#37 0x00007fc19ab6e74f in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#38 0x00007fc19b68f4f2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -1507791632}) at kernel/qeventloop.cpp:149
#39 0x00007fc19b68f8bd in QEventLoop::exec (this=0x7fffa620ed30, flags={i = -1507791552}) at kernel/qeventloop.cpp:200
#40 0x00007fc19b691b84 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#41 0x00007fc19ddc9a39 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../../../apps/konqueror/src/konqmain.cpp:257
#42 0x00007fc19d9d05a6 in __libc_start_main (main=0x4006f0 <main>, argc=3, ubp_av=0x7fffa620fa18, init=0x400720 <__libc_csu_init>, fini=<value optimized out>, rtld_fini=<value optimized out>, 
    stack_end=0x7fffa620fa08) at libc-start.c:222
#43 0x0000000000400629 in _start () at ../sysdeps/x86_64/elf/start.S:113
Comment 1 Tommi Tervo 2009-04-21 15:33:51 UTC
related bug, bt looks a bit different:
https://bugs.kde.org/show_bug.cgi?id=189201
Comment 2 Marcus Better 2009-04-21 17:49:10 UTC
Steps to reproduce, works every time:

1. Open a new Konqueror window at http://grails.org/doc/1.1/
2. Ctrl-F and type R, E, S, T (or some other matching four letter search string)
3. Press Esc to terminate the search.
4. Click any link in the page with the mouse. The browser crashes.
Comment 3 Dario Andres 2009-05-03 22:23:51 UTC
*** Bug 191521 has been marked as a duplicate of this bug. ***
Comment 4 Dario Andres 2009-05-03 22:24:40 UTC
Look at bug 191521 for a other detailed testcase(steps)
Comment 5 Germain Garand 2009-05-04 00:33:33 UTC
I never could reproduce those crashes,
nevertheless I believe the many code-rugging measures I took in r961356
(that's been backported for KDE 4.2.3) should have taken care of that.

Please report if that isn't the case!
Comment 6 Dario Andres 2009-05-04 00:40:35 UTC
Ok, I will try to update to the latest revision and update the bug status. Thanks
Comment 7 Matthew Dawson 2009-06-21 06:57:54 UTC
Testing on a recent SVN snapshot r984032 (qt 4.5.1), this bug appears to be fixed.
Comment 8 Dario Andres 2009-07-07 21:56:39 UTC
Ok, I can't reproduce the crash here using:

Qt: 4.5.2 (KDE-Qt git commit 46a247a2c9a8c0c4456a02f6a0922d859d88fe76
        Date:   Fri Jun 26 13:45:37 2009 +0200)
KDE: 4.3.60 (KDE 4.3.60 (KDE 4.4 >= 20090624))
kdelibs svn rev. 989682 / kdebase svn rev. 989682
on ArchLinux i686 - Kernel 2.6.30

And I think I can't reproduce neither my crash of bug 191521. (but I need more time to test it). Thanks
Comment 9 Christoph Feck 2013-09-12 21:47:34 UTC
This crash report is at least 3 years old and there were no further comments or status updates since then.

Therefore we believe that this crash is already fixed in recent KDE 4 versions or the backtrace is no longer applicable to the current KDE 4 sources.

If the crash still happens with a recent KDE version (4.10.5 or 4.11), please add an updated backtrace or provide steps to reproduce. For more information, see http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports

(To prevent automatic closing of this bug in the future, please set the bug status to ASSIGNED or CONFIRMED)
Comment 10 Andrew Crouthamel 2018-09-25 03:45:30 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 11 Andrew Crouthamel 2018-10-27 02:23:00 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!