The MMEX does not start after update on linux

MMEX4Desktop, incl. Windows, macOS (10.10 or newer), and Most Unix variants using the GTK+ toolkit

Moderator: Renato

ni1son
New MMEX User
Posts: 1
Joined: Thu Dec 15, 2016 9:15 am
Are you a spam bot?: No

The MMEX does not start after update on linux

Post by ni1son »

Hi!

My platform Linux 4.8.13-1-ARCH x86_64. After attempting to start the application appear this error:

Code: Select all

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


And after I click the continue button see next error:

Code: Select all

12:21:13: ACCOUNTLIST_V1: Exception SQL logic error or missing database[1]: no such column: STATEMENTLOCKED
12:21:13: ACCOUNTLIST_V1: Exception SQL logic error or missing database[1]: no such column: STATEMENTLOCKED
Attached mmex.xml to this post.
Attachments
mmex.xml
(38.09 KiB) Downloaded 471 times
mmex.xml
(38.09 KiB) Downloaded 514 times
Nikolay
MMEX Developer
Posts: 1535
Joined: Sat Dec 06, 2008 2:27 pm
Are you a spam bot?: No
Location: Sankt-Petersburg, Russia

Re: The MMEX does not start after update on linux

Post by Nikolay »

mmexsidhu
New MMEX User
Posts: 11
Joined: Tue Jan 10, 2017 12:31 am
Are you a spam bot?: No

Re: The MMEX does not start after update on linux

Post by mmexsidhu »

That fix does not work on my manjaro setup. The suggested file to be modified does not exist.
mmexsidhu
New MMEX User
Posts: 11
Joined: Tue Jan 10, 2017 12:31 am
Are you a spam bot?: No

Re: The MMEX does not start after update on linux

Post by mmexsidhu »

The file referenced for modification does not exist on my Manjaro system.
Nikolay
MMEX Developer
Posts: 1535
Joined: Sat Dec 06, 2008 2:27 pm
Are you a spam bot?: No
Location: Sankt-Petersburg, Russia

Re: The MMEX does not start after update on linux

Post by Nikolay »

The fix I've provided is not for system but for mmex source code.
mmex v1.3.1 is this bug free.
mmexsidhu
New MMEX User
Posts: 11
Joined: Tue Jan 10, 2017 12:31 am
Are you a spam bot?: No

Re: The MMEX does not start after update on linux

Post by mmexsidhu »

Thanks for the bug fix Nickolay. The startup windows comes up error-free. However a data file cannot be opened. See attached debug report.
Attachments
mmex.xml
(37.86 KiB) Downloaded 524 times
mmex.xml
(37.86 KiB) Downloaded 482 times
Nikolay
MMEX Developer
Posts: 1535
Joined: Sat Dec 06, 2008 2:27 pm
Are you a spam bot?: No
Location: Sankt-Petersburg, Russia

Re: The MMEX does not start after update on linux

Post by Nikolay »

Here is a short instraction how to use debugger   https://github.com/moneymanagerex/money ... an-Ubuntu)
mmexsidhu
New MMEX User
Posts: 11
Joined: Tue Jan 10, 2017 12:31 am
Are you a spam bot?: No

Re: The MMEX does not start after update on linux

Post by mmexsidhu »

[sidhu@manjaro ~]$ gdb mmex
GNU gdb (GDB) 7.12
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from mmex...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/mmex
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
19:18:56: 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).
[New Thread 0x7fffe038e700 (LWP 13326)]
[New Thread 0x7fffdfb8d700 (LWP 13327)]
[Thread 0x7fffdfb8d700 (LWP 13327) exited]
[Thread 0x7ffff7f87e00 (LWP 13322) exited]
[Inferior 1 (process 13322) exited with code 0377]
(gdb) run
Starting program: /usr/bin/mmex
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
19:19:08: 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).
19:19:08: Debug: Coping file:
 /usr/share/mmex/res/mmex.ico
to
 /tmp/mmex_sidhu_tmp/mmex.ico
19:19:08: Debug: Coping file:
 /usr/share/mmex/res/home_page.htt
to
 /tmp/mmex_sidhu_tmp/home_page.htt
19:19:08: Debug: Coping file:
 /usr/share/mmex/res/kaching.wav
to
 /tmp/mmex_sidhu_tmp/kaching.wav
19:19:08: Debug: Coping file:
 /usr/share/mmex/res/sorttable.js
to
 /tmp/mmex_sidhu_tmp/sorttable.js
19:19:08: Debug: Coping file:
 /usr/share/mmex/res/master.css
to
 /tmp/mmex_sidhu_tmp/master.css
19:19:08: Debug: Coping file:
 /usr/share/mmex/res/ChartNew.js
to
 /tmp/mmex_sidhu_tmp/ChartNew.js
19:19:09: Debug: 2016-08-16 - 2017-01-05
19:19:09: Debug: 2016-08-16 - 2016-12-28
19:19:09: Debug: 2016-08-16 - 2016-12-09
19:19:09: Debug: 2016-08-16 - 2016-09-08
19:19:09: Debug: 2016-08-16 - 2016-08-14
19:19:09: Debug: 2016-08-16 - 2016-04-25
19:19:09: Debug: 2016-08-16 - 2016-04-14
19:19:09: Debug: 2016-08-16 - 2016-02-29
19:19:09: Debug: 2016-08-16 - 2015-12-21
19:19:09: Debug: 2016-08-16 - 2015-06-05
[New Thread 0x7fffe00cf700 (LWP 13360)]
[New Thread 0x7fffd78ce700 (LWP 13361)]
[New Thread 0x7fffdf1f7700 (LWP 13362)]
http://www.google-analytics.com/collect ... 1761-6&v=1
User-Agent: Linux 4.7.10-1-MANJARO x86_64

Got reply:
GIF89a
[Thread 0x7fffdf1f7700 (LWP 13362) exited]
mmexsidhu
New MMEX User
Posts: 11
Joined: Tue Jan 10, 2017 12:31 am
Are you a spam bot?: No

Re: The MMEX does not start after update on linux

Post by mmexsidhu »

bt
^C
Thread 1 "mmex" received signal SIGINT, Interrupt.
0x00007ffff4acc48d in poll () from /usr/lib/libc.so.6
(gdb) bt
#0  0x00007ffff4acc48d in poll () at /usr/lib/libc.so.6
#1  0x00007ffff3bdd786 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007ffff3bddb12 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#3  0x00007ffff44db3a7 in gtk_main () at /usr/lib/libgtk-x11-2.0.so.0
#4  0x00007ffff65c4165 in wxGUIEventLoop::DoRun() ()
    at /usr/lib/libwx_gtk2u_core-3.0.so.0
#5  0x00007ffff5afc223 in wxEventLoopBase::Run() ()
    at /usr/lib/libwx_baseu-3.0.so.0
#6  0x00007ffff664746d in wxDialog::ShowModal() ()
    at /usr/lib/libwx_gtk2u_core-3.0.so.0
#7  0x00000000005f12c7 in  ()
#8  0x00000000005f2e68 in  ()
#9  0x00000000005ce129 in  ()
#10 0x00000000005cf058 in  ()
#11 0x00007ffff5b4e202 in wxEntry(int&, wchar_t**) ()
    at /usr/lib/libwx_baseu-3.0.so.0
#12 0x0000000000477152 in  ()
#13 0x00007ffff4a0d291 in __libc_start_main () at /usr/lib/libc.so.6
#14 0x000000000048487a in  ()
(gdb)
mmexsidhu
New MMEX User
Posts: 11
Joined: Tue Jan 10, 2017 12:31 am
Are you a spam bot?: No

Re: The MMEX does not start after update on linux

Post by mmexsidhu »

Not being a developer, I'm curious if this warning has any relevance to the non working of the application. 19:19:08: 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).

Sent from my Nexus 6 using Tapatalk
Post Reply