Bug 201564 - Okular crashes when clicking a link / Kioclient random crash [KIO::Connection::suspended, KIO::SlaveInterface::dispatch, ..., KIO::Slave::gotInput]
Summary: Okular crashes when clicking a link / Kioclient random crash [KIO::Connection...
Status: RESOLVED WORKSFORME
Alias: None
Product: kio
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
: 202573 218409 237977 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-07-26 16:07 UTC by Jonathan Thomas
Modified: 2013-07-07 10:19 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Thomas 2009-07-26 16:07:50 UTC
Version:            (using KDE 4.2.98)
OS:                Linux
Installed from:    Ubuntu Packages

A user at https://launchpad.net/bugs/404438 reported this crash during normal use with KDE 4.2.98:

#0  KIO::Connection::suspended (this=0x9973a70)
    at ../../kio/kio/connection.cpp:438
No locals.
#1  0x00986673 in KIO::SlaveInterface::dispatch (this=0xbfdd17a8)
    at ../../kio/kio/slaveinterface.cpp:91
	d = <value optimized out>
	cmd = 21
	data = {static shared_null = {ref = {_q_value = 1041}, alloc = 0, 
    size = 0, data = 0x80502d4 "", array = ""}, static shared_empty = {ref = {
      _q_value = 66}, alloc = 0, size = 0, data = 0x4d65398 "", array = ""}, 
  d = 0x9988210}
	ret = <value optimized out>
#2  0x0097874a in KIO::Slave::gotInput (this=0x9973a70)
    at ../../kio/kio/slave.cpp:322
	__PRETTY_FUNCTION__ = "void KIO::Slave::gotInput()"
#3  0x0097ab43 in KIO::Slave::qt_metacall (this=0x9973a70, 
    _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbfdd193c) at ./slave.moc:76
No locals.
#4  0x04c89383 in QMetaObject::activate (sender=0x9975b08, 
    from_signal_index=4, to_signal_index=4, argv=0x0)
    at kernel/qobject.cpp:3113
	c = <value optimized out>
	method = 30
	currentSender = {sender = 0x9975b08, signal = 4, ref = 0}
	previousSender = (QObjectPrivate::Sender *) 0x0
	i = 0
	count = 1
	signal = 4
	empty_argv = {0x0}
	locker = {{mtx = 0x989eb14, val = 160033556}}
	currentThreadData = <value optimized out>
	connectionLists = (QObjectConnectionListVector *) 0x998f560
#5  0x04c89fe2 in QMetaObject::activate (sender=0x9975b08, m=0xa9a8a0, 
    local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3187
	signal_index = 81157984
#6  0x00883677 in KIO::Connection::readyRead (this=0x9975b08)
    at ./connection.moc:86
No locals.
#7  0x0088543e in KIO::ConnectionPrivate::dequeue (this=0x997acc0)
    at ../../kio/kio/connection.cpp:82
No locals.
#8  0x0088556e in KIO::Connection::qt_metacall (this=0x9975b08, 
    _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x999fa30)
    at ./connection.moc:73
No locals.
#9  0x04c8202b in QMetaCallEvent::placeMetaCall (this=0x998f688, 
    object=0x9975b08) at kernel/qobject.cpp:477
No locals.
#10 0x04c8371e in QObject::event (this=0x9975b08, e=0x998f688)
    at kernel/qobject.cpp:1111
	currentSender = {sender = 0x0, signal = -1, ref = 0}
	previousSender = (QObjectPrivate::Sender * const) 0x0
#11 0x00eedc74 in QApplicationPrivate::notify_helper (this=0x98c8340, 
    receiver=0x9975b08, e=0x998f688) at kernel/qapplication.cpp:4056
	consumed = <value optimized out>
#12 0x00ef539c in QApplication::notify (this=0xbfdd223c, receiver=0x9975b08, 
    e=0x998f688) at kernel/qapplication.cpp:3603
	res = true
#13 0x04c737eb in QCoreApplication::notifyInternal (this=0xbfdd223c, 
    receiver=0x9975b08, event=0x998f688) at kernel/qcoreapplication.cpp:610
	result = false
	cbdata = {0x9975b08, 0x998f688, 0xbfdd1d8f}
	threadData = (QThreadData *) 0x989eae0
	returnValue = <value optimized out>
#14 0x04c743d2 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, 
    event_type=0, data=0x989eae0)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
	pe = (const QPostEvent &) @0x9975748: {receiver = 0x99fc848, 
  event = 0x0, priority = 2}
	e = (class QEvent *) 0x998f688
	r = (class QObject *) 0x9975b08
	locker = {{mtx = 0x989eb08, val = 160033544}}
	startOffset = 0
	i = (int &) @0x989eb00: 0
#15 0x04c7459d in QCoreApplication::sendPostedEvents (receiver=0x0, 
    event_type=0) at kernel/qcoreapplication.cpp:1140
	data = <value optimized out>
#16 0x04c9e51f in postEventSourceDispatch (s=0x98ca910)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
No locals.
#17 0x02230c48 in IA__g_main_context_dispatch (context=0x98ca890)
    at /build/buildd/glib2.0-2.21.4/glib/gmain.c:1960
No locals.
#18 0x022344f0 in g_main_context_iterate (context=0x98ca890, 
    block=<value optimized out>, dispatch=1, self=0x98c8588)
    at /build/buildd/glib2.0-2.21.4/glib/gmain.c:2591
	max_priority = 0
	timeout = 0
	some_ready = 1
	nfds = <value optimized out>
	allocated_nfds = <value optimized out>
	fds = <value optimized out>
	__PRETTY_FUNCTION__ = "g_main_context_iterate"
