Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Closing Scribus Main Window Crashes
QtWS25 Last Chance

Closing Scribus Main Window Crashes

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 179 Views
  • 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
    SreerajP
    wrote on last edited by
    #1

    Hi,

    We have added a plugin to Scribus (a Qt application). This plugin will create windows on two sides and a toolbar on top. Also it will add two menus to the main menu bar. Now if we close the main application the application is crashing. This happens at the SaveState() for main window

    Visual Studio is showing the following error. This comes from qobject.h file Any help on how to find out the issue is really appreciable

    Exception thrown: read access violation.
    obj->**** was 0x94269C8.

    1 Reply Last reply
    0
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Use a debugger, take a look where it crashes and add some debug outputs... Maybe a double free.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      0

      • Login

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