|
|
I'm getting a segfault when running newsbeuter -x reload. Starting newsbeuter
normally and typing "R" to reload all feeds usually works without crashing, but
has occasionally also segfaulted (when there's no ui activity, I only press
reload feeds and wait long enough).
I'm using newsbeuter-svn 1576, with a fresh newsbeuter-cache.db file, and a
config file containing only:
reload-threads 6
If I leave that out, I'm not seeing the crashes. I have about 400 or so feeds
in my urls file; I've tried winnowing them down to see if it's any specific
feed that's causing the crash. So far as I can tell, no specific feed is
responsible, however if I have too few feeds in the urls file, I won't be able
to reproduce the crash. I haven't yet identified a minimal test case.
Here's the tail of the log file produced when running newsbeuter -l6 -d logfile:
[2008-11-30 10:33:42] INFO: fmtstr_formatter::register_fmt: char = d value =
[2008-11-30 10:33:42] DEBUG: fmtstr_formatter::do_wformat: fmt = `%4i %n %11u %t' width = 170
[2008-11-30 10:33:42] DEBUG: fmtstr_formatter::do_wformat: fmtlen = 14
[2008-11-30 10:33:42] DEBUG: fmtstr_formatter::do_wformat: number = 4
[2008-11-30 10:33:42] DEBUG: fmtstr_formatter::do_wformat: swprintf result = 387
[2008-11-30 10:33:42] DEBUG: fmtstr_formatter::do_wformat: number = 11
[2008-11-30 10:33:42] DEBUG: fmtstr_formatter::do_wformat: swprintf result = (1/1)
[2008-11-30 10:33:42] DEBUG: end of do_wformat
[2008-11-30 10:33:42] INFO: fmtstr_formatter::do_format: result = 387 N (1/1) Effraie@blog - Balise - upc
[2008-11-30 10:33:42] DEBUG: feedlist_formaction::set_feedlist: format result = 387 N (1/1) Effraie@blog - Balise - upc
And here's the tail of the logfile produced when running newsbeuter -x reload -l6 -d logfile
(deleting the newsbeuter-cache.db file first):
[2008-11-30 10:39:18] DEBUG: rssitem_callback: title = dear lazywebs: help me fix the internet
[2008-11-30 10:39:18] DEBUG: rssitem_callback: title = Chicago Hardy Party, part 2
[2008-11-30 10:39:18] DEBUG: rssitem_callback: title = Ubuntu-Chicago Hardy Heron Release Party
[2008-11-30 10:39:18] DEBUG: rssitem_callback: title = dear lazywebs…
[2008-11-30 10:39:18] INFO: scope_measure: function `cache::internalize_rssfeed' took 0.030447 s
[2008-11-30 10:39:18] DEBUG: controller::reload: after internalize_rssfeed
[2008-11-30 10:39:18] DEBUG: controller::reload_range: reloading feed #325
[2008-11-30 10:39:18] DEBUG: controller::reload: pos = 325 max = 461
[2008-11-30 10:39:18] DEBUG: controller::reload: created parser
[2008-11-30 10:39:18] DEBUG: running: query: SELECT lastmodified FROM rss_feed WHERE rssurl = 'http://effiejayx.velugmaracaibo.org.ve/?feed=rss2&cat=5';
And here's a backtrack of running the previous command in gdb:
$ gdb newsbeuter
GNU gdb 6.8
...
(gdb) run -x reload
Starting program: /usr/bin/newsbeuter -x reload
(no debugging symbols found)
...
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7b5ba50 (LWP 999)]
0x00000019 in ?? ()
(gdb)
(gdb) bt
#0 0x00000019 in ?? ()
#1 0xb7f8b2d7 in showit () from /usr/lib/libcurl.so.4
#2 0xb7f8b44f in Curl_debug () from /usr/lib/libcurl.so.4
#3 0xb7f8b7c2 in Curl_failf () from /usr/lib/libcurl.so.4
#4 0xb7f823a8 in Curl_resolv_timeout () from /usr/lib/libcurl.so.4
#5 0x086e08e0 in ?? ()
#6 0xb7e4fff4 in ?? () from /lib/libc.so.6
#7 0x088874ce in ?? ()
#8 0xb59b9b3c in ?? ()
#9 0xb7d7d19f in _IO_str_init_static_internal () from /lib/libc.so.6
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
What version of the product are you using? On what operating system?
newsbeuter-svn 1576, stfl-svn 101, libcurl 7.19.2
Arch Linux with kernel 2.6.27.6
|