[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 176431] New: crash in khtml, DOM::DocumentImpl::part() is NULL
From:       cedric <cedric.borgese () gmail ! com>
Date:       2008-11-29 11:29:14
Message-ID: bug-176431-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

http://bugs.kde.org/show_bug.cgi?id=176431

           Summary: crash in khtml, DOM::DocumentImpl::part() is NULL
           Product: konqueror
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: crash
          Priority: NOR
         Component: khtml
        AssignedTo: konq-bugs@kde.org
        ReportedBy: cedric.borgese@gmail.com


Version:            (using Devel)
Compiler:          gcc 4.3.2 gcc from debian sid
OS:                Linux
Installed from:    Compiled sources

konqueror crashed in khtml part, I cannot reproduce it anymore but tryed to
debug it.
the reason of the crash is in HTMLDocumentImpl::close(), when trying to test
part()->d->m_redirectURL.isNull(), part() == 0

simply testing part() first here may fix future crashes but I don't know if the
problem is elsewhere and if we shouldn't reach this code with part() == 0

drkonqi backtrace :
Application: Konqueror (konqueror), signal SIGSEGV
[Current thread is 0 (LWP 19001)]

Thread 2 (Thread 0xaae11b90 (LWP 22534)):
#0  0xb7f73424 in __kernel_vsyscall ()
#1  0xb65979f1 in select () from /lib/i686/cmov/libc.so.6
#2  0xb72c2660 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb71f352e in ?? () from /usr/lib/libQtCore.so.4
#4  0xb71894c0 in start_thread () from /lib/i686/cmov/libpthread.so.0
#5  0xb659f61e in clone () from /lib/i686/cmov/libc.so.6

Thread 1 (Thread 0xb5f046c0 (LWP 19001)):
[KCrash Handler]
#6  0xb3e58fe1 in DOM::HTMLDocumentImpl::close (this=0xa2cb3e0) at
/home/moi/Sources/kde4/src/kdelibs/khtml/html/html_documentimpl.cpp:252
#7  0xb40b0760 in DOM::HTMLDocument::close (this=0xbfe8de1c) at
/home/moi/Sources/kde4/src/kdelibs/khtml/dom/html_document.cpp:213
#8  0xb3af1f0b in KGet_plug_in::showPopup (this=0x92dfef0) at
/home/moi/Sources/kde4/src/kdenetwork/kget/extensions/konqueror/kget_plug_in.cpp:103
#9  0xb3af2093 in KGet_plug_in::qt_metacall (this=0x92dfef0,
_c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfe8df38)
    at
/home/moi/Sources/kde4/build/kdenetwork/kget/extensions/konqueror/kget_plug_in.moc:75
#10 0xb72f7bd0 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#11 0xb72f8952 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#12 0xb6d8a577 in QMenu::aboutToShow () from /usr/lib/libQtGui.so.4
#13 0xb6d8f0f6 in QMenu::popup () from /usr/lib/libQtGui.so.4
#14 0xb6d900e5 in QMenu::internalDelayedPopup () from /usr/lib/libQtGui.so.4
#15 0xb6d94c71 in QMenu::timerEvent () from /usr/lib/libQtGui.so.4
#16 0xb72f26af in QObject::event () from /usr/lib/libQtCore.so.4
#17 0xb6a15e64 in QWidget::event () from /usr/lib/libQtGui.so.4
#18 0xb6d94f79 in QMenu::event () from /usr/lib/libQtGui.so.4
#19 0xb69be79c in QApplicationPrivate::notify_helper () from
/usr/lib/libQtGui.so.4
#20 0xb69c66ea in QApplication::notify () from /usr/lib/libQtGui.so.4
#21 0xb7859b9f in KApplication::notify (this=0xbfe8eaa0, receiver=0x9365d78,
event=0xbfe8e74c) at
/home/moi/Sources/kde4/src/kdelibs/kdeui/kernel/kapplication.cpp:307
#22 0xb72e30d1 in QCoreApplication::notifyInternal () from
/usr/lib/libQtCore.so.4
#23 0xb7311031 in ?? () from /usr/lib/libQtCore.so.4
#24 0xb730d680 in ?? () from /usr/lib/libQtCore.so.4
#25 0xb62271b8 in IA__g_main_context_dispatch (context=0x8fc3a98) at
/tmp/buildd/glib2.0-2.16.6/glib/gmain.c:2012
#26 0xb622a853 in g_main_context_iterate (context=0x8fc3a98, block=1,
dispatch=1, self=0x8fbd450) at /tmp/buildd/glib2.0-2.16.6/glib/gmain.c:2645
#27 0xb622aa11 in IA__g_main_context_iteration (context=0x8fc3a98, may_block=1)
at /tmp/buildd/glib2.0-2.16.6/glib/gmain.c:2708
#28 0xb730d5d8 in QEventDispatcherGlib::processEvents () from
/usr/lib/libQtCore.so.4
#29 0xb6a57d45 in ?? () from /usr/lib/libQtGui.so.4
#30 0xb72e179a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#31 0xb72e195a in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#32 0xb72e4015 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#33 0xb69be617 in QApplication::exec () from /usr/lib/libQtGui.so.4
#34 0xb7f5899b in kdemain (argc=2, argv=0xbfe8ee84) at
/home/moi/Sources/kde4/src/kdebase/apps/konqueror/src/konqmain.cpp:257
#35 0x08048706 in main (argc=) at
/home/moi/Sources/kde4/build/kdebase/apps/konqueror/src/konqueror_dummy.cpp:3


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic