Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Crash when setting `ignore-article` #67

Closed
fxthomas opened this Issue · 1 comment

1 participant

@fxthomas

Hi all,

First, thanks for the awesome work, I've never been able to read RSS feeds so quickly!

I've been trying to ignore some of my feeds that contain images, to be able to browse them in Tiny Tiny RSS later. The line I added to my config file is :

ignore-article "*" "tags # \"Artistic\""

If I do this, Newsbeuter crashes on startup with this stack trace :

(I also have the full log file if you want, I just don't want to send it to anybody as it contains a lot of private stuff. By the way, you might want to think about warning the user that it displays TT-RSS passwords and session IDs in plain text)

(gdb) run -l 6 -d ~/.newsbeuter/log
Starting program: /Users/fx/Library/Caches/Homebrew/newsbeuter--git/newsbeuter -l 6 -d ~/.newsbeuter/log
Reading symbols for shared libraries ++++++++++................................................ done
Reading symbols for shared libraries ........................ done
XDG: configuration directory '/Users/fx/.config/newsbeuter' not accessible, using '/Users/fx/.newsbeuter' instead.
Starting newsbeuter 2.5...
Loading configuration...done.
Opening cache...done.
Loading URLs from Tiny Tiny RSS...done.
Loading articles from cache...terminate called throwing an exception
Program received signal SIGABRT, Aborted.
0x00007fff884a3ce2 in __pthread_kill ()
(gdb) bt
#0  0x00007fff884a3ce2 in __pthread_kill ()
#1  0x00007fff934fc7d2 in pthread_kill ()
#2  0x00007fff934eda7a in abort ()
#3  0x00007fff871c97bc in abort_message ()
#4  0x00007fff871c6fcf in default_terminate ()
#5  0x00007fff931d51cd in _objc_terminate ()
#6  0x00007fff871c7001 in safe_handler_caller ()
#7  0x00007fff871c705c in std::terminate ()
#8  0x00007fff871c8152 in __cxa_throw ()
#9  0x00000001001150b9 in newsbeuter::matcher::matchop_cont (this=0x10053e740, e=0x10053efc0, item=0x101101c30) at src/matcher.cpp:132
#10 0x0000000100114078 in newsbeuter::matcher::matches_r (this=0x10053e740, e=0x10053efc0, item=0x101101c30) at src/matcher.cpp:190
#11 0x0000000100113dd7 in newsbeuter::matcher::matches (this=0x10053e740, item=0x101101c30) at src/matcher.cpp:65
#12 0x0000000100078af5 in newsbeuter::rss_ignores::matches (this=0x7fff5fbff260, item=0x101101c30) at src/rss.cpp:403
#13 0x00000001000064db in newsbeuter::cache::internalize_rssfeed (this=0x10053f1a0, feed=@0x7fff5fbfed28, ign=0x7fff5fbff260) at src/cache.cpp:438
#14 0x00000001000503ba in newsbeuter::controller::run (this=0x7fff5fbff1b8, argc=5, argv=0x7fff5fbff540) at src/controller.cpp:532
#15 0x0000000100001102 in main (argc=5, argv=0x7fff5fbff540) at newsbeuter.cpp:30
@fxthomas

Fixed it. I'll send a pull request soon.

@fxthomas fxthomas closed this
@fxthomas fxthomas referenced this issue from a commit in fxthomas/newsbeuter
@fxthomas fxthomas Fixed #67 0aacd50
@fxthomas fxthomas referenced this issue from a commit in fxthomas/newsbeuter
@fxthomas fxthomas Fix #67: Fix refreshed feeds as well bc5c374
@carno carno referenced this issue from a commit in carno/newsbeuter
@carno carno Merge branch 'master' of git://github.com/akrennmair/newsbeuter
* 'master' of git://github.com/akrennmair/newsbeuter: (21 commits)
  use to_string instead of to_s.
  use to_string instead of to_s.
  json_bool -> bool to circumvent the whole json-c API disaster.
  Add option to swap title and hints bar.
  changed utils::to_s to utils::to_string<unsigned int> and utils::signed_to_s to utils::to_string<int>
  use templates to convert something to a string
  Add format items for unread and total article count.
  Only force redraw if a form action is active.
  getLogger() -> logger::getInstance()
  implemented singleton pattern for the logger
  replaced NO_DEBUG with NDEBUG (which disable asserts)
  removed "nada" (unused since SHA: 9065048)
  fixed bug when the item is already marked as read
  fixed typo
  add %u and %t to the default itemview-title-format configuration
  add %u and %t support to itemview
  Fix #67: Fix refreshed feeds as well
  Fixed #67
  fixed LOG calls
  made contrib/bookmark-pinboard.sh executable
  ...
30928f0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.