https://bugs.kde.org/show_bug.cgi?id=386364

            Bug ID: 386364
           Summary: crash in HTTP
           Product: frameworks-kio
           Version: 5.39.0
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: fa...@kde.org
          Reporter: aleix...@kde.org
                CC: kdelibs-b...@kde.org
  Target Milestone: ---

I'm seeing the following assert lately:
QIODevice::skip (QBuffer): WriteOnly device
ASSERT: "ret.size() == BinaryCacheFileHeader::size + sizeof(quint32) +
s_hashedUrlNibbles" in file
/home/apol/devel/frameworks/kio/src/ioslaves/http/http.cpp, line 4920
kioslave: ####### CRASH ###### protocol = https pid = 10134 signal = 6
/home/apol/devel/kde5/lib64/libKF5KIOCore.so.5(+0xa450f)[0x7fb4dc9d250f]
/usr/lib/libc.so.6(+0x34920)[0x7fb4daf88920]
/usr/lib/libc.so.6(gsignal+0x110)[0x7fb4daf888a0]
/usr/lib/libc.so.6(abort+0x1c9)[0x7fb4daf89f09]
/home/apol/devel/kde5/lib/libQt5Core.so.5(+0x9bad7)[0x7fb4dbc90ad7]
/home/apol/devel/kde5/lib/libQt5Core.so.5(+0x96866)[0x7fb4dbc8b866]
/home/apol/devel/kde5/lib64/plugins/kf5/kio/http.so(+0x389ca)[0x7fb4d36989ca]
/home/apol/devel/kde5/lib64/plugins/kf5/kio/http.so(+0x1c317)[0x7fb4d367c317]
/home/apol/devel/kde5/lib64/plugins/kf5/kio/http.so(+0x375cb)[0x7fb4d36975cb]
/home/apol/devel/kde5/lib64/plugins/kf5/kio/http.so(+0x13516)[0x7fb4d3673516]
/home/apol/devel/kde5/lib64/plugins/kf5/kio/http.so(+0x12cde)[0x7fb4d3672cde]
/home/apol/devel/kde5/lib64/plugins/kf5/kio/http.so(+0x23388)[0x7fb4d3683388]
/home/apol/devel/kde5/lib64/libKF5KIOCore.so.5(_ZN3KIO9SlaveBase8dispatchEiRK10QByteArray+0x49d)[0x7fb4dc9d720d]
/home/apol/devel/kde5/lib64/libKF5KIOCore.so.5(_ZN3KIO9SlaveBase12dispatchLoopEv+0x2f5)[0x7fb4dc9d2ab5]
/home/apol/devel/kde5/lib64/plugins/kf5/kio/http.so(kdemain+0x19e)[0x7fb4d366fafe]
/home/apol/devel/kde5/lib64/libexec/kf5/kioslave(+0x17c8)[0x5574d46fe7c8]
/usr/lib/libc.so.6(__libc_start_main+0xea)[0x7fb4daf74f6a]
/home/apol/devel/kde5/lib64/libexec/kf5/kioslave(_start+0x2a)[0x5574d46fe2ea]
QIODevice::skip (QBuffer): WriteOnly device
ASSERT: "ret.size() == BinaryCacheFileHeader::size + sizeof(quint32) +
s_hashedUrlNibbles" in file
/home/apol/devel/frameworks/kio/src/ioslaves/http/http.cpp, line 4920
kioslave: ####### CRASH ###### protocol = https pid = 10136 signal = 6
/home/apol/devel/kde5/lib64/libKF5KIOCore.so.5(+0xa450f)[0x7f331279650f]
/usr/lib/libc.so.6(+0x34920)[0x7f3310d4c920]
/usr/lib/libc.so.6(gsignal+0x110)[0x7f3310d4c8a0]
/usr/lib/libc.so.6(abort+0x1c9)[0x7f3310d4df09]
/home/apol/devel/kde5/lib/libQt5Core.so.5(+0x9bad7)[0x7f3311a54ad7]
/home/apol/devel/kde5/lib/libQt5Core.so.5(+0x96866)[0x7f3311a4f866]
/home/apol/devel/kde5/lib64/plugins/kf5/kio/http.so(+0x389ca)[0x7f330945c9ca]
/home/apol/devel/kde5/lib64/plugins/kf5/kio/http.so(+0x1c00e)[0x7f330944000e]
/home/apol/devel/kde5/lib64/plugins/kf5/kio/http.so(+0x141c2)[0x7f33094381c2]
/home/apol/devel/kde5/lib64/plugins/kf5/kio/http.so(+0x12cde)[0x7f3309436cde]
/home/apol/devel/kde5/lib64/plugins/kf5/kio/http.so(+0x23388)[0x7f3309447388]
/home/apol/devel/kde5/lib64/libKF5KIOCore.so.5(_ZN3KIO9SlaveBase8dispatchEiRK10QByteArray+0x49d)[0x7f331279b20d]
/home/apol/devel/kde5/lib64/libKF5KIOCore.so.5(_ZN3KIO9SlaveBase12dispatchLoopEv+0x2f5)[0x7f3312796ab5]
/home/apol/devel/kde5/lib64/plugins/kf5/kio/http.so(kdemain+0x19e)[0x7f3309433afe]
/home/apol/devel/kde5/lib64/libexec/kf5/kioslave(+0x17c8)[0x5591ae9ae7c8]
/usr/lib/libc.so.6(__libc_start_main+0xea)[0x7f3310d38f6a]
/home/apol/devel/kde5/lib64/libexec/kf5/kioslave(_start+0x2a)[0x5591ae9ae2ea]
Failed to fetch ratings  "The process for the https://odrs.gnome.org protocol
died unexpectedly."

This can easily be reproduced with:
KDE_FORK_SLAVES=yes  kioclient5 cat
https://odrs.gnome.org/1.0/reviews/api/ratings

David, is it possible that it's related to commit
2214015c8891ddfa0044052097580d2f93069da2?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to