Bug 342677 - KIO HTTP crashes opening https:// URLs
Summary: KIO HTTP crashes opening https:// URLs
Status: RESOLVED WORKSFORME
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-10 00:20 UTC by Elias Probst
Modified: 2022-10-25 05:01 UTC (History)
5 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 Elias Probst 2015-01-10 00:20:19 UTC
I can reproduce a crash of KIO HTTP by simply running:

xdg-open 'https://forum.kde.org/viewtopic.php?f=289&t=124392&p=327270#p327270'

This crash seems to only happen when:
- the URL is https:// and no http://
- there is no currently active HTTP KIO which gets re-used (?)

This happens using all latest KF5 components from git master + Qt 5.4.0.

Only in some cases it properly created a coredump, so I just attached immediately gdb to the PID (13703) reported after startup by klauncher:

Jan 10 01:07:19 moria kuiserver5[6622]: kuiserver: adding job contact for address:  ":1.126"  objectPath:  "/DataEngine/applicationjobs/JobView_14"
Jan 10 01:07:19 moria kdeinit5[6631]: kf5.kinit.klauncher: KLauncher: launching new slave "/usr/lib64/qt5/plugins/kf5/kio/http.so" with protocol= "https" args= ("https", "local:/run/user/1000/klauncherXM6631.1.slave-socket", "local:/run/user/1000/kioclientT13701.2.slave-socket")
Jan 10 01:07:19 moria kdeinit5[6631]: kf5.kinit.klauncher: "/usr/lib64/qt5/plugins/kf5/kio/http.so" (pid 13703) up and running.
Jan 10 01:07:19 moria kdeinit5[13703]: Using blocking call!
Jan 10 01:07:19 moria kdeinit5[13703]: Using blocking call!
Jan 10 01:07:19 moria kded5[6628]: Skipped method "moduleDeleted" : Pointers are not supported: KDEDModule*
Jan 10 01:07:19 moria kuiserver5[6622]: kuiserver: making async call of terminate for:  "/DataEngine/applicationjobs/JobView_14"
Jan 10 01:07:19 moria kuiserver5[6622]: kuiserver: removing jobview from list, it finished
Jan 10 01:07:19 moria kdeinit5[6631]: kf5.kinit.klauncher: "/usr/bin/firefox" (pid 13706) up and running.
[…] some irrelevant lines
Jan 10 01:08:51 moria kdeinit5[6623]: kioslave: ####### CRASH ###### protocol = https pid = 13703 signal = 11

The backtrace:
Thread 2 (Thread 0x7f2a093c4700 (LWP 13705)):
#0  _dl_fixup (l=0x24dd3e0, reloc_arg=636) at ../elf/dl-runtime.c:68
        symtab = <optimized out>
        strtab = <optimized out>
        reloc = <optimized out>
        sym = 0x2514a60
        rel_addr = <optimized out>
        result = <optimized out>
        value = <optimized out>
        __PRETTY_FUNCTION__ = "_dl_fixup"
#1  0x00007f2a1bde24d5 in _dl_runtime_resolve () at ../sysdeps/x86_64/dl-trampoline.S:45
No locals.
#2  0x00007f2a1bf0b00f in (anonymous namespace)::Q_QGS_openssl_locks::innerFunction()::Holder::~Holder() () at ssl/qsslsocket_openssl.cpp:125
        (anonymous namespace)::Q_QGS__q_sslErrorList::guard = {_q_value = -2}
        (anonymous namespace)::Q_QGS_openssl_locks::guard = {_q_value = -1}
        QSslSocketPrivate::s_loadedCiphersAndCerts = true
        QSslSocketPrivate::s_loadRootCertsOnDemand = false
        QSslSocketPrivate::s_libraryLoaded = true
#3  0x00007f2a1a6bf0b9 in __run_exit_handlers (status=1, listp=0x7f2a1aa2b5a8 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:82
        atfct = <optimized out>
        onfct = <optimized out>
        cxafct = <optimized out>
        f = <optimized out>
