After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 110256 - Some misformatted scorefiles throw Pan into an infinite loop
Some misformatted scorefiles throw Pan into an infinite loop
Status: RESOLVED FIXED
Product: Pan
Classification: Other
Component: general
pre-0.14.0 betas
Other Linux
: Normal normal
: 0.14.0
Assigned To: Charles Kerr
Pan QA Team
Depends on:
Blocks:
 
 
Reported: 2003-04-08 12:24 UTC by Charles Kerr
Modified: 2006-06-18 05:10 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Charles Kerr 2003-04-08 12:24:50 UTC
Adding two colons after an expires tag, i.e., 

[^alt\.binaries\.sounds\.radio\.misc$]
Score: = -9999
Expires:: 5/6/2003
Subject: Loveliné
Subject: Coast To Coast
Subject: Rense

causes 0.13.93 to loop forever, spewing out error messages.
Comment 1 Charles Kerr 2003-04-08 12:44:24 UTC
It appears that it's not looping forever, but just aborting the
parsing of the scorefile, then trying to reload it again, each
time with the backtrace:

  • #0 ensure_articles_scored
    at score.c line 1026
  • #1 filter_score_test_articles
    at filter-score.c line 104
  • #2 filter_test_article
    at filter.c line 98
  • #3 filter_aggregate_test_article_impl
    at filter-aggregate.c line 86
  • #4 filter_aggregate_test_articles
    at filter-aggregate.c line 134
  • #5 filter_test_articles
    at filter.c line 116
  • #6 filter_remove_failures
    at filter.c line 209
  • #7 apply_filter_tests
    at articlelist.c line 1711
  • #8 set_group_worker
    at articlelist.c line 3222
  • #9 g_thread_create_proxy
    at gthread.c line 551
  • #10 pthread_start_thread_event
    from /lib/libpthread.so.0

Fixed in CVS:

http://cvs.gnome.org/bonsai/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=pan&command=DIFF_FRAMESET&file=ANNOUNCE.html&rev1=1.112&rev2=1.113&root=/cvs/gnome
http://cvs.gnome.org/bonsai/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=pan/pan/filters&command=DIFF_FRAMESET&file=score.c&rev1=1.7&rev2=1.8&root=/cvs/gnome