Moneymanagerex: Random crashes on linux mint 20.1

Created on 7 Apr 2021  路  9Comments  路  Source: moneymanagerex/moneymanagerex

Describe the bug
MMEX randomly crashes on taping on build-in reports selection. Sometimes on first selected report, sometimes after 2nd or 3rd sequentially. Same on tapping Help on the left side navigation bar.

To Reproduce
Steps to reproduce the behavior:

Go to 'Reports'
Click on 'Any report' then keep clicking on some other reports
See error: mmex crashed generating a 'Debug Report'

Your OS:

Linux Mint 20.1 "Ulyssa"
Linux 5.8.0-48-generic x86_64

(UTF-8)
1920x1080 24bit 24x24ppi

MMEX version:

1.5.0-rc.2 64 bit

Development version (git master branch), installed package: mmex_1.5.0-RC.2-1.tessa_amd64.deb
Database version: 7
Git commit: aes128cbc (2021-28-03)

My best regards
Avi
mmex.xml.txt

bug duplicate linux

All 9 comments

I've made some changes after this release.
Could you test newest build?
https://travis-ci.org/github/moneymanagerex/moneymanagerex/builds/766141659

I tried to build master from source, but it ends up with errors:

cmake -DCMAKE_BUILD_TYPE=Release ..
-- Checking for one of the modules 'libcurl'
-- Found CURL: /usr/lib/x86_64-linux-gnu/libcurl.so (found version "7.68.0")
-- Found RapidJSON: /home/avi/git/moneymanagerex/3rd/rapidjson/include
CMake Error at 3rd/CMakeLists.txt:34 (add_subdirectory):
  add_subdirectory given source "lunasvg/include" which is not an existing
  directory.
CMake Error at 3rd/CMakeLists.txt:35 (add_subdirectory):
  add_subdirectory given source "lunasvg/source" which is not an existing
  directory.
CMake Error at 3rd/CMakeLists.txt:36 (add_subdirectory):
  add_subdirectory given source "lunasvg/3rdparty/stb" which is not an
  existing directory.
CMake Error at 3rd/CMakeLists.txt:37 (add_subdirectory):
  add_subdirectory given source "lunasvg/3rdparty/software" which is not an
  existing directory.
CMake Error at 3rd/CMakeLists.txt:38 (add_subdirectory):
  add_subdirectory given source "lunasvg/3rdparty/plutovg" which is not an
  existing directory.
CMake Error at 3rd/CMakeLists.txt:173 (file):
  file STRINGS file
  "/home/avi/git/moneymanagerex/3rd/wxsqlite3/include/wx/wxsqlite3_version.h"
  cannot be read.
CMake Error at 3rd/CMakeLists.txt:176 (string):
  string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
  command.
CMake Warning at CMakeLists.txt:683 (message):
  Unknown Linux distribution - generating generic package.

-- MMEX configuration summary
-- ==========================
-- Version        : 1.5.1-Alpha.1
-- Host system    : Linux x86_64
-- Target system  : Linux x86_64
-- Build types    : Release
-- Generator      : Unix Makefiles
-- Install prefix : /usr/local
-- DB encryption  : ON
-- 
-- Versions
-- --========--
-- Linux 5.8.0-48-generic
-- Linuxmint 20.1 'ulyssa'
-- CMake 3.16.3
-- GNU Make 4.2.1
-- ccache
-- GNU 9.3.0
-- wxWidgets 3.0.4
-- Lua 5.3.3
-- curl 7.68.0
-- gettext 0.19.8.1
-- ------------------ 8< -----------------
-- Configuring incomplete, errors occurred!
See also "/home/avi/git/moneymanagerex/build/CMakeFiles/CMakeOutput.log".

git submodule update

Here is my attempt to build mmex on Ubunru:
https://github.com/moneymanagerex/moneymanagerex/issues/2472

I followed your build steps, but I'm still getting errors...

-- MMEX configuration summary
-- ==========================
-- Version        : 1.5.1-Alpha.1
-- Host system    : Linux x86_64
-- Target system  : Linux x86_64
-- Build types    : Release
-- Generator      : Unix Makefiles
-- Install prefix : /usr/local
-- DB encryption  : ON
-- 
-- Versions
-- --========--
-- Linux 5.8.0-48-generic
-- Linuxmint 20.1 'ulyssa'
-- CMake 3.16.3
-- GNU Make 4.2.1
-- ccache 3.7.7
-- GNU 9.3.0
-- wxWidgets 3.1.3
-- Lua 5.3.3
-- curl 7.68.0
-- gettext 0.19.8.1
-- ------------------ 8< -----------------
-- Configuring incomplete, errors occurred!
See also "/home/avi/git/moneymanagerex/build/CMakeFiles/CMakeOutput.log".

Please check that 3rd\lunasvg folder are not empty

fix it by command from moneymanagerex folder
$ git submodule update --init --recursive

OK made it... looks like i was missing wxSQLite3 4.6.0

`-- MMEX configuration summary
-- ==========================
-- Version        : 1.5.1-Alpha.1
-- Host system    : Linux x86_64
-- Target system  : Linux x86_64
-- Build types    : Release
-- Generator      : Unix Makefiles
-- Install prefix : /usr/local
-- DB encryption  : ON
-- 
-- Versions
-- --========--
-- Linux 5.8.0-48-generic
-- Linuxmint 20.1 'ulyssa'
-- CMake 3.16.3
-- GNU Make 4.2.1
-- ccache 3.7.7
-- GNU 9.3.0
-- wxWidgets 3.1.3
-- wxSQLite3 4.6.0
-- Lua 5.3.3
-- curl 7.68.0
-- gettext 0.19.8.1
-- ------------------ 8< -----------------
-- Configuring done
-- Generating done
-- Build files have been written to: /home/avi/git/moneymanagerex/build`

I'll now test it some more and let you know...

Yes, it works! no more crashes.....

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vomikan picture vomikan  路  4Comments

vomikan picture vomikan  路  5Comments

vomikan picture vomikan  路  8Comments

marjolin picture marjolin  路  8Comments

petubl picture petubl  路  7Comments