#4  0x00007f2a1a6bf105 in __GI_exit (status=<optimized out>) at exit.c:104
No locals.
#5  0x00007f2a1289b732 in sigsegv_handler (sig=11) at /var/tmp/portage/kde-frameworks/kio-9999/work/kio-9999/src/core/slavebase.cpp:742
        buffer = "kioslave: ####### CRASH ###### protocol = https pid = 13703 signal = 11\n\000\000\000\000\323\070G\000\000\000\000\000\332\021\031", '\000' <repeats 29 times>, "\366K\000"
#6  <signal handler called>
No locals.
#7  0x00007f2a1bfe5056 in ?? ()
No symbol table info available.
#8  0x00007f2a093c3040 in ?? ()
No symbol table info available.
#9  0x000000000275f980 in ?? ()
No symbol table info available.
#10 0x00007f2a093c3030 in ?? ()
No symbol table info available.
#11 0x000000000275f9a0 in ?? ()
No symbol table info available.
#12 0x00007f2a093c3000 in ?? ()
No symbol table info available.
#13 0x000000000000000e in ?? ()
No symbol table info available.
#14 0x0000000000000000 in ?? ()
No symbol table info available.

Thread 1 (Thread 0x7f2a1bf627c0 (LWP 13703)):
#0  __run_exit_handlers (status=255, listp=0x7f2a1aa2b5a8 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:54
        f = 0x4d40e410
#1  0x00007f2a1a6bf105 in __GI_exit (status=<optimized out>) at exit.c:104
No locals.
#2  0x00007f2a1289b8f6 in KIO::SlaveBase::exit (this=this@entry=0x7fff601e1030) at /var/tmp/portage/kde-frameworks/kio-9999/work/kio-9999/src/core/slavebase.cpp:631
No locals.
#3  0x00007f2a128a0d52 in KIO::SlaveBase::mimeType (this=this@entry=0x7fff601e1030, _type=...) at /var/tmp/portage/kde-frameworks/kio-9999/work/kio-9999/src/core/slavebase.cpp:607
        ret = <optimized out>
        data = {d = 0x7f2a1ad82620 <QArrayData::shared_null>}
        stream = {d = {d = 0x0}, dev = 0x268d100, owndev = true, noswap = false, byteorder = QDataStream::BigEndian, ver = 16, q_status = QDataStream::Ok}
        cmd = 0
#4  0x00007f2a0af61075 in HTTPProtocol::readResponseHeader (this=this@entry=0x7fff601e1020) at /var/tmp/portage/kde-frameworks/kio-9999/work/kio-9999/src/ioslaves/http/http.cpp:3534
        buffer = "HTTP/1.1 200 OK\r\ndate: Sat, 10 Jan 2015 00:07:19 GMT\r\nserver: Apache/2.4.7 (Ubuntu)\r\ncache-control: private, no-cache=\"set-cookie\"\r\nexpires: 0\r\npragma: no-cache\r\ncontent-encoding: gzip\r\nvary: Accept-E"...
        cont = <optimized out>
        bufPos = 561
        foundDelimiter = <optimized out>
        upgradeRequired = <optimized out>
        noHeadersFound = <optimized out>
        bCanResume = <optimized out>
        httpRev = <optimized out>
        idx = 17
        authRequiresAnotherRoundtrip = false
#5  0x00007f2a0af637c0 in HTTPProtocol::proceedUntilResponseHeader (this=this@entry=0x7fff601e1020) at /var/tmp/portage/kde-frameworks/kio-9999/work/kio-9999/src/ioslaves/http/http.cpp:641
No locals.
#6  0x00007f2a0af63981 in HTTPProtocol::proceedUntilResponseContent (this=0x7fff601e1020, dataInternal=<optimized out>) at /var/tmp/portage/kde-frameworks/kio-9999/work/kio-9999/src/ioslaves/http/http.cpp:608
        status = <optimized out>
#7  0x00007f2a0af64717 in HTTPProtocol::get (this=0x7fff601e1020, url=...) at /var/tmp/portage/kde-frameworks/kio-9999/work/kio-9999/src/ioslaves/http/http.cpp:1249
        tmp = {static null = {<No data fields>}, d = 0x7f2a1ad82620 <QArrayData::shared_null>}
        url = <optimized out>
        this = 0x7fff601e1020
#8  0x00007f2a128a23ad in KIO::SlaveBase::dispatch (this=0x7fff601e1030, command=67, data=...) at /var/tmp/portage/kde-frameworks/kio-9999/work/kio-9999/src/core/slavebase.cpp:1108
        stream = {d = {d = 0x0}, dev = 0x2572420, owndev = true, noswap = false, byteorder = QDataStream::BigEndian, ver = 16, q_status = QDataStream::Ok}
        url = {d = 0x2570f40}
        i = 0
#9  0x00007f2a1289c18e in KIO::SlaveBase::dispatchLoop (this=this@entry=0x7fff601e1030) at /var/tmp/portage/kde-frameworks/kio-9999/work/kio-9999/src/core/slavebase.cpp:298
        cmd = 67
        data = {d = 0x2572870}
        ms = <optimized out>
        ret = 71
#10 0x00007f2a0af5d757 in kdemain (argc=4, argv=<optimized out>) at /var/tmp/portage/kde-frameworks/kio-9999/work/kio-9999/src/ioslaves/http/http.cpp:106
        app = {<QObject> = {_vptr.QObject = 0x7f2a1aeec190 <vtable for QCoreApplication+16>, static staticMetaObject = {d = {superdata = 0x0, stringdata = 0x7f2a1ae15300 <qt_meta_stringdata_QObject>, data = 0x7f2a1ae151e0 <qt_meta_data_QObject>, static_metacall = 0x7f2a1ace4740 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x2526300}, static staticQtMetaObject = {d = {superdata = 0x0, stringdata = 0x7f2a1ae5d020 <qt_meta_stringdata_Qt>, data = 0x7f2a1ae5a7a0 <qt_meta_data_Qt>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = 0x7f2a1aee8ac0 <QObject::staticMetaObject>, stringdata = 0x7f2a1ae70fc0 <qt_meta_stringdata_QCoreApplication>, data = 0x7f2a1ae70ea0 <qt_meta_data_QCoreApplication>, static_metacall = 0x7f2a1ad58870 <QCoreApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, static self = 0x7fff601e1010}
        slave = {<QObject> = {_vptr.QObject = 0x7f2a0b179ad0 <vtable for HTTPProtocol+16>, static staticMetaObject = {d = {superdata = 0x0, stringdata = 0x7f2a1ae15300 <qt_meta_stringdata_QObject>, data = 0x7f2a1ae151e0 <qt_meta_data_QObject>, static_metacall = 0x7f2a1ace4740 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x25378a0}, static staticQtMetaObject = {d = {superdata = 0x0, stringdata = 0x7f2a1ae5d020 <qt_meta_stringdata_Qt>, data = 0x7f2a1ae5a7a0 <qt_meta_data_Qt>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}}, <KIO::TCPSlaveBase> = {<KIO::SlaveBase> = {_vptr.SlaveBase = 0x7f2a0b179bb8 <vtable for HTTPProtocol+248>, mProtocol = {d = 0x2535e30}, mOutgoingMetaData = {<QMap<QString, QString>> = {d = 0x2572170}, <No data fields>}, mIncomingMetaData = {<QMap<QString, QString>> = {d = 0x2573a20}, <No data fields>}, d = 0x2537410}, d = 0x25377c0}, static staticMetaObject = {d = {superdata = 0x7f2a1aee8ac0 <QObject::staticMetaObject>, stringdata = 0x7f2a0af74640 <qt_meta_stringdata_HTTPProtocol>, data = 0x7f2a0af74540 <qt_meta_data_HTTPProtocol>, static_metacall = 0x7f2a0af71b80 <HTTPProtocol::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, m_server = {url = {d = 0x2572ce0}, encoded_hostname = {static null = {<No data fields>}, d = 0x2572d40}, proxyUrl = {d = 0x0}, isKeepAlive = true, isPersistentProxyConnection = false}, m_request = {url = {d = 0x2572ce0}, encoded_hostname = {static null = {<No data fields>}, d = 0x2572d40}, isKeepAlive = true, keepAliveTimeout = 5, method = KIO::HTTP_GET, methodStringOverride = {static null = {<No data fields>}, d = 0x7f2a1ad82620 <QArrayData::shared_null>}, sentMethodString = {d = 0x2571730}, offset = 0, endoffset = 0, windowId = {static null = {<No data fields>}, d = 0x7f2a1ad82620 <QArrayData::shared_null>}, referrer = {static null = {<No data fields>}, d = 0x7f2a1ad82620 <QArrayData::shared_null>}, charsets = {static null = {<No data fields>}, d = 0x2574070}, languages = {static null = {<No data fields>}, d = 0x2572200}, userAgent = {static null = {<No data fields>}, d = 0x2572e00}, responseCode = 200, prevResponseCode = 0, id = {static null = {<No data fields>}, d = 0x7f2a1ad82620 <QArrayData::shared_null>}, davData = {desturl = {static null = {<No data fields>}, d = 0x7f2a1ad82620 <QArrayData::shared_null>}, overwrite = false, depth = 0}, redirectUrl = {d = 0x0}, proxyUrl = {d = 0x0}, proxyUrls = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f2a1ad83630 <QListData::shared_null>}, d = 0x7f2a1ad83630 <QListData::shared_null>}}, <No data fields>}, isPersistentProxyConnection = false, allowTransferCompression = true, disablePassDialog = false, doNotWWWAuthenticate = false, doNotProxyAuthenticate = false, preferErrorPage = true, useCookieJar = true, cookieMode = HTTPProtocol::HTTPRequest::CookiesAuto, cacheTag = {policy = KIO::CC_Refresh, useCache = true, ioMode = HTTPProtocol::WriteToCache, fileUseCount = 32767, bytesCached = 0, etag = {static null = {<No data fields>}, d = 0x7f2a1ad82620 <QArrayData::shared_null>}, file = 0x0, servedDate = {d = {d = 0x2664520}}, lastModifiedDate = {d = {d = 0x2697c60}}, expireDate = {d = {d = 0x2779750}}, charset = {static null = {<No data fields>}, d = 0x2782ec0}}}, m_requestQueue = {<QListSpecialMethods<HTTPProtocol::HTTPRequest>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f2a1ad83630 <QListData::shared_null>}, d = 0x7f2a1ad83630 <QListData::shared_null>}}, m_iSize = 18446744073709551615, m_iPostDataSize = 18446744073709551615, m_iBytesLeft = 139818835046400, m_iContentLeft = 0, m_receiveBuf = {d = 0x7f2a1ad82620 <QArrayData::shared_null>}, m_dataInternal = 109, m_isChunked = true, m_isBusy = false, m_isEOF = false, m_isEOD = 42, m_isRedirection = false, m_responseHeaders = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x26d7a60}, d = 0x26d7a60}}, <No data fields>}, m_transferEncodings = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f2a1ad83630 <QListData::shared_null>}, d = 0x7f2a1ad83630 <QListData::shared_null>}}, <No data fields>}, m_contentEncodings = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x2664840}, d = 0x2664840}}, <No data fields>}, m_contentMD5 = {static null = {<No data fields>}, d = 0x7f2a1ad82620 <QArrayData::shared_null>}, m_mimeType = {static null = {<No data fields>}, d = 0x26ef690}, m_webDavDataBuf = {d = 0x7f2a1ad82620 <QArrayData::shared_null>}, m_davCapabilities = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f2a1ad83630 <QListData::shared_null>}, d = 0x7f2a1ad83630 <QListData::shared_null>}}, <No data fields>}, m_davHostOk = false, m_davHostUnsupported = false, m_cpMimeBuffer = 202, m_mimeTypeBuffer = {d = 0x7f2a1ad82620 <QArrayData::shared_null>}, m_POSTbuf = 0x0, m_maxCacheAge = 1209600, m_maxCacheSize = 51200, m_strCacheDir = {static null = {<No data fields>}, d = 0x2573fa0}, m_cacheCleanerConnection = {<QIODevice> = {<QObject> = {_vptr.QObject = 0x7f2a1bf5d730 <vtable for QLocalSocket+16>, static staticMetaObject = {d = {superdata = 0x0, stringdata = 0x7f2a1ae15300 <qt_meta_stringdata_QObject>, data = 0x7f2a1ae151e0 <qt_meta_data_QObject>, static_metacall = 0x7f2a1ace4740 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x2572560}, static staticQtMetaObject = {d = {superdata = 0x0, stringdata = 0x7f2a1ae5d020 <qt_meta_stringdata_Qt>, data = 0x7f2a1ae5a7a0 <qt_meta_data_Qt>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = 0x7f2a1aee8ac0 <QObject::staticMetaObject>, stringdata = 0x7f2a1ae6eec0 <qt_meta_stringdata_QIODevice>, data = 0x7f2a1ae6ee00 <qt_meta_data_QIODevice>, static_metacall = 0x7f2a1ad55ea0 <QIODevice::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = 0x7f2a1aeeaa60 <QIODevice::staticMetaObject>, stringdata = 0x7f2a1bf27ca0 <qt_meta_stringdata_QLocalSocket>, data = 0x7f2a1bf27b80 <qt_meta_data_QLocalSocket>, static_metacall = 0x7f2a1bee5fa0 <QLocalSocket::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}}, m_protocol = {d = 0x2535e30}, m_wwwAuth = 0x0, m_proxyAuth = 0x0, m_socketProxyAuth = 0x0, m_networkConfig = 0x269ef40, m_iError = 0, m_isLoadingErrorPage = false, m_remoteRespTimeout = 600, m_iEOFRetryCount = 0 '\000', m_unreadBuf = {d = 0x7f2a1ad825c0 <qt_array>}}
#11 0x00000000004083a5 in launch (argc=argc@entry=4, _name=_name@entry=0x2523fa8 "/usr/lib64/qt5/plugins/kf5/kio/http.so", args=<optimized out>, args@entry=0x2523fcf "https", cwd=cwd@entry=0x0, envc=envc@entry=0, envs=<optimized out>, envs@entry=0x2524045 "", reset_env=false, tty=tty@entry=0x0, avoid_loops=false, startup_id_str=startup_id_str@entry=0x40b10c "0") at /var/tmp/portage/kde-frameworks/kinit-9999/work/kinit-9999/src/kdeinit/kinit.cpp:733
        l = {<QObject> = {_vptr.QObject = 0x7f2a1aeebdb0 <vtable for QLibrary+16>, static staticMetaObject = {d = {superdata = 0x0, stringdata = 0x7f2a1ae15300 <qt_meta_stringdata_QObject>, data = 0x7f2a1ae151e0 <qt_meta_data_QObject>, static_metacall = 0x7f2a1ace4740 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x25240e0}, static staticQtMetaObject = {d = {superdata = 0x0, stringdata = 0x7f2a1ae5d020 <qt_meta_stringdata_Qt>, data = 0x7f2a1ae5a7a0 <qt_meta_data_Qt>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = 0x7f2a1aee8ac0 <QObject::staticMetaObject>, stringdata = 0x7f2a1ae70a20 <qt_meta_stringdata_QLibrary>, data = 0x7f2a1ae70960 <qt_meta_data_QLibrary>, static_metacall = 0x7f2a1ad582f0 <QLibrary::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, d = 0x25220d0, did_load = true}
        sym = <optimized out>
        exec = <optimized out>
        lib = {static null = {<No data fields>}, d = 0x2522500}
        execpath = {d = 0x7f2a1ad82620 <QArrayData::shared_null>}
        name = {d = 0x24e14f0}
        libpath = {static null = {<No data fields>}, d = 0x2522500}
        libpath_relative = false
        startup_id = {d = 0x25222e0}
#12 0x0000000000409b7e in handle_launcher_request (sock=6, who=<optimized out>) at /var/tmp/portage/kde-frameworks/kinit-9999/work/kinit-9999/src/kdeinit/kinit.cpp:1172
        tty = <optimized out>
        avoid_loops = <optimized out>
        arg_n = <optimized out>
        argc = 4
        args = 0x2523fcf "https"
        reset_display = false
        pid = <optimized out>
        response_header = {cmd = 38671600, arg_length = 8}
        envc = <optimized out>
        envs = <optimized out>
        kdedisplay = {d = 0x7f2a1ad82620 <QArrayData::shared_null>}
        response_data = 13407
        l = <optimized out>
        name = 0x2523fa8 "/usr/lib64/qt5/plugins/kf5/kio/http.so"
        cwd = 0x0
        startup_id_str = 0x40b10c "0"
        olddisplay = {d = 0x2522470}
        request_header = {cmd = 12, arg_length = 173}
        request_data = 0x2523fa0 "\004"
        result = <optimized out>
#13 0x000000000040a1a9 in handle_requests (waitForPid=waitForPid@entry=0) at /var/tmp/portage/kde-frameworks/kinit-9999/work/kinit-9999/src/kdeinit/kinit.cpp:1361
        wr_set = {fds_bits = {0 <repeats 16 times>}}
        exit_pid = <optimized out>
        exit_status = 1
        c = 0 '\000'
        rd_set = {fds_bits = {64, 0 <repeats 15 times>}}
        e_set = {fds_bits = {0 <repeats 16 times>}}
        result = <optimized out>
        max_sock = 8
#14 0x0000000000404f2c in main (argc=3, argv=<optimized out>) at /var/tmp/portage/kde-frameworks/kinit-9999/work/kinit-9999/src/kdeinit/kinit.cpp:1852
        pid = <optimized out>
        do_fork = <optimized out>
        launch_klauncher = <optimized out>
        launch_kded = <optimized out>
        keep_running = <optimized out>
        safe_argv = 0x24dae50
Comment 1 Mark 2015-05-16 18:14:33 UTC
Hi,

I just tried to reproduce this problem, but it doesn't seem to crash here. Could you verify if this crash still occurs?

KIO version i used:  5.10
Plasma 5.3

Regards,
Mark
Comment 2 Bzzz 2016-06-23 09:01:27 UTC
Crash cannot be reproduced in my PPA-KDE (kio 5.22, Plasma 5.6.4), however, there is a massive delay (75s in both tries) between executing the command mentioned in the initial post and the browser receiving the URL and loading it. This was just filed under bug 364662.
Comment 3 Nate Graham 2018-08-22 20:14:10 UTC
Works just fine for me with KDE Frameworks 5.49.
Comment 4 Harald Sitter 2019-09-08 17:29:27 UTC
I can actually reproduce this. With firefox as browser and simply running `kioclient5 exec http://networkcheck.kde.org` after a while the slave will exit and crash during exit. What's more, I even know why. Threaded applications shouldn't call exit() as it doesn't terminate threads so it a) breaks life time expectations and b) runs cleanup handlers while other threads potentially are still going about their business.

The tricky thing here of course is that we want to absolutely terminate because of how the dispatch loop of the slaves work. So the likely only solution here is to use quick_exit() instead, disadvantage there is that it does vastly less cleanup.

Perhaps David has a better idea? From what I see in the code this is a tricky problem because when the slave's exit is called we should force-terminate ASAP, but there is no way to do that safely if multiple threads are involved.
Comment 5 Justin Zobel 2022-09-25 22:38:31 UTC
Thank you for reporting this crash in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the crash with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 6 Bug Janitor Service 2022-10-10 04:52:00 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Bug Janitor Service 2022-10-25 05:01:16 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!