Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. Qwebkit crash occured while sending QNetworkRequest continuously
Forum Updated to NodeBB v4.3 + New Features

Qwebkit crash occured while sending QNetworkRequest continuously

Scheduled Pinned Locked Moved Unsolved Qt WebKit
2 Posts 2 Posters 550 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    shankarqt
    wrote on 6 Aug 2020, 09:38 last edited by
    #1

    We are developing a in built browser in our application using Qwebkit. QNetworkAccessManager::CreateRequest API is used to send network requests to launch the sites.
    The crash with following stacktrace is observed while switching rapidly between the browser tabs.

    Crash reason: SIGSEGV
    Crash address: 0x0
    Process uptime: not available

    Thread 55 (crashed)
    0 libQt5Network.so.5.11.3!QHttpPart::setBody(QByteArray const&) + 0x6da5
    r0 = 0x00000000 r1 = 0x00000000 r2 = 0x00000006 r3 = 0x2b098518
    r4 = 0x318a1ac0 r5 = 0x00000090 r6 = 0x00000001 r7 = 0x00000000
    r8 = 0x76f1b900 r9 = 0x2f80d170 r10 = 0x2b098488 r12 = 0x73594264
    fp = 0xaaaaaaab sp = 0x342708b8 lr = 0x7438bc2d pc = 0x7438ca1a
    Found by: given as instruction pointer in context
    1 libQt5Network.so.5.11.3!QHttpPart::setBody(QByteArray const&) + 0x6294
    sp = 0x342708d8 pc = 0x7438bf0b
    Found by: stack scanning
    2 libQt5Network.so.5.11.3!QHttpPart::setBody(QByteArray const&) + 0x1303e
    sp = 0x34270910 pc = 0x74398cb5
    Found by: stack scanning
    3 libQt5Network.so.5.11.3!QUdpSocket::qt_metacall(QMetaObject::Call, int, void**) + 0x6d75
    sp = 0x34270914 pc = 0x7441e958
    Found by: stack scanning
    4 libQt5Core.so.5.11.3 + 0x298392
    sp = 0x3427094c pc = 0x76a36394
    Found by: stack scanning
    5 libQt5Core.so.5.11.3 + 0x298392
    sp = 0x34270950 pc = 0x76a36394
    Found by: stack scanning
    6 libQt5Core.so.5.11.3 + 0x298392
    sp = 0x34270954 pc = 0x76a36394
    Found by: stack scanning
    7 libQt5Widgets.so.5.11.3 + 0xfa16f
    sp = 0x34270970 pc = 0x7635d171
    Found by: stack scanning
    8 libQt5Network.so.5.11.3!QHttpMultiPart::qt_metacall(QMetaObject::Call, int, void**) + 0x1454
    sp = 0x34270980 pc = 0x7441447b
    Found by: stack scanning
    9 libQt5Network.so.5.11.3!QHttpMultiPart::qt_metacall(QMetaObject::Call, int, void**) + 0x42c
    sp = 0x342709a0 pc = 0x74413453
    Found by: stack scanning
    10 libQt5Core.so.5.11.3 + 0x1d663d
    sp = 0x342709c0 pc = 0x7697463f
    Found by: stack scanning
    11 EloApp + 0x296f9c
    sp = 0x342709dc pc = 0x002a6f9e
    Found by: stack scanning
    12 libQt5Widgets.so.5.11.3 + 0xfa16f
    sp = 0x34270a10 pc = 0x7635d171
    Found by: stack scanning
    13 libQt5Core.so.5.11.3 + 0x1f5919
    sp = 0x34270a20 pc = 0x7699391b
    Found by: stack scanning
    14 libQt5Network.so.5.11.3!QSslSocket::setCiphers(QString const&) + 0x756
    sp = 0x34270a24 pc = 0x743f8291
    Found by: stack scanning
    15 libQt5Network.so.5.11.3!QSslSocket::setCiphers(QString const&) + 0x91e
    sp = 0x34270a28 pc = 0x743f8459
    Found by: stack scanning
    16 libQt5Core.so.5.11.3 + 0x1f4b4d
    sp = 0x34270a50 pc = 0x76992b4f
    Found by: stack scanning
    17 libQt5Core.so.5.11.3 + 0x148349
    sp = 0x34270a98 pc = 0x768e634b
    Found by: stack scanning
    18 libQt5Widgets.so.5.11.3 + 0xfa16f
    sp = 0x34270b04 pc = 0x7635d171
    Found by: stack scanning
    19 libQt5Widgets.so.5.11.3 + 0xf4d69
    sp = 0x34270b08 pc = 0x76357d6b
    Found by: stack scanning
    20 libQt5Widgets.so.5.11.3 + 0xfa797
    sp = 0x34270b20 pc = 0x7635d799
    Found by: stack scanning
    21 libQt5Widgets.so.5.11.3 + 0xfa16f
    sp = 0x34270b2c pc = 0x7635d171
    Found by: stack scanning
    22 libQt5Network.so.5.11.3!QTcpServer::incomingConnection(int) + 0x9cc2
    sp = 0x34270b30 pc = 0x743dd4e9
    Found by: stack scanning
    23 libQt5Network.so.5.11.3!QTcpServer::incomingConnection(int) + 0x9c9e
    sp = 0x34270b34 pc = 0x743dd4c5
    Found by: stack scanning
    24 libQt5Widgets.so.5.11.3 + 0xf4d69
    sp = 0x34270b38 pc = 0x76357d6b
    Found by: stack scanning
    25 libQt5Core.so.5.11.3 + 0x1e18a1
    sp = 0x34270b88 pc = 0x7697f8a3
    Found by: stack scanning
    26 libQt5Core.so.5.11.3 + 0x1e6793
    sp = 0x34270b94 pc = 0x76984795
    Found by: stack scanning
    27 libQt5Core.so.5.11.3 + 0x1e6a33
    sp = 0x34270b98 pc = 0x76984a35
    Found by: stack scanning
    28 libQt5Core.so.5.11.3 + 0x1e3ce1
    sp = 0x34270bc0 pc = 0x76981ce3
    Found by: stack scanning
    29 libQt5Network.so.5.11.3!QHostInfo::fromName(QString const&) + 0x1062
    sp = 0x34270be8 pc = 0x743bcfb9
    Found by: stack scanning
    30 libQt5Network.so.5.11.3!QHostInfo::fromName(QString const&) + 0xfe2
    sp = 0x34270bec pc = 0x743bcf39
    Found by: stack scanning
    31 libQt5Core.so.5.11.3 + 0x88e33
    sp = 0x34270c30 pc = 0x76826e35
    Found by: stack scanning
    32 libsquishqtwrapper.so + 0x202f5b
    sp = 0x34270c38 pc = 0x6d3d5f5d
    Found by: stack scanning
    33 libsquishqtpre.so + 0x3977
    sp = 0x34270c54 pc = 0x76edf979
    Found by: stack scanning
    34 libQt5Quick.so.5.11.3 + 0xb6ffe
    sp = 0x34270c58 pc = 0x738e7000
    Found by: stack scanning
    35 zero (deleted) + 0x42dc39a
    sp = 0x34270c5c pc = 0x3fdce39c
    Found by: stack scanning
    36 zero (deleted) + 0x420d3fc
    sp = 0x34270c64 pc = 0x3fcff3fe
    Found by: stack scanning
    37 libQt5Widgets.so.5.11.3 + 0xfa16f
    sp = 0x34270c88 pc = 0x7635d171
    Found by: stack scanning
    38 libQt5Core.so.5.11.3 + 0x1d3e4d
    sp = 0x34270c98 pc = 0x76971e4f
    Found by: stack scanning
    39 EloApp + 0x6cdb8e
    sp = 0x34270ca0 pc = 0x006ddb90
    Found by: stack scanning
    40 libQt5Core.so.5.11.3 + 0x1d6173
    sp = 0x34270cd0 pc = 0x76974175
    Found by: stack scanning
    41 libQt5Core.so.5.11.3 + 0x211cfb
    sp = 0x34270d00 pc = 0x769afcfd
    Found by: stack scanning
    42 EloApp + 0x30030
    sp = 0x34270d0c pc = 0x00040032
    Found by: stack scanning
    43 libQt5Core.so.5.11.3 + 0x211d4b
    sp = 0x34270d30 pc = 0x769afd4d
    Found by: stack scanning
    44 libQt5Core.so.5.11.3 + 0x298392
    sp = 0x34270d6c pc = 0x76a36394
    Found by: stack scanning
    45 libQt5Core.so.5.11.3 + 0x298392
    sp = 0x34270d70 pc = 0x76a36394
    Found by: stack scanning
    46 libQt5Core.so.5.11.3 + 0x298392
    sp = 0x34270d7c pc = 0x76a36394
    Found by: stack scanning
    47 libQt5Core.so.5.11.3 + 0x1d2a2f
    sp = 0x34270da0 pc = 0x76970a31
    Found by: stack scanning
    48 libQt5Core.so.5.11.3 + 0x1d26a5
    sp = 0x34270dc0 pc = 0x769706a7
    Found by: stack scanning
    49 libQt5Core.so.5.11.3 + 0x217967
    sp = 0x34270dc4 pc = 0x769b5969
    Found by: stack scanning
    50 libQt5Core.so.5.11.3 + 0x89625
    sp = 0x34270df0 pc = 0x76827627
    Found by: stack scanning
    51 libQt5Core.so.5.11.3 + 0x91215
    sp = 0x34270e20 pc = 0x7682f217
    Found by: stack scanning
    52 libQt5Network.so.5.11.3!QUdpSocket::qt_metacall(QMetaObject::Call, int, void**) + 0x5a5
    sp = 0x34270e2c pc = 0x74418188
    Found by: stack scanning
    53 libQt5Network.so.5.11.3!QUdpSocket::qt_metacall(QMetaObject::Call, int, void**) + 0x5a5
    sp = 0x34270e30 pc = 0x74418188
    Found by: stack scanning
    54 libpthread-2.28.so + 0x5bb9
    sp = 0x34270e50 pc = 0x76ebcbbb
    Found by: stack scanning
    55 libQt5Quick.so.5.11.3 + 0xb6ffe
    sp = 0x34270e8c pc = 0x738e7000
    Found by: stack scanning
    56 zero (deleted) + 0x42dc39a
    sp = 0x34270e90 pc = 0x3fdce39c
    Found by: stack scanning
    57 zero (deleted) + 0x420d3fc
    sp = 0x34270e98 pc = 0x3fcff3fe
    Found by: stack scanning

    The crash occurs while sending the QNetworkRequest through QNetworkAccessManager. Kindly let us know if any prerequisites needs to be met (in QNetworkRequest) to prevent this crash.

    QT version used : QT 5.11.3

    1 Reply Last reply
    0
    • K Offline
      K Offline
      Konstantin Tokarev
      wrote on 7 Aug 2020, 08:47 last edited by
      #2

      Hard to tell anything from this backtrace, seems like it's from release build. Crash happens inside Qt and it's probably caused by your implementation of createRequest

      1 Reply Last reply
      0

      1/2

      6 Aug 2020, 09:38

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved