Bug 189857 - Konqueror search-as-you-type crash (sigsegv)
Summary: Konqueror search-as-you-type crash (sigsegv)
Status: RESOLVED DUPLICATE of bug 189201
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: 4.2.2
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-17 09:17 UTC by Remco Bloemen
Modified: 2009-04-17 10:32 UTC (History)
0 users

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 Remco Bloemen 2009-04-17 09:17:33 UTC
Version:            (using KDE 4.2.2)
Compiler:          gcc version 4.3.3 (Gentoo 4.3.3-r2 p1.1, pie-10.1.5)
 
OS:                Linux
Installed from:    Gentoo Packages

On my universities courseware site konqueror crashes when I press "/" and then enter a random character. The Ctrl-F search bar works properly.

URL: http://teletop.utwente.nl/

Reproducible on any page on that site, you don't have to log in.


Application: Konqueror (konqueror), signal SIGSEGV
0x00007ff875ed5901 in nanosleep () from /lib/libc.so.6
Current language:  auto; currently c
[Current thread is 0 (LWP 6267)]

Thread 2 (Thread 0x7ff86ed9d950 (LWP 6401)):
#0  0x00007ff8785c906d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007ff878836db7 in QWaitCondition::wait (this=0x26e6b88, mutex=0x26e6b80, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  0x00007ff87882dcd1 in QThreadPoolThread::run (this=0x2710c80) at concurrent/qthreadpool.cpp:140
#3  0x00007ff8788360a9 in QThreadPrivate::start (arg=0x2710c80) at thread/qthread_unix.cpp:189
#4  0x00007ff8785c5037 in start_thread () from /lib/libpthread.so.0
#5  0x00007ff875f05f7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff87b2bf750 (LWP 6267)):
[KCrash Handler]
#5  KHTMLFindBar::pattern (this=0x0) at /var/tmp/paludis/kde-base-kdelibs-4.2.2-r1/work/kdelibs-4.2.2/khtml/find/khtmlfindbar.cpp:105
#6  0x00007ff8652fac12 in KHTMLFind::activate (this=0x491a218) at /var/tmp/paludis/kde-base-kdelibs-4.2.2-r1/work/kdelibs-4.2.2/khtml/find/khtmlfind.cpp:231
#7  0x00007ff8652fcd29 in KHTMLFind::findTextNext (this=0x491a218, reverse=false) at /var/tmp/paludis/kde-base-kdelibs-4.2.2-r1/work/kdelibs-4.2.2/khtml/find/khtmlfind.cpp:277
#8  0x00007ff8652fc8ce in KHTMLFind::findTextNext (this=0x263f3e8, reverse=false) at /var/tmp/paludis/kde-base-kdelibs-4.2.2-r1/work/kdelibs-4.2.2/khtml/find/khtmlfind.cpp:435
#9  0x00007ff865288270 in KHTMLView::findAhead (this=0x2904df0, increase=true) at /var/tmp/paludis/kde-base-kdelibs-4.2.2-r1/work/kdelibs-4.2.2/khtml/khtmlview.cpp:1979
#10 0x00007ff865288925 in KHTMLView::keyPressEvent (this=0x2904df0, _ke=0x7fff8330b050) at /var/tmp/paludis/kde-base-kdelibs-4.2.2-r1/work/kdelibs-4.2.2/khtml/khtmlview.cpp:1768
#11 0x00007ff877c964fb in QWidget::event (this=0x2904df0, event=0x7fff8330b050) at kernel/qwidget.cpp:7551
#12 0x00007ff877fe4c7c in QFrame::event (this=0x2904df0, e=0x7fff8330b050) at widgets/qframe.cpp:559
#13 0x00007ff8780688a1 in QAbstractScrollArea::event (this=0x2904df0, e=0x7fff8330b050) at widgets/qabstractscrollarea.cpp:918
#14 0x00007ff865286f51 in KHTMLView::event (this=0x2904df0, e=0x7fff8330b050) at /var/tmp/paludis/kde-base-kdelibs-4.2.2-r1/work/kdelibs-4.2.2/khtml/khtmlview.cpp:587
#15 0x00007ff877c4931d in QApplicationPrivate::notify_helper (this=0x20775a0, receiver=0x2904df0, e=0x7fff8330b050) at kernel/qapplication.cpp:4084
#16 0x00007ff877c5197a in QApplication::notify (this=<value optimized out>, receiver=0x2904df0, e=0x7fff8330b050) at kernel/qapplication.cpp:3690
#17 0x00007ff8797165ca in KApplication::notify (this=0x7fff8330c3a0, receiver=0x2904df0, event=0x7fff8330b050)
    at /var/tmp/paludis/kde-base-kdelibs-4.2.2-r1/work/kdelibs-4.2.2/kdeui/kernel/kapplication.cpp:307
