crashing when changing preferences

Help
schmolch
2005-01-26
2013-04-26
  • schmolch
    schmolch
    2005-01-26

    Hi!

    Whenever i change something in the preferences-menu (like fonts) and i click 'save' and then 'close' it immediately crashes. The only message i get when i start it from a terminal is "Segmentation Fault".
    I tried the last few releases, running on Gentoo Linux.
    Is this a known issue?

    wxpython 2.5.31
    python 2.3.4
    drpython 3.9.3

     
    • Hmm, one user had some time ago a similar problem.
      (it had to do with toolbar, IIRC)

      What if you save your program directory and
      preferences and try a new fresh install.
      Do you have the same problems?
      Save is ok, and if you want to close the dialog,
      only then drPython crashes?

      whatever you change?

      If so, what happen, if you comment out in drPrefsDialog.py

      def OnbtnClose(self, event):
      =>#self.OnCloseW(None)
      =>self.EndModal(0)
      or is then EndModal the problem (i cannot imagine).

       
    • Yes.  I imagine you are running the gtk1 port of wxpython 2.5.3.1?

      Unfortunately there is a nasty issue with closing ANY dialog.  Ditto for the wxpython demo apps.  Instant Segfault.  You need to either run the gtk1 port of wxpython 2.5.2.8, or the gtk2 port of wxpython 2.5.3.1.

      (although I recommend the gtk1 port for speed reasons).

       
    • schmolch
      schmolch
      2005-01-29

      I dont know why but its not crashing anymore.
      A while ago i had this issue where python and some other package where compiled by different versions off gcc (i recompiled and it was fixed).
      Maybe when i reboot some things got "cleaned up".