Summary: | Easily reproducible segfault in QMetaObject::cast() | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Daniel Richard G. <skunk> |
Component: | khtml | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | christophe |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Daniel Richard G.
2008-07-27 08:47:22 UTC
I can't reproduce this crash using the SVN version (kdelibs rev. 838173) KDE 4.1.00 (KDE 4.0.99 (4.1 RC1+)) (KDEmod) in ArchLinux: I can reproduce this bug My backtrace: Aplicación: Konqueror (konqueror), señal SIGSEGV [Thread debugging using libthread_db enabled] [New Thread 0xb61bb920 (LWP 7332)] [New Thread 0xb1b2ab90 (LWP 7404)] [New Thread 0xb2352b90 (LWP 7385)] [KCrash handler] #6 0x80000035 in ?? () #7 0xb7538c88 in QMetaObject::cast (this=0xb463b728, obj=0x9f4d0d0) at kernel/qmetaobject.cpp:217 #8 0xb42a8de1 in qobject_cast<KHTMLPart*> (object=0x9f4d0d0) at /usr/include/QtCore/qobject.h:436 #9 0xb44a33ef in KJS::Window::retrieve (p=0x9f4d0d0) at /home/dario/myData/ArchPKG/kdemod4/work/kdelibs/src/kdelibs-4.0.99/khtml/ecma/kjs_window.cpp:455 #10 0xb44a5fcc in KJS::Window::retrieveWindow (p=0x9f4d0d0) at /home/dario/myData/ArchPKG/kdemod4/work/kdelibs/src/kdelibs-4.0.99/khtml/ecma/kjs_window.cpp:425 #11 0xb42c5c4e in KHTMLPart::begin (this=0x9baf2f8, url=@0x9e0c4f8, xOffset=162998448, yOffset=162998448) at /home/dario/myData/ArchPKG/kdemod4/work/kdelibs/src/kdelibs-4.0.99/khtml/khtml_part.cpp:1875 #12 0xb42c3c7f in KHTMLPart::slotData (this=0x9baf2f8, kio_job=0x9b728b0, data=@0xbff0b144) at /home/dario/myData/ArchPKG/kdemod4/work/kdelibs/src/kdelibs-4.0.99/khtml/khtml_part.cpp:1585 #13 0xb42cbd52 in KHTMLPart::qt_metacall (this=0x9baf2f8, _c=QMetaObject::InvokeMetaMethod, _id=19, _a=0xbff0af0c) at /home/dario/myData/ArchPKG/kdemod4/work/kdelibs/src/build/khtml/khtml_part.moc:264 #14 0xb7549636 in QMetaObject::activate (sender=0xa097138, from_signal_index=<value optimized out>, to_signal_index=40, argv=0x9b728b0) at kernel/qobject.cpp:3010 #15 0xb754b73a in QMetaObject::activate (sender=0xa097138, m=0xb7ea8c30, local_signal_index=0, argv=0xbff0af0c) at kernel/qobject.cpp:3080 #16 0xb7d4e930 in KIO::TransferJob::data (this=0xa097138, _t1=0xa097138, _t2=@0xbff0b144) at /home/dario/myData/ArchPKG/kdemod4/work/kdelibs/src/build/kio/jobclasses.moc:356 #17 0xb7d4f1b3 in KIO::TransferJob::slotData (this=0xa097138, _data=@0xbff0b144) at /home/dario/myData/ArchPKG/kdemod4/work/kdelibs/src/kdelibs-4.0.99/kio/kio/job.cpp:927 #18 0xb7d58dcc in KIO::TransferJob::qt_metacall (this=0xa097138, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbff0b030) at /home/dario/myData/ArchPKG/kdemod4/work/kdelibs/src/build/kio/jobclasses.moc:337 #19 0xb7549636 in QMetaObject::activate (sender=0xa0108d8, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x9b728b0) at kernel/qobject.cpp:3010 #20 0xb754b73a in QMetaObject::activate (sender=0xa0108d8, m=0xb7eab664, local_signal_index=0, argv=0xbff0b030) at kernel/qobject.cpp:3080 #21 0xb7dea856 in KIO::SlaveInterface::data (this=0xa0108d8, _t1=@0xbff0b144) at /home/dario/myData/ArchPKG/kdemod4/work/kdelibs/src/build/kio/slaveinterface.moc:138 #22 0xb7decbcf in KIO::SlaveInterface::dispatch (this=0xa0108d8, _cmd=100, rawdata=@0xbff0b144) at /home/dario/myData/ArchPKG/kdemod4/work/kdelibs/src/kdelibs-4.0.99/kio/kio/slaveinterface.cpp:163 #23 0xb7dece8f in KIO::SlaveInterface::dispatch (this=0xa0108d8) at /home/dario/myData/ArchPKG/kdemod4/work/kdelibs/src/kdelibs-4.0.99/kio/kio/slaveinterface.cpp:91 #24 0xb7ddff54 in KIO::Slave::gotInput (this=0xa0108d8) at /home/dario/myData/ArchPKG/kdemod4/work/kdelibs/src/kdelibs-4.0.99/kio/kio/slave.cpp:319 #25 0xb7de121a in KIO::Slave::qt_metacall (this=0xa0108d8, _c=QMetaObject::InvokeMetaMethod, _id=162998448, _a=0xbff0b258) at /home/dario/myData/ArchPKG/kdemod4/work/kdelibs/src/build/kio/slave.moc:75 #26 0xb7549636 in QMetaObject::activate (sender=0x9b9a2a0, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x9b728b0) at kernel/qobject.cpp:3010 #27 0xb754b73a in QMetaObject::activate (sender=0x9b9a2a0, m=0xb7ea82c0, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3080 #28 0xb7d28174 in KIO::Connection::readyRead (this=0x9b9a2a0) at /home/dario/myData/ArchPKG/kdemod4/work/kdelibs/src/build/kio/connection.moc:84 #29 0xb7d28ddc in KIO::ConnectionPrivate::dequeue (this=0xa1430c0) at /home/dario/myData/ArchPKG/kdemod4/work/kdelibs/src/kdelibs-4.0.99/kio/kio/connection.cpp:82 #30 0xb7d29ced in KIO::Connection::qt_metacall (this=0x9b9a2a0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x9c8eaa0) at /home/dario/myData/ArchPKG/kdemod4/work/kdelibs/src/build/kio/connection.moc:72 #31 0xb7541734 in QMetaCallEvent::placeMetaCall (this=0xa04c430, object=0x9b9a2a0) at kernel/qobject.cpp:535 #32 0xb7542f92 in QObject::event (this=0x9b9a2a0, e=0xa04c430) at kernel/qobject.cpp:1140 #33 0xb6b6efa8 in QApplicationPrivate::notify_helper (this=0x9899318, receiver=0x9b9a2a0, e=0xa04c430) at kernel/qapplication.cpp:3772 #34 0xb6b75ca9 in QApplication::notify (this=0xbff0bb4c, receiver=0x9b9a2a0, e=0xa04c430) at kernel/qapplication.cpp:3366 #35 0xb79895b0 in KApplication::notify (this=0xbff0bb4c, receiver=0x9b9a2a0, event=0xa04c430) at /home/dario/myData/ArchPKG/kdemod4/work/kdelibs/src/kdelibs-4.0.99/kdeui/kernel/kapplication.cpp:311 #36 0xb7532ec1 in QCoreApplication::notifyInternal (this=0xbff0bb4c, receiver=0x9b9a2a0, event=0xa04c430) at kernel/qcoreapplication.cpp:587 #37 0xb7533da3 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9874288) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #38 0xb753401f in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1091 #39 0xb755eca4 in postEventSourceDispatch (s=0x989bb10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220 #40 0xb639c0e8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #41 0xb639f783 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0 #42 0xb639f941 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #43 0xb755e9b1 in QEventDispatcherGlib::processEvents (this=0x9899650, flags= {i = -1074743128}) at kernel/qeventdispatcher_glib.cpp:325 #44 0xb6c08f0d in QGuiEventDispatcherGlib::processEvents (this=0x9899650, flags={i = -1074743080}) at kernel/qguieventdispatcher_glib.cpp:204 #45 0xb7531a4c in QEventLoop::processEvents (this=0xbff0b950, flags= {i = -1074743016}) at kernel/qeventloop.cpp:149 #46 0xb7531c05 in QEventLoop::exec (this=0xbff0b950, flags={i = -1074742952}) at kernel/qeventloop.cpp:200 #47 0xb75340c6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845 #48 0xb6b6ed53 in QApplication::exec () at kernel/qapplication.cpp:3304 #49 0xb7fd6666 in kdemain (argc=2, argv=0xbff0be54) at /home/dario/myData/ArchPKG/kdemod4/work/kdebase-apps/src/kdebase-4.0.99/apps/konqueror/src/konqmain.cpp:227 #50 0x080487c3 in main (argc=) at /home/dario/myData/ArchPKG/kdemod4/work/kdebase-apps/src/kdebase-4.0.99/apps/konqueror/src/konqueror_dummy.cpp:3 #0 0xb7fef424 in __kernel_vsyscall () Christophe: My build was a little old, so I rebuilt from SVN earlier today (kdelibs rev 838453). I can still reproduce the crash, with the same backtrace. I don't have very many KDE options set, as I am only using Konqueror4, and not the entire desktop environment. Perhaps something in your KDE user configuration is preempting the bug? What if you were to try it with a new/empty config? The only settings that matters are for popup blocking... Fixing upcoming. SVN commit 838712 by orlovich: Don't crash on navigating away when a suppressed popup comes from a child frame which in turn got navigated away, deleting the part the m_suppressedPopupOriginParts list is referring to. BUG:167514 M +2 -1 khtmlpart_p.h WebSVN link: http://websvn.kde.org/?view=rev&revision=838712 |