#18 0x00007ff87890a38b in QCoreApplication::notifyInternal (this=0x7fff8330c3a0, receiver=0x2904df0, event=0x7fff8330b050) at kernel/qcoreapplication.cpp:598
#19 0x00007ff877ccbb80 in QKeyMapper::sendKeyEvent (keyWidget=0x2904df0, grab=<value optimized out>, type=QEvent::KeyPress, code=50, modifiers={i = -2093959824}, text=@0x7fff8330b560, 
    autorepeat=false, count=1, nativeScanCode=11, nativeVirtualKey=50, nativeModifiers=16) at kernel/qkeymapper_x11.cpp:1675
#20 0x00007ff877ccdc10 in QKeyMapperPrivate::translateKeyEvent (this=0x20a6890, keyWidget=0x2904df0, event=0x7fff8330be00, grab=false) at kernel/qkeymapper_x11.cpp:1645
#21 0x00007ff877caa735 in QApplication::x11ProcessEvent (this=0x7fff8330c3a0, event=0x7fff8330be00) at kernel/qapplication_x11.cpp:3436
#22 0x00007ff877ccf44c in x11EventSourceDispatch (s=0x207adb0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#23 0x00007ff87460d68a in IA__g_main_context_dispatch (context=0x207a120) at gmain.c:2144
#24 0x00007ff874610c6d in g_main_context_iterate (context=0x207a120, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2778
#25 0x00007ff874610e1d in IA__g_main_context_iteration (context=0x207a120, may_block=1) at gmain.c:2841
#26 0x00007ff87892fa4f in QEventDispatcherGlib::processEvents (this=0x2063450, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:323
#27 0x00007ff877ccece8 in QGuiEventDispatcherGlib::processEvents (this=0x7fff83309f30, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#28 0x00007ff878908d12 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -2093956880}) at kernel/qeventloop.cpp:149
#29 0x00007ff878908eb5 in QEventLoop::exec (this=0x7fff8330c130, flags={i = -2093956800}) at kernel/qeventloop.cpp:196
#30 0x00007ff87890af3c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#31 0x00007ff87aec4947 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/paludis/kde-base-konqueror-4.2.2/work/konqueror-4.2.2/konqueror/src/konqmain.cpp:257
#32 0x00007ff875e545c6 in __libc_start_main (main=0x4009e0 <main>, argc=2, ubp_av=0x7fff8330ce18, init=0x400a20 <__libc_csu_init>, fini=<value optimized out>, rtld_fini=<value optimized out>, 
    stack_end=0x7fff8330ce08) at libc-start.c:226
#33 0x00000000004008e9 in _start () at ../sysdeps/x86_64/elf/start.S:113
Comment 1 Remco Bloemen 2009-04-17 09:27:31 UTC
I spoke too soon, the Ctrl-F bar also crashes reproducibly when you close it after using and then click anywhere in the page, the backtrace is different:

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

Thread 1 (Thread 0x7ff6c627f750 (LWP 6416)):
[KCrash Handler]
#5  0x00007ff6c2c04eed in QActionPrivate::sendDataChanged (this=0x14f9b80) at ../../include/QtCore/../../src/corelib/tools/qlist.h:87
#6  0x00007ff6b03eba9e in KHTMLFindBar::setHasSelection (this=0x35b5550, hasSelection=<value optimized out>)
    at /var/tmp/paludis/kde-base-kdelibs-4.2.2-r1/work/kdelibs-4.2.2/khtml/find/khtmlfindbar.cpp:147
#7  0x00007ff6b0368970 in KHTMLFind::qt_metacall (this=0x2f83458, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffce2c8b20)
    at /var/tmp/paludis/kde-base-kdelibs-4.2.2-r1/work/kdelibs_build/khtml/moc_khtmlfind_p.cpp:86
#8  0x00007ff6c38dc600 in QMetaObject::activate (sender=0x2f443c0, from_signal_index=<value optimized out>, to_signal_index=16, argv=0x0) at kernel/qobject.cpp:3057
#9  0x00007ff6b038a003 in KHTMLPart::emitSelectionChanged (this=0x2f443c0) at /var/tmp/paludis/kde-base-kdelibs-4.2.2-r1/work/kdelibs-4.2.2/khtml/khtml_part.cpp:5503
#10 0x00007ff6b038a33a in KHTMLPart::notifySelectionChanged (this=0x2f443c0, closeTyping=true) at /var/tmp/paludis/kde-base-kdelibs-4.2.2-r1/work/kdelibs-4.2.2/khtml/khtml_part.cpp:3393
#11 0x00007ff6b038a433 in KHTMLPart::setCaret (this=0x2f443c0, s=@0x7fffce2c8c70, closeTyping=113) at /var/tmp/paludis/kde-base-kdelibs-4.2.2-r1/work/kdelibs-4.2.2/khtml/khtml_part.cpp:3259
#12 0x00007ff6b039a497 in KHTMLPart::handleMousePressEventSingleClick (this=0x2f443c0, event=0x7fffce2c94d0) at /var/tmp/paludis/kde-base-kdelibs-4.2.2-r1/work/kdelibs-4.2.2/khtml/khtml_part.cpp:6078
#13 0x00007ff6b039a80e in KHTMLPart::khtmlMousePressEvent (this=0x2f443c0, event=0x7fffce2c94d0) at /var/tmp/paludis/kde-base-kdelibs-4.2.2-r1/work/kdelibs-4.2.2/khtml/khtml_part.cpp:6117
#14 0x00007ff6c38d9165 in QObject::event (this=0x2f443c0, e=0x7fffce2c94d0) at kernel/qobject.cpp:1140
#15 0x00007ff6c2c0931d in QApplicationPrivate::notify_helper (this=0xf535a0, receiver=0x2f443c0, e=0x7fffce2c94d0) at kernel/qapplication.cpp:4084
#16 0x00007ff6c2c109ba in QApplication::notify (this=0x7fffce2cb2b0, receiver=0x2f443c0, e=0x7fffce2c94d0) at kernel/qapplication.cpp:4049
#17 0x00007ff6c46d65ca in KApplication::notify (this=0x7fffce2cb2b0, receiver=0x2f443c0, event=0x7fffce2c94d0)
    at /var/tmp/paludis/kde-base-kdelibs-4.2.2-r1/work/kdelibs-4.2.2/kdeui/kernel/kapplication.cpp:307
