cake_wallet icon indicating copy to clipboard operation
cake_wallet copied to clipboard

cake_wallet on Ubuntu 20.04 not starting (Illegal instruction)

Open qfooo opened this issue 2 years ago • 9 comments

Downloaded and extracted the latest Cake_Wallet_v4.6.7_Linux_Beta. Tried executing it on Ubuntu 16 then 18... it was giving errors related to missing GLIBC_2.29. When I upgraded my Ubuntu to version 20.04 the app still doesn't start and the only output shown is "Illegal instruction".

qfooo avatar Jun 27 '23 20:06 qfooo

Same thing happened to me. No linux instructions either. Please Dev's , post which distro it worked for you .

llamabyte avatar Jul 05 '23 11:07 llamabyte

Same here, tested on 22.04 as well. Flatpak also doesn't start up, will try to see if I can provide some more detailed info. Tested with versions 4.7 and 4.8

mhzgh avatar Aug 13 '23 22:08 mhzgh

$ cat /etc/os-release 
PRETTY_NAME="Ubuntu 22.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.3 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy





$ gdb ./cake_wallet
GNU gdb (Ubuntu 12.1-0ubuntu1~22.04) 12.1
Copyright (C) 2022 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-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://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 ./cake_wallet...
(No debugging symbols found in ./cake_wallet)
(gdb) run
Starting program: /home/testuser/Downloads/Cake_Wallet_v4.8.0_Linux/cake_wallet 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGILL, Illegal instruction.
0x00007ffff6efb006 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) [clone .isra.0] () from /home/testuser/Downloads/Cake_Wallet_v4.8.0_Linux/lib/libcw_monero_plugin.so
(gdb) bt full
#0  0x00007ffff6efb006 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) [clone .isra.0] ()
   from /home/testuser/Downloads/Cake_Wallet_v4.8.0_Linux/lib/libcw_monero_plugin.so
No symbol table info available.
#1  0x00007ffff6efb0f7 in _GLOBAL__sub_I_difficulty.cpp () from /home/testuser/Downloads/Cake_Wallet_v4.8.0_Linux/lib/libcw_monero_plugin.so
No symbol table info available.
#2  0x00007ffff7fc947e in call_init (l=<optimized out>, argc=argc@entry=1, argv=argv@entry=0x7fffffffdf28, env=env@entry=0x7fffffffdf38) at ./elf/dl-init.c:70
        j = 0
        jm = <optimized out>
        addrs = <optimized out>
        init_array = <optimized out>
        __PRETTY_FUNCTION__ = "call_init"
#3  0x00007ffff7fc9568 in call_init (env=0x7fffffffdf38, argv=0x7fffffffdf28, argc=1, l=<optimized out>) at ./elf/dl-init.c:33
        init_array = <optimized out>
        __PRETTY_FUNCTION__ = "call_init"
        j = <optimized out>
        jm = <optimized out>
        addrs = <optimized out>
#4  _dl_init (main_map=0x7ffff7ffe2e0, argc=1, argv=0x7fffffffdf28, env=0x7fffffffdf38) at ./elf/dl-init.c:117
        preinit_array = <optimized out>
        preinit_array_size = <optimized out>
        i = <optimized out>
#5  0x00007ffff7fe32ea in _dl_start_user () from /lib64/ld-linux-x86-64.so.2
        TD_SLEEP = TD_SLEEP
        TD_CREATE = TD_CREATE
        _URC_FATAL_PHASE1_ERROR = _URC_FATAL_PHASE1_ERROR
        TD_CATCHSIG = TD_CATCHSIG
        cet_permissive = cet_permissive
        TD_LOCK_TRY = TD_LOCK_TRY
        RSEQ_CS_FLAG_NO_RESTART_ON_PREEMPT_BIT = RSEQ_CS_FLAG_NO_RESTART_ON_PREEMPT_BIT
        PREFERRED_FEATURE_INDEX_1 = PREFERRED_FEATURE_INDEX_1
        PREFERRED_FEATURE_INDEX_MAX = PREFERRED_FEATURE_INDEX_MAX
        arch_kind_unknown = arch_kind_unknown
        TD_SWITCHFROM = TD_SWITCHFROM
        cache_extension_tag_generator = cache_extension_tag_generator
        cache_extension_tag_glibc_hwcaps = cache_extension_tag_glibc_hwcaps
        _URC_INSTALL_CONTEXT = _URC_INSTALL_CONTEXT
        TD_DEATH = TD_DEATH
        RT_CONSISTENT = RT_CONSISTENT
        LA_ACT_CONSISTENT = LA_ACT_CONSISTENT
        rtld_mode_verify = rtld_mode_verify
        TD_MAX_EVENT_NUM = TD_TIMEOUT
        RT_DELETE = RT_DELETE
        RSEQ_CS_FLAG_NO_RESTART_ON_MIGRATE_BIT = RSEQ_CS_FLAG_NO_RESTART_ON_MIGRATE_BIT
        relocate_time = 85743623
        DL_LOOKUP_ADD_DEPENDENCY = DL_LOOKUP_ADD_DEPENDENCY
        TD_READY = TD_READY
        _bitindex_arch_Slow_SSE4_2 = _bitindex_arch_Slow_SSE4_2
        rtld_mode_help = rtld_mode_help
