Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #92872

[Solved] Python.exe has stopped working

Newsgroups comp.lang.python
Date 2015-06-19 00:01 -0700
References <8a6ed08d-7dd6-4a4a-a466-9d3ad98f8dff@googlegroups.com> <c5370bc0-00ee-49be-9ecd-2e25008a78c5@googlegroups.com><mkrp99$b6d$1@dont-email.me> <mailman.216.1433590803.13271.python-list@python.org>
Message-ID <ea13e85b-bb82-4cb2-99d7-5296ebce733c@googlegroups.com> (permalink)
Subject [Solved] Python.exe has stopped working
From Alexis Dubois <alex@duboaa.net>

Show all headers | View raw


Le samedi 6 juin 2015 13:40:13 UTC+2, Laura Creighton a écrit :
> In a message of Fri, 05 Jun 2015 11:15:31 +0200, Christian Gollwitzer writes:
> >Am 05.06.15 um 11:03 schrieb Alexis Dubois:
> >> Anyone else for an idea on that?
> >>
> >Well, it is a crash on exit. Looks like a memory error inside of PyQT. 
> >If you've got the time, you could run it inside of a debugger, or 
> >better, a memory checker like AppVerifier to find the culprit. These 
> >things are usually quite hard to diagnose, and unless someone has seen 
> >it here already, the fun starts now ;) Another possible reason might be 
> >mixing up DLLs from PyQT and another QT installation. You can find out 
> >by listing all loaded DLLs when the program is running, e.g. from a 
> >debugger or this tool: 
> >https://technet.microsoft.com/sysinternals/bb896653.aspx
> >
> >	Christian
> >-- 
> >https://mail.python.org/mailman/listinfo/python-list
> 
> I don't have a windows machine, so I cannot do any more looking for this,
> but this may be relevant.
> http://stackoverflow.com/questions/20102419/pyqt-5-error-on-exit
> 
> Laura

Hello Everybody,
Thank you for your support and sorry for the late answer, I'm back from holidays.
I tried each solution but unfortunately, nothing works.
Finally, I solved my issue by adding "sip.setdestroyonexit(False)" just before "sys.exit(app.exec_())"
I don't really know what it does but it works well and I don't see any beside effect.
It seems that my issue was linked with a QtGui4.dll crash.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Python.exe has stopped working Alexis Dubois <alex@duboaa.net> - 2015-06-02 06:09 -0700
  Re: Python.exe has stopped working Laura Creighton <lac@openend.se> - 2015-06-02 16:12 +0200
    Re: Python.exe has stopped working Alexis Dubois <alex@duboaa.net> - 2015-06-02 07:29 -0700
  Re: Python.exe has stopped working Alexis Dubois <alex@duboaa.net> - 2015-06-05 02:03 -0700
    Re: Python.exe has stopped working Christian Gollwitzer <auriocus@gmx.de> - 2015-06-05 11:15 +0200
      Re: Python.exe has stopped working Laura Creighton <lac@openend.se> - 2015-06-06 13:39 +0200
        [Solved] Python.exe has stopped working Alexis Dubois <alex@duboaa.net> - 2015-06-19 00:01 -0700
    Re: Python.exe has stopped working Stephen Hansen <me+python@ixokai.io> - 2015-06-05 09:24 -0700

csiph-web