Summary: | crash when modifying address bar address | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Raúl <rasasi78> |
Component: | khtml | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | caleb, imipak, pkaplan1 |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Raúl
2006-06-15 13:26:05 UTC
I'm usign all the javascript debug/console option, just in case. Backtrace is similar to closed and fixed bug :-/ http://bugs.kde.org/show_bug.cgi?id=112905 In that case I wonder why is still present, look at my versions, they are quite new and this bug is supposed to be solved 6+ months ago. Quit often I type the website url directly in the addressbar. Since KDE 351 and 353 (did not try 352), once in while konqueror crashes. More specific: - I can type www. - The first letter of the url should show the urls that are available in the address bar / dropdown list. However, when typing the first letter, konquerer crashes. - work around is F9, clear history. GDB trace: (no debugging symbols found) Using host libthread_db library "/lib/i686/libthread_db.so.1". (no debugging symbols found) `shared object read from target memory' has disappeared; keeping its symbols. (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread -1231501104 (LWP 11347)] (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [KCrash handler] #6 0xbfffe410 in __kernel_vsyscall () #7 0xb7014fa1 in raise () from /lib/i686/libc.so.6 #8 0xb7016868 in abort () from /lib/i686/libc.so.6 #9 0xb704a62b in __fsetlocking () from /lib/i686/libc.so.6 #10 0xb70504a5 in malloc_usable_size () from /lib/i686/libc.so.6 #11 0xb70525db in mallopt () from /lib/i686/libc.so.6 #12 0xb7054075 in malloc () from /lib/i686/libc.so.6 #13 0xb6a944ae in XftFontOpenInfo () from /usr/X11R6/lib/libXft.so.2 #14 0xb6a954fa in XftFontOpenPattern () from /usr/X11R6/lib/libXft.so.2 #15 0xb7502c4e in QFontDatabase::styleString () from /usr/lib/qt3/lib/libqt-mt.so.3 #16 0xb7508f19 in QFontDatabase::findFont () from /usr/lib/qt3/lib/libqt-mt.so.3 #17 0xb7495252 in QFontPrivate::load () from /usr/lib/qt3/lib/libqt-mt.so.3 #18 0xb75c40a1 in QTextEngine::shape () from /usr/lib/qt3/lib/libqt-mt.so.3 #19 0xb75c2671 in QTextLayout::currentItem () from /usr/lib/qt3/lib/libqt-mt.so.3 #20 0xb75438f2 in qt_format_text () from /usr/lib/qt3/lib/libqt-mt.so.3 #21 0xb7545740 in QPainter::drawText () from /usr/lib/qt3/lib/libqt-mt.so.3 #22 0xb6842ea0 in KonqComboListBoxPixmap::paint () from /usr/lib/libkdeinit_konqueror.so #23 0xb7607ab9 in QListBox::paintCell () from /usr/lib/qt3/lib/libqt-mt.so.3 #24 0xb7604d69 in QListBox::viewportPaintEvent () from /usr/lib/qt3/lib/libqt-mt.so.3 #25 0xb7642bfc in QScrollView::eventFilter () from /usr/lib/qt3/lib/libqt-mt.so.3 #26 0xb7600aa3 in QListBox::eventFilter () from /usr/lib/qt3/lib/libqt-mt.so.3 #27 0xb6f09278 in KCompletionBox::eventFilter () from /usr/lib/libkdeui.so.4 #28 0xb74e2137 in QApplication::internalNotify () from /usr/lib/qt3/lib/libqt-mt.so.3 #29 0xb74e283a in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3 #30 0xb7ae7f0e in KApplication::notify () from /usr/lib/libkdecore.so.4 #31 0xb747a45f in QETWidget::translatePaintEvent () from /usr/lib/qt3/lib/libqt-mt.so.3 #32 0xb74811b9 in QApplication::x11ProcessEvent () from /usr/lib/qt3/lib/libqt-mt.so.3 #33 0xb74937a6 in QEventLoop::processEvents () from /usr/lib/qt3/lib/libqt-mt.so.3 #34 0xb74f6b71 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3 #35 0xb74f6a94 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3 #36 0xb74e190f in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3 #37 0xb6808a3c in kdemain () from /usr/lib/libkdeinit_konqueror.so #38 0xb7f23534 in kdeinitmain () from /usr/lib/kde3/konqueror.so #39 0x0804e120 in ?? () #40 0x00000003 in ?? () #41 0x0805b458 in ?? () #42 0x00000001 in ?? () #43 0x00000000 in ?? () comment #4 is unrelated, please file a separate bug report, though this doesn't really have enough information to work with, anyway *** Bug 123318 has been marked as a duplicate of this bug. *** SVN commit 556326 by orlovich: Make this show-popups-thingie a bit less of a DanglingPointerTown. Fixes crashes on browsing away from cnn.com, other sites. BUG:129187 M +18 -11 khtml_part.cpp M +1 -1 khtmlpart_p.h --- branches/KDE/3.5/kdelibs/khtml/khtml_part.cpp #556325:556326 @@ -1876,10 +1876,14 @@ removeJSErrorExtension(); setSuppressedPopupIndicator( false ); d->m_openableSuppressedPopups = 0; - for ( KHTMLPart* part = d->m_suppressedPopupOriginParts.first(); part; part = d->m_suppressedPopupOriginParts.next() ) { - KJS::Window *w = KJS::Window::retrieveWindow( part ); - if (w) - w->forgetSuppressedWindows(); + for ( QValueListIterator<QGuardedPtr<KHTMLPart> > i = d->m_suppressedPopupOriginParts.begin(); + i != d->m_suppressedPopupOriginParts.end(); ++i ) { + + if (KHTMLPart* part = *i) { + KJS::Window *w = KJS::Window::retrieveWindow( part ); + if (w) + w->forgetSuppressedWindows(); + } } } @@ -7360,7 +7364,7 @@ if ( enable && originPart ) { d->m_openableSuppressedPopups++; - if ( d->m_suppressedPopupOriginParts.find( originPart ) == -1 ) + if ( d->m_suppressedPopupOriginParts.findIndex( originPart ) == -1 ) d->m_suppressedPopupOriginParts.append( originPart ); } @@ -7405,12 +7409,15 @@ } void KHTMLPart::showSuppressedPopups() { - for ( KHTMLPart* part = d->m_suppressedPopupOriginParts.first(); part; part = d->m_suppressedPopupOriginParts.next() ) { - KJS::Window *w = KJS::Window::retrieveWindow( part ); - if (w) { - w->showSuppressedWindows(); - w->forgetSuppressedWindows(); - } + for ( QValueListIterator<QGuardedPtr<KHTMLPart> > i = d->m_suppressedPopupOriginParts.begin(); + i != d->m_suppressedPopupOriginParts.end(); ++i ) { + if (KHTMLPart* part = *i) { + KJS::Window *w = KJS::Window::retrieveWindow( part ); + if (w) { + w->showSuppressedWindows(); + w->forgetSuppressedWindows(); + } + } } setSuppressedPopupIndicator( false ); d->m_openableSuppressedPopups = 0; --- branches/KDE/3.5/kdelibs/khtml/khtmlpart_p.h #556325:556326 @@ -316,7 +316,7 @@ KURLLabel* m_statusBarUALabel; KURLLabel* m_statusBarJSErrorLabel; KURLLabel* m_statusBarPopupLabel; - QPtrList<KHTMLPart> m_suppressedPopupOriginParts; + QValueList<QGuardedPtr<KHTMLPart> > m_suppressedPopupOriginParts; int m_openableSuppressedPopups; DOM::DocumentImpl *m_doc; khtml::Decoder *m_decoder; *** Bug 130056 has been marked as a duplicate of this bug. *** *** Bug 130062 has been marked as a duplicate of this bug. *** *** Bug 130090 has been marked as a duplicate of this bug. *** |