On Tue, 2008-09-09 at 18:38 +0200, Nico Golde wrote:
> Hi Xavier,
> * Xavier Bestel <[EMAIL PROTECTED]> [2008-09-09 18:15]:
> > I finally catched the segfault, but as the symbols are stripped it's
> > useless:
> 
> Please recompile newsbeuter with debugging symbols. If you 
> are not able to do so please drop me a line, I could provide 
> at least an amd64 package for debugging.

At least I got it ! Sorry I really don't have much time to do the
debugging myself ...


So, as a brief recap, I am on an article from a feed with unread
articles, and while it's updated from the net I'm pressing 'n' to go to
the next article.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb785a6d0 (LWP 17701)]
newsbeuter::rss_feed::title (this=0x0) at 
/usr/include/c++/4.3/bits/stl_vector.h:387
387           { return const_iterator(this->_M_impl._M_start); }
(gdb) bt
#0  newsbeuter::rss_feed::title (this=0x0) at 
/usr/include/c++/4.3/bits/stl_vector.h:387
#1  0x080992d4 in newsbeuter::itemview_formaction::prepare (this=0x87769a8) at 
src/itemview_formaction.cpp:66
#2  0x08065ffa in newsbeuter::view::run (this=0xbfb06d2c) at src/view.cpp:164
#3  0x080710c3 in newsbeuter::controller::run (this=0xbfb06cbc, argc=1, 
argv=0xbfb06e14) at src/controller.cpp:408
#4  0x0804e7ea in main (argc=1, argv=0xbfb06e14) at newsbeuter.cpp:24

Obviously in src/itemview_formaction.cpp at line 63, item.get_feedptr()
returns 0x0 which is not checked for, and chaos ensue.

HTH,
        Xav





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to