#18 0x00007ff6c38ca38b in QCoreApplication::notifyInternal (this=0x7fffce2cb2b0, receiver=0x2f443c0, event=0x7fffce2c94d0) at kernel/qcoreapplication.cpp:598
#19 0x00007ff6b03792d1 in KHTMLView::mousePressEvent (this=0x2d9e7d0, _mouse=0x7fffce2ca380) at /usr/include/qt4/QtCore/qcoreapplication.h:213
#20 0x00007ff6c2c567bb in QWidget::event (this=0x2d9e7d0, event=0x7fffce2ca380) at kernel/qwidget.cpp:7512
#21 0x00007ff6c2fa4c7c in QFrame::event (this=0x2d9e7d0, e=0x7fffce2ca380) at widgets/qframe.cpp:559
#22 0x00007ff6b03748a5 in KHTMLView::widgetEvent (this=0x2d9e7d0, e=0x71) at /var/tmp/paludis/kde-base-kdelibs-4.2.2-r1/work/kdelibs-4.2.2/khtml/khtmlview.cpp:2382
#23 0x00007ff6b0374ad4 in KHTMLView::eventFilter (this=0x2d9e7d0, o=0x2d8d480, e=0x7fffce2ca380) at /var/tmp/paludis/kde-base-kdelibs-4.2.2-r1/work/kdelibs-4.2.2/khtml/khtmlview.cpp:2246
#24 0x00007ff6c38c96e7 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x2d8d480, event=0x7fffce2ca380) at kernel/qcoreapplication.cpp:718
#25 0x00007ff6c2c092fc in QApplicationPrivate::notify_helper (this=0xf535a0, receiver=0x2d8d480, e=0x7fffce2ca380) at kernel/qapplication.cpp:4080
#26 0x00007ff6c2c11123 in QApplication::notify (this=<value optimized out>, receiver=0x2d8d480, e=0x7fffce2ca380) at kernel/qapplication.cpp:3786
#27 0x00007ff6c46d65ca in KApplication::notify (this=0x7fffce2cb2b0, receiver=0x2d8d480, event=0x7fffce2ca380)
    at /var/tmp/paludis/kde-base-kdelibs-4.2.2-r1/work/kdelibs-4.2.2/kdeui/kernel/kapplication.cpp:307
#28 0x00007ff6c38ca38b in QCoreApplication::notifyInternal (this=0x7fffce2cb2b0, receiver=0x2d8d480, event=0x7fffce2ca380) at kernel/qcoreapplication.cpp:598
#29 0x00007ff6c2c12611 in QApplicationPrivate::sendMouseEvent (receiver=0x2d8d480, event=0x7fffce2ca380, alienWidget=0x2d8d480, nativeWidget=0x108b380, buttonDown=<value optimized out>, 
    lastMouseReceiver=@0x7ff6c357af90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#30 0x00007ff6c2c6be8c in QETWidget::translateMouseEvent (this=0x108b380, event=<value optimized out>) at kernel/qapplication_x11.cpp:4425
#31 0x00007ff6c2c6ad3d in QApplication::x11ProcessEvent (this=0x7fffce2cb2b0, event=0x7fffce2cad10) at kernel/qapplication_x11.cpp:3543
#32 0x00007ff6c2c8f44c in x11EventSourceDispatch (s=0xf56db0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#33 0x00007ff6bf5cd68a in IA__g_main_context_dispatch (context=0xf56120) at gmain.c:2144
#34 0x00007ff6bf5d0c6d in g_main_context_iterate (context=0xf56120, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2778
#35 0x00007ff6bf5d0e1d in IA__g_main_context_iteration (context=0xf56120, may_block=1) at gmain.c:2841
#36 0x00007ff6c38efa4f in QEventDispatcherGlib::processEvents (this=0xf3f450, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:323
#37 0x00007ff6c2c8ece8 in QGuiEventDispatcherGlib::processEvents (this=0x7fffce2c89f0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#38 0x00007ff6c38c8d12 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -835932160}) at kernel/qeventloop.cpp:149
#39 0x00007ff6c38c8eb5 in QEventLoop::exec (this=0x7fffce2cb040, flags={i = -835932080}) at kernel/qeventloop.cpp:196
#40 0x00007ff6c38caf3c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#41 0x00007ff6c5e84947 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/paludis/kde-base-konqueror-4.2.2/work/konqueror-4.2.2/konqueror/src/konqmain.cpp:257
#42 0x00007ff6c0e145c6 in __libc_start_main (main=0x4009e0 <main>, argc=2, ubp_av=0x7fffce2cbd28, init=0x400a20 <__libc_csu_init>, fini=<value optimized out>, rtld_fini=<value optimized out>, 
    stack_end=0x7fffce2cbd18) at libc-start.c:226
#43 0x00000000004008e9 in _start () at ../sysdeps/x86_64/elf/start.S:113
Comment 2 Tommi Tervo 2009-04-17 10:32:40 UTC

*** This bug has been marked as a duplicate of bug 189201 ***