Qt error: Exception at 0x58083aea,: read access violation at: 0x0, flags = 0x0 (first, 0x58083aea0x0

Source: Internet
Author: User

Qt error: Exception at 0x58083aea,: read access violation at: 0x0, flags = 0x0 (first, 0x58083aea0x0

When Qt5 is used, it is okay at the beginning, and an error is returned when the result needs to be added, as shown below:

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

I haven't solved the problem for a long time. Finally, my senior friend found out that I defined an action: QAction * saveFileAction.

Create a sub-Directory: fileMenu-> addAction (saveFileAction );

However, if saveFileAction is not assigned a value or a region, it should be used without a value! So an error occurs:

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

The error was not found at the beginning, in part because it may not be reported. I encountered a problem when I added a new member variable!

Generally, this error is caused by pointer errors!


Zookeeper

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.