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
Crash when creating new database & account #5852
Comments
Exact same issue for me. I tried using 1.5.13 and it works OK. |
What version of Windows are you using? What language is Windows set to? What currency are you setting when you create the database? |
Hi,
I use
Windows 11 Pro, 64 bit
Norwegian language.
MMEX will not work on versions above 1.5.13.
My other laptop is
Windows 10 Home, 64 bit
English language
MMEX works fine on the latest update.
Thanks for any help with this issue.
Phil
…On Sun, Apr 23, 2023, 11:51 Martin ***@***.***> wrote:
@phildivalerio2 <https://github.com/phildivalerio2>
Exact same issue for me. I tried using 1.5.13 and it works OK.
What version of Windows are you using?
What language is Windows set to?
What currency are you setting when you create the database?
—
Reply to this email directly, view it on GitHub
<#5852 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALVOKPG3UTFVPOJ5KRMQGJ3XCT3T5ANCNFSM6AAAAAAXFIHLHI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I'd be interested in knowing if anyone using Windows 11, Norwegian, is able to use MMEX. Then I would know that it's something to do with my PC. |
So, a common factor between the original report (see link to the forum post above) and @phildivalerio2's report is having the language in Windows set to Norwegian. It may just be coincidental and not the cause but needs investigation. |
Hello... I post the orginal report. My pc run Windows 11 Home 64 bit mmex crash , only mmex 1.5.13 works Have a surface with Windows 11 Pro 64bit same problem Have tried win 10 64bit same problem |
Even if you create a new empty database? |
The crash happens as I described in the initial post of this issue, i.e. when Finish is clicked on the New Account wizard. The actions listed in my post are transcribed from a video that @birdnes provided. |
Yes. After creating a new and empty database, MMEX crashes. I go through
the process of selecting a currency (I have tried different currencies -
same condition) and bank account, and then MMEX crashes.
…On Sun, Apr 23, 2023 at 11:21 PM Nikolay ***@***.***> wrote:
mmex crash
Even if you create a new empty database?
—
Reply to this email directly, view it on GitHub
<#5852 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALVOKPFO2JS7NVIZQJ7L2FDXCWMNLANCNFSM6AAAAAAXFIHLHI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Can confirm what @phildivalerio2 writing. Have tried several ways with database. |
I see two ways to investigate the problem:
|
Thanks, I'll check it out.
…On Mon, Apr 24, 2023 at 11:10 AM Nikolay ***@***.***> wrote:
1. Try portable version
https://ci.appveyor.com/api/buildjobs/9rrwq399can7klra/artifacts/mmex-1.6.4-Beta.4-win64-portable.zip
2. Could you find and delete all mmexini.db3 files?
—
Reply to this email directly, view it on GitHub
<#5852 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALVOKPG5T67IJL5XQ63SHODXCY7RPANCNFSM6AAAAAAXFIHLHI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@phildivalerio2, @birdnes If you used the installed version previously, then your mmexini.db3 file should be in:
|
I have tried portable version now and deleted all all mmexini.db3 files It didnt help, same crash with mmex |
I'll try with the Beta. I've previously worked exclusively with the
portable version though, which is the one that crashes. The installed
version also crashes. But I'll give it a try.
…On Mon, Apr 24, 2023 at 1:08 PM birdnes ***@***.***> wrote:
I have tried portable version now and deleted all all mmexini.db3 files
It didnt help, same crash with mmex
—
Reply to this email directly, view it on GitHub
<#5852 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALVOKPEVC6U4PIAIKVUNFXLXCZNL7ANCNFSM6AAAAAAXFIHLHI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
If that doesn't work we could use GitHub's history to recompile the 1.5.14 Beta at some points between 1.5.13 and 1.5.14. This would allow us to isolate the commit that first caused this issue. |
Just tell me what to download and try |
1.5.13 released 2022-02-06 I've rebuilt two portable betas from points between those dates. The date and commit are noted in the filenames. Can you please check if either works for you? Note both are x64 builds. |
#5689 is similar |
I have tried now and they are both crashing the same way . |
Here are two more to test, see if either of these work. These are before & after the fmt submodule update: |
I have tried now and they are both working .. No close/crash. Very Nice |
Both crashed for me. |
@birdnes can you please test another? mmex-20220211-a2242cc.zip
The first set or second? |
I tried both, and they both crashed. |
Yes. Of course. Otherwise we'd have 100s of bug reports about it. Your and @birdnes's crashes from 1.5.14 onwards do not occur for (most/all) other users of MMEX. @birdnes reports that the crash using 1.5.14 onwards also happens for them on Windows 10. |
Interesting. I'm surprised the one from 2022-02-06 crashed, that is only a 2 PRs after the 1.5.13 release. Just to test, here is a build of the 1.5.13 release. If this fails for you then perhaps the issue is not MMEX source code but one of the libraries we are linking against. |
I have tried "mmex-20220211-a2242cc.zip" and its crashing the same way "mmex-1.5.13-release.zip" is working normally with no crash |
"mmex-20220210-2af8562.zip" is working normally with no crash |
That narrows it down to PR #4199 which changed the way string formatting works in Model_Currency.cpp Just curious, can you test this version of 1.6.4 where I've updated the fmt submodule from 8.1.1 to 9.1.0? Perhaps some updates to the fmt library have fixed this issue. |
"mmex-1.6.4-fmt_9.1.0.zip" is crashing the same way as before |
Can this information help? |
Norsk ( Norwegian ), but my main pc is English ( Windows 11 ) I mean that i have 1 pc with english system locale and 2 with Norwegian. Several of my friends have tried to install mmex 1.6.3 with same result . Win 10 and 11 64 bit |
Does it crash if you pick a base currency other than NOK when setting up the new DB, such as USD or GBP? |
Yes... Have tried different currency with same result |
Me too. Choosing another currency has ne effect.
…On Thu, Apr 27, 2023 at 7:35 AM birdnes ***@***.***> wrote:
Does it crash if you pick a base currency other than NOK when setting up
the new DB, such as USD or GBP?
Yes... Have tried different currency with same result
—
Reply to this email directly, view it on GitHub
<#5852 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALVOKPAGIRENMTHZWKQBGUTXDIASZANCNFSM6AAAAAAXFIHLHI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I have now tried to change regional settings on windows 11 to english us and mmex 1.6.3 works perfect. I should have tried this before. So is in regional settings the problem is. If i change back to Norwegian again mmex close Running win 11 64 english language |
I have tried to change regional settings with pc running win 11 64 bit with norwegian language. mmex close. Conclusion : Windows 11 64 bit Norwegian language it will not help to change regional settings to english us |
I was able to reproduce the crash by spinning up a Windows 10 VM in Norwegian language, building MMEX on it, and debugging. Crash was an assertion fail due to a null pointer exception thrown here: moneymanagerex/src/model/Model_Currency.cpp Line 259 in 158a936
moneymanagerex/src/model/Model_Currency.cpp Line 271 in 158a936
Removing the |
Great work. Will this fox be implemented in the next update?
…On Mon, May 22, 2023, 22:42 n-stein ***@***.***> wrote:
I was able to reproduce the crash by spinning up a Windows 10 VM in
Norwegian language, building MMEX on it, and debugging. Crash was here:
https://github.com/moneymanagerex/moneymanagerex/blob/158a936f2cf69121b835ecfbc3ebf08cd8e0faf9/src/model/Model_Currency.cpp#L259
and again on
https://github.com/moneymanagerex/moneymanagerex/blob/158a936f2cf69121b835ecfbc3ebf08cd8e0faf9/src/model/Model_Currency.cpp#L271
Removing the .UTF-8 from the default en_US locale resolves the issue.
—
Reply to this email directly, view it on GitHub
<#5852 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALVOKPHHSZTFYVISAAMJHLTXHPFSZANCNFSM6AAAAAAXFIHLHI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Yes, also available now in the beta here: https://ci.appveyor.com/project/whalley/moneymanagerex/build/job/92ef1c3klr94ajdc/artifacts |
MMEX version:
Operating System:
Description of the bug
In forum post https://forum.moneymanagerex.org/viewtopic.php?p=23925 the user reports that MMEX closes (it's due to an ACCESS_VIOLATION exception) when creating a new database & account via the wizard.
In a video that the user recorded, the following actions are performed:
The MMEX window closes without displaying the crash handler dialog.
Reproduction
Is the bug reproducible?
Reproduction steps:
As reported, install any version of MMEX from 1.5.14 through to 1.6.3 and the crash occurs.
Install 1.5.13 and the crash does not occur.
Here's the crash dump that the user provided:
MoneyManagerEx.xml.zip
The text was updated successfully, but these errors were encountered: