Replies: 8 comments 5 replies
-
You can try to use program tracing: https://github.com/pyinstaller/pyinstaller/wiki/Program-Tracing (modify it to log output to a file). Keep in mind this will generate a LOT of data (it could be up to 500 MB), and you will need to reduce it to the crash. But it does give you a starting point. |
Beta Was this translation helpful? Give feedback.
-
Sounds like a dreadful job! Ill take a look and see if i can use it in my situation! So frustrating that it only happens in Pyinstaller! |
Beta Was this translation helpful? Give feedback.
-
Any other recommendations? Is there any types of crash logs or something, this error is not generated by my code its only happening when compiled with pyinstaller |
Beta Was this translation helpful? Give feedback.
-
I'm afraid that without a way to reproduce this problem (e.g., by a minimal example that triggers it, even if occassionally) you're pretty much on your own. |
Beta Was this translation helpful? Give feedback.
-
I can replicate it, but its random. I cannot point to why and where its happening! I looked at the event logs on the machine and see that theres some "stack overflow" exceptions but nothing more than that |
Beta Was this translation helpful? Give feedback.
-
What packages are you using in your application? |
Beta Was this translation helpful? Give feedback.
-
Pretty long list, but it seems like the overflow is happening with threading and PyZMQ! I have a bunch threads that is waiting on responses from Queues. |
Beta Was this translation helpful? Give feedback.
-
Just got the crash while running it with https://docs.python.org/3/library/faulthandler.html I got a traceback on the recent calls + "Windows Fatal exception: stack overflow" |
Beta Was this translation helpful? Give feedback.
-
Hi!
I have an app where i am using a lot of threading, Project works fine not compiled with Pyinstaller but when using Pyinstaller one of the processes randomly dies without having any errors or expectation logged at random times.
Do anyone have any tips on debugging this and figuring out why this is happening? Ive looked at the memory and its not high at the point where it "would" crash. The crashes are also very random, i cannot always reproduce it.
any help would be appreciated!
Beta Was this translation helpful? Give feedback.
All reactions