--Type <RET> for more, q to quit, c to continue without paging-- 
        cpuid_register_index_eax = cpuid_register_index_eax
        CPUID_INDEX_1 = CPUID_INDEX_1
        CPUID_INDEX_7 = CPUID_INDEX_7
        CPUID_INDEX_80000001 = CPUID_INDEX_80000001
        CPUID_INDEX_D_ECX_1 = CPUID_INDEX_D_ECX_1
        CPUID_INDEX_80000007 = CPUID_INDEX_80000007
        CPUID_INDEX_80000008 = CPUID_INDEX_80000008
        CPUID_INDEX_7_ECX_1 = CPUID_INDEX_7_ECX_1
        CPUID_INDEX_19 = CPUID_INDEX_19
        CPUID_INDEX_14_ECX_0 = CPUID_INDEX_14_ECX_0
        CPUID_INDEX_MAX = CPUID_INDEX_MAX
        dso_sort_algorithm_original = dso_sort_algorithm_original
        TD_CONCURRENCY = TD_CONCURRENCY
        lt_executable = lt_executable
        cpuid_register_index_ebx = cpuid_register_index_ebx
        _bitindex_arch_I686 = _bitindex_arch_I686
        cache_extension_count = cache_extension_count
        PTHREAD_MUTEX_TIMED_NP = PTHREAD_MUTEX_TIMED_NP
        PTHREAD_MUTEX_RECURSIVE_NP = PTHREAD_MUTEX_RECURSIVE_NP
        PTHREAD_MUTEX_ERRORCHECK_NP = PTHREAD_MUTEX_ERRORCHECK_NP
        PTHREAD_MUTEX_ADAPTIVE_NP = PTHREAD_MUTEX_ADAPTIVE_NP
        PTHREAD_MUTEX_NORMAL = PTHREAD_MUTEX_TIMED_NP
        PTHREAD_MUTEX_RECURSIVE = PTHREAD_MUTEX_RECURSIVE_NP
        PTHREAD_MUTEX_ERRORCHECK = PTHREAD_MUTEX_ERRORCHECK_NP
        PTHREAD_MUTEX_DEFAULT = PTHREAD_MUTEX_TIMED_NP
        PTHREAD_MUTEX_FAST_NP = PTHREAD_MUTEX_TIMED_NP
        TD_REAP = TD_REAP
        DL_LOOKUP_RETURN_NEWEST = DL_LOOKUP_RETURN_NEWEST
        _URC_HANDLER_FOUND = _URC_HANDLER_FOUND
        cpuid_register_index_ecx = cpuid_register_index_ecx
        _bitindex_arch_Avoid_Short_Distance_REP_MOVSB = _bitindex_arch_Avoid_Short_Distance_REP_MOVSB
        _bitindex_arch_Prefer_FSRM = _bitindex_arch_Prefer_FSRM
        lc_property_unknown = lc_property_unknown
        _bitindex_arch_Fast_Unaligned_Load = _bitindex_arch_Fast_Unaligned_Load
        lt_library = lt_library
        cpuid_register_index_edx = cpuid_register_index_edx
        rtld_mode_list_diagnostics = rtld_mode_list_diagnostics
        start_time = 19492822014192
        _URC_NO_REASON = _URC_NO_REASON
        _bitindex_arch_Prefer_PMINUB_for_stringop = _bitindex_arch_Prefer_PMINUB_for_stringop
        arch_kind_other = arch_kind_other
        rtld_mode_list = rtld_mode_list
        _dl_rtld_libname = {name = 0x4002a8 "/lib64/ld-linux-x86-64.so.2", next = 0x7ffff7ffe230 <newname>, dont_free = 0}
        TD_IDLE = TD_IDLE
        unknown = unknown
        _URC_FATAL_PHASE2_ERROR = _URC_FATAL_PHASE2_ERROR
        cet_elf_property = cet_elf_property
        RT_ADD = RT_ADD
