FS#52160 - [moneymanagerex] Assertion failed and unable to open formerly used database

Attached to Project: Community Packages
Opened by Leon Fürst (lefu) - Wednesday, 14 December 2016, 21:15 GMT
Last edited by Jaroslav Lichtblau (Dragonlord) - Saturday, 07 January 2017, 17:28 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Jaroslav Lichtblau (Dragonlord)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
When starting MMEX 1.3.0 I get:
./src/generic/imaglist.cpp(66): assert "(bitmap.GetWidth() >= m_width && bitmap.GetHeight() == m_height) || (m_width == 0 && m_height == 0)" failed in Add(): invalid bitmap size in wxImageList: this might work on this platform but definitely won't under Windows.

When I continue the normal known bug "locale 'en_GB' cannot be set." occurs.

Then I try to open my last used database and I get a new dialog (Debug report "mmex"). I can only confirm or cancel the dialog and I can't access my database. MMEX closes.

Additional info:
* package version: moneymanagerex 1.3.0-1

Steps to reproduce:
Start moneymanagerex 1.3.0-1. Assertion failed dialog appears. After that try to open formerly used database. Debug dialog opens and MMEX closes afterwards.
This task depends upon

Closed by  Jaroslav Lichtblau (Dragonlord)
Saturday, 07 January 2017, 17:28 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in moneymanagerex-1.3.1-1
Comment by Doug Newgard (Scimmia) - Thursday, 15 December 2016, 14:15 GMT
What is this known bug with locales? What does the debug dialog say?
Comment by Vojtěch Gondžala (vogo) - Friday, 16 December 2016, 17:57 GMT
I've got same problem.

ASSERT INFO:
./src/generic/imaglist.cpp(66): assert "(bitmap.GetWidth() >= m_width && bitmap.GetHeight() == m_height) || (m_width == 0 && m_height == 0)" failed in Add(): invalid bitmap size in wxImageList: this might work on this platform but definitely won't under Windows.

BACKTRACE:
[1] wxGenericImageList::Add(wxBitmap const&)
[2] std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
[3] std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
[4] std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
[5] std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
[6] std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
[7] wxEntry(int&, wchar_t**)
[8] __libc_start_main

Console output:
$ mmex
18:54:09: Warning: Mismatch between the program and library build versions detected.
The library used 3.0 (wchar_t,compiler with C++ ABI 1009,wx containers,compatible with 2.8),
and your program used 3.0 (wchar_t,compiler with C++ ABI 1010,wx containers,compatible with 2.8).
18:54:09: Debug: 2015-12-16 - 2016-12-09
18:54:09: Debug: 2015-12-16 - 2016-09-08
18:54:09: Debug: 2015-12-16 - 2016-08-14
18:54:09: Debug: 2015-12-16 - 2016-04-25
18:54:09: Debug: 2015-12-16 - 2016-04-14
./src/generic/imaglist.cpp(66): assert "(bitmap.GetWidth() >= m_width && bitmap.GetHeight() == m_height) || (m_width == 0 && m_height == 0)" failed in Add(): invalid bitmap size in wxImageList: this might work on this platform but definitely won't under Windows.
Comment by Jaroslav Lichtblau (Dragonlord) - Sunday, 18 December 2016, 10:32 GMT Comment by Anatoly Smaznov (javum) - Tuesday, 27 December 2016, 02:34 GMT

Loading...