Bug report? won't launch or black screen with recent archlinux update

Delta Chat not starting or starting with all black screen. It seems like the issue started after a recent archlinux update. Is this a known issue?

Searching the error online seems like it could be chrome (is deltachat based on chrome?) related. Internet search turned up:

https://groups.google.com/a/chromium.org/g/chromium-checkins/c/z_6BBIBACJg

OS Arch Linux (deltachat-desktop installed through AUR)
Graphics Card Nvidia GT640 with nvidia-470xx-utils AUR package installed

> deltachat
Logfile: /home/username/.config/DeltaChat/logs/2022-04-07-20-49-29.log
[3057:0407/204929.581510:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.

/home/username/.config/DeltaChat/logs/2022-04-07-20-49-29.log

2022-04-08T01:49:29.335Z	main/index            	INFO	""	"Deltachat Version 1.27.2 tags/v1.27.2 1649373631473"
2022-04-08T01:49:29.480Z	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/username/.config/DeltaChat/Partitions'","message":"ENOENT: no such file or directory, scandir '/home/username/.config/DeltaChat/Partitions'","errno":-2,"code":"ENOENT","syscall":"scandir","path":"/home/username/.config/DeltaChat/Partitions"}
2022-04-08T01:49:29.492Z	main/index            	INFO	""	"cwd /home/username/.config/DeltaChat/accounts"
2022-04-08T01:49:29.503Z	main/deltachat        	INFO	""	"Ready, starting accounts io..."
2022-04-08T01:49:29.504Z	main/deltachat        	INFO	""	"Started accounts io."
2022-04-08T01:49:29.523Z	main/menu             	INFO	""	"rebuilding menu with locale en"
2022-04-08T01:49:29.533Z	core/event            	INFO	""	8	"DC_EVENT_INFO"	0	"src/sql.rs:312: Opened database PathBuf { inner: \"/home/username/.config/DeltaChat/accounts/61d012a10e1d461c98df4e452572f086/dc.db\" }."
2022-04-08T01:49:29.533Z	core/event            	INFO	""	8	"DC_EVENT_INFO"	0	"src/context.rs:198: starting IO"
2022-04-08T01:49:29.533Z	core/event            	INFO	""	8	"DC_EVENT_INFO"	0	"src/scheduler.rs:67: starting inbox loop"
2022-04-08T01:49:29.534Z	core/event            	INFO	""	8	"DC_EVENT_INFO"	0	"src/job.rs:753: loading job for Imap-thread"
2022-04-08T01:49:29.534Z	core/event            	INFO	""	8	"DC_EVENT_INFO"	0	"src/scheduler.rs:255: starting simple loop for configured_mvbox_folder"
2022-04-08T01:49:29.534Z	core/event            	INFO	""	8	"DC_EVENT_INFO"	0	"src/scheduler.rs:292: starting smtp loop"
2022-04-08T01:49:29.534Z	core/event            	INFO	""	8	"DC_EVENT_INFO"	0	"src/job.rs:753: loading job for Smtp-thread"
2022-04-08T01:49:29.534Z	core/event            	INFO	""	8	"DC_EVENT_INFO"	0	"src/scheduler.rs:453: scheduler is running"
2022-04-08T01:49:29.534Z	core/event            	INFO	""	8	"DC_EVENT_INFO"	0	"src/scheduler.rs:330: smtp fake idle - started"
2022-04-08T01:49:29.535Z	logger/log-cleanup    	INFO	""	"Successfuly deleted 1 old logfiles"
2022-04-08T01:49:30.728Z	core/event            	INFO	""	8	"DC_EVENT_INFO"	0	"src/imap.rs:672: No new emails in folder DeltaChat"
2022-04-08T01:49:30.731Z	core/event            	INFO	""	8	"DC_EVENT_INFO"	0	"src/imap.rs:672: No new emails in folder INBOX"
2022-04-08T01:49:30.732Z	core/event            	INFO	""	8	"DC_EVENT_INFO"	0	"src/imap/scan_folders.rs:27: Starting full folder scan"
2022-04-08T01:49:31.192Z	core/event            	INFO	""	8	"DC_EVENT_INFO"	0	"src/imap/idle.rs:57: DeltaChat: Idle entering wait-on-remote state"
2022-04-08T01:49:31.208Z	core/event            	INFO	""	8	"DC_EVENT_INFO"	0	"src/imap.rs:672: No new emails in folder Archives"
2022-04-08T01:49:31.440Z	core/event            	INFO	""	8	"DC_EVENT_INFO"	0	"src/imap.rs:672: No new emails in folder Archives/2022"
2022-04-08T01:49:31.673Z	core/event            	INFO	""	8	"DC_EVENT_INFO"	0	"src/imap.rs:672: No new emails in folder Junk"
2022-04-08T01:49:31.907Z	core/event            	INFO	""	8	"DC_EVENT_INFO"	0	"src/imap.rs:672: No new emails in folder Templates"
2022-04-08T01:49:32.140Z	core/event            	INFO	""	8	"DC_EVENT_INFO"	0	"src/imap.rs:672: No new emails in folder Sent"
2022-04-08T01:49:32.374Z	core/event            	INFO	""	8	"DC_EVENT_INFO"	0	"src/imap.rs:672: No new emails in folder Trash"
2022-04-08T01:49:32.606Z	core/event            	INFO	""	8	"DC_EVENT_INFO"	0	"src/imap.rs:672: No new emails in folder Trash/sms"
2022-04-08T01:49:32.842Z	core/event            	INFO	""	8	"DC_EVENT_INFO"	0	"src/imap.rs:672: No new emails in folder INBOX"
2022-04-08T01:49:33.306Z	core/event            	INFO	""	8	"DC_EVENT_INFO"	0	"src/imap/idle.rs:57: INBOX: Idle entering wait-on-remote state"
1 Like

Can you try installing electron14 and change “electron .” to “electron14 .” in /opt/DeltaChat/deltachat ?

And which AUR package are you using? deltachat-desktop-git (that’s the one we maintain) or deltachat-desktop (community maintained).

1 Like

That worked, thank you very much

deltachat-desktop. didn’t know there were two. why two packages? was it forked? is one development? Which is recommended for stability?

1 Like

Thank you for posting this solution. Indeed, it works by moving to electron14.

FYI, a bug report has been already filled: Segmentation fault with deltachat-desktop-git-v1.28.2.r0.g42fb6159-1 on Manjaro · Issue #2686 · deltachat/deltachat-desktop · GitHub

1 Like

-git is always the newest development version (think nightly) so probably less stable but more fresh. deltachat-desktop is the latest stable version but not maintained by us.

1 Like