UIKit0 / newsbeuter

Automatically exported from code.google.com/p/newsbeuter
0 stars 0 forks source link

Segmentation fault crash on start #259

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
$ newsbeuter
Crash ( Segmentation fault )

What version of the product are you using? On what operating system?
Debian Sid
$ newsbeuter -v
newsbeuter 2.4 - http://www.newsbeuter.org/
Copyright (C) 2006-2010 Andreas Krennmair

newsbeuter is free software and licensed under the MIT/X Consortium License.
Type `newsbeuter -vv' for more information.

Compilation date/time: Feb  1 2011 23:11:49
System: Linux 2.6.37-1-686 (i686)
Compiler: g++ 4.4.5
ncurses: ncurses 5.8.20110226 (compiled with 5.7)
libcurl: libcurl/7.21.4 GnuTLS/2.10.5 zlib/1.2.3.4 libidn/1.20 (compiled with 
7.21.3)
SQLite: 3.7.5 (compiled with 3.7.4)
libxml2: compiled with 2.7.8

$ uname -a
Linux 2.6.37-1-686 #1 SMP Tue Feb 15 18:21:50 UTC 2011 i686 GNU/Linux
$ touch logfile.log
$ newsbeuter -l6 -d logfile.log
$ tail logfile.log
[2011-03-06 13:55:09] INFO: rssfeed_callback: title = Debian Project News link 
= http://www.debian.org/News/project/2011/03/index.en.html is_rtl = 0
[2011-03-06 13:55:09] DEBUG: running query: SELECT 
guid,title,author,url,pubDate,length(content),unread,feedurl,enclosure_url,enclo
sure_type,enqueued,flags,base FROM rss_item WHERE feedurl = 
'http://www.debian.org/News/weekly/dwn.en.rdf' AND deleted = 0 ORDER BY pubDate 
DESC, id DESC;
[2011-03-06 13:55:09] INFO: scope_measure: function 
`cache::internalize_rssfeed' took 0.000893 s
[2011-03-06 13:55:09] DEBUG: running query: SELECT count(*) FROM rss_feed WHERE 
rssurl = 'http://feeds.feedburner.com/podcastoggvdl?format=xml';
[2011-03-06 13:55:09] DEBUG: running query: SELECT title, url, is_rtl FROM 
rss_feed WHERE rssurl = 'http://feeds.feedburner.com/podcastoggvdl?format=xml';
[2011-03-06 13:55:09] INFO: rssfeed_callback: title = Baladodiffusion de 
l'émission : La voix du libre (OGG) link = http://www.lavoixdulibre.info/ 
is_rtl = 0
[2011-03-06 13:55:09] DEBUG: running query: SELECT 
guid,title,author,url,pubDate,length(content),unread,feedurl,enclosure_url,enclo
sure_type,enqueued,flags,base FROM rss_item WHERE feedurl = 
'http://feeds.feedburner.com/podcastoggvdl?format=xml' AND deleted = 0 ORDER BY 
pubDate DESC, id DESC;
[2011-03-06 13:55:09] INFO: scope_measure: function 
`cache::internalize_rssfeed' took 0.002319 s
[2011-03-06 13:55:09] DEBUG: matcher::parse: parsing `unread_count != "0"' took 
54 µs (success = 1)
[2011-03-06 13:55:09] DEBUG: view::apply_colors: fa = feedlist

$ gdb newsbeuter
(gdb) run
Program received signal SIGSEGV, Segmentation fault.
0x0810cb40 in ?? ()
(gdb) bt
#0  0x0810cb40 in ?? ()
#1  0x0810cbe3 in ?? ()
#2  0x0810d716 in ?? ()
#3  0x0810b381 in ?? ()
#4  0x0810a370 in ?? ()
#5  0x080f3e1b in ?? ()
#6  0x080a9387 in ?? ()
#7  0x0806fb4e in ?? ()
#8  0x0807fb10 in ?? ()
#9  0x0804ee0d in ?? ()
#10 0xb7af8c76 in __libc_start_main () from /lib/i686/cmov/libc.so.6
#11 0x0804ec91 in ?? ()

Please provide any additional information below.
Tell me what you need for more info
Ncurses problem?

Original issue reported on code.google.com by ogig...@gmail.com on 6 Mar 2011 at 7:01

GoogleCodeExporter commented 9 years ago
Could you please send me your configuration file, or the relevant parts related 
to colors?

Original comment by theunixe...@gmail.com on 6 Mar 2011 at 8:46

GoogleCodeExporter commented 9 years ago
is that enough?

$ cat config | grep -A 10 color
## configuration option: search-highlight-colors
## description: This configuration command specifies the highlighting colors 
when searching for text from the article view.
## parameter syntax: <fgcolor> <bgcolor> [<attribute> ...]
# search-highlight-colors black yellow bold

## configuration option: show-keymap-hint
## description: If no, then the keymap hints on the bottom of screen will not 
be displayed.
## parameter syntax: [yes/no]
# show-keymap-hint yes

## configuration option: show-read-feeds
## description: If yes, then all feeds, including those without unread 
articles, are listed. If no, then only feeds with one or more unread articles 
are list.
## parameter syntax: [yes/no]
# show-read-feeds yes

Original comment by ogig...@gmail.com on 6 Mar 2011 at 8:51

GoogleCodeExporter commented 9 years ago
I'll attach the whole thing.

Original comment by ogig...@gmail.com on 6 Mar 2011 at 8:54

Attachments:

GoogleCodeExporter commented 9 years ago
In the meanwhile there's a bug open in the Debian bug tracker, and it seems to 
have to do with an undocumented ABI change in ncursesw on which STFL chokes: 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=616711

I don't know yet how/when this will be resolved.

Original comment by theunixe...@gmail.com on 7 Mar 2011 at 12:05

GoogleCodeExporter commented 9 years ago
Thanks for the feedback!

Original comment by ogig...@gmail.com on 7 Mar 2011 at 6:04

GoogleCodeExporter commented 9 years ago
Temporary fix; revert back from libncursesw5; solution from 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=616711#10

With testing repo and squeeze
$ sudo apt-get install libncursesw5=5.7+20100313-5

Original comment by ogig...@gmail.com on 7 Mar 2011 at 6:33