--Type <RET> for more, q to quit, c to continue without paging--
        _bitindex_arch_Fast_Rep_String = _bitindex_arch_Fast_Rep_String
        _bitindex_arch_MathVec_Prefer_No_AVX512 = _bitindex_arch_MathVec_Prefer_No_AVX512
        _bitindex_arch_Fast_Copy_Backward = _bitindex_arch_Fast_Copy_Backward
        _bitindex_arch_AVX_Fast_Unaligned_Load = _bitindex_arch_AVX_Fast_Unaligned_Load
        existing = existing
        _URC_NORMAL_STOP = _URC_NORMAL_STOP
        lc_property_none = lc_property_none
        nonexisting = nonexisting
        load_time = 41589506
        TD_PREEMPT = TD_PREEMPT
        TD_TIMEOUT = TD_TIMEOUT
        TD_ALL_EVENTS = TD_ALL_EVENTS
        _URC_END_OF_STACK = _URC_END_OF_STACK
        _bitindex_arch_Prefer_No_AVX512 = _bitindex_arch_Prefer_No_AVX512
        arch_kind_intel = arch_kind_intel
        rtld_mode_trace = rtld_mode_trace
        rtld_mode_list_tunables = rtld_mode_list_tunables
        _bitindex_arch_Prefer_ERMS = _bitindex_arch_Prefer_ERMS
        cet_always_on = cet_always_on
        dso_sort_algorithm_dfs = dso_sort_algorithm_dfs
        LA_ACT_DELETE = LA_ACT_DELETE
        TD_SWITCHTO = TD_SWITCHTO
        _bitindex_arch_Slow_BSF = _bitindex_arch_Slow_BSF
        arch_kind_zhaoxin = arch_kind_zhaoxin
        cet_always_off = cet_always_off
        arch_kind_amd = arch_kind_amd
        _URC_FOREIGN_EXCEPTION_CAUGHT = _URC_FOREIGN_EXCEPTION_CAUGHT
        _bitindex_arch_Prefer_No_VZEROUPPER = _bitindex_arch_Prefer_No_VZEROUPPER
        TD_EVENT_NONE = TD_ALL_EVENTS
        TD_EVENTS_ENABLE = TD_EVENTS_ENABLE
        rtld_mode_normal = rtld_mode_normal
        TD_MIN_EVENT_NUM = TD_READY
        lc_property_valid = lc_property_valid
        LA_ACT_ADD = LA_ACT_ADD
        TD_PRI_INHERIT = TD_PRI_INHERIT
        _bitindex_arch_Fast_Unaligned_Copy = _bitindex_arch_Fast_Unaligned_Copy
        _URC_CONTINUE_UNWIND = _URC_CONTINUE_UNWIND
        DL_LOOKUP_FOR_RELOCATE = DL_LOOKUP_FOR_RELOCATE
        lt_loaded = lt_loaded
        DL_LOOKUP_GSCOPE_LOCK = DL_LOOKUP_GSCOPE_LOCK
        _dl_rtld_libname2 = {name = 0x0, next = 0x0, dont_free = 0}
        RSEQ_CS_FLAG_NO_RESTART_ON_SIGNAL_BIT = RSEQ_CS_FLAG_NO_RESTART_ON_SIGNAL_BIT
        _bitindex_arch_I586 = _bitindex_arch_I586
        tls_init_tp_called = true
        __GI__dl_argv = 0x7fffffffdf28
        _rtld_global_ro = {_dl_debug_mask = 0, _dl_osversion = 331619, _dl_platform = 0x7fffffffe269 "x86_64", _dl_platformlen = 6, _dl_pagesize = 4096, 
          _dl_minsigstacksize = 1776, _dl_inhibit_cache = 0, _dl_initial_searchlist = {r_list = 0x7ffff3c6e840, r_nlist = 79}, _dl_clktck = 100, _dl_verbose = 0, _dl_debug_fd = 2, 
          _dl_lazy = 1, _dl_bind_not = 0, _dl_dynamic_weak = 0, _dl_fpu_control = 895, _dl_correct_cache_id = 771, _dl_hwcap = 2, _dl_auxv = 0x7fffffffe108, 
--Type <RET> for more, q to quit, c to continue without paging--
          _dl_x86_cpu_features = {basic = {kind = arch_kind_intel, max_cpuid = 13, family = 6, model = 58, stepping = 9}, features = {{{cpuid_array = {198313, 67584, 4290388483, 
                    260832255}, cpuid = {eax = 198313, ebx = 67584, ecx = 4290388483, edx = 260832255}}, {active_array = {0, 0, 2123899395, 126386448}, active = {eax = 0, ebx = 0, 
                    ecx = 2123899395, edx = 126386448}}}, {{cpuid_array = {0, 643, 0, 0}, cpuid = {eax = 0, ebx = 643, ecx = 0, edx = 0}}, {active_array = {0, 512, 0, 0}, 
                  active = {eax = 0, ebx = 512, ecx = 0, edx = 0}}}, {{cpuid_array = {0, 0, 1, 672139264}, cpuid = {eax = 0, ebx = 0, ecx = 1, edx = 672139264}}, {active_array = {
                    0, 0, 1, 134217728}, active = {eax = 0, ebx = 0, ecx = 1, edx = 134217728}}}, {{cpuid_array = {0, 0, 0, 0}, cpuid = {eax = 0, ebx = 0, ecx = 0, edx = 0}}, {
                  active_array = {0, 0, 0, 0}, active = {eax = 0, ebx = 0, ecx = 0, edx = 0}}}, {{cpuid_array = {0, 0, 0, 256}, cpuid = {eax = 0, ebx = 0, ecx = 0, edx = 256}}, {
                  active_array = {0, 0, 0, 0}, active = {eax = 0, ebx = 0, ecx = 0, edx = 0}}}, {{cpuid_array = {12330, 0, 0, 0}, cpuid = {eax = 12330, ebx = 0, ecx = 0, 
                    edx = 0}}, {active_array = {0, 0, 0, 0}, active = {eax = 0, ebx = 0, ecx = 0, edx = 0}}}, {{cpuid_array = {0, 0, 0, 0}, cpuid = {eax = 0, ebx = 0, ecx = 0, 
                    edx = 0}}, {active_array = {0, 0, 0, 0}, active = {eax = 0, ebx = 0, ecx = 0, edx = 0}}}, {{cpuid_array = {0, 0, 0, 0}, cpuid = {eax = 0, ebx = 0, ecx = 0, 
                    edx = 0}}, {active_array = {0, 0, 0, 0}, active = {eax = 0, ebx = 0, ecx = 0, edx = 0}}}, {{cpuid_array = {0, 0, 0, 0}, cpuid = {eax = 0, ebx = 0, ecx = 0, 
                    edx = 0}}, {active_array = {0, 0, 0, 0}, active = {eax = 0, ebx = 0, ecx = 0, edx = 0}}}}, preferred = {4345}, isa_1 = 3, xsave_state_size = 896, 
            xsave_state_full_size = 896, data_cache_size = 32768, shared_cache_size = 8388608, non_temporal_threshold = 6291456, rep_movsb_threshold = 2048, 
            rep_movsb_stop_threshold = 6291456, rep_stosb_threshold = 2048, level1_icache_size = 32768, level1_icache_linesize = 64, level1_dcache_size = 32768, 
            level1_dcache_assoc = 8, level1_dcache_linesize = 64, level2_cache_size = 262144, level2_cache_assoc = 8, level2_cache_linesize = 64, level3_cache_size = 8388608, 
            level3_cache_assoc = 16, level3_cache_linesize = 64, level4_cache_size = 0}, _dl_x86_hwcap_flags = {"sse2\000\000\000\000", "x86_64\000\000", "avx512_1"}, 
          _dl_x86_platforms = {"i586\000\000\000\000", "i686\000\000\000\000", "haswell\000", "xeon_phi"}, _dl_inhibit_rpath = 0x0, _dl_origin_path = 0x0, 
          _dl_use_load_bias = 18446744073709551615, _dl_tls_static_size = 5376, _dl_tls_static_align = 64, _dl_tls_static_surplus = 1664, _dl_profile = 0x0, 
          _dl_profile_output = 0x7ffff7feffa0 "/var/tmp", _dl_trace_prelink = 0x0, _dl_trace_prelink_map = 0x0, _dl_init_all_dirs = 0x7ffff7fbb1e0, 
          _dl_sysinfo_dso = 0x7ffff7fc1000, _dl_sysinfo_map = 0x7ffff7ffe890, _dl_vdso_clock_gettime64 = 0x7ffff7fc1c10 <clock_gettime>, 
          _dl_vdso_gettimeofday = 0x7ffff7fc1bd0 <gettimeofday>, _dl_vdso_time = 0x7ffff7fc1be0 <time>, _dl_vdso_getcpu = 0x7ffff7fc1c90 <getcpu>, 
          _dl_vdso_clock_getres_time64 = 0x7ffff7fc1c20 <clock_getres>, _dl_hwcap2 = 2, _dl_dso_sort_algo = dso_sort_algorithm_dfs, 
          _dl_debug_printf = 0x7ffff7fd2bc0 <_dl_debug_printf>, _dl_mcount = 0x7ffff7fd37b0 <__GI__dl_mcount>, _dl_lookup_symbol_x = 0x7ffff7fcf0d0 <_dl_lookup_symbol_x>, 
          _dl_open = 0x7ffff7fd12a0 <_dl_open>, _dl_close = 0x7ffff7fc6230 <_dl_close>, _dl_catch_error = 0x7ffff7fe0490 <_rtld_catch_error>, 
          _dl_error_free = 0x7ffff7fc7a70 <_dl_error_free>, _dl_tls_get_addr_soft = 0x7ffff7fd7d80 <_dl_tls_get_addr_soft>, 
          _dl_libc_freeres = 0x7ffff7fe12f0 <__rtld_libc_freeres>, _dl_find_object = 0x7ffff7fc8420 <__GI__dl_find_object>, 
          _dl_discover_osversion = 0x7ffff7fe2a60 <_dl_discover_osversion>, _dl_dlfcn_hook = 0x0, _dl_audit = 0x0, _dl_naudit = 0}
        _dl_argc = 1
        _dl_skip_args = 0
        __pointer_chk_guard_local = 12527524025247560554
        _rtld_global = {_dl_ns = {{_ns_loaded = 0x7ffff7ffe2e0, _ns_nloaded = 80, _ns_main_searchlist = 0x7ffff7ffe5a0, _ns_global_scope_alloc = 0, 
              _ns_global_scope_pending_adds = 0, libc_map = 0x7ffff4874000, _ns_unique_sym_table = {lock = {mutex = {__data = {__lock = 0, __count = 0, __owner = 0, __nusers = 0, 
                      __kind = 1, __spins = 0, __elision = 0, __list = {__prev = 0x0, __next = 0x0}}, __size = '\000' <repeats 16 times>, "\001", '\000' <repeats 22 times>, 
                    __align = 0}}, entries = 0x7ffff3c16000, size = 4093, n_elements = 1992, free = 0x7ffff7fd0530 <__minimal_free>}, _ns_debug = {base = {r_version = 0, 
                  r_map = 0x0, r_brk = 0, r_state = RT_CONSISTENT, r_ldbase = 0}, r_next = 0x0}}, {_ns_loaded = 0x0, _ns_nloaded = 0, _ns_main_searchlist = 0x0, 
              _ns_global_scope_alloc = 0, _ns_global_scope_pending_adds = 0, libc_map = 0x0, _ns_unique_sym_table = {lock = {mutex = {__data = {__lock = 0, __count = 0, 
                      __owner = 0, __nusers = 0, __kind = 0, __spins = 0, __elision = 0, __list = {__prev = 0x0, __next = 0x0}}, __size = '\000' <repeats 39 times>, __align = 0}}, 
                entries = 0x0, size = 0, n_elements = 0, free = 0x0}, _ns_debug = {base = {r_version = 0, r_map = 0x0, r_brk = 0, r_state = RT_CONSISTENT, r_ldbase = 0}, 
                r_next = 0x0}} <repeats 15 times>}, _dl_nns = 1, _dl_load_lock = {mutex = {__data = {__lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 1, __spins = 0, 
                __elision = 0, __list = {__prev = 0x0, __next = 0x0}}, __size = '\000' <repeats 16 times>, "\001", '\000' <repeats 22 times>, __align = 0}}, _dl_load_write_lock = {
            mutex = {__data = {__lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 1, __spins = 0, __elision = 0, __list = {__prev = 0x0, __next = 0x0}}, 
              __size = '\000' <repeats 16 times>, "\001", '\000' <repeats 22 times>, __align = 0}}, _dl_load_tls_lock = {mutex = {__data = {__lock = 0, __count = 0, __owner = 0, 
                __nusers = 0, __kind = 1, __spins = 0, __elision = 0, __list = {__prev = 0x0, __next = 0x0}}, 
              __size = '\000' <repeats 16 times>, "\001", '\000' <repeats 22 times>, __align = 0}}, _dl_load_adds = 80, _dl_initfirst = 0x0, _dl_profile_map = 0x0, 
          _dl_num_relocations = 28869, _dl_num_cache_relocations = 8725, _dl_all_dirs = 0x7ffff7fbb1e0, _dl_rtld_map = {l_addr = 140737353887744, 
            l_name = 0x4002a8 "/lib64/ld-linux-x86-64.so.2", l_ld = 0x7ffff7ffce80, l_next = 0x7ffff4874ed0, l_prev = 0x7ffff4874000, l_real = 0x7ffff7ffdaf0 <_rtld_global+2736>, 
            l_ns = 0, l_libname = 0x7ffff7ffe280 <_dl_rtld_libname>, l_info = {0x0, 0x0, 0x7ffff7ffcf00, 0x7ffff7ffcef0, 0x7ffff7ffce90, 0x7ffff7ffceb0, 0x7ffff7ffcec0, 
              0x7ffff7ffcf30, 0x7ffff7ffcf40, 0x7ffff7ffcf50, 0x7ffff7ffced0, 0x7ffff7ffcee0, 0x0, 0x0, 0x7ffff7ffce80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ffff7ffcf10, 0x0, 0x0, 
              0x7ffff7ffcf20, 0x0 <repeats 13 times>, 0x7ffff7ffcf70, 0x7ffff7ffcf60, 0x0, 0x0, 0x7ffff7ffcf90, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ffff7ffcf80, 
--Type <RET> for more, q to quit, c to continue without paging--
              0x0 <repeats 25 times>, 0x7ffff7ffcea0}, l_phdr = 0x7ffff7fc3040, l_entry = 0, l_phnum = 11, l_ldnum = 0, l_searchlist = {r_list = 0x0, r_nlist = 0}, 
            l_symbolic_searchlist = {r_list = 0x0, r_nlist = 0}, l_loader = 0x0, l_versions = 0x7ffff3c60680, l_nversions = 8, l_nbuckets = 37, l_gnu_bitmask_idxbits = 3, 
            l_gnu_shift = 8, l_gnu_bitmask = 0x7ffff7fc3440, {l_gnu_buckets = 0x7ffff7fc3460, l_chain = 0x7ffff7fc3460}, {l_gnu_chain_zero = 0x7ffff7fc34f0, 
              l_buckets = 0x7ffff7fc34f0}, l_direct_opencount = 0, l_type = lt_library, l_relocated = 1, l_init_called = 1, l_global = 1, l_reserved = 0, l_main_map = 0, 
            l_visited = 1, l_map_used = 0, l_map_done = 0, l_phdr_allocated = 0, l_soname_added = 0, l_faked = 0, l_need_tls_init = 0, l_auditing = 0, l_audit_any_plt = 0, 
            l_removed = 0, l_contiguous = 0, l_symbolic_in_local_scope = 0, l_free_initfini = 0, l_ld_readonly = 0, l_find_object_processed = 0, l_nodelete_active = false, 
            l_nodelete_pending = false, l_property = lc_property_unknown, l_x86_feature_1_and = 0, l_x86_isa_1_needed = 0, l_1_needed = 0, l_rpath_dirs = {dirs = 0x0, 
              malloced = 0}, l_reloc_result = 0x0, l_versyms = 0x7ffff7fc3c12, l_origin = 0x0, l_map_start = 140737353887744, l_map_end = 140737354130136, 
            l_text_end = 140737354064693, l_scope_mem = {0x0, 0x0, 0x0, 0x0}, l_scope_max = 0, l_scope = 0x0, l_local_scope = {0x0, 0x0}, l_file_id = {dev = 0, ino = 0}, 
            l_runpath_dirs = {dirs = 0x0, malloced = 0}, l_initfini = 0x0, l_reldeps = 0x0, l_reldepsmax = 0, l_used = 1, l_feature_1 = 0, l_flags_1 = 0, l_flags = 0, l_idx = 0, 
            l_mach = {plt = 0, gotplt = 0, tlsdesc_table = 0x0}, l_lookup_cache = {sym = 0x7ffff7fc38d8, type_class = 1, value = 0x7ffff4874000, ret = 0x7ffff4653e60}, 
            l_tls_initimage = 0x0, l_tls_initimage_size = 0, l_tls_blocksize = 0, l_tls_align = 0, l_tls_firstbyte_offset = 0, l_tls_offset = 0, l_tls_modid = 0, 
            l_tls_dtor_count = 0, l_relro_addr = 230944, l_relro_size = 6624, l_serial = 0}, _dl_rtld_auditstate = {{cookie = 0, bindflags = 0} <repeats 16 times>}, 
          _dl_x86_feature_1 = 0, _dl_x86_feature_control = {ibt = cet_elf_property, shstk = cet_elf_property}, _dl_stack_flags = 7, _dl_tls_dtv_gaps = false, 
          _dl_tls_max_dtv_idx = 8, _dl_tls_dtv_slotinfo_list = 0x7ffff3c5b4c0, _dl_tls_static_nelem = 8, _dl_tls_static_used = 1160, _dl_tls_static_optional = 512, 
          _dl_initial_dtv = 0x7ffff3c59010, _dl_tls_generation = 1, _dl_scope_free_list = 0x0, _dl_stack_used = {next = 0x7ffff7ffe0c8 <_rtld_global+4232>, 
            prev = 0x7ffff7ffe0c8 <_rtld_global+4232>}, _dl_stack_user = {next = 0x7ffff3c5c740, prev = 0x7ffff3c5c740}, _dl_stack_cache = {
            next = 0x7ffff7ffe0e8 <_rtld_global+4264>, prev = 0x7ffff7ffe0e8 <_rtld_global+4264>}, _dl_stack_cache_actsize = 0, _dl_in_flight_stack = 0, _dl_stack_cache_lock = 0}
