Summary: | Akregator crashes (in Qt) on malformed XML | ||
---|---|---|---|
Product: | [Applications] akregator | Reporter: | Klaus S. Madsen <kde> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED UPSTREAM | ||
Severity: | crash | CC: | osterfeld |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Klaus S. Madsen
2009-05-11 17:55:49 UTC
which qt version do you use? if it's qt-copy, a SVN rev. would be useful. I'm using the Qt version that comes with Ubuntu 9.04 (Jaunty). In dpkg, it is version 4.5.0-0ubuntu4. I unfortunately doesn't know if it's based on qt-copy or not. (just for the record, I have raised this issue in the Ubuntu bugzilla, but was asked to raise it here). Confirmed, another backtrace, against qt-copy rev. 966389: #5 0x00007f4a7df6bf87 in QDomNodePrivate::setLocation (this=0x0, lineNumber=3, columnNumber=19) at /home/frank/source/kde/qt-copy-trunk/src/xml/dom/qdom.cpp:1923 #6 0x00007f4a7df7f57a in QDomHandler::startElement (this=0x7fff8ac481f0, nsURI=@0x7fff8ac469a0, qName=@0x329b370, atts=@0x3292e68) at /home/frank/source/kde/qt-copy-trunk/src/xml/dom/qdom.cpp:7418 #7 0x00007f4a7df8d85b in QXmlSimpleReaderPrivate::processElementEmptyTag (this=0x3292de0) at /home/frank/source/kde/qt-copy-trunk/src/xml/sax/qxml.cpp:3987 #8 0x00007f4a7df959f9 in QXmlSimpleReaderPrivate::parseElement (this=0x3292de0) at /home/frank/source/kde/qt-copy-trunk/src/xml/sax/qxml.cpp:3955 #9 0x00007f4a7df94c9f in QXmlSimpleReaderPrivate::parseContent (this=0x3292de0) at /home/frank/source/kde/qt-copy-trunk/src/xml/sax/qxml.cpp:4408 #10 0x00007f4a7df95869 in QXmlSimpleReaderPrivate::parseElement (this=0x3292de0) at /home/frank/source/kde/qt-copy-trunk/src/xml/sax/qxml.cpp:3934 #11 0x00007f4a7df94c9f in QXmlSimpleReaderPrivate::parseContent (this=0x3292de0) at /home/frank/source/kde/qt-copy-trunk/src/xml/sax/qxml.cpp:4408 #12 0x00007f4a7df95869 in QXmlSimpleReaderPrivate::parseElement (this=0x3292de0) at /home/frank/source/kde/qt-copy-trunk/src/xml/sax/qxml.cpp:3934 #13 0x00007f4a7df94c9f in QXmlSimpleReaderPrivate::parseContent (this=0x3292de0) at /home/frank/source/kde/qt-copy-trunk/src/xml/sax/qxml.cpp:4408 #14 0x00007f4a7df95869 in QXmlSimpleReaderPrivate::parseElement (this=0x3292de0) at /home/frank/source/kde/qt-copy-trunk/src/xml/sax/qxml.cpp:3934 #15 0x00007f4a7df94c9f in QXmlSimpleReaderPrivate::parseContent (this=0x3292de0) at /home/frank/source/kde/qt-copy-trunk/src/xml/sax/qxml.cpp:4408 #16 0x00007f4a7df95869 in QXmlSimpleReaderPrivate::parseElement (this=0x3292de0) at /home/frank/source/kde/qt-copy-trunk/src/xml/sax/qxml.cpp:3934 #17 0x00007f4a7df9a957 in QXmlSimpleReaderPrivate::parseBeginOrContinue (this=0x3292de0, state=1, incremental=false) at /home/frank/source/kde/qt-copy-trunk/src/xml/sax/qxml.cpp:3479 #18 0x00007f4a7df9af36 in QXmlSimpleReader::parse (this=0x7fff8ac48350, input=0x7fff8ac48360, incremental=false) at /home/frank/source/kde/qt-copy-trunk/src/xml/sax/qxml.cpp:3421 #19 0x00007f4a7df83431 in QXmlSimpleReader::parse (this=0x7fff8ac48350, input=0x7fff8ac48360) at /home/frank/source/kde/qt-copy-trunk/src/xml/sax/qxml.cpp:3371 #20 0x00007f4a7df74bab in QDomDocumentPrivate::setContent (this=0x32939c0, source=0x7fff8ac48360, reader=0x7fff8ac48350, errorMsg=0x0, errorLine=0x0, errorColumn=0x0) at /home/frank/source/kde/qt-copy-trunk/src/xml/dom/qdom.cpp:6245 #21 0x00007f4a7df74d17 in QDomDocument::setContent (this=0x328daf0, source=0x7fff8ac48360, reader=0x7fff8ac48350, errorMsg=0x0, errorLine=0x0, errorColumn=0x0) at /home/frank/source/kde/qt-copy-trunk/src/xml/dom/qdom.cpp:6830 #22 0x00007f4a7b2682b4 in Syndication::DocumentSource::asDomDocument (this=0x7fff8ac485a0) at /home/frank/source/kde/kdepimlibs-4.2-branch/syndication/documentsource.cpp:89 #23 0x00007f4a7b21bae2 in Syndication::RSS2::Parser::accept (this=0x328daa0, source=@0x7fff8ac485a0) at /home/frank/source/kde/kdepimlibs-4.2-branch/syndication/rss2/parser.cpp:39 #24 0x00007f4a7b2769ab in Syndication::ParserCollectionImpl<Syndication::Feed>::parse (this=0x328c210, source=@0x7fff8ac485a0, formatHint=@0x7fff8ac485c0) at /home/frank/source/kde/kdepimlibs-4.2-branch/syndication/parsercollectionimpl.h:145 #25 0x00007f4a7b273a5f in Syndication::Loader::slotRetrieverDone (this=0x5383bc0, data=@0x7fff8ac48820, success=true) at /home/frank/source/kde/kdepimlibs-4.2-branch/syndication/loader.cpp:133 #26 0x00007f4a7b273d9b in Syndication::Loader::qt_metacall (this=0x5383bc0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fff8ac487d0) at /home/frank/source/kde/build-4.2-branch-debug/kdepimlibs/syndication/loader.moc:73 #27 0x00007f4a7e8df2a0 in QMetaObject::activate (sender=0x42cba20, from_signal_index=4, to_signal_index=4, argv=0x7fff8ac487d0) at /home/frank/source/kde/qt-copy-trunk/src/corelib/kernel/qobject.cpp:3120 #28 0x00007f4a7e8e08c7 in QMetaObject::activate (sender=0x42cba20, m=0x7f4a7b4a7680, local_signal_index=0, argv=0x7fff8ac487d0) at /home/frank/source/kde/qt-copy-trunk/src/corelib/kernel/qobject.cpp:3194 #29 0x00007f4a7b277c72 in Syndication::DataRetriever::dataRetrieved (this=0x42cba20, _t1=@0x7fff8ac48820, _t2=true) at /home/frank/source/kde/build-4.2-branch-debug/kdepimlibs/syndication/dataretriever.moc:79 #30 0x00007f4a7b27836f in Syndication::FileRetriever::slotResult (this=0x42cba20, job=0x328f000) at /home/frank/source/kde/kdepimlibs-4.2-branch/syndication/dataretriever.cpp:132 #31 0x00007f4a7b2784c8 in Syndication::FileRetriever::qt_metacall (this=0x42cba20, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fff8ac489e0) at /home/frank/source/kde/build-4.2-branch-debug/kdepimlibs/syndication/dataretriever.moc:195 #32 0x00007f4a7e8df2a0 in QMetaObject::activate (sender=0x328f000, from_signal_index=7, to_signal_index=7, argv=0x7fff8ac489e0) at /home/frank/source/kde/qt-copy-trunk/src/corelib/kernel/qobject.cpp:3120 #33 0x00007f4a7e8e08c7 in QMetaObject::activate (sender=0x328f000, m=0x7f4a7f312c20, local_signal_index=3, argv=0x7fff8ac489e0) at /home/frank/source/kde/qt-copy-trunk/src/corelib/kernel/qobject.cpp:3194 #34 0x00007f4a7ef918e1 in KJob::result (this=0x328f000, _t1=0x328f000) at /home/frank/source/kde/build-4.2-branch-debug/kdelibs/kdecore/kjob.moc:188 #35 0x00007f4a7ef91dd9 in KJob::emitResult (this=0x328f000) at /home/frank/source/kde/kdelibs-4.2-branch/kdecore/jobs/kjob.cpp:294 #36 0x00007f4a7fd0552f in KIO::SimpleJob::slotFinished (this=0x328f000) at /home/frank/source/kde/kdelibs-4.2-branch/kio/kio/job.cpp:489 #37 0x00007f4a7fd058fb in KIO::TransferJob::slotFinished (this=0x328f000) at /home/frank/source/kde/kdelibs-4.2-branch/kio/kio/job.cpp:966 #38 0x00007f4a7fd0c2b8 in KIO::TransferJob::qt_metacall (this=0x328f000, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x7fff8ac48df0) at /home/frank/source/kde/build-4.2-branch-debug/kdelibs/kio/jobclasses.moc:343 #39 0x00007f4a7e8df2a0 in QMetaObject::activate (sender=0x214c5d0, from_signal_index=8, to_signal_index=8, argv=0x0) at /home/frank/source/kde/qt-copy-trunk/src/corelib/kernel/qobject.cpp:3120 #40 0x00007f4a7e8e08c7 in QMetaObject::activate (sender=0x214c5d0, m=0x7f4a800e2800, local_signal_index=4, argv=0x0) at /home/frank/source/kde/qt-copy-trunk/src/corelib/kernel/qobject.cpp:3194 #41 0x00007f4a7fdaa660 in KIO::SlaveInterface::finished (this=0x214c5d0) at /home/frank/source/kde/build-4.2-branch-debug/kdelibs/kio/slaveinterface.moc:165 #42 0x00007f4a7fdac112 in KIO::SlaveInterface::dispatch (this=0x214c5d0, _cmd=104, rawdata=@0x7fff8ac49070) at /home/frank/source/kde/kdelibs-4.2-branch/kio/kio/slaveinterface.cpp:175 #43 0x00007f4a7fdabfef in KIO::SlaveInterface::dispatch (this=0x214c5d0) at /home/frank/source/kde/kdelibs-4.2-branch/kio/kio/slaveinterface.cpp:91 #44 0x00007f4a7fd9fc97 in KIO::Slave::gotInput (this=0x214c5d0) at /home/frank/source/kde/kdelibs-4.2-branch/kio/kio/slave.cpp:322 #45 0x00007f4a7fda0ef7 in KIO::Slave::qt_metacall (this=0x214c5d0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff8ac49220) at /home/frank/source/kde/build-4.2-branch-debug/kdelibs/kio/slave.moc:76 #46 0x00007f4a7e8df2a0 in QMetaObject::activate (sender=0x55fde30, from_signal_index=4, to_signal_index=4, argv=0x0) at /home/frank/source/kde/qt-copy-trunk/src/corelib/kernel/qobject.cpp:3120 #47 0x00007f4a7e8e08c7 in QMetaObject::activate (sender=0x55fde30, m=0x7f4a800dbe60, local_signal_index=0, argv=0x0) at /home/frank/source/kde/qt-copy-trunk/src/corelib/kernel/qobject.cpp:3194 #48 0x00007f4a7fcd751e in KIO::Connection::readyRead (this=0x55fde30) at /home/frank/source/kde/build-4.2-branch-debug/kdelibs/kio/connection.moc:86 #49 0x00007f4a7fcd8396 in KIO::ConnectionPrivate::dequeue (this=0x56524f0) at /home/frank/source/kde/kdelibs-4.2-branch/kio/kio/connection.cpp:82 #50 0x00007f4a7fcd922a in KIO::Connection::qt_metacall (this=0x55fde30, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x329ae80) at /home/frank/source/kde/build-4.2-branch-debug/kdelibs/kio/connection.moc:73 #51 0x00007f4a7e8d7047 in QMetaCallEvent::placeMetaCall (this=0x1eaf640, object=0x55fde30) at /home/frank/source/kde/qt-copy-trunk/src/corelib/kernel/qobject.cpp:489 #52 0x00007f4a7e8dc66a in QObject::event (this=0x55fde30, e=0x1eaf640) at /home/frank/source/kde/qt-copy-trunk/src/corelib/kernel/qobject.cpp:1118 #53 0x00007f4a7d294457 in QApplicationPrivate::notify_helper (this=0x1bbd680, receiver=0x55fde30, e=0x1eaf640) at /home/frank/source/kde/qt-copy-trunk/src/gui/kernel/qapplication.cpp:4057 #54 0x00007f4a7d2947f9 in QApplication::notify (this=0x7fff8ac4af60, receiver=0x55fde30, e=0x1eaf640) at /home/frank/source/kde/qt-copy-trunk/src/gui/kernel/qapplication.cpp:3604 #55 0x00007f4a7f7bf265 in KApplication::notify (this=0x7fff8ac4af60, receiver=0x55fde30, event=0x1eaf640) at /home/frank/source/kde/kdelibs-4.2-branch/kdeui/kernel/kapplication.cpp:307 #56 0x00007f4a7e8c3a87 in QCoreApplication::notifyInternal (this=0x7fff8ac4af60, receiver=0x55fde30, event=0x1eaf640) at /home/frank/source/kde/qt-copy-trunk/src/corelib/kernel/qcoreapplication.cpp:610 #57 0x00007f4a7e8c872f in QCoreApplication::sendEvent (receiver=0x55fde30, event=0x1eaf640) at /home/frank/source/kde/qt-copy-trunk/src/corelib/kernel/qcoreapplication.h:213 #58 0x00007f4a7e8c409d in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1b948b0) at /home/frank/source/kde/qt-copy-trunk/src/corelib/kernel/qcoreapplication.cpp:1247 #59 0x00007f4a7e8c43ac in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /home/frank/source/kde/qt-copy-trunk/src/corelib/kernel/qcoreapplication.cpp:1140 #60 0x00007f4a7e8fd4cb in QCoreApplication::sendPostedEvents () at /home/frank/source/kde/qt-copy-trunk/src/corelib/kernel/qcoreapplication.h:218 #61 0x00007f4a7e8fc6e5 in postEventSourceDispatch (s=0x1bc8d00) at /home/frank/source/kde/qt-copy-trunk/src/corelib/kernel/qeventdispatcher_glib.cpp:209 #62 0x00007f4a763f620a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #63 0x00007f4a763f98e0 in ?? () from /usr/lib/libglib-2.0.so.0 #64 0x00007f4a763f9a7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #65 0x00007f4a7e8fb796 in QEventDispatcherGlib::processEvents (this=0x1b9dd40, flags={i = -1966825888}) at /home/frank/source/kde/qt-copy-trunk/src/corelib/kernel/qeventdispatcher_glib.cpp:324 #66 0x00007f4a7d360bb3 in QGuiEventDispatcherGlib::processEvents (this=0x1b9dd40, flags={i = -1966825792}) at /home/frank/source/kde/qt-copy-trunk/src/gui/kernel/qguieventdispatcher_glib.cpp:202 #67 0x00007f4a7e8c0173 in QEventLoop::processEvents (this=0x7fff8ac49fb0, flags={i = -1966825648}) at /home/frank/source/kde/qt-copy-trunk/src/corelib/kernel/qeventloop.cpp:149 #68 0x00007f4a7e8c0382 in QEventLoop::exec (this=0x7fff8ac49fb0, flags={i = -1966825504}) at /home/frank/source/kde/qt-copy-trunk/src/corelib/kernel/qeventloop.cpp:200 #69 0x00007f4a7d8a0d35 in QDialog::exec (this=0x4965ac0) at /home/frank/source/kde/qt-copy-trunk/src/gui/dialogs/qdialog.cpp:498 #70 0x00007f4a6de4f25b in Akregator::CreateFeedCommand::Private::doCreate (this=0x546edf0) at /home/frank/workspace/kdepim-4.2-branch/akregator/src/createfeedcommand.cpp:98 #71 0x00007f4a6de4f6ca in Akregator::CreateFeedCommand::qt_metacall (this=0x5374180, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff8ac4a220) at /home/frank/workspace/kdepim-4.2-branch/build/akregator/src/createfeedcommand.moc:66 #72 0x00007f4a7e8df2a0 in QMetaObject::activate (sender=0x2013d30, from_signal_index=4, to_signal_index=4, argv=0x0) at /home/frank/source/kde/qt-copy-trunk/src/corelib/kernel/qobject.cpp:3120 #73 0x00007f4a7e8e08c7 in QMetaObject::activate (sender=0x2013d30, m=0x7f4a7ebfc320, local_signal_index=0, argv=0x0) at /home/frank/source/kde/qt-copy-trunk/src/corelib/kernel/qobject.cpp:3194 #74 0x00007f4a7e8e841e in QSingleShotTimer::timeout (this=0x2013d30) at .moc/debug-shared/qtimer.moc:76 #75 0x00007f4a7e8e8515 in QSingleShotTimer::timerEvent (this=0x2013d30) at /home/frank/source/kde/qt-copy-trunk/src/corelib/kernel/qtimer.cpp:298 #76 0x00007f4a7e8dc5a2 in QObject::event (this=0x2013d30, e=0x7fff8ac4ab20) at /home/frank/source/kde/qt-copy-trunk/src/corelib/kernel/qobject.cpp:1082 #77 0x00007f4a7d294457 in QApplicationPrivate::notify_helper (this=0x1bbd680, receiver=0x2013d30, e=0x7fff8ac4ab20) at /home/frank/source/kde/qt-copy-trunk/src/gui/kernel/qapplication.cpp:4057 #78 0x00007f4a7d2947f9 in QApplication::notify (this=0x7fff8ac4af60, receiver=0x2013d30, e=0x7fff8ac4ab20) at /home/frank/source/kde/qt-copy-trunk/src/gui/kernel/qapplication.cpp:3604 #79 0x00007f4a7f7bf265 in KApplication::notify (this=0x7fff8ac4af60, receiver=0x2013d30, event=0x7fff8ac4ab20) at /home/frank/source/kde/kdelibs-4.2-branch/kdeui/kernel/kapplication.cpp:307 #80 0x00007f4a7e8c3a87 in QCoreApplication::notifyInternal (this=0x7fff8ac4af60, receiver=0x2013d30, event=0x7fff8ac4ab20) at /home/frank/source/kde/qt-copy-trunk/src/corelib/kernel/qcoreapplication.cpp:610 #81 0x00007f4a7e8c872f in QCoreApplication::sendEvent (receiver=0x2013d30, event=0x7fff8ac4ab20) at /home/frank/source/kde/qt-copy-trunk/src/corelib/kernel/qcoreapplication.h:213 #82 0x00007f4a7e8ff0eb in QTimerInfoList::activateTimers (this=0x1bc8e40) at /home/frank/source/kde/qt-copy-trunk/src/corelib/kernel/qeventdispatcher_unix.cpp:572 #83 0x00007f4a7e8fc7cb in timerSourceDispatch (source=0x1bc8de0) at /home/frank/source/kde/qt-copy-trunk/src/corelib/kernel/qeventdispatcher_glib.cpp:164 #84 0x00007f4a763f620a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #85 0x00007f4a763f98e0 in ?? () from /usr/lib/libglib-2.0.so.0 #86 0x00007f4a763f9a7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #87 0x00007f4a7e8fb796 in QEventDispatcherGlib::processEvents (this=0x1b9dd40, flags={i = -1966822016}) at /home/frank/source/kde/qt-copy-trunk/src/corelib/kernel/qeventdispatcher_glib.cpp:324 #88 0x00007f4a7d360bb3 in QGuiEventDispatcherGlib::processEvents (this=0x1b9dd40, flags={i = -1966821920}) at /home/frank/source/kde/qt-copy-trunk/src/gui/kernel/qguieventdispatcher_glib.cpp:202 #89 0x00007f4a7e8c0173 in QEventLoop::processEvents (this=0x7fff8ac4aec0, flags={i = -1966821776}) at /home/frank/source/kde/qt-copy-trunk/src/corelib/kernel/qeventloop.cpp:149 #90 0x00007f4a7e8c0382 in QEventLoop::exec (this=0x7fff8ac4aec0, flags={i = -1966821664}) at /home/frank/source/kde/qt-copy-trunk/src/corelib/kernel/qeventloop.cpp:200 #91 0x00007f4a7e8c44d1 in QCoreApplication::exec () at /home/frank/source/kde/qt-copy-trunk/src/corelib/kernel/qcoreapplication.cpp:888 #92 0x00007f4a7d2941b4 in QApplication::exec () at /home/frank/source/kde/qt-copy-trunk/src/gui/kernel/qapplication.cpp:3526 #93 0x000000000040a457 in main (argc=5, argv=0x7fff8ac4b0f8) at /home/frank/workspace/kdepim-4.2-branch/akregator/src/main.cpp:115 Added to Qt Task Tracker ("QXmlSimpleReader crashes on invalid input (with testcase and patch)", task ID pending) Task ID: 254700 Merge request for my fix: http://qt.gitorious.org/qt/qt/merge_requests/1322 |