Congratulations to our 2022 Qt Champions!

Crash when request HTTPS and prompt alert window! (Qt 4.7.2 and Qt 4.7.3(QtSDK 1.1 RC))

  • Run the demo program "browser.exe", and navigate to "", enter some thing into Username and Password box on the top left of the page, then press ENTER, it request a https url and prompt alert window, now click OK, program will crash!

    Is it a bug?

  • In my project, it is same.

    This is the stack trace(Qt 4.7.2):

    @> QtCored4.dll!QScopedPointer<QObjectData,QScopedPointerDeleter<QObjectData> >::data() 行135 + 0x3 字节 C++
    QtCored4.dll!qGetPtrHelper<QScopedPointer<QObjectData,QScopedPointerDeleter<QObjectData> > >(const QScopedPointer<QObjectData,QScopedPointerDeleter<QObjectData> > & p={...}) 行2338 + 0xb 字节 C++
    QtCored4.dll!QObject::d_func() 行125 + 0x13 字节 C++
    QtCored4.dll!QMetaObject::activate(QObject * sender=0x00000000, const QMetaObject * m=0x64179234, int local_signal_index=6, void * * argv=0x0012c2d4) 行3201 + 0xc 字节 C++
    QtNetworkd4.dll!QHttpNetworkReply::dataReadProgress(int _t1=3717, int _t2=-1) 行150 + 0x15 字节 C++
    QtNetworkd4.dll!QHttpNetworkConnectionChannel::_q_receiveReply() 行467 C++
    QtNetworkd4.dll!QHttpNetworkConnectionChannel::_q_readyRead() 行885 C++
    QtNetworkd4.dll!QHttpNetworkConnectionChannel::qt_metacall(QMetaObject::Call _c=InvokeMetaMethod, int id=2, void * * a=0x0012c434) 行92 + 0x8 字节 C++
    QtCored4.dll!QMetaObject::metacall(QObject * object=0x0481e4a4, QMetaObject::Call cl=InvokeMetaMethod, int idx=6, void * * argv=0x0012c434) 行238 C++
    QtCored4.dll!QMetaObject::activate(QObject * sender=0x049d6fa8, const QMetaObject * m=0x67344968, int local_signal_index=0, void * * argv=0x00000000) 行3278 + 0x27 字节 C++
    QtCored4.dll!QIODevice::readyRead() 行91 + 0x12 字节 C++
    QtNetworkd4.dll!QSslSocketBackendPrivate::transmit() 行1040 C++
    QtNetworkd4.dll!QSslSocketPrivate::q_readyReadSlot() 行2155 C++
    QtNetworkd4.dll!QSslSocket::qt_metacall(QMetaObject::Call c=InvokeMetaMethod, int id=15, void * * a=0x0012d660) 行121 + 0xf 字节 C++
    QtCored4.dll!QMetaObject::metacall(QObject * object=0x049d6fa8, QMetaObject::Call cl=InvokeMetaMethod, int idx=39, void * * argv=0x0012d660) 行238 C++
    QtCored4.dll!QMetaObject::activate(QObject * sender=0x04a0f468, const QMetaObject * m=0x67344968, int local_signal_index=0, void * * argv=0x00000000) 行3278 + 0x27 字节 C++
    QtCored4.dll!QIODevice::readyRead() 行91 + 0x12 字节 C++
    QtNetworkd4.dll!QAbstractSocketPrivate::canReadNotification() 行640 C++
    QtNetworkd4.dll!QAbstractSocketPrivate::readNotification() 行77 + 0x15 字节 C++
    QtNetworkd4.dll!QAbstractSocketEngine::readNotification() 行155 C++
    QtNetworkd4.dll!QReadNotifier::event(QEvent * e=0x0012dc18) 行1104 C++
    QtGuid4.dll!QApplicationPrivate::notify_helper(QObject * receiver=0x048a9ab0, QEvent * e=0x0012dc18) 行4462 + 0x11 字节 C++
    QtGuid4.dll!QApplication::notify(QObject * receiver=0x048a9ab0, QEvent * e=0x0012dc18) 行3862 + 0x10 字节 C++
    QtCored4.dll!QCoreApplication::notifyInternal(QObject * receiver=0x048a9ab0, QEvent * event=0x0012dc18) 行731 + 0x15 字节 C++
    QtCored4.dll!QCoreApplication::sendEvent(QObject * receiver=0x048a9ab0, QEvent * event=0x0012dc18) 行215 + 0x39 字节 C++
    * hwnd=0x00690a88, unsigned int message=1024, unsigned int wp=8600, long lp=32) 行485 + 0xf 字节 C++
    [下面的框架可能不正确和/或缺失,没有为 user32.dll 加载符号]
    QtCored4.dll!QEventDispatcherWin32::processEvents(QFlags<enum QEventLoop::ProcessEventsFlag> flags={...}) 行813 C++
    QtGuid4.dll!QGuiEventDispatcherWin32::processEvents(QFlags<enum QEventLoop::ProcessEventsFlag> flags={...}) 行1170 + 0x15 字节 C++
    QtCored4.dll!QEventLoop::processEvents(QFlags<enum QEventLoop::ProcessEventsFlag> flags={...}) 行150 C++
    QtCored4.dll!QEventLoop::exec(QFlags<enum QEventLoop::ProcessEventsFlag> flags={...}) 行201 + 0x2d 字节 C++
    QtCored4.dll!QCoreApplication::exec() 行1008 + 0x15 字节 C++
    QtGuid4.dll!QApplication::exec() 行3737 C++
    Test.exe!main(int argc=1, char * * argv=0x01fa80f8) 行28 + 0x6 字节 C++
    * instance=0x00400000, HINSTANCE
    * prevInstance=0x00000000, char * __formal=0x00151f0e, int cmdShow=1) 行131 + 0x12 字节 C++
    Test.exe!__tmainCRTStartup() 行578 + 0x35 字节 C
    Test.exe!WinMainCRTStartup() 行403 C
    QtWebKitd4.dll!WebCore::setJSSVGPathSegLinetoAbsX(JSC::ExecState * exec=0xeaa1bae8, JSC::JSObject * thisObject=0x458b50ff, JSC::JSValue value={...}) 行175 + 0x8 字节 C++

  • [quote author="Thijs" date="1303699959"]Looks like this problem?[/quote]

    That case test OK in qt-4.7.2

    Looks not same.

  • Need help!

  • Also crash on Qt 4.7.3(QtSDK 1.1 RC).

    @ QtCored4.dll!670362ca()
    [下面的框架可能不正确和/或缺失,没有为 QtCored4.dll 加载符号]

    msvcr90d.dll!_nh_malloc_dbg_impl(unsigned int nSize=112, int nhFlag=0, int nBlockUse=90580224, const char * szFileName=0x00000000, int nLine=0, int * errno_tmp=0x05662500) 行239 + 0x19 字节 C++
    msvcr90d.dll!_nh_malloc_dbg(unsigned int nSize=33292288, int nhFlag=1, int nBlockUse=90580224, const char * szFileName=0x00000000, int nLine=4096) 行296 + 0x1d 字节 C++

Log in to reply