-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A 64 bits build on Windows crash on exit #16923
Comments
Author Name: Jürgen Fischer (@jef-n) Produce a backtrace please. |
Author Name: Joaquim Luis (@joa-quim) Here goes the dump file |
Author Name: Joaquim Luis (@joa-quim) Dump file did not go through. Size limits? |
Author Name: Gerhard Spieles (Gerhard Spieles) confirm crash while exit on win7 64bit.
|
Author Name: Joaquim Luis (@joa-quim) Tried to build a debug version but errors at
|
Author Name: Jürgen Fischer (@jef-n) Joaquim Luis wrote:
Try RelWithDebInfo |
Author Name: Joaquim Luis (@joa-quim) OK, that worked. The crash dump is now 10 Mb It crashes in the QgisApp::~QgisApp() destructor, near its end at mPythonUtils->exitPython(); Attached a screencapture of the VS dump summary.
|
Author Name: Matthias Kuhn (@m-kuhn) That call was inserted recently to cleanup the python environment. Did you execute any python code (plugins/console?) Could you still upload the full dump to investigate this. |
Author Name: Joaquim Luis (@joa-quim) No no python code executed. Only opening and close causes the dump generation. |
Author Name: Giovanni Manghi (@gioman) Joaquim Luis wrote:
dropbox? |
Author Name: Joaquim Luis (@joa-quim) zipped the file size dropped to 1.4 Mb so it should pass now
|
Author Name: Matthias Kuhn (@m-kuhn) I just realized, that I am not even able to extract a backtrace from the dump file without the matching binaries. I am not even sure, that the binaries would help (I remember .pdb files being important as well but that was with another compiler setup...) The possibilities I can think of to proceed are:
Sorry for the inconvenience. |
Author Name: Joaquim Luis (@joa-quim) I have some experience with VS debugging but never with a dump file so I don't really know how it would work. I'm afraid that in order it work elsewhere I would have to make a copy of everything, including all the DLLs dependencies. Sorry, I don't know either what is a backtrace. How would I produce one? Gerhard, if you are following this, can you please elaborate more about your setup? |
Author Name: Matthias Kuhn (@m-kuhn) Maybe you did not compile / load the python library at all?
|
Author Name: Joaquim Luis (@joa-quim) Things are getting better. With that condition it now exits cleanly but your question makes me think there is something I'm not doing write with my build. Basically what I'm doing is to include a CmakeUser.cmake file with path definitions and than run cmake & nmake. However, afaik only grass and postgres are not used here. For example, I can see in the CMakeCache.txt a line with PYTHON_LIBRARY:FILEPATH=C:/programs/WinPython2.7.3_64/python-2.7.3.amd64/libs/python27.lib so doesn't that mean I am compiling with python (and wouldn't it error if I was not?) |
Author Name: Matthias Kuhn (@m-kuhn) Closing as the original issue is solved. It would not complain if you have no python support (to test, try to open the python console from the menu, if it does not open you have no python support) Sorry, I can't solve the problems you just outlined.
|
Author Name: Joaquim Luis (@joa-quim) OK, I'll provide feedback on that issue of the developers list but I found bit more on this and another trouble. |
Author Name: Joaquim Luis (@joa-quim)
Original Redmine Issue: 8085
Affected QGIS version: master
Hi,
I built a 64 bits version using pure native dependencies, that is everything id build with VS2010 64 bits.
Although it seams to work fine the exe crash on exit but writes a minidump file (~8 Mb).
I can upload the dump if anyone is interested.
Joaquim
The text was updated successfully, but these errors were encountered: