Results 1 to 11 of 11

Thread: "Debug Assertion failed" in debug mode

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2008
    Posts
    7
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default "Debug Assertion failed" in debug mode

    I am having problem working in debug mode with QT 4.3.0
    Release works fine
    but when changing to debug mode i get on really innocent lines
    "Debug Assertion failed"

    this line for example:
    Qt Code:
    1. dataPath.toStdWString().c_str();
    To copy to clipboard, switch view to plain text mode 
    (used to be this line: CString searchPath = dataPath.toStdWString().c_str(); )

    it failes on the destructor of the temporary string.
    Has anyone ran into those problems?

    tnx,
    hed

    here is the stack:

    > MSVCR71D.dll!operator delete() + 0x99
    MSVCP71D.dll!std::collate<unsigned short>::do_hash() + 0x2b0
    MSVCP71D.dll!std::basic_string<unsigned short,std::char_traits<unsigned short>,std::allocator<unsigned short> >::_Tidy() + 0x58
    MSVCP71D.dll!std::basic_string<unsigned short,std::char_traits<unsigned short>,std::allocator<unsigned short> >::~basic_string<unsigned short,std::char_traits<unsigned short>,std::allocator<unsigned short> >() + 0x13
    HiroClient.exe!HiroRTLogic_PC_Specific:eleteObsoleteFiles() Line 101 C++
    HiroClient.exe!HiroRTLogic_PC_Specific::BackSuppor tForOldVersions() Line 84 C++
    HiroClient.exe!HiroRTLogic::Init(HiroCodecContaine r * container=0x00538eb0, bool bFromMoviePlayback=false) Line 41 C++
    HiroClient.exe!CHiroClientApp::InitInstance() Line 181 + 0x4a C++
    mfc71ud.dll!AfxWinMain(HINSTANCE__ * hInstance=0x00400000, HINSTANCE__ * hPrevInstance=0x00000000, wchar_t * lpCmdLine=0x00020c70, int nCmdShow=1) Line 39 + 0xb C++
    HiroClient.exe!wWinMain(HINSTANCE__ * hInstance=0x00400000, HINSTANCE__ * hPrevInstance=0x00000000, wchar_t * lpCmdLine=0x00020c70, int nCmdShow=1) Line 25 C++
    HiroClient.exe!wWinMainCRTStartup() Line 390 + 0x39 C
    kernel32.dll!RegisterWaitForInputIdle() + 0x49
    Last edited by jpn; 30th January 2008 at 08:48. Reason: missing tags

Similar Threads

  1. Some very weird compilation warnings
    By MarkoSan in forum Qt Programming
    Replies: 21
    Last Post: 23rd January 2008, 16:48
  2. Debug mode Qt 4.3.2
    By oetzi in forum Newbie
    Replies: 3
    Last Post: 13th October 2007, 18:06
  3. What is debug mode for without MSVC?
    By firegun9 in forum Newbie
    Replies: 1
    Last Post: 5th September 2007, 17:21
  4. Unable to execute in Debug Mode
    By Kapil in forum Installation and Deployment
    Replies: 38
    Last Post: 5th April 2006, 07:27

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.