CLI does not show password anymore

74cmonty's Avatar

74cmonty

05 May, 2021 06:36 PM

Hello,
I have installed both, CLI and Desktop on my Arch Linux.
I used first CLI only w/o any problems.

But since I opened Desktop, I get no password in CLI anymore.
Please check attached screenshot for details.

I started strace to debug the mpw program and identified this:

[...]
openat(AT_FDCWD, "/home/thomas/.mpw.d/Thomas.mpsites.json", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0700, st_size=27585, ...}, AT_EMPTY_PATH) = 0
read(3, "{\n  "export": {\n    "format": 1,"..., 4096) = 4096
read(3, "7:17Z"\n    },\n    "pgp-zip": {\n "..., 4096) = 4096
read(3, "em-admin": {\n      "type": 17,\n "..., 4096) = 4096
read(3, "thm": 3,\n      "login_type": 30,"..., 4096) = 4096
read(3, "   "last_used": "2020-12-10T14:4"..., 4096) = 4096
read(3, "\n    },\n    "dietpi-root": {\n   "..., 4096) = 4096
read(3, "nter": 1,\n      "algorithm": 3,\n"..., 4096) = 3009
read(3, "", 4096)                       = 0
close(3)                                = 0
stat("/dev/urandom", {st_mode=S_IFCHR|0666, st_rdev=makedev(0x1, 0x9), ...}) = 0
openat(AT_FDCWD, "/dev/urandom", O_RDONLY) = 3
read(3, "p\[email protected]\n", 4)                   = 4
close(3)                                = 0
openat(AT_FDCWD, "/etc/localtime", O_RDONLY|O_CLOEXEC) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=2298, ...}, AT_EMPTY_PATH) = 0
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=2298, ...}, AT_EMPTY_PATH) = 0
read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\t\0\0\0\t\0\0\0\0"..., 4096) = 2298
lseek(3, -1449, SEEK_CUR)               = 849
read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\t\0\0\0\t\0\0\0\0"..., 4096) = 1449
close(3)                                = 0
newfstatat(AT_FDCWD, "/etc/localtime", {st_mode=S_IFREG|0644, st_size=2298, ...}, 0) = 0
mmap(NULL, 33558592, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_POPULATE, -1, 0) = 0x7f2a3a1c5000
munmap(0x7f2a3a1c5000, 33558592)        = 0
newfstatat(AT_FDCWD, "/etc/localtime", {st_mode=S_IFREG|0644, st_size=2298, ...}, 0) = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x8} ---
+++ killed by SIGSEGV (core dumped) +++
Speicherzugriffsfehler (Speicherabzug geschrieben)

Speicherzugriffsfehler is german for:
Segmentation fault

Please advise how to fix this issue.

Regards
Thomas

  1. Support Staff 1 Posted by Maarten Billemo... on 05 May, 2021 07:21 PM

    Maarten Billemont's Avatar
    1. What version of mpw are you using?
    2. Have you tried rebuilding?
    3. For the most insight, building in debug mode (eg ./build -d) from master and then running with gdb/lldb (showing the output of bt after the crash) would yield most information on the issue.
  2. 2 Posted by 74cmonty on 08 May, 2021 07:01 AM

    74cmonty's Avatar

    Hello Maarten,

    I cannot identify the version, commands like mpw --version are not working.
    Anyway, I deleted the file /usr/bin/mpw before I start installing the latest version.

    This installation was successfull and mpw CLI is now working as expected.

    This issue can be closed accordingly.

    Regards
    Thomas

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Already uploaded files

  • 2021-05-05_20-32.png 80.8 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac