Bug 1770 - (int-65565) RSS Feed Reader crashes when refreshing feeds
(int-65565)
: RSS Feed Reader crashes when refreshing feeds
Status: RESOLVED FIXED
Product: RSS feed reader
General
: 3.2
: All All
: Low critical with 1 vote (vote)
: ---
Assigned To: unassigned
: rss-feed-reader-bugs
:
: crash
:
:
  Show dependency tree
 
Reported: 2007-08-07 05:09 UTC by Neil MacLeod
Modified: 2008-12-06 14:12 UTC (History)
3 users (show)

See Also:


Attachments
feedlist.opml - news reader crashes when refreshing this list (2.80 KB, application/xml)
2007-08-07 05:10 UTC, Neil MacLeod
Details
Compressed tar containing /home/user/.osso_rss_feed_reader directory and contents (cache, opml etc.) (411.36 KB, application/octet-stream)
2007-08-08 02:40 UTC, Neil MacLeod
Details
Sample atom feed which exhibits problem (36.37 KB, application/xml)
2007-08-16 20:11 UTC, Neil MacLeod
Details


Note

You need to log in before you can comment on or make changes to this bug.


Description Neil MacLeod (reporter) maemo.org 2007-08-07 05:09:20 UTC
My RSS Home applet is permanently "stuck" in refreshing. Or so it seemed, as
whenever I opened the main RSS application (Others->RSS feed reader) and then
immediately returned to the Home screen the status of the RSS home applet had
changed to "Last updated 05/08/07" (5 August 2007). If I then again click the
refresh icon in the RSS applet it will remain on "Refreshing" forever until I
once more open the main RSS application.

So... in order to see what was going on I opened the main RSS application
(Others->RSS feed reader) and clicked on "Refresh" selecting "All feeds". The
application immediately shut down - no warning, no error, no nothing. It just
died. Poof! Gone.

This is currently reproducible every time with the attached feedlist.opml (and
since I have auto-refresh enabled every 4-hours the problem has existed since 5
August 01:53am).

I'd welcome someone to identify the problem as the RSS Feed Reader gives no
indication of the cause of the crash - dmesg is empty and syslog contains only
the following entry relating to RSS Feed Reader:

