Summary: | Crash when adding a URL which is not the direct feed URL / or a invalid feed URL [Akregator::Feed::markAsFetchedNow, Akregator::Feed::fetchCompleted, ..., Syndication::Loader::loadingComplete, Syndication::Loader::slotRetrieverDone] | ||
---|---|---|---|
Product: | [Applications] akregator | Reporter: | Artur Souza (MoRpHeUz) <asouza> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | aa508, bryce2, ewen.valerian, hillhopper, kurinniy, nagromlt, perusjatka, postmaster |
Priority: | NOR | ||
Version: | 1.6.0 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
New crash information added by DrKonqi
New crash information added by DrKonqi New crash information added by DrKonqi New crash information added by DrKonqi New crash information added by DrKonqi New crash information added by DrKonqi New crash information added by DrKonqi New crash information added by DrKonqi New crash information added by DrKonqi New crash information added by DrKonqi New crash information added by DrKonqi |
Description
Artur Souza (MoRpHeUz)
2010-10-16 03:06:33 UTC
I can't reproduce with the atom or the rss feed url (In reply to comment #0) > It seems akregator thinks that the feed is invalid? The atom feed is not valid http://validator.w3.org/feed/check.cgi?url=http%3A%2F%2Fxkcd.com%2Fatom.xml [Comment from a bug triager] From bug 255814: You can try adding the following website: http://linux-blog.org/ From bug 256768: - What I was doing when the application crashed: Add a new RSS feed - bash.org.ru to Akregator. Then it crashed From bug 256874: - What I was doing when the application crashed: I was adding the following link http://www.corriere.it/italians/ From bug 256905: - What I was doing when the application crashed: I added "http://www.mayacomic.com/webcomic/?feed=rss2" as a new feed. doesnt work with any url which seems to be a not vaild feed. *** Bug 255672 has been marked as a duplicate of this bug. *** *** Bug 255814 has been marked as a duplicate of this bug. *** *** Bug 256768 has been marked as a duplicate of this bug. *** *** Bug 256874 has been marked as a duplicate of this bug. *** *** Bug 256905 has been marked as a duplicate of this bug. *** Created attachment 53614 [details] New crash information added by DrKonqi akregator (1.6.5) on KDE Platform 4.5.3 (KDE 4.5.3) using Qt 4.7.0 - What I was doing when the application crashed: adding a new rss feed: http://***.blogspot.com/ -- Backtrace (Reduced): #6 0x00007fd73e565e31 in Akregator::Feed::markAsFetchedNow (this=0x1618b80) at /usr/src/debug/kdepim-4.4.7/akregator/src/feed.cpp:685 #7 0x00007fd73e5687b9 in Akregator::Feed::fetchCompleted (this=0x1618b80, l=0x1ae39b0, doc=<value optimized out>, status=<value optimized out>) at /usr/src/debug/kdepim-4.4.7/akregator/src/feed.cpp:644 #8 0x00007fd73e568fd0 in Akregator::Feed::qt_metacall (this=0x1618b80, _c=<value optimized out>, _id=11, _a=0x7ffff613fd30) at /usr/src/debug/kdepim-4.4.7/x86_64-redhat-linux-gnu/akregator/src/feed.moc:112 [...] #10 0x0000003e0c67e0c2 in Syndication::Loader::loadingComplete (this=<value optimized out>, _t1=0x1ae39b0, _t2=<value optimized out>, _t3=Syndication::InvalidXml) at /usr/src/debug/kdepimlibs-4.5.3/x86_64-redhat-linux-gnu/syndication/loader.moc:91 #11 0x0000003e0c67ebce in Syndication::Loader::slotRetrieverDone (this=0x1ae39b0, data=..., success=<value optimized out>) at /usr/src/debug/kdepimlibs-4.5.3/syndication/loader.cpp:157 Created attachment 53620 [details]
New crash information added by DrKonqi
akregator (1.6.5) on KDE Platform 4.5.3 (KDE 4.5.3) using Qt 4.7.0
- What I was doing when the application crashed:
1. Opened up website in Konqurer.
2. Copied the address.
3. Opened up Akregator.
4. Selected menu item: Add new feed [Ins]
5. The URI was already there.
6. Pressed OK.
7. Crash!
PS: It's Chakra Linux distro, which is Arch-based.
-- Backtrace (Reduced):
#7 0xb124f776 in Akregator::Feed::markAsFetchedNow (this=0x8e22330) at /home/phil/buildroot/desktop-testing/kdepim/src/kdepim-4.4.7/akregator/src/feed.cpp:685
#8 0xb12522bc in Akregator::Feed::fetchCompleted (this=0x8e22330, l=0x8e28d90, doc=..., status=Syndication::InvalidXml)
at /home/phil/buildroot/desktop-testing/kdepim/src/kdepim-4.4.7/akregator/src/feed.cpp:644
#9 0xb1252b4b in Akregator::Feed::qt_metacall (this=0x8e22330, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0xbf9bf660)
at /home/phil/buildroot/desktop-testing/kdepim/src/kdepim-4.4.7/akregator/src/feed.moc:112
[...]
[...]
#12 0xb11daa1f in Syndication::Loader::loadingComplete(Syndication::Loader*, boost::shared_ptr<Syndication::Feed>, Syndication::ErrorCode) () from /usr/lib/libsyndication.so.4
#13 0xb11db671 in Syndication::Loader::slotRetrieverDone(QByteArray const&, bool) () from /usr/lib/libsyndication.so.4
Created attachment 53716 [details]
New crash information added by DrKonqi
akregator (1.6.5) on KDE Platform 4.5.3 (KDE 4.5.3) using Qt 4.7.0
- What I was doing when the application crashed:
I was trying to add an rss feed from the "recent changes" page in a mediawiki (same pattern as previous coment: application crashes as soon as you click "ok" in the "feed add" dialog). I need to say that this is a wiki that requires authentication to do anything. It does work without crash if I first log in to the wiki in Konqueror.
-- Backtrace (Reduced):
#6 0x00007f86b9b88e31 in Akregator::Feed::markAsFetchedNow (this=0x84c0530) at /usr/src/debug/kdepim-4.4.7/akregator/src/feed.cpp:685
#7 0x00007f86b9b8b7b9 in Akregator::Feed::fetchCompleted (this=0x84c0530, l=0x14153b0, doc=<value optimized out>, status=<value optimized out>) at /usr/src/debug/kdepim-4.4.7/akregator/src/feed.cpp:644
#8 0x00007f86b9b8bfd0 in Akregator::Feed::qt_metacall (this=0x84c0530, _c=<value optimized out>, _id=11, _a=0x7fff451a5700) at /usr/src/debug/kdepim-4.4.7/x86_64-redhat-linux-gnu/akregator/src/feed.moc:112
[...]
#10 0x00000030b467e0c2 in Syndication::Loader::loadingComplete (this=<value optimized out>, _t1=0x14153b0, _t2=<value optimized out>, _t3=Syndication::XmlNotAccepted) at /usr/src/debug/kdepimlibs-4.5.3/x86_64-redhat-linux-gnu/syndication/loader.moc:91
#11 0x00000030b467ebce in Syndication::Loader::slotRetrieverDone (this=0x14153b0, data=..., success=<value optimized out>) at /usr/src/debug/kdepimlibs-4.5.3/syndication/loader.cpp:157
Created attachment 53765 [details] New crash information added by DrKonqi akregator (1.6.5) on KDE Platform 4.5.3 (KDE 4.5.3) using Qt 4.7.0 Adding http://www.foxtrot.com leads to a crash. Adding http://www.foxtrot.com/feed/ works fine. Adding http://feeds.feedburner.com/Foxtrotcom also works fine. -- Backtrace (Reduced): #7 0x04384e27 in Akregator::Feed::markAsFetchedNow() () from /usr/lib/kde4/akregatorpart.so #8 0x0438799d in Akregator::Feed::fetchCompleted(Syndication::Loader*, boost::shared_ptr<Syndication::Feed>, Syndication::ErrorCode) () from /usr/lib/kde4/akregatorpart.so #9 0x0438822b in Akregator::Feed::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/kde4/akregatorpart.so [...] [...] #12 0x0735d900 in Syndication::Loader::loadingComplete(Syndication::Loader*, boost::shared_ptr<Syndication::Feed>, Syndication::ErrorCode) () from /usr/lib/libsyndication.so.4 #13 0x0735e559 in Syndication::Loader::slotRetrieverDone(QByteArray const&, bool) () from /usr/lib/libsyndication.so.4 Created attachment 53782 [details]
New crash information added by DrKonqi
akregator (1.6.5) on KDE Platform 4.5.3 (KDE 4.5.3) using Qt 4.7.1
Akregator crashes when it fails to add a feed correctly. This is reproduceable every time by providing either an invalid feed URL or by attempting to add a feed when there is no network connection.
-- Backtrace (Reduced):
#7 0xb18b2916 in Akregator::Feed::markAsFetchedNow() () from /usr/lib/kde4/akregatorpart.so
#8 0xb18b545c in Akregator::Feed::fetchCompleted(Syndication::Loader*, boost::shared_ptr<Syndication::Feed>, Syndication::ErrorCode) () from /usr/lib/kde4/akregatorpart.so
#9 0xb18b5ceb in Akregator::Feed::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/kde4/akregatorpart.so
[...]
[...]
#12 0xb184061f in Syndication::Loader::loadingComplete(Syndication::Loader*, boost::shared_ptr<Syndication::Feed>, Syndication::ErrorCode) () from /usr/lib/libsyndication.so.4
#13 0xb1841271 in Syndication::Loader::slotRetrieverDone(QByteArray const&, bool) () from /usr/lib/libsyndication.so.4
*** Bug 258048 has been marked as a duplicate of this bug. *** Created attachment 53864 [details]
New crash information added by DrKonqi
akregator (1.6.5) on KDE Platform 4.5.3 (KDE 4.5.3) using Qt 4.7.0
- What I was doing when the application crashed:
Tried to add a feed and akregator crashed.
-- Backtrace (Reduced):
#6 0x00007f51c5636db1 in Akregator::Feed::markAsFetchedNow (this=0x1848400) at ../../../akregator/src/feed.cpp:685
#7 0x00007f51c563a58f in Akregator::Feed::fetchCompleted (this=0x1848400, l=0x26cff50, doc=) at ../../../akregator/src/feed.cpp:644
#8 0x00007f51c563b088 in Akregator::Feed::qt_metacall (this=0x1848400, _c=<value optimized out>, _id=<value optimized out>, _a=0x7fffdb6c8770) at ./feed.moc:112
[...]
#10 0x00007f51c5181072 in Syndication::Loader::loadingComplete (this=0x7fffdb6c8470, _t1=0x26cff50, _t2=<value optimized out>, _t3=Syndication::InvalidXml) at ./loader.moc:91
#11 0x00007f51c518214d in Syndication::Loader::slotRetrieverDone (this=0x26cff50, data=..., success=<value optimized out>) at ../../syndication/loader.cpp:157
Created attachment 53902 [details] New crash information added by DrKonqi akregator (1.6.5) on KDE Platform 4.5.3 (KDE 4.5.3) using Qt 4.7.1 - What I was doing when the application crashed: Trying to add this feed: http://www.dlink.it/cs/Satellite?c=Press_C&cid=1197318958569&locale=1195806717957&p=1197318958569&pagename=DLinkEurope-IT%2FPress_C%2FDLPressReleaseFeed -- Backtrace (Reduced): #6 0x00007fcbfce65e31 in Akregator::Feed::markAsFetchedNow() () from /usr/lib64/kde4/akregatorpart.so #7 0x00007fcbfce687b9 in Akregator::Feed::fetchCompleted(Syndication::Loader*, boost::shared_ptr<Syndication::Feed>, Syndication::ErrorCode) () from /usr/lib64/kde4/akregatorpart.so #8 0x00007fcbfce68fd0 in Akregator::Feed::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/kde4/akregatorpart.so [...] #10 0x000000330467e0c2 in Syndication::Loader::loadingComplete(Syndication::Loader*, boost::shared_ptr<Syndication::Feed>, Syndication::ErrorCode) () from /usr/lib64/libsyndication.so.4 #11 0x000000330467ebce in Syndication::Loader::slotRetrieverDone(QByteArray const&, bool) () from /usr/lib64/libsyndication.so.4 Created attachment 54024 [details]
New crash information added by DrKonqi
akregator (1.6.0) on KDE Platform 4.5.80 (4.6 Beta1) using Qt 4.7.1
- What I was doing when the application crashed:
Adding a new feed.
Running openSUSE 11.3/update KDE Factory 4.6beta
-- Backtrace (Reduced):
#6 0x00007fd42275fbb1 in Akregator::Feed::markAsFetchedNow (this=0xa93b60) at /usr/src/debug/kdepim-4.5.80/akregator/src/feed.cpp:685
#7 0x00007fd422762419 in Akregator::Feed::fetchCompleted (this=0xa93b60, l=0xd5e570, doc=<value optimized out>, status=<value optimized out>)
at /usr/src/debug/kdepim-4.5.80/akregator/src/feed.cpp:644
#8 0x00007fd422762c30 in Akregator::Feed::qt_metacall (this=0xa93b60, _c=<value optimized out>, _id=11, _a=0x7fffeeaf7490) at /usr/src/debug/kdepim-4.5.80/build/akregator/src/feed.moc:112
[...]
#10 0x00007fd41d0b32c2 in Syndication::Loader::loadingComplete (this=<value optimized out>, _t1=0xd5e570, _t2=<value optimized out>, _t3=Syndication::InvalidXml)
at /usr/src/debug/kdepimlibs-4.5.80/build/syndication/loader.moc:91
#11 0x00007fd41d0d5d3e in Syndication::Loader::slotRetrieverDone (this=0xd5e570, data=..., success=<value optimized out>) at /usr/src/debug/kdepimlibs-4.5.80/syndication/loader.cpp:157
Created attachment 54286 [details]
New crash information added by DrKonqi
akregator (1.6.5) on KDE Platform 4.5.4 (KDE 4.5.4) using Qt 4.7.0
- What I was doing when the application crashed: Trying to open an invalid feed. I use Akregator to ensure that the feeds I create are working correctly. They display in other feed readers, but if they're invalid, Akregator crashes. :-(
-- Backtrace (Reduced):
#6 0x00007f6bdd172db1 in Akregator::Feed::markAsFetchedNow() () from /usr/lib/kde4/akregatorpart.so
#7 0x00007f6bdd17658f in Akregator::Feed::fetchCompleted(Syndication::Loader*, boost::shared_ptr<Syndication::Feed>, Syndication::ErrorCode) () from /usr/lib/kde4/akregatorpart.so
#8 0x00007f6bdd177088 in Akregator::Feed::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/kde4/akregatorpart.so
[...]
#10 0x00007f6bdcce7182 in Syndication::Loader::loadingComplete(Syndication::Loader*, boost::shared_ptr<Syndication::Feed>, Syndication::ErrorCode) () from /usr/lib/libsyndication.so.4
#11 0x00007f6bdcce825d in Syndication::Loader::slotRetrieverDone(QByteArray const&, bool) () from /usr/lib/libsyndication.so.4
*** Bug 259190 has been marked as a duplicate of this bug. *** Created attachment 54407 [details]
New crash information added by DrKonqi
I was trying to add feed by entering the page URL (and not the feed url directly).
After some debugging, it seems that in case of an invalid XML, Feed::markAsFetchedNow() is called before d->archive is initialized, causing a SEGFAULT. I believe that the a simple check that the archive exist before calling markAsFetchedNow will solve the problem. *** Bug 259913 has been marked as a duplicate of this bug. *** *** Bug 260244 has been marked as a duplicate of this bug. *** Created attachment 54847 [details] New crash information added by DrKonqi I wouldn't bother adding this report -- I don't think it adds much new -- except that the site is the Dot (the feed is http://dot.kde.org/rss.xml). In case the auto info doesn't include this, I'm on Debian sid. (In reply to comment #23) > Created an attachment (id=54847) [details] > New crash information added by DrKonqi > > I wouldn't bother adding this report -- I don't think it adds much new -- > except that the site is the Dot (the feed is http://dot.kde.org/rss.xml). > > In case the auto info doesn't include this, I'm on Debian sid. That's not really the problem in my case as on startup I get the error dialog from akonadi ,which when closed shutsdown kmail. when kmail is restarted everything operates normally. This symptom was evident in kde-4.5.3 ,but the update to 4.5.4 has not changed anything, now whether there is a specific problem with my kernel compile ,I'm about to find out a bit later as I'm recompiling instantly with kernel 2.6.36-gentoo-r5,wait and see HIHIHI. > It seems akregator thinks that the feed is invalid?
The bug can be also reproduced by entering some address which isn't a feed and doesn't have an autodiscovery link. Or on a page with an autodiscovery link which isn't detected by akregator's brain-dead code (#228049).
SVN commit 1208108 by cgiboudeaux: Make sure that the archive exists before calling markAsFetchNow. Patch by Guy Shapiro. Thank you. BUG: 254323 MERGE: 4.4 M +1 -0 feed.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1208108 SVN commit 1208110 by cgiboudeaux: Backport r1208108 from trunk to 4.4: Make sure that the archive exists before calling markAsFetchNow. Patch by Guy Shapiro. Thank you. CCBUG: 254323 FIXED-IN: 4.4.9 M +1 -0 feed.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1208110 *** Bug 260992 has been marked as a duplicate of this bug. *** *** Bug 261891 has been marked as a duplicate of this bug. *** *** Bug 262758 has been marked as a duplicate of this bug. *** *** Bug 263037 has been marked as a duplicate of this bug. *** *** Bug 263791 has been marked as a duplicate of this bug. *** *** Bug 264371 has been marked as a duplicate of this bug. *** *** Bug 266067 has been marked as a duplicate of this bug. *** *** Bug 266863 has been marked as a duplicate of this bug. *** *** Bug 273241 has been marked as a duplicate of this bug. *** Clearing the CC list. *** Bug 273356 has been marked as a duplicate of this bug. *** *** Bug 275873 has been marked as a duplicate of this bug. *** *** Bug 281242 has been marked as a duplicate of this bug. *** *** Bug 297126 has been marked as a duplicate of this bug. *** *** Bug 286571 has been marked as a duplicate of this bug. *** *** Bug 303591 has been marked as a duplicate of this bug. *** *** Bug 303590 has been marked as a duplicate of this bug. *** |