#6  0x0000000000000001 in ?? ()
No symbol table info available.
#7  0x00007fffffffe274 in ?? ()
No symbol table info available.
#8  0x0000000000000000 in ?? ()
No symbol table info available.
(gdb) 

mhzgh avatar Aug 14 '23 16:08 mhzgh

On tails too

artegoser avatar Apr 19 '24 17:04 artegoser

Hey all, I recently discovered a possible cause of this issue.... not having AVX enabled.

Please make sure that your host system has AVX enabled in the BIOS/UEFI and that your VM is able to utilize AVX. This will be eventually patched to allow running without AVX support.

tuxpizza avatar Apr 20 '24 08:04 tuxpizza

I have AVX enabled, but Cake Wallet still doesn't work for me. Have tried again and again since version: Cake_Wallet_v4.13.3_Linux.tar.xz

marco@w530:~$ grep -o avx /proc/cpuinfo
avx
avx
avx
avx
avx
avx
avx
avx
marco@w530:~/Downloads/Monero$ tar -xvf Cake_Wallet_v4.16.0_Linux.tar.xz --strip-components=1 -C /home/marco/Cake-Wallet
marco@w530:~/Downloads/Monero$ cd /home/marco/Cake-Wallet/
marco@w530:~/Cake-Wallet$ ./cake_wallet
Illegal instruction (core dumped)

¯\(ツ)

Operating System: Debian GNU/Linux 12 KDE Plasma Version: 5.27.5 KDE Frameworks Version: 5.103.0 Qt Version: 5.15.8 Kernel Version: 6.6.13+bpo-amd64 (64-bit) Graphics Platform: X11 Processors: 8 × Intel® Core™ i7-3820QM CPU @ 2.70GHz Memory: 15,4 GiB of RAM Graphics Processor: Mesa Intel® HD Graphics 4000

boldsuck avatar May 13 '24 09:05 boldsuck

@boldsuck Could you run an strace on the binary and send the result

strace -o ./cake_wallet > strace.txt

tuxpizza avatar May 14 '24 01:05 tuxpizza

OK. Using strace for the first time. Given commando gave me error and 0B strace.txt file.

strace -o ./cake_wallet > strace.txt
strace: must have PROG [ARGS] or -p PID

I then simply directed the output to a file:

strace ./cake_wallet &> strace.txt Preview in gist or file strace.txt

There are many system libraries in ~/Cake-Wallet/lib/ wanted or missing.

boldsuck avatar May 14 '24 16:05 boldsuck