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. QFileSystemModel setRootPath segfault
QtWS25 Last Chance

QFileSystemModel setRootPath segfault

Scheduled Pinned Locked Moved Unsolved General and Desktop
pyqt4pyqtlinux
3 Posts 2 Posters 1.5k 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.
  • J Offline
    J Offline
    jdwiegman
    wrote on 3 Nov 2015, 23:05 last edited by
    #1

    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.

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mcosta
      wrote on 4 Nov 2015, 01:22 last edited by
      #2

      HI and welcome to devnet,

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

      Once your problem is solved don't forget to:

      • Mark the thread as SOLVED using the Topic Tool menu
      • Vote up the answer(s) that helped you to solve the issue

      You can embed images using (http://imgur.com/) or (http://postimage.org/)

      1 Reply Last reply
      0
      • J Offline
        J Offline
        jdwiegman
        wrote on 4 Nov 2015, 16:18 last edited by
        #3

        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.

        1 Reply Last reply
        0

        3/3

        4 Nov 2015, 16:18

        • Login

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