#19 0x02234623 in IA__g_main_context_iteration (context=0x98ca890, 
    may_block=1) at /build/buildd/glib2.0-2.21.4/glib/gmain.c:2654
	retval = <value optimized out>
#20 0x04c9e14c in QEventDispatcherGlib::processEvents (this=0x989ecb8, flags=
      {i = 36}) at kernel/qeventdispatcher_glib.cpp:327
	d = (QEventDispatcherGlibPrivate * const) 0x98c87a8
	canWait = true
	result = <value optimized out>
#21 0x00f8e7e5 in QGuiEventDispatcherGlib::processEvents (this=0x989ecb8, 
    flags={i = 36}) at kernel/qguieventdispatcher_glib.cpp:202
	d = (QGuiEventDispatcherGlibPrivate * const) 0x98c87a8
	returnValue = true
#22 0x04c71d99 in QEventLoop::processEvents (this=0xbfdd20d4, flags=)
    at kernel/qeventloop.cpp:149
	d = (QEventLoopPrivate * const) 0x9962500
#23 0x04c721ea in QEventLoop::exec (this=0xbfdd20d4, flags={i = 0})
    at kernel/qeventloop.cpp:201
	d = (QEventLoopPrivate * const) 0x9962500
	app = <value optimized out>
#24 0x04c7465f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
	threadData = (QThreadData *) 0x989eae0
	eventLoop = {<QObject> = {_vptr.QObject = 0x4d647a8, 
    static staticMetaObject = {d = {superdata = 0x0, 
        stringdata = 0x4d0ccc0 "QObject", data = 0x4d0cd60, 
        extradata = 0x4d601b8}}, d_ptr = 0x9962500, 
    static staticQtMetaObject = {d = {superdata = 0x0, 
        stringdata = 0x4d164a0 "Qt", data = 0x4d19380, extradata = 0x0}}}, 
  static staticMetaObject = {d = {superdata = 0x4d601a8, 
      stringdata = 0x4d1e140 "QEventLoop", data = 0x4d1e160, 
      extradata = 0x0}}}
	returnCode = -1
#25 0x00eedaf7 in QApplication::exec () at kernel/qapplication.cpp:3525
No locals.
#26 0x0804b4db in ClientApp::kde_open (this=0xbfdd223c, url=@0xbfdd221c, 
    mimeType=@0xbfdd2298, allowExec=<value optimized out>)
    at ../../kioclient/kioclient.cpp:168
	__PRETTY_FUNCTION__ = "bool ClientApp::kde_open(const KUrl&, const QString&, bool)"
#27 0x0804bfd3 in ClientApp::doIt () at ../../kioclient/kioclient.cpp:276
	__PRETTY_FUNCTION__ = "static bool ClientApp::doIt()"
	fake_argc = 0
	app = {<QApplication> = {<QCoreApplication> = {<QObject> = {
        _vptr.QObject = 0x804e2c8, static staticMetaObject = {d = {
            superdata = 0x0, stringdata = 0x4d0ccc0 "QObject", 
            data = 0x4d0cd60, extradata = 0x4d601b8}}, d_ptr = 0x98c8340, 
        static staticQtMetaObject = {d = {superdata = 0x0, 
            stringdata = 0x4d164a0 "Qt", data = 0x4d19380, 
            extradata = 0x0}}}, static staticMetaObject = {d = {
          superdata = 0x4d601a8, stringdata = 0x4d1e1c0 "QCoreApplication", 
          data = 0x4d1e260, extradata = 0x0}}, static self = 0xbfdd223c}, 
    static staticMetaObject = {d = {superdata = 0x4d647e4, 
        stringdata = 0x1585fa0 "QApplication", data = 0x15861a0, 
        extradata = 0x0}}}, static staticMetaObject = {d = {
      superdata = 0x8050260, stringdata = 0x804d8e0 "ClientApp", 
      data = 0x804da20, extradata = 0x0}}, static m_ok = true}
	componentData = {_vptr.KComponentData = 0xd42018, d = 0x98fab70}
	command = {static shared_null = {ref = {_q_value = 1041}, alloc = 0, 
    size = 0, data = 0x80502d4 "", array = ""}, static shared_empty = {ref = {
      _q_value = 66}, alloc = 0, size = 0, data = 0x4d65398 "", array = ""}, 
  d = 0x99033c0}
	args = (KCmdLineArgs *) 0x98b39f8
	argc = -1076026728
#28 0x0804cace in main (argc=3, argv=0xbfdd2504)
    at ../../kioclient/kioclient.cpp:131
	options = {d = 0x98a3138}
	args = (KCmdLineArgs *) 0x98b39f8
Comment 1 Dario Andres 2009-12-12 23:10:15 UTC
From bug 202573:
---
What I was doing when the application crashed:
Ocular crashed after selecting a link to a .tex document within the pdf being
viewed. After selecting the link, the normal kde "choose application" dialog
opened so I could choose the application to open the link with. After choosing
firefox, the entire app crashed.

From bug 218409:
---
okular bugs when i click on a http:// link
Comment 2 Dario Andres 2009-12-12 23:10:16 UTC
*** Bug 202573 has been marked as a duplicate of this bug. ***
Comment 3 Dario Andres 2009-12-12 23:10:18 UTC
*** Bug 218409 has been marked as a duplicate of this bug. ***
Comment 4 Christophe Marin 2010-06-06 23:22:14 UTC
*** Bug 237977 has been marked as a duplicate of this bug. ***
Comment 5 Dawit Alemayehu 2013-07-07 10:19:04 UTC
Cannot reproduce. Feel free to reopen if you can reproduce the issue with the current stable version of KDE v4.10 or higher.