-
Notifications
You must be signed in to change notification settings - Fork 134
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
Import or export xml records crashes 3.0.x Win app #711
Comments
Hello, |
Tried tonight's build and several others. Same results. |
Thanks for trying that. I appreciate it's frustrating that it's still not working, but you have helped eliminate a fair few possibilities by doing that. I will have a think about other things we can try - either to reproduce the problem on a developer machine or to get more diagnostics out of your system (eg via adding more logging to the code). |
From the logs you uploaded, it's looking like the crash is inside Is there any info in the Windows Event Viewer that might help us? (If it's not something you've used before, there is eg a how-to at https://kb.blackbaud.com/knowledgebase/Article/75433.) |
Here's some from win11: w11_bt3.0.5,3.0.5x_2023-01-05.txt The latter is the 3.0.5 release and several daily builds since it and do not all correspond to your 3.0.x. I can't remember which exact ones they were. I'll get some from win10 too. Let me know they may be easier to read in .xml, .csv or .evtx |
Thanks for these. According to https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-erref/596a1078-e883-4972-9bbc-49e60bebca55, It would be great to get a core dump or a stack trace but I'm not sure how to enable this on Windows. It's possible @mattiasmaahl might know. I will also have a think about whether we can add more diagnostics. |
It's also at least possible that this is a packaging issue. If there is some error in the way the package is being built then it would explain why I don't see the problem on my Windows VM where I'm just running what's built from source. When I get some time, I'll try doing an install from packages. |
Here are the win10: |
Thanks for these. Looks like the content is very similar to the win11 ones. I can now reproduce the problem, by installing from the package rather than building from source. That's good news because it tells us where to look. The looking may take a while as I'm not as familiar with how to do certain things on Windows as on Linux, but I'll keep plugging away. |
I've managed to get a rudimentary stack trace with WinDbg. Looks like we're missing symbols for the Brewtarget executable, so I might see if I can get the build process to add them in, which would give us better diagnostics.
|
I finally got a tool-chain working on w10 and did a native build with MSYS2. I will start other threads with its problems (like permissions issues on |
That's good news. |
Here is the log from my Here are the logs after exporting all hop and yeast records. No Errors. No App crashes. |
I'm going to close this, as it seems like you got things working in the end, and we did make the promised build system improvements along the way to BeerJSON. If you hit more problems, please don't hesitate to open another ticket. |
Tested with two Windows machines, win11 v21H2 and win10 v??. This has occurred with releases 3.0.4, 3.0.2, 3.0.1, 3.0.0 on both. Haven't tried 3.0.5 yet, but don't see it listed as a fix or even an issue for this release.
Don't know if I've tried all record sets but recipes, yeasts, ferms, misc, styles all crash, by rt-click and from the menu, with single records and multiple and whole set.
I turned on debug level logs with a clean reinstall of 3.0.4. One I think had a normal shutdown in it.
brewtarget.log
brewtarget_2023_01_04_23_06_50_128.log
The text was updated successfully, but these errors were encountered: