Bug 158557

Summary: Akregator crashes on startup when a feed has empty URL
Product: [Applications] akregator Reporter: Bo Ørsted Andresen <zlin>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: ingmar, wk
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Bo Ørsted Andresen 2008-02-28 23:43:24 UTC
Version:           1.2.9 (using KDE 3.5.9)
Installed from:    Gentoo Packages
Compiler:          gcc (GCC) 4.2.2 (Gentoo 4.2.2 p1.0) 
OS:                Linux

Steps to reproduce:
Remove URL from any feed in akregator. Close the application. Try to start akregator.

Backtrace:
Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0xb657a960 (LWP 3405)]
[KCrash handler]
#6  0xb606a422 in c4_StringRef::operator= (this=0xbf8fc6b8, value_=0x0)
    at viewx.cpp:634
#7  0xb60514ac in Akregator::Backend::StorageMK4Impl::archiveFor (
    this=0x81574a0, url=@0x834adf8) at storagemk4impl.cpp:284
#8  0xb7fa92f3 in Akregator::Feed::loadArticles (this=0x834ad90)
    at feed.cpp:223
#9  0xb7fa9ba6 in Akregator::Feed::fromOPML (e=@0xbf8fc8c0) at feed.cpp:167
#10 0xb7fb0f06 in Akregator::FeedList::parseChildNodes (this=0x82bd8e0,
    node=@0xbf8fc95c, parent=0x82bd918) at feedlist.cpp:117
#11 0xb7fb1755 in Akregator::FeedList::readFromXML (this=0x82bd8e0,
    doc=@0xbf8fcae8) at feedlist.cpp:175
#12 0xb62cb2ea in Akregator::View::loadFeeds (this=0x815a020,
    doc=@0xbf8fcae8, parent=0x0) at akregator_view.cpp:531
#13 0xb62c43c0 in Akregator::Part::openFile (this=0x813b038)
    at akregator_part.cpp:443
#14 0xb62c2942 in Akregator::Part::openURL (this=0x813b038, url=@0xbf8fcba4)
    at akregator_part.cpp:332
#15 0xb62c46a2 in Akregator::Part::openStandardFeedList (this=0x813b038)
    at akregator_part.cpp:337
#16 0xb62d1e0c in Akregator::AkregatorPartIface::process (this=0x813b0e4,
    fun=@0xbf8fce64, data=@0xbf8fceb8, replyType=@0xbf8fce1c,
    replyData=@0xbf8fce14) at akregator_partiface_skel.cpp:39
#17 0xb6e03dd6 in DCOPClient::receive (this=0x8064a80, objId=@0xbf8fcf14,
    fun=@0xbf8fce64, data=@0xbf8fceb8, replyType=@0xbf8fce1c,
    replyData=@0xbf8fce14) at dcopclient.cpp:1643
#18 0xb6e044de in DCOPClient::send (this=0x8064a80, remApp=@0xbf8fcf0c,
    remObjId=@0xbf8fcf14, remFun=@0xbf8fce64, data=@0xbf8fceb8)
    at dcopclient.cpp:1063
#19 0xb6dfae0c in DCOPRef::sendInternal (this=0xbf8fcf0c, fun=@0xbf8fcf40,
    args=@0xbf8fceb0, data=@0xbf8fceb8) at dcopref.cpp:102
#20 0x08051916 in DCOPRef::send (this=0xbf8fcf0c, fun=@0xbf8fcf40)
    at /usr/kde/3.5/include/dcopref.h:1118
#21 0x080514f1 in Akregator::Application::newInstance (this=0xbf8fd580)
    at main.cpp:65
#22 0xb6f5cf80 in KUniqueApplication::processDelayed (this=0xbf8fd580)
    at kuniqueapplication.cpp:444
#23 0xb6f5d123 in KUniqueApplication::qt_invoke (this=0xbf8fd580, _id=18,
    _o=0xbf8fd0e4) at kuniqueapplication.moc:86
#24 0xb6904c59 in QObject::activate_signal (this=0x80b8df8, clist=0x80b9040,
    o=0xbf8fd0e4) at kernel/qobject.cpp:2356
#25 0xb6c37f9e in QSignal::signal (this=0x80b8df8, t0=@0x80b8e20)
    at .moc/release-shared-mt/moc_qsignal.cpp:100
#26 0xb6920475 in QSignal::activate (this=0x80b8df8) at kernel/qsignal.cpp:212
#27 0xb6927903 in QSingleShotTimer::event (this=0x80b8dd0)
    at kernel/qtimer.cpp:286
#28 0xb68a657c in QApplication::internalNotify (this=0xbf8fd580,
    receiver=0x80b8dd0, e=0xbf8fd384) at kernel/qapplication.cpp:2635
#29 0xb68a70e6 in QApplication::notify (this=0xbf8fd580, receiver=0x80b8dd0,
    e=0xbf8fd384) at kernel/qapplication.cpp:2358
#30 0xb6eba0a2 in KApplication::notify (this=0xbf8fd580, receiver=0x80b8dd0,
    event=0xbf8fd384) at kapplication.cpp:550
#31 0xb689b6f3 in QEventLoop::activateTimers (this=0x8092968)
    at kernel/qapplication.h:496
#32 0xb6857020 in QEventLoop::processEvents (this=0x8092968, flags=4)
    at kernel/qeventloop_x11.cpp:389
#33 0xb68bcda1 in QEventLoop::enterLoop (this=0x8092968)
    at kernel/qeventloop.cpp:198
#34 0xb68bcc36 in QEventLoop::exec (this=0x8092968)
    at kernel/qeventloop.cpp:145
#35 0xb68a5fdf in QApplication::exec (this=0xbf8fd580)
    at kernel/qapplication.cpp:2758
#36 0x080513c7 in main (argc=1, argv=) at main.cpp:112
#37 0x47d109cc in __libc_start_main (main=0x8051314 <main>, argc=1,
    ubp_av=0xbf8fd744, init=0x8052ef0 <__libc_csu_init>,
    fini=0x8052ee0 <__libc_csu_fini>, rtld_fini=0x47212120 <_dl_fini>,
    stack_end=0xbf8fd73c) at libc-start.c:229
#38 0x080512b1 in _start ()
Comment 1 Christophe Marin 2008-07-24 11:59:19 UTC

*** This bug has been marked as a duplicate of 150947 ***