Important: Please read the Qt Code of Conduct -

QFileSystemModel setRootPath segfault

  • Really strange problem...

    I am getting a segfault when QFileSystem::setRootPath is called in a dialog, but only in alternate runs of the software. For example, the software will run, file dialog comes up ok. I shut the application down, relaunch, and the dialog segfaults.

    Any ideas on what to look for?

    Using PyQt4 on Ubuntu 15.04.

  • HI and welcome to devnet,

    you can have a look to the crash dump and check in which condition it happens.

  • The crash dump only tells me that its a shared memory error, I can't seem to get more detail than that.

    It seems related to the system clock time (my application lets users change the time), if it has changed that is when the crashing is occuring.

Log in to reply