Qt error:exception at 0x58083aea,: Read access violation at:0x0, flags=0x0 (first

Source: Internet
Author: User

When using QT5, just start fortunately, the result needs to add something when the error, as follows:

Error:exception at 0x58083aea, code:0xc0000005:read access violation at:0x0, flags=0x0 (first chance)

Looking for a long time did not solve, the last brother to find, originally I defined an action:qaction*savefileaction

A subdirectory was created:filemenu->addaction (savefileaction);

But there is no assignment to the savefileaction or allocation area, it should be considered not assigned to use it directly! Then there was an error:

Error:exception at 0x58083aea, code:0xc0000005:read access violation at:0x0, flags=0x0 (first chance)

The reason why I did not find the error, part of the reason is that this error is likely not to be false, I was added a member variable when the problem occurs!

Generally speaking, this error is mostly a pointer problem!




Qt error:exception at 0x58083aea,: Read access violation at:0x0, flags=0x0 (first

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.