# Issue with Logic startup

**URL:** <https://discuss.saleae.com/t/issue-with-logic-startup/1631>\
**Category:** Support\
**Created:** [June 10, 2022, 9:48am UTC](https://discuss.saleae.com/t/issue-with-logic-startup/1631 "2022-06-10T09:48:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Niko](https://avatars.discourse-cdn.com/v4/letter/n/91b2a8/32.png) [@Niko](https://discuss.saleae.com/u/Niko)\
**Post date:** [June 10, 2022, 9:48am UTC](https://discuss.saleae.com/t/issue-with-logic-startup/1631/1 "2022-06-10T09:48:56Z")

</div>

I am using salea for quite some time on my arch and manjaro distros. (My pro16 is at least 5 years old). It was nicely tacked away for the past year or so, and today when I tried to use it I got an error:

```auto
A JavaScript error occurred in the main process
Uncaught Exception:
Error: /tmp/.org.chromium.Chromium.tGv5XQ: failed to map segment from shared object
    at process.func [as dlopen] (node:electron/js2c/asar_bundle:5:1800)
    at Object.Module._extensions..node (node:internal/modules/cjs/loader:1170:18)
    at Object.func [as .node] (node:electron/js2c/asar_bundle:5:2027)
    at Module.load (node:internal/modules/cjs/loader:982:32)
    at Module._load (node:internal/modules/cjs/loader:823:12)
    at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
    at Module.require (node:internal/modules/cjs/loader:1006:19)
    at require (node:internal/modules/cjs/helpers:93:18)
    at bindings (/opt/saleae-logic2/resources/app.asar/node_modules/bindings/bindings.js:112:48)
    at Object.<anonymous> (/opt/saleae-logic2/resources/app.asar/node_modules/ref-napi/lib/ref.js:7:47)

```

I tried a couple of versions I had installed

- I get similar behavior from 2.2.18,
- 2.3.13
- 2.3.54

I also installed from AUR the version 2.3.53 and running it natively but still I get a similar message. After this happens, there is no proper cleanup and I have multiple processes left dangling.

I searched a bit at google and it used to be an openSSL problem. Are there any other ideas?

My saleae seems to be connected on the system

```auto
Bus 001 Device 014: ID 21a9:1006 Saleae, Inc. Logic Pro 16

```

---

<div class="post-metadata">

**Author:** ![timreyes](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.saleae.com/timreyes/32/108_2.png) [@timreyes](https://discuss.saleae.com/u/timreyes)\
**Post date:** [June 10, 2022, 11:14pm UTC](https://discuss.saleae.com/t/issue-with-logic-startup/1631/2 "2022-06-10T23:14:01Z")

</div>

@Niko I’m suspecting this might be a software issue rather than a hardware one.

- Can you confirm if the error comes up even with the Logic Pro 16 disconnected?
- When exactly does this error appear? Upon software startup? What happens afterwards?
- In case the hardware itself has nothing to do with the error (i.e. if the error still appears while your Logic Pro 16 is disconnected), I’d like to test the following:

1. Launch the app with `--no-sandbox` and let me know if that helps.

`./Logic --no-sandbox`

1. Take a look at the output of the following commands.

`./Logic-2.x.xx-master.AppImage --appimage-extract` **(replace “x.xx” with the specific version of Logic 2)**  
`cd squashfs-root/resources/linux `  
`ldd libgraph_server_shared.so `  
`ldd -v libgraph_server_shared.so`

Afterwards, can you share the output with me?

1. Can you test our older Logic 1.2.40 below? The error seems to be Electron/JS specific (which is what we use to build the Logic 2 app).  
[https://support.saleae.com/logic-software/legacy-software/older-software-releases](https://support.saleae.com/logic-software/legacy-software/older-software-releases)

2. What versions of Arch Linux and Manjaro are you running?

---

<div class="post-metadata">

**Author:** ![alex](https://avatars.discourse-cdn.com/v4/letter/a/db5fbb/32.png) [@alex](https://discuss.saleae.com/u/alex)\
**Post date:** [December 1, 2022, 12:03pm UTC](https://discuss.saleae.com/t/issue-with-logic-startup/1631/3 "2022-12-01T12:03:28Z")

</div>

Hello @timreyes,

I am using salea for my firt time on my manjaro distro (5.15.78-1) and when i tried to use i got this error :

```auto
[10294:1201/125949.742384:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[10294:1201/125949.742438:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[10294:1201/125949.928202:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[10294:1201/125949.950774:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")

```

So i tried this :

```auto
cd squashfs-root/resources/linux
ldd libgraph_server_shared.so
ldd -v libgraph_server_shared.so

```

And this is my output :

```auto
linux-vdso.so.1 (0x00007ffc402d4000)
	libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007fc3f9280000)
	libAnalyzer.so => /home/neo/Téléchargements/squashfs-root/resources/linux/./libAnalyzer.so (0x00007fc3f91d0000)
	libcrypt.so.1 => not found
	librt.so.1 => /usr/lib/librt.so.1 (0x00007fc3f91cb000)
	libnsl.so.1 => /usr/lib/libnsl.so.1 (0x00007fc3f91b1000)
	libutil.so.1 => /usr/lib/libutil.so.1 (0x00007fc3f91aa000)
	libdl.so.2 => /usr/lib/libdl.so.2 (0x00007fc3f91a5000)
	libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007fc3f91a0000)
	libm.so.6 => /usr/lib/libm.so.6 (0x00007fc3f90b8000)
	libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007fc3f9098000)
	libc.so.6 => /usr/lib/libc.so.6 (0x00007fc3f8eb1000)
	/usr/lib64/ld-linux-x86-64.so.2 (0x00007fc3fc453000)

	Version information:
	./libgraph_server_shared.so:
		libstdc++.so.6 (GLIBCXX_3.4) => /usr/lib/libstdc++.so.6
		libstdc++.so.6 (GLIBCXX_3.4.9) => /usr/lib/libstdc++.so.6
		libstdc++.so.6 (GLIBCXX_3.4.15) => /usr/lib/libstdc++.so.6
		libstdc++.so.6 (GLIBCXX_3.4.22) => /usr/lib/libstdc++.so.6
		libstdc++.so.6 (CXXABI_1.3) => /usr/lib/libstdc++.so.6
		libstdc++.so.6 (CXXABI_1.3.1) => /usr/lib/libstdc++.so.6
		libstdc++.so.6 (CXXABI_1.3.3) => /usr/lib/libstdc++.so.6
		libstdc++.so.6 (CXXABI_1.3.5) => /usr/lib/libstdc++.so.6
		libstdc++.so.6 (CXXABI_1.3.7) => /usr/lib/libstdc++.so.6
		libstdc++.so.6 (CXXABI_1.3.8) => /usr/lib/libstdc++.so.6
		libstdc++.so.6 (CXXABI_1.3.9) => /usr/lib/libstdc++.so.6
		libcrypt.so.1 (XCRYPT_2.0) => not found
		librt.so.1 (GLIBC_2.2.5) => /usr/lib/librt.so.1
		libnsl.so.1 (GLIBC_2.2.5) => /usr/lib/libnsl.so.1
		libutil.so.1 (GLIBC_2.2.5) => /usr/lib/libutil.so.1
		libdl.so.2 (GLIBC_2.2.5) => /usr/lib/libdl.so.2
		libpthread.so.0 (GLIBC_2.2.5) => /usr/lib/libpthread.so.0
		libpthread.so.0 (GLIBC_2.3.2) => /usr/lib/libpthread.so.0
		libpthread.so.0 (GLIBC_2.3.3) => /usr/lib/libpthread.so.0
		libpthread.so.0 (GLIBC_2.12) => /usr/lib/libpthread.so.0
		libpthread.so.0 (GLIBC_2.30) => /usr/lib/libpthread.so.0
		libm.so.6 (GLIBC_2.2.5) => /usr/lib/libm.so.6
		libm.so.6 (GLIBC_2.27) => /usr/lib/libm.so.6
		libm.so.6 (GLIBC_2.29) => /usr/lib/libm.so.6
		libgcc_s.so.1 (GCC_3.0) => /usr/lib/libgcc_s.so.1
		libgcc_s.so.1 (GCC_4.2.0) => /usr/lib/libgcc_s.so.1
		libc.so.6 (GLIBC_2.2.5) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.3) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.3.2) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.3.3) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.3.4) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.4) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.6) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.7) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.8) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.9) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.10) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.11) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.13) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.14) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.15) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.16) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.17) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.30) => /usr/lib/libc.so.6
		ld-linux-x86-64.so.2 (GLIBC_2.3) => /usr/lib64/ld-linux-x86-64.so.2
	/usr/lib/libstdc++.so.6:
		libm.so.6 (GLIBC_2.2.5) => /usr/lib/libm.so.6
		ld-linux-x86-64.so.2 (GLIBC_2.3) => /usr/lib64/ld-linux-x86-64.so.2
		libgcc_s.so.1 (GCC_4.2.0) => /usr/lib/libgcc_s.so.1
		libgcc_s.so.1 (GCC_3.4) => /usr/lib/libgcc_s.so.1
		libgcc_s.so.1 (GCC_3.3) => /usr/lib/libgcc_s.so.1
		libgcc_s.so.1 (GCC_3.0) => /usr/lib/libgcc_s.so.1
		libc.so.6 (GLIBC_2.14) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.6) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.33) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.25) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.18) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.16) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.32) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.4) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.7) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.3.4) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.17) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.3) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.36) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.3.2) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.34) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.2.5) => /usr/lib/libc.so.6
	/home/neo/Téléchargements/squashfs-root/resources/linux/./libAnalyzer.so:
		libstdc++.so.6 (GLIBCXX_3.4) => /usr/lib/libstdc++.so.6
		libstdc++.so.6 (GLIBCXX_3.4.15) => /usr/lib/libstdc++.so.6
		libstdc++.so.6 (GLIBCXX_3.4.21) => /usr/lib/libstdc++.so.6
		libstdc++.so.6 (GLIBCXX_3.4.22) => /usr/lib/libstdc++.so.6
		libstdc++.so.6 (CXXABI_1.3) => /usr/lib/libstdc++.so.6
		libstdc++.so.6 (CXXABI_1.3.1) => /usr/lib/libstdc++.so.6
		libpthread.so.0 (GLIBC_2.2.5) => /usr/lib/libpthread.so.0
		libpthread.so.0 (GLIBC_2.12) => /usr/lib/libpthread.so.0
		libpthread.so.0 (GLIBC_2.30) => /usr/lib/libpthread.so.0
		libm.so.6 (GLIBC_2.2.5) => /usr/lib/libm.so.6
		libgcc_s.so.1 (GCC_3.0) => /usr/lib/libgcc_s.so.1
		libgcc_s.so.1 (GCC_4.2.0) => /usr/lib/libgcc_s.so.1
		libc.so.6 (GLIBC_2.2.5) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.3) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.3.4) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.6) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.7) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.14) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.17) => /usr/lib/libc.so.6
		ld-linux-x86-64.so.2 (GLIBC_2.3) => /usr/lib64/ld-linux-x86-64.so.2
	/usr/lib/librt.so.1:
		libc.so.6 (GLIBC_ABI_DT_RELR) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.2.5) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_PRIVATE) => /usr/lib/libc.so.6
	/usr/lib/libnsl.so.1:
		libc.so.6 (GLIBC_ABI_DT_RELR) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.14) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.33) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.4) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.2.5) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_PRIVATE) => /usr/lib/libc.so.6
	/usr/lib/libutil.so.1:
		libc.so.6 (GLIBC_ABI_DT_RELR) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.2.5) => /usr/lib/libc.so.6
	/usr/lib/libdl.so.2:
		libc.so.6 (GLIBC_ABI_DT_RELR) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.2.5) => /usr/lib/libc.so.6
	/usr/lib/libpthread.so.0:
		libc.so.6 (GLIBC_ABI_DT_RELR) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.2.5) => /usr/lib/libc.so.6
	/usr/lib/libm.so.6:
		ld-linux-x86-64.so.2 (GLIBC_PRIVATE) => /usr/lib64/ld-linux-x86-64.so.2
		libc.so.6 (GLIBC_ABI_DT_RELR) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.35) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.34) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.4) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_PRIVATE) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.2.5) => /usr/lib/libc.so.6
	/usr/lib/libgcc_s.so.1:
		libc.so.6 (GLIBC_2.35) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.14) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.34) => /usr/lib/libc.so.6
		libc.so.6 (GLIBC_2.2.5) => /usr/lib/libc.so.6
	/usr/lib/libc.so.6:
		ld-linux-x86-64.so.2 (GLIBC_2.2.5) => /usr/lib64/ld-linux-x86-64.so.2
		ld-linux-x86-64.so.2 (GLIBC_2.3) => /usr/lib64/ld-linux-x86-64.so.2
		ld-linux-x86-64.so.2 (GLIBC_PRIVATE) => /usr/lib64/ld-linux-x86-64.so.2

```

Can you help me ?

Many thanks  
A

---

<div class="post-metadata">

**Author:** ![timreyes](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.saleae.com/timreyes/32/108_2.png) [@timreyes](https://discuss.saleae.com/u/timreyes)\
**Post date:** [December 2, 2022, 8:57pm UTC](https://discuss.saleae.com/t/issue-with-logic-startup/1631/4 "2022-12-02T20:57:47Z")

</div>

@alex Sorry for the trouble with that!

The issue seems to be as follows:  
`libcrypt.so.1 (XCRYPT_2.0) => not found`

Another user reported a similar issue on NixOS, and installing libxcrypt seemed to solve it for them.

> [@Logic 2.4.1](https://discuss.saleae.com/t/logic-2-4-1/1861/8):
>
> Thanks for the debug tips @markgarrison, that helped locate the problem! TL;DR: I added libxcrypt to satisfy a missing libcrypt.so.1 and everything works now. For completeness, here’s the answers to your questions: I extracted the AppImage, and checked the linked libraries, everything was found except for libcrypt.so.1: $ ldd squashfs-root/resources/linux/libgraph\_server\_shared.so ldd: warning: you do not have execution permission for `squashfs-root/resources/linux/libgraph\_server\_shared.so…

I found instructions instructions for Manjaro below. Could you help double check if this might be causing the issue?

> **[libxcrypt](https://software.manjaro.org/package/libxcrypt)**
>
> Modern library for one-way hashing of passwords

---

<div class="post-metadata">

**Author:** ![alex](https://avatars.discourse-cdn.com/v4/letter/a/db5fbb/32.png) [@alex](https://discuss.saleae.com/u/alex)\
**Post date:** [December 5, 2022, 8:36am UTC](https://discuss.saleae.com/t/issue-with-logic-startup/1631/5 "2022-12-05T08:36:29Z")

</div>

Hello @timreyes,

Thanks for your help.

Indeed, just in installing `libxcrypt-compat` the problem was solved.

Everything is working now 🙂

King regards,  
A
