Bug 171338 - Akregator exits when opening in ext browser a link with quote
Summary: Akregator exits when opening in ext browser a link with quote
Status: RESOLVED FIXED
Alias: None
Product: akregator
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 140840 170938 171041 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-09-19 16:22 UTC by Igor Știrbu
Modified: 2008-10-27 21:52 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Igor Știrbu 2008-09-19 16:22:44 UTC
Version:           1.3.1 (using KDE 4.1.1)
OS:                Linux
Installed from:    Debian testing/unstable Packages

This bug appeared when reading planet.debian.org. One article contained,
as far as I observed the difference, a link with a quote. When I tried to
open it in an external browser, akregator exited (and the page was not
opened) with the following message (the link is included in the message):

akregator(13278) Akregator::FrameManager::slotOpenUrlRequest: FrameManager::slotOpenUrlRequest(): "url=http://haskell.org/haskellwiki/Xmonad/Config_archive/John_Goerzen's_Configuration mimeType= newTab=
ASSERT: "!isEmpty()" in file /usr/include/qt4/QtCore/qlist.h, line 252

Here is the link to the web article: 
http://changelog.complete.org/posts/756-Switched-from-KDE-to-xmonad.html
Comment 1 Frank Osterfeld 2008-10-19 17:13:12 UTC
Confirmed

Application: Akregator (akregator), signal SIGABRT
[Thread debugging using libthread_db enabled]
[New Thread 0xb4dab720 (LWP 8368)]
[KCrash handler]
#6  0xb7eee410 in __kernel_vsyscall ()
#7  0xb529b085 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb529ca01 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb632633d in qt_message_output (msgType=QtFatalMsg, 
    buf=0xbffe33f0 "ASSERT: \"!isEmpty()\" in file /opt/kde4-qtcopy/include/QtCore/qlist.h, line 246") at global/qglobal.cpp:2102
#10 0xb63263c1 in qFatal (msg=0xb647be58 "ASSERT: \"%s\" in file %s, line %d")
    at global/qglobal.cpp:2303
#11 0xb6326819 in qt_assert (assertion=0xb680a444 "!isEmpty()", 
    file=0xb680a41c "/opt/kde4-qtcopy/include/QtCore/qlist.h", line=246)
    at global/qglobal.cpp:1872
#12 0xb6706cb5 in QList<QString>::first (this=0xbffe549c)
    at /opt/kde4-qtcopy/include/QtCore/qlist.h:246
#13 0xb6706e50 in QList<QString>::takeFirst (this=0xbffe549c)
    at /opt/kde4-qtcopy/include/QtCore/qlist.h:408
#14 0xb6705b7f in KProcess::startDetached (argv=@0xbffe54e8)
    at /home/frank/source/kde/branches/KDE/4.1/kdelibs/kdecore/io/kprocess.cpp:357
#15 0xb3764041 in Akregator::FrameManager::openInExternalBrowser (
    this=0x81bb960, request=@0xbffe56c8)
    at /home/frank/workspace/kdepim-4.1/akregator/src/framemanager.cpp:265
#16 0xb37643fa in Akregator::FrameManager::slotOpenUrlRequest (
    this=0x81bb960, request=@0xbffe56c8)
    at /home/frank/workspace/kdepim-4.1/akregator/src/framemanager.cpp:280
#17 0xb376508e in Akregator::FrameManager::qt_metacall (this=0x81bb960, 
    _c=QMetaObject::InvokeMetaMethod, _id=15, _a=0xbffe568c)
    at /home/frank/workspace/kdepim-4.1-build/akregator/src/framemanager.moc:145
#18 0xb64397d9 in QMetaObject::activate (sender=0x8200650, 
    from_signal_index=27, to_signal_index=27, argv=0xbffe568c)
    at kernel/qobject.cpp:3028
#19 0xb6439c5b in QMetaObject::activate (sender=0x8200650, m=0xb37e2330, 
    local_signal_index=0, argv=0xbffe568c) at kernel/qobject.cpp:3101
#20 0xb376b544 in Akregator::ArticleViewer::signalOpenUrlRequest (
    this=0x8200650, _t1=@0xbffe56c8)
    at /home/frank/workspace/kdepim-4.1-build/akregator/src/articleviewer.moc:172
#21 0xb376e3f1 in Akregator::ArticleViewer::slotOpenUrlRequestDelayed (
    this=0x8200650, url=@0xbffe586c, args=@0xbffe5874, 
    browserArgs=@0xbffe5878)
    at /home/frank/workspace/kdepim-4.1/akregator/src/articleviewer.cpp:227
#22 0xb376e6f8 in Akregator::ArticleViewer::qt_metacall (this=0x8200650, 
    _c=QMetaObject::InvokeMetaMethod, _id=15, _a=0xbffe5834)
    at /home/frank/workspace/kdepim-4.1-build/akregator/src/articleviewer.moc:145
#23 0xb64397d9 in QMetaObject::activate (sender=0x81ee840, 
    from_signal_index=9, to_signal_index=9, argv=0xbffe5834)
    at kernel/qobject.cpp:3028
#24 0xb6439c5b in QMetaObject::activate (sender=0x81ee840, m=0xb765e08c, 
    local_signal_index=5, argv=0xbffe5834) at kernel/qobject.cpp:3101
