Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-39

Segmentation fault in QtGui.QStatusBar.__init__

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 1.1.0, 1.2.x
    • PySide
    • None
    • linux-3.3
      python-2.7.2
      amd64

    Description

      $ ./test
      starting camelot
      Password:
      DEBUG:camelot.view.main:sqlalchemy version 0.7.6
      DEBUG:camelot.view.main:elixir version 0.8.0dev
      DEBUG:camelot.view.model_thread.34471088:model thread constructed
      WARNING:camelot.core.conf:no such settings attribute : CAMELOT_SERVER
      DEBUG:remote_signals:not connected to a server
      DEBUG:camelot.view.model_thread.34471088:model thread started
      DEBUG:camelot.view.model_thread.signal_slot_model_thread:TaskHandler created.
      DEBUG:settings:loaded model from model
      DEBUG:camelot.view.model_thread.34471088:thread setup finished
      DEBUG:camelot.view.model_thread.signal_slot_model_thread:executing load_translations
      INFO:camelot.admin.application_admin:using locale en_IE
      DEBUG:camelot.admin.application_admin:try en_IE/LC_MESSAGES/camelot
      DEBUG:camelot.admin.application_admin:try en_IE/LC_MESSAGES/camelot.qm
      DEBUG:camelot.admin.application_admin:try en_IE/LC/camelot
      DEBUG:camelot.admin.application_admin:try en_IE/LC/camelot.qm
      DEBUG:camelot.admin.application_admin:try en/LC_MESSAGES/camelot
      DEBUG:camelot.admin.application_admin:try en/LC_MESSAGES/camelot.qm
      DEBUG:camelot.admin.application_admin:try en/LC/camelot
      DEBUG:camelot.admin.application_admin:try en/LC/camelot.qm
      DEBUG:camelot.admin.application_admin:no camelot translations found for en_IE
      DEBUG:camelot.view.mainwindow:initializing main window
      DEBUG:camelot.view.mainwindow:setting up workspace
      DEBUG:camelot.view.mainwindow:setting child windows dictionary
      DEBUG:camelot.view.mainwindow:setting central widget to our workspace
      DEBUG:camelot.view.model_thread.signal_slot_model_thread:executing get_actions -> DesktopBackground.set_actions
      DEBUG:camelot.view.mainwindow:creating navigation pane
      DEBUG:camelot.view.mainwindow:creating the menus
      DEBUG:camelot.view.model_thread.signal_slot_model_thread:executing get_sections -> MainWindow.set_sections
      DEBUG:camelot.view.mainwindow:creating the toolbars
      DEBUG:camelot.view.model_thread.signal_slot_model_thread:executing get_main_menu -> MainWindow.set_main_menu
      DEBUG:camelot.view.mainwindow:creating status bar
      DEBUG:camelot.view.model_thread.signal_slot_model_thread:executing get_toolbar_actions -> MainWindow.set_left_toolbar_actions
      Fatal Python error: Segmentation fault

      Current thread 0x00007fcaf93ca700:
      File "/usr/lib/python2.7/site-packages/camelot/view/model_thread/signal_slot_model_thread.py", line 60 in execute
      File "/usr/lib/python2.7/site-packages/camelot/view/model_thread/signal_slot_model_thread.py", line 112 in handle_task
      File "/usr/lib/python2.7/site-packages/camelot/view/model_thread/signal_slot_model_thread.py", line 170 in run

      Thread 0x00007fcb0d639740:
      File "/usr/lib/python2.7/site-packages/camelot/view/controls/statusbar.py", line 36 in _init_
      File "/usr/lib/python2.7/site-packages/camelot/view/mainwindow.py", line 277 in create_status_bar
      File "/usr/lib/python2.7/site-packages/camelot/view/mainwindow.py", line 93 in _init_
      File "/usr/lib/python2.7/site-packages/camelot/admin/application_admin.py", line 230 in create_main_window
      File "/usr/lib/python2.7/site-packages/camelot/view/main.py", line 132 in create_main_window
      File "/usr/lib/python2.7/site-packages/camelot/view/main.py", line 222 in main
      File "/usr/lib/python2.7/site-packages/camelot/view/main.py", line 240 in main
      File "main.py", line 16 in <module>
      ./test: line 13: 3702 Segmentation fault python main.py

      from PySide import QtGui
      from camelot.view.model_thread import get_model_thread

      class StatusBar(QtGui.QStatusBar):

      def _init_(self, parent):
      QtGui.QStatusBar._init_(self, parent)

      the program was working with pyside-1.0.9

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            treeve Treeve Jelbert
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes