[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyQt] crash on app exit only if sys.exit
From:       oliver <oliver.schoenborn () gmail ! com>
Date:       2015-07-30 22:32:23
Message-ID: CAMb+DaV=aOjgiwQNzAuzNXC-9y7_h=L3TkERcUxTURitfRp1ag () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Using PyQt 5.3 (from binary distribution), our application exits fine if
the last line is app.exec(), but it crashes intermittently on exit if the
last line is sys.exit(app.exec()). Based on documentation & examples &
search, calling sys.exit() should be fine. So I'm thinking that whatever is
causing this is still a problem but "normal" exit (by reaching end of
python file) does something differently (maybe GC) that doesn't trigger the
area of memory that got corrupted. Any suggestions would be much
appreciated.

-- 
Oliver
Author of these Open Source: PyPubSub <http://pubsub.sf.net>, Lua-iCxx
<http://lua-icxx.sf.net>, iof <http://iof.sf.net>
Regular contributor on StackOverflow
<http://stackoverflow.com/users/869951/schollii>

[Attachment #5 (text/html)]

<div dir="ltr">Using PyQt 5.3 (from binary distribution), our application exits fine \
if the last line is app.exec(), but it crashes intermittently on exit if the last \
line is sys.exit(app.exec()). Based on documentation &amp; examples &amp; search, \
calling sys.exit() should be fine. So I&#39;m thinking that whatever is causing this \
is still a problem but &quot;normal&quot; exit (by reaching end of python file) does \
something differently (maybe GC) that doesn&#39;t trigger the area of memory that got \
corrupted. Any suggestions would be much appreciated.  <br \
clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><font \
size="2">Oliver</font><div><font size="1">Author of these Open Source: <a \
href="http://pubsub.sf.net" target="_blank">PyPubSub</a>, L<a \
href="http://lua-icxx.sf.net" target="_blank">ua-iCxx</a>, <a \
href="http://iof.sf.net" target="_blank">iof</a></font></div><div><font \
size="1">Regular contributor on  <a \
href="http://stackoverflow.com/users/869951/schollii" \
target="_blank">StackOverflow</a></font></div><div><br></div><div></div></div></div> \
</div>


[Attachment #6 (text/plain)]

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic