deltachat / deltachat-desktop

Email-based instant messaging for Desktop.
GNU General Public License v3.0
898 stars 166 forks source link

Segmentation fault with deltachat-desktop-git-v1.28.2.r0.g42fb6159-1 on Manjaro #2686

Closed frankiezafe closed 2 years ago

frankiezafe commented 2 years ago

OS: 5.10.105-1-MANJARO

after installation of deltachat with the command

yay -S deltachat-desktop

and

yay -S deltachat-desktop-git

same error when launching deltachat

Logfile: /home/frankiezafe/.config/DeltaChat/logs/2022-04-10-10-59-27.log
[52603:0410/105927.475641:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.
init: 1.038s
/usr/bin/deltachat: line 3: 52563 Segmentation fault      (core dumped) electron . "$@"

log file

2022-04-10T09:03:58.064Z    main/index              INFO    ""  "Deltachat Version 1.28.2 v1.28.2 1649579897357"
2022-04-10T09:03:58.248Z    main/deltachat/webxdc   WARNING "\n/opt/DeltaChat/electron_app/src/main/deltachat/webxdc.ts:392:9,\nrejected (/opt/DeltaChat/electron_app/tsc-dist/main/deltachat/webxdc.js:6:65)"  "webxdc cleanup failed" {"stack":"Error: ENOENT: no such file or directory, scandir '/home/frankiezafe/.config/DeltaChat/Partitions'","message":"ENOENT: no such file or directory, scandir '/home/frankiezafe/.config/DeltaChat/Partitions'","errno":-2,"code":"ENOENT","syscall":"scandir","path":"/home/frankiezafe/.config/DeltaChat/Partitions"}
2022-04-10T09:03:58.265Z    main/index              INFO    ""  "cwd /home/frankiezafe/.config/DeltaChat/accounts"
2022-04-10T09:03:58.278Z    main/deltachat          INFO    ""  "Ready, starting accounts io..."
2022-04-10T09:03:58.280Z    main/deltachat          INFO    ""  "Started accounts io."
2022-04-10T09:03:58.320Z    main/menu               INFO    ""  "rebuilding menu with locale en"
2022-04-10T09:03:58.341Z    core/event              INFO    ""  1   "DC_EVENT_INFO" 0   "src/sql.rs:312: Opened database PathBuf { inner: \"/home/frankiezafe/.config/DeltaChat/accounts/ec9a0a38ac274c31acf164c8010c861b/dc.db\" }."
2022-04-10T09:03:58.341Z    core/event              INFO    ""  1   "DC_EVENT_INFO" 0   "src/context.rs:198: starting IO"
2022-04-10T09:03:58.341Z    core/event              INFO    ""  1   "DC_EVENT_INFO" 0   "src/scheduler.rs:67: starting inbox loop"
2022-04-10T09:03:58.342Z    core/event              INFO    ""  1   "DC_EVENT_INFO" 0   "src/job.rs:753: loading job for Imap-thread"
2022-04-10T09:03:58.342Z    core/event              INFO    ""  1   "DC_EVENT_INFO" 0   "src/scheduler.rs:255: starting simple loop for configured_mvbox_folder"
2022-04-10T09:03:58.342Z    core/event              INFO    ""  1   "DC_EVENT_INFO" 0   "src/scheduler.rs:255: starting simple loop for configured_sentbox_folder"
2022-04-10T09:03:58.342Z    core/event              INFO    ""  1   "DC_EVENT_INFO" 0   "src/scheduler.rs:292: starting smtp loop"
2022-04-10T09:03:58.342Z    core/event              INFO    ""  1   "DC_EVENT_INFO" 0   "src/job.rs:753: loading job for Smtp-thread"
2022-04-10T09:03:58.342Z    core/event              INFO    ""  1   "DC_EVENT_INFO" 0   "src/scheduler.rs:453: scheduler is running"
2022-04-10T09:03:58.342Z    core/event              INFO    ""  1   "DC_EVENT_INFO" 0   "src/scheduler.rs:330: smtp fake idle - started"
2022-04-10T09:03:58.346Z    logger/log-cleanup      INFO    ""  "Successfuly deleted 1 old logfiles"
2022-04-10T09:03:59.048Z    main/deltachat/login    INFO    ""  "Ready, starting io..."
xuv commented 2 years ago

Same issue on Arch for me.

Followed the advice on Deltachat Forum and it worked

So it seems there is an issue with Electron18, which is the current version of Electron available by default en Arch. Using Electron 14 works.

For Arch users: yay -S electron14 Then edit the file at /opt/Deltachat/deltachat

And replace the line: cd /opt/DeltaChat/electron_app && electron . "$@" with cd /opt/DeltaChat/electron_app && electron14 . "$@"

Jikstra commented 2 years ago

Thanks for reporting, i just pushed an updated PKGBUILD to aur, so should be fixed now :)