Aug  7 03:03:11 Nokia-N800-26 osso_rss_feed_reader[10058]: GLIB DEBUG ConIc -
con_ic_connection_send_event(0x71a80, Home, WLAN_INFRA, 0)
Comment 1 Neil MacLeod (reporter) maemo.org 2007-08-07 05:10:51 UTC
Created an attachment (id=511) [details]
feedlist.opml - news reader crashes when refreshing this list
Comment 2 Neil MacLeod (reporter) maemo.org 2007-08-07 05:13:55 UTC
I'll not fix this problem by deleting/replacing files (as I have a backup of
feedlist.opml from last week which did work) for the next two to three days in
case anyone from Maemo/Nokia wants me to submit more files or check anything.
Comment 3 Jason Carter 2007-08-07 06:14:47 UTC
The problem will probably disappear after a reboot. Try narrowing it down to a
specific feed.
Comment 4 Neil MacLeod (reporter) maemo.org 2007-08-07 14:24:05 UTC
(In reply to comment #3)
> The problem will probably disappear after a reboot. Try narrowing it down to a
> specific feed.
> 

Hi Jason, thanks for the reply. Rebooting made no difference - the feed reader
still crashes as before.

Before I meddle with the available feeds and possibly "fix" the problem (thus
eliminating my reproducible situation which may yield further details if anyone
from Nokia/Maemo responds) can you test with my feedlist.opml and see if you
can reproduce the problem on your device? If so I'll be able to narrow down the
feed safe in the knowledge I can get back to the broken state by restoring my
feed.
Comment 5 Neil MacLeod (reporter) maemo.org 2007-08-07 18:59:54 UTC
Changing status - I would appreciate any assistance from Nokia before I "fix"
this issue and am unable to investigate further.
Comment 6 Neil MacLeod (reporter) maemo.org 2007-08-07 19:00:22 UTC
Status == Severity. Bah.
Comment 7 Jason Carter 2007-08-07 23:47:55 UTC
I'll give it a shot a little bit later tonight.
Comment 8 Neil MacLeod (reporter) maemo.org 2007-08-08 02:40:32 UTC
Created an attachment (id=512) [details]
Compressed tar containing /home/user/.osso_rss_feed_reader directory and
contents (cache, opml etc.)

Just in case the cache is playing a part in this issue and using my
feedlist.opml file is not enough to reproduce the problem, I've attached a
compressed tar containing the entire /home/user/.osso_rss_feed_reader
directory.

If anyone wishes to confirm if this issue is reproducible rename your existing
directory and untar this file (may require a reboot?) then refresh all feeds in
the main RSS application.
Comment 9 Neil MacLeod (reporter) maemo.org 2007-08-08 02:41:00 UTC
(In reply to comment #7)
> I'll give it a shot a little bit later tonight.
> 

Thanks Jason. :)
Comment 10 Neil MacLeod (reporter) maemo.org 2007-08-09 06:15:05 UTC
After further investigation it appears that it's "The Register" feed/cache
which is causing the Feed Reader to crash - if I refresh this feed alone, it
will crash the main Feed Reader application, and the remaining 9 feeds will
refresh individually without any problems.

I'm unable to determine _why_ "The Register" feed causes the application to
crash, perhaps it's a corrupted cache file (in cache/feeds/rivqwfo). However if
a Nokia/Maemo/community developer were to restore the
/home/user/.osso_rss_feed_reader directory (attached in comment #8) it would be
possible to reproduce this issue and debug it to a conclusion.
Comment 11 Jason Carter 2007-08-09 19:01:59 UTC
Try validating the feed. Perhaps there's something on their end that needs
fixing.
Comment 12 Neil MacLeod (reporter) maemo.org 2007-08-09 22:55:28 UTC
(In reply to comment #11)
> Try validating the feed. Perhaps there's something on their end that needs
> fixing.
> 

According to the feedlist.opml I've attached to this bug, "The Register" feed
is http://www.theregister.com/headlines.atom and it's valid. Even if the feed
wasn't valid, the application should not crash.

To fix the problem I had to unregister and then re-register the feed, which has
resulted in new cache entries being created so I'm not sure it's the feed or
feedlist.opml content but rather a corrupted cache, which needs investigation
by someone able to debug the application. At least this is easily reproducible
given the attachments to this bug so hopefully it will be fixed.
Comment 13 Neil MacLeod (reporter) maemo.org 2007-08-12 23:59:35 UTC
This bug has re-occured - I fixed it by unregistering then re-registering "The
Register" feed, but after a day or two the RSS Feed Reader has started to crash
again whenever it attempts to refresh "The Register" feed.

*ANY* feedback from Nokia would be much appreciated.
Comment 14 Eero Tamminen nokia 2007-08-13 17:01:04 UTC
Noticed this was reproduced also with development version of RSS feed
reader in NB#65565:
> 1. opened browser and typed in: www.theregister.com/headlines.atom
> 2. pressed orange RSS icon to get it into RSS application
> 3. Add feed dialog appeared - pressed OK
> The result was immediate exit/abort of RSS reader.
Comment 15 Neil MacLeod (reporter) maemo.org 2007-08-14 05:05:57 UTC
Eero, thanks for confirming you have reproduced the probelm - I assume it will
be fixed in the dev version? Any clues what may be causing the problem in the
production version (in case any other feeds produce a similar effect and can be
corrected)?

In comment #13 I said I had added the feed back without any problems, but now
I'm not able to do this (the RSS app dies straight away). Strange, maybe I was
confused. :)
Comment 16 Eero Tamminen nokia 2007-08-14 10:45:29 UTC
(In reply to comment #15)
> Eero, thanks for confirming you have reproduced the probelm - I assume it will
> be fixed in the dev version? Any clues what may be causing the problem in the
> production version (in case any other feeds produce a similar effect and can
> be corrected)?

Not yet.


> In comment #13 I said I had added the feed back without any problems, but now
> I'm not able to do this (the RSS app dies straight away). Strange, maybe I was
> confused. :)

Maybe the feed changes?  Or there are some extra conditions?
Comment 17 Jani Mikkonen 2007-08-16 11:42:44 UTC
Any change if anyone actually saved the atom file that generates the cache
entries ? Bug is most likely there and it would help alot in reproducing this.
Comment 18 Neil MacLeod (reporter) maemo.org 2007-08-16 18:27:47 UTC
(In reply to comment #17)
> Any change if anyone actually saved the atom file that generates the cache
> entries ? Bug is most likely there and it would help alot in reproducing this. 
> 

Archive of the cache is already attached this bug... :)
Comment 19 Neil MacLeod (reporter) maemo.org 2007-08-16 18:28:51 UTC
Woops that's not what you asked... I'll see if the atom feed is still a problem
today and attach it later.
Comment 20 Neil MacLeod (reporter) maemo.org 2007-08-16 20:11:08 UTC
Created an attachment (id=515) [details]
Sample atom feed which exhibits problem

Sample Atom feed from 16 August 2007 16:10 - when added to the RSS News Reader
the application will immediately crash/abort/abend.
Comment 21 Eero Tamminen nokia 2007-08-29 11:53:04 UTC
(In reply to comment #15)
> Eero, thanks for confirming you have reproduced the probelm - I assume it will
> be fixed in the dev version? Any clues what may be causing the problem in the
> production version (in case any other feeds produce a similar effect and can
> be corrected)?

Several problems have been found:

* Slightly broken handling of enclosure objects:
<title><![CDATA[Jump! David  ja Van Halen j�lleen yhdess�!]]></title>
<link>http://www.iltasanomat.fi/videot/?id=1421052</link>
<category>viihde</category>
<enclosure
url="http://kuvat2.iltasanomat.fi/iltasanomat/idoc/1421052-vanhalen.jpg"
type="image/jpeg" />
<pubDate>Tue, 14 Aug 2007 11:37:00 +0300</pubDate>
</item>

* Invalid pointer access in Atom handling

* Handling of invalid (zero-sized) favicons
Comment 22 Andre Klapper maemo.org 2008-06-04 11:56:45 UTC
According to the internal ticket, this specific issue has been fixed and
verified for osso-rss-feed-reader version 1.4.34 and later.

Closing as FIXED, please reopen if you can still reproduce this with the
mentioned version.