#25 0xb7649078 in KParts::BrowserExtension::openUrlRequestDelayed (
    this=0x81ee840, _t1=@0xbffe586c, _t2=@0xbffe5874, _t3=@0xbffe5878)
    at /home/frank/source/kde/branches/KDE/4.1/kdelibs-build/kparts/browserextension.moc:285
#26 0xb764bcf7 in KParts::BrowserExtension::slotEmitOpenUrlRequestDelayed (
    this=0x81ee840)
    at /home/frank/source/kde/branches/KDE/4.1/kdelibs/kparts/browserextension.cpp:668
#27 0xb764cb11 in KParts::BrowserExtension::qt_metacall (this=0x81ee840, 
    _c=QMetaObject::InvokeMetaMethod, _id=42, _a=0xbffe5b3c)
    at /home/frank/source/kde/branches/KDE/4.1/kdelibs-build/kparts/browserextension.moc:224
#28 0xb6e55642 in KHTMLPartBrowserExtension::qt_metacall (this=0x81ee840, 
    _c=QMetaObject::InvokeMetaMethod, _id=46, _a=0xbffe5b3c)
    at /home/frank/source/kde/branches/KDE/4.1/kdelibs-build/khtml/khtml_ext.moc:84
#29 0xb64397d9 in QMetaObject::activate (sender=0x8d13a18, 
    from_signal_index=4, to_signal_index=4, argv=0x0)
    at kernel/qobject.cpp:3028
#30 0xb6439c5b in QMetaObject::activate (sender=0x8d13a18, m=0xb64d3a68, 
    local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3101
#31 0xb64437e5 in QSingleShotTimer::timeout (this=0x8d13a18)
    at .moc/debug-shared/qtimer.moc:74
#32 0xb6443902 in QSingleShotTimer::timerEvent (this=0x8d13a18)
    at kernel/qtimer.cpp:294
#33 0xb6437a70 in QObject::event (this=0x8d13a18, e=0xbffe6064)
    at kernel/qobject.cpp:1120
#34 0xb58007dd in QApplicationPrivate::notify_helper (this=0x806d3e8, 
    receiver=0x8d13a18, e=0xbffe6064) at kernel/qapplication.cpp:3803
#35 0xb5800ac3 in QApplication::notify (this=0xbffe62dc, receiver=0x8d13a18, 
    e=0xbffe6064) at kernel/qapplication.cpp:3393
#36 0xb6b8e30f in KApplication::notify (this=0xbffe62dc, receiver=0x8d13a18, 
    event=0xbffe6064)
    at /home/frank/source/kde/branches/KDE/4.1/kdelibs/kdeui/kernel/kapplication.cpp:311
#37 0xb64248a2 in QCoreApplication::notifyInternal (this=0xbffe62dc, 
    receiver=0x8d13a18, event=0xbffe6064) at kernel/qcoreapplication.cpp:583
#38 0xb7be69af in QCoreApplication::sendEvent (receiver=0x8d13a18, 
    event=0xbffe6064)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:209
#39 0xb6457221 in QTimerInfoList::activateTimers (this=0x8070f44)
    at kernel/qeventdispatcher_unix.cpp:557
#40 0xb6454a08 in timerSourceDispatch (source=0x8070f10)
    at kernel/qeventdispatcher_glib.cpp:160
#41 0xb5115dd6 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#42 0xb5119193 in ?? () from /usr/lib/libglib-2.0.so.0
#43 0xb511974e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#44 0xb6453d38 in QEventDispatcherGlib::processEvents (this=0x806e030, 
    flags=@0xbffe61d4) at kernel/qeventdispatcher_glib.cpp:319
#45 0xb58a724c in QGuiEventDispatcherGlib::processEvents (this=0x806e030, 
    flags=@0xbffe6204) at kernel/qguieventdispatcher_glib.cpp:198
#46 0xb6421762 in QEventLoop::processEvents (this=0xbffe6280, 
    flags=@0xbffe6244) at kernel/qeventloop.cpp:143
#47 0xb64219a1 in QEventLoop::exec (this=0xbffe6280, flags=@0xbffe6288)
    at kernel/qeventloop.cpp:190
#48 0xb642508b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#49 0xb58004f6 in QApplication::exec () at kernel/qapplication.cpp:3331
#50 0x08050129 in main (argc=1, argv=0xbffe63b4)
    at /home/frank/workspace/kdepim-4.1/akregator/src/main.cpp:115
#0  0xb7eee410 in __kernel_vsyscall ()
Comment 2 Frank Osterfeld 2008-10-19 17:45:07 UTC
SVN commit 873500 by osterfeld:

quoteArg() the url passing to the external browser
don't start process if the arg list is empty (which asserts)
BUG:171338


 M  +32 -29    framemanager.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=873500
Comment 3 Frank Osterfeld 2008-10-19 18:00:56 UTC
SVN commit 873506 by osterfeld:

Use KMacroExpander to replace %u by url, ensure correct quoting, don't start browser if args list empty 
CCBUG:171338


 M  +17 -13    framemanager.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=873506
Comment 4 Frank Osterfeld 2008-10-19 18:31:07 UTC
*** Bug 170938 has been marked as a duplicate of this bug. ***
Comment 5 Frank Osterfeld 2008-10-19 18:58:31 UTC
*** Bug 171041 has been marked as a duplicate of this bug. ***
Comment 6 Frank Osterfeld 2008-10-27 21:52:41 UTC
*** Bug 140840 has been marked as a duplicate of this bug. ***