signalapp / Signal-Desktop

A private messenger for Windows, macOS, and Linux.
https://signal.org/download
GNU Affero General Public License v3.0
14.66k stars 2.67k forks source link

Signal-Desktop 1.32.0 not starting on Linux Mint 19.3 Cinnamon.. #4014

Closed mirktmirkt closed 4 years ago

mirktmirkt commented 4 years ago

Bug Description

After upgrade 1.31.0 -> 1.32.0: 2020-03-05 08:34:36 upgrade signal-desktop:amd64 1.31.0 1.32.0

Signal-Desktop is not starting on up-to-date 64bit Linux Mint 19.3 Cinnamon.. All I get is blue screen (without „Loading messages“ and so on.. in GUI and high CPU usage..

Steps to Reproduce

Actual Result:

Messages in CLI:

Set Windows Application User Model ID (AUMID) { appUserModelId: 'org.whispersystems.signal-desktop' }
NODE_ENV production
NODE_CONFIG_DIR /opt/Signal/resources/app.asar/config
NODE_CONFIG {}
ALLOW_CONFIG_MUTATIONS undefined
HOSTNAME undefined
NODE_APP_INSTANCE undefined
SUPPRESS_NO_CONFIG_WARNING undefined
SIGNAL_ENABLE_HTTP undefined
userData: /home/removed/.config/Signal
config/get: Successfully read user config file
x-attr dependncy did not load successfully
config/get: Successfully read ephemeral config file
making app single instance
{"name":"log","hostname":"removed","pid":6618,"level":30,"msg":"app ready","time":"2020-03-05T07:00:57.716Z","v":0}
{"name":"log","hostname":"removed","pid":6618,"level":30,"msg":"starting version 1.32.0","time":"2020-03-05T07:00:57.716Z","v":0}
{"name":"log","hostname":"removed","pid":6618,"level":30,"msg":"updateSchema:\n  Current user_version: 19;\n  Most recent db schema: 19;\n  SQLite version: 3.30.1;\n  SQLCipher version: 4.3.0 community;\n  (deprecated) schema_version: 94;\n","time":"2020-03-05T07:00:57.729Z","v":0}
{"name":"log","hostname":"removed","pid":6618,"level":30,"msg":"Initializing BrowserWindow config: {\"show\":true,\"width\":1920,\"height\":1023,\"minWidth\":680,\"minHeight\":550,\"autoHideMenuBar\":false,\"backgroundColor\":\"#2090EA\",\"vibrancy\":\"appearance-based\",\"webPreferences\":{\"nodeIntegration\":false,\"nodeIntegrationInWorker\":false,\"contextIsolation\":false,\"preload\":\"/opt/Signal/resources/app.asar/preload.js\",\"nativeWindowOpen\":true},\"icon\":\"/opt/Signal/resources/app.asar/images/icon_256.png\",\"x\":0,\"y\":0}","time":"2020-03-05T07:00:58.087Z","v":0}
{"name":"log","hostname":"removed","pid":6618,"level":40,"msg":"(electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently \"false\".  It will change to be \"true\" in Electron 9.  For more information please check https://github.com/electron/electron/issues/18397","time":"2020-03-05T07:00:58.149Z","v":0}
{"name":"log","hostname":"removed","pid":6618,"level":30,"msg":"Begin ensuring permissions","time":"2020-03-05T07:00:58.203Z","v":0}
{"name":"log","hostname":"removed","pid":6618,"level":30,"msg":"Ensuring file permissions for 2 files","time":"2020-03-05T07:00:58.243Z","v":0}
{"name":"log","hostname":"removed","pid":6618,"level":30,"msg":"Finish ensuring permissions in 47ms","time":"2020-03-05T07:00:58.250Z","v":0}
{"name":"log","hostname":"removed","pid":6618,"level":40,"msg":"(electron) 'systemPreferences.isDarkMode()' is deprecated and will be removed. Please use 'nativeTheme.shouldUseDarkColors' instead.","time":"2020-03-05T07:00:58.457Z","v":0}
{"name":"log","hostname":"removed","pid":6618,"level":40,"msg":"(electron) 'isMenuBarAutoHide function' is deprecated and will be removed. Please use 'autoHideMenuBar property' instead.","time":"2020-03-05T07:00:58.735Z","v":0}
{"name":"log","hostname":"removed","pid":6618,"level":30,"msg":"Updating BrowserWindow config: {\"maximized\":true,\"autoHideMenuBar\":false,\"fullscreen\":false,\"width\":1920,\"height\":1023,\"x\":0,\"y\":24}","time":"2020-03-05T07:00:58.735Z","v":0}
{"name":"log","hostname":"removed","pid":6618,"level":30,"msg":"config/set: Saving ephemeral config to disk","time":"2020-03-05T07:00:58.735Z","v":0}
^C{"name":"log","hostname":"removed","pid":6618,"level":30,"msg":"before-quit event {\"shouldQuit\":false}","time":"2020-03-05T07:01:24.765Z","v":0}
{"name":"log","hostname":"removed","pid":6618,"level":30,"msg":"close event {\"shouldQuit\":true}","time":"2020-03-05T07:01:24.766Z","v":0}
{"name":"log","hostname":"removed","pid":6618,"level":30,"msg":"requestShutdown: Requesting close of mainWindow...","time":"2020-03-05T07:01:24.766Z","v":0}
{"name":"log","hostname":"removed","pid":6618,"level":30,"msg":"Updating BrowserWindow config: {\"maximized\":true,\"autoHideMenuBar\":false,\"fullscreen\":false,\"width\":1920,\"height\":1023,\"x\":10,\"y\":8}","time":"2020-03-05T07:01:25.298Z","v":0}
{"name":"log","hostname":"removed","pid":6618,"level":30,"msg":"config/set: Saving ephemeral config to disk","time":"2020-03-05T07:01:25.298Z","v":0}

Expected Result:

Screenshots

signal_132

Platform Info

Signal Version:

1.32.0

Operating System:

64bit Linux Mint 19.3 "Tricia" Cinnamon

Linked Device Version:

Link to Debug Log

pkorba commented 4 years ago

I have similar issue. After the update from 1.31 to 1.32 launching Signal takes much longer than before. No other system package were updated. Unlike OP, in my case Signal actually manages to get to usable state. But before that, for about 10 - 15 seconds after launching, it displays blue background only, then for about 1 second the message "loading messages" is displayed, and then conversation list is shown. While the blue background is shown, there's CPU usage spike which ends once conversation list is loaded.

signal4

Using ‘–disable-gpu’ switch doesn't change anything. I wasn't able to launch devtools during loading phase. Once Signal is in usable state this is what I can find in console:

signal_console

CLI output:

ondondil@gondolin:~$ signal-desktop
Set Windows Application User Model ID (AUMID) { appUserModelId: 'org.whispersystems.signal-desktop' }
NODE_ENV production
NODE_CONFIG_DIR /opt/Signal/resources/app.asar/config
NODE_CONFIG {}
ALLOW_CONFIG_MUTATIONS undefined
HOSTNAME undefined
NODE_APP_INSTANCE undefined
SUPPRESS_NO_CONFIG_WARNING undefined
SIGNAL_ENABLE_HTTP undefined
userData: /home/ondondil/.config/Signal
config/get: Successfully read user config file
x-attr dependncy did not load successfully
config/get: Successfully read ephemeral config file
making app single instance
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"msg":"app ready","time":"2020-03-05T16:14:32.326Z","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"msg":"starting version 1.32.0","time":"2020-03-05T16:14:32.327Z","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"msg":"updateSchema:\n  Current user_version: 19;\n  Most recent db schema: 19;\n  SQLite version: 3.30.1;\n  SQLCipher version: 4.3.0 community;\n  (deprecated) schema_version: 45;\n","time":"2020-03-05T16:14:32.338Z","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"msg":"Initializing BrowserWindow config: {\"show\":true,\"width\":958,\"height\":1024,\"minWidth\":680,\"minHeight\":550,\"autoHideMenuBar\":true,\"backgroundColor\":\"#2090EA\",\"vibrancy\":\"appearance-based\",\"webPreferences\":{\"nodeIntegration\":false,\"nodeIntegrationInWorker\":false,\"contextIsolation\":false,\"preload\":\"/opt/Signal/resources/app.asar/preload.js\",\"nativeWindowOpen\":true},\"icon\":\"/opt/Signal/resources/app.asar/images/icon_256.png\",\"x\":961,\"y\":24}","time":"2020-03-05T16:14:32.456Z","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":40,"msg":"(electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently \"false\".  It will change to be \"true\" in Electron 9.  For more information please check https://github.com/electron/electron/issues/18397","time":"2020-03-05T16:14:32.500Z","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"msg":"Begin ensuring permissions","time":"2020-03-05T16:14:32.566Z","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"msg":"Ensuring file permissions for 2 files","time":"2020-03-05T16:14:32.579Z","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"msg":"Finish ensuring permissions in 16ms","time":"2020-03-05T16:14:32.582Z","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":40,"msg":"(electron) 'systemPreferences.isDarkMode()' is deprecated and will be removed. Please use 'nativeTheme.shouldUseDarkColors' instead.","time":"2020-03-05T16:14:32.713Z","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":40,"msg":"(electron) 'setAutoHideMenuBar function' is deprecated and will be removed. Please use 'autoHideMenuBar property' instead.","time":"2020-03-05T16:14:45.304Z","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:33.412Z","msg":"x-attr dependncy did not load successfully","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:33.477Z","msg":"Detected Linux. Setting up spell check with locale pl_PL and dictionary location /usr/share/hunspell","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:44.830Z","msg":"preload complete","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:45.051Z","msg":"pre-main prep time: 1 ms","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:45.134Z","msg":"background page reloaded","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:45.134Z","msg":"environment: production","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:45.167Z","msg":"SQL channel job 1 (getItemById) succeeded in 32ms","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:45.167Z","msg":"Storage fetch","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:45.234Z","msg":"SQL channel job 2 (getAllItems) succeeded in 67ms","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:45.250Z","msg":"SQL channel job 3 (createOrUpdateItem) succeeded in 13ms","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:45.270Z","msg":"SQL channel job 4 (createOrUpdateItem) succeeded in 20ms","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:45.271Z","msg":"SQL channel job 5 (createOrUpdateItem) succeeded in 21ms","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:45.271Z","msg":"Starting background data migration. Target version: 10","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:45.271Z","msg":"ConversationController: starting initial fetch","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:45.291Z","msg":"SQL channel job 7 (getAllStickerPacks) succeeded in 19ms","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:45.292Z","msg":"SQL channel job 8 (getAllStickers) succeeded in 20ms","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:45.293Z","msg":"SQL channel job 9 (getRecentStickers) succeeded in 21ms","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:45.294Z","msg":"SQL channel job 10 (getRecentEmojis) succeeded in 20ms","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:45.294Z","msg":"SQL channel job 13 (getAllIdentityKeys) succeeded in 21ms","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:45.294Z","msg":"SignalProtocolStore: Finished caching identityKeys data","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:45.294Z","msg":"SQL channel job 14 (getAllSessions) succeeded in 20ms","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:45.294Z","msg":"SignalProtocolStore: Finished caching sessions data","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:45.295Z","msg":"SQL channel job 12 (getItemById) succeeded in 22ms","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:45.295Z","msg":"SQL channel job 11 (getItemById) succeeded in 22ms","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:45.295Z","msg":"ConversationController: done with initial fetch","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:45.296Z","msg":"SignalProtocolStore: Finished caching signedPreKeys data","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:45.300Z","msg":"SignalProtocolStore: Finished caching preKeys data","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:45.302Z","msg":"Cleanup: starting...","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:45.302Z","msg":"Initializing network observer every 5000ms","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:45.302Z","msg":"Build expires:  2020-06-03T01:54:21.000Z","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:45.303Z","msg":"Cleanup: Found 0 messages for cleanup","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:45.303Z","msg":"Cleanup: complete","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:45.303Z","msg":"listening for registration events","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:45.304Z","msg":"Next signed key rotation scheduled for 2020-03-07T16:02:35.873Z","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:45.305Z","msg":"refreshSenderCertificate: Getting new certificate...","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:45.306Z","msg":"GET https://textsecure-service.whispersystems.org/v1/certificate/delivery","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:45.314Z","msg":"connect ","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:45.314Z","msg":"Initializing socket and listening for messages","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:45.317Z","msg":"getAllFromCache","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:45.317Z","msg":"opening message socket https://textsecure-service.whispersystems.org","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:45.321Z","msg":"Start idle detector","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:45.322Z","msg":"open inbox","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:45.327Z","msg":"SQL channel job 20 (getNextExpiringMessage) succeeded in 23ms","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:45.328Z","msg":"SQL channel job 21 (getNextTapToViewMessageToAgeOut) succeeded in 24ms","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:45.355Z","msg":"SQL channel job 22 (getUnprocessedCount) succeeded in 38ms","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:45.355Z","msg":"SQL channel job 23 (resetAttachmentDownloadPending) succeeded in 34ms","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:45.360Z","msg":"getAllFromCache loaded 0 saved envelopes","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":40,"msg":"(electron) 'setBadgeCount function' is deprecated and will be removed. Please use 'badgeCount property' instead.","time":"2020-03-05T16:14:46.291Z","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:46.302Z","msg":"SQL channel job 26 (createOrUpdateItem) succeeded in 12ms","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:46.678Z","msg":"websocket open","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:46.681Z","msg":"got request PUT /api/v1/queue/empty","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:46.684Z","msg":"MessageReceiver: finished processing messages after 'empty', now waiting for application","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:46.684Z","msg":"MessageReceiver: emitting 'empty' event","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"msg":"updater/start: Updates disabled - not starting new version checks","time":"2020-03-05T16:14:46.685Z","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:46.684Z","msg":"onEmpty: All outstanding database requests complete","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:46.685Z","msg":"GET https://textsecure-service.whispersystems.org/v1/certificate/delivery 200 Success","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:46.686Z","msg":"Next sender certificate refresh scheduled for 2020-03-06T16:14:46.686Z","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:46.686Z","msg":"refreshOurProfile","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:46.692Z","msg":"GET https://textsecure-service.whispersystems.org/v1/profile/+[REDACTED]569 (unauth)","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:46.697Z","msg":"SQL channel job 27 (createOrUpdateItem) succeeded in 11ms","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:47.332Z","msg":"GET https://textsecure-service.whispersystems.org/v1/profile/+[REDACTED]569 200 Success","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:47.333Z","msg":"Setting sealedSender to ENABLED for conversation +[REDACTED]569","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:47.334Z","msg":"GET https://cdn.signal.org/profiles/y85SZgXgPYjBG43JidYDkg","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:48.162Z","msg":"GET https://cdn.signal.org/profiles/y85SZgXgPYjBG43JidYDkg 200 Success","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:50.363Z","msg":"Upgrade message schema (with index): {\"done\":true,\"numProcessed\":0,\"fetchDuration\":1,\"upgradeDuration\":0,\"saveDuration\":0,\"totalDuration\":1}","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:50.363Z","msg":"Background migration complete. Stopping idle detector.","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:14:50.363Z","msg":"Stop idle detector","v":0}
{"name":"log","hostname":"gondolin","pid":5141,"level":30,"time":"2020-03-05T16:15:12.201Z","msg":"Remove all notifications","v":0}

Platform Info

Signal Version: 1.32.0 Operating System: Xubuntu 18.04.4 LTS Kernel: 5.3.0-40-generic CPU: AMD Ryzen 1600 GPU: AMD Radeon RX 460 GPU driver: amdgpu

Link to Debug Log

https://debuglogs.org/122df435222f34ed5adda1603c57c607e7537b13cdd7fb2c6ac9e2c2c270dd43

dinzin commented 4 years ago

me too have the same issue: blue screen and no interaction

Signal Version: 1.32.0 Operating System: Xubuntu 18.04.4 LTS Kernel: 5.3.0-40-generic CPU: Intel i3u GPU: integrated GPU driver: mesa

scottnonnenberg-signal commented 4 years ago

@mirktmirkt What is your uname -a result?

wpeckr commented 4 years ago

Similarly, in a virtual machine passing windows with X forwarding.

Linux signal 4.19.0-8-amd64 #1 SMP Debian 4.19.98-1 (2020-01-26) x86_64 GNU/Linux
TomasPech commented 4 years ago

Hi, Linux mint 19.3 Cinnamon can start with options: /opt/Signal/signal-desktop --no-sandbox %U --start-in-tray -- but sys-tray is not working as in previous versions

uname -a : _Linux Me-desktop 5.5.6-050506-generic #202002240832 SMP Mon Feb 24 08:35:58 UTC 2020 x86_64 x86_64 x8664 GNU/Linux

scottnonnenberg-signal commented 4 years ago

@TomasPech Wait - are you saying that Signal Desktop does start for you? What can you tell me about your graphics hardware?

TomasPech commented 4 years ago

Yes, Signal is running only Signal icon isn't in systray.

glsinfo partial: _Extended renderer info (GLX_MESA_query_renderer): Vendor: X.Org (0x1002) Device: Radeon RX 580 Series (POLARIS10, DRM 3.36.0, 5.5.6-050506-generic, LLVM 9.0.1) (0x67df) Version: 20.0.0 Accelerated: yes Video memory: 8192MB Unified memory: no Preferred profile: core (0x1) Max core profile version: 4.6 Max compat profile version: 4.6 Max GLES1 profile version: 1.1 Max GLES[23] profile version: 3.2 Memory info (GL_ATI_meminfo): VBO free memory - total: 7987 MB, largest block: 7987 MB VBO free aux. memory - total: 8159 MB, largest block: 8159 MB Texture free memory - total: 7987 MB, largest block: 7987 MB Texture free aux. memory - total: 8159 MB, largest block: 8159 MB Renderbuffer free memory - total: 7987 MB, largest block: 7987 MB Renderbuffer free aux. memory - total: 8159 MB, largest block: 8159 MB Memory info (GL_NVX_gpu_memoryinfo): Dedicated video memory: 8192 MB Total available memory: 16384 MB Currently available dedicated video memory: 7987 MB OpenGL vendor string: X.Org OpenGL renderer string: Radeon RX 580 Series (POLARIS10, DRM 3.36.0, 5.5.6-050506-generic, LLVM 9.0.1) OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.0.0 - kisak-mesa PPA OpenGL core profile shading language version string: 4.60 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL core profile extensions:

if you need more info please let me know which output you want

pkorba commented 4 years ago

@TomasPech Sounds like https://github.com/signalapp/Signal-Desktop/issues/3974

TomasPech commented 4 years ago

Thanks, now it works :+1:

Signal Desktop 1.32.0 is running well without visible issue - for me.

EDIT: Electron v8.0.3 | Chromium v80.0.3987.134 | Node v12.13.0 | v8 v8.0.426.26-electron.0 works without problem but memory consumption is really high - approx. ~1GB

with Czech localization: obrazek

with US localization is much less: image

Can somobody tell me why ?

scottnonnenberg-signal commented 4 years ago

For those who are experiencing the blue screen: we spoke with the Electron folks, and they recommend that you try Electron 8.0.3 by itself, with no Signal Desktop-specific code. Try these steps:

mkdir test
cd test
wget https://github.com/electron/electron/releases/download/v8.0.3/electron-v8.0.3-linux-x64.zip
unzip electron-v8.0.3-linux-x64.zip
./electron --no-sandbox

You should see a window pop up with a list of component versions and the Electron logo. Please let us know how that goes!

Lion-box commented 4 years ago

Same problem here on Ubuntu-Mate 19.10: blue window for minutes until I request to exit using the tray icon and wait another minute for it to effectively exit (window closes immediately but process is still running at full steam). Confirm that a cpu core is running at 100% until the tray icon disappears. Confirm large amount of ram in use 1,3 Gb in my case. I'm running on italian locale.

Nude Electron v8.0.3 suggested in previous post works as expected and opens up incredibly fast.

Signal updated an hour ago by update-manager from repository (updates.signal.org/desktop/apt xenial main)

uname -a _Linux lion-W530 5.3.0-40-generic #32-Ubuntu SMP Fri Jan 31 20:24:34 UTC 2020 x86_64 x86_64 x8664 GNU/Linux

here is a log of a new clean session (after removing ~/.config/Signal directory)

{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"app ready","time":"2020-03-05T22:25:50.578Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"starting version 1.32.0","time":"2020-03-05T22:25:50.579Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"key/initialize: Generating new encryption key, since we did not find it on disk","time":"2020-03-05T22:25:50.588Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"config/set: Saving user config to disk","time":"2020-03-05T22:25:50.588Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"migrateSchemaVersion: Migrating from schema_version 0 to user_version 0","time":"2020-03-05T22:25:50.592Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"updateSchema:\n  Current user_version: 0;\n  Most recent db schema: 19;\n  SQLite version: 3.30.1;\n  SQLCipher version: 4.3.0 community;\n  (deprecated) schema_version: 0;\n","time":"2020-03-05T22:25:50.604Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"updateToSchemaVersion1: starting...","time":"2020-03-05T22:25:50.604Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"updateToSchemaVersion1: success!","time":"2020-03-05T22:25:50.620Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"updateToSchemaVersion2: starting...","time":"2020-03-05T22:25:50.620Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"updateToSchemaVersion2: success!","time":"2020-03-05T22:25:50.634Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"updateToSchemaVersion3: starting...","time":"2020-03-05T22:25:50.635Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"updateToSchemaVersion3: success!","time":"2020-03-05T22:25:50.648Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"updateToSchemaVersion4: starting...","time":"2020-03-05T22:25:50.648Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"updateToSchemaVersion4: success!","time":"2020-03-05T22:25:50.661Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"updateToSchemaVersion6: starting...","time":"2020-03-05T22:25:50.661Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"updateToSchemaVersion6: success!","time":"2020-03-05T22:25:50.680Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"updateToSchemaVersion7: starting...","time":"2020-03-05T22:25:50.680Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"updateToSchemaVersion7: success!","time":"2020-03-05T22:25:50.703Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"updateToSchemaVersion8: starting...","time":"2020-03-05T22:25:50.704Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"updateToSchemaVersion8: success!","time":"2020-03-05T22:25:50.727Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"updateToSchemaVersion9: starting...","time":"2020-03-05T22:25:50.727Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"updateToSchemaVersion9: success!","time":"2020-03-05T22:25:50.741Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"updateToSchemaVersion10: starting...","time":"2020-03-05T22:25:50.741Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"updateToSchemaVersion10: success!","time":"2020-03-05T22:25:50.769Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"updateToSchemaVersion11: starting...","time":"2020-03-05T22:25:50.769Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"updateToSchemaVersion11: success!","time":"2020-03-05T22:25:50.780Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"updateToSchemaVersion12: starting...","time":"2020-03-05T22:25:50.780Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"updateToSchemaVersion12: success!","time":"2020-03-05T22:25:50.796Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"updateToSchemaVersion13: starting...","time":"2020-03-05T22:25:50.796Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"updateToSchemaVersion13: success!","time":"2020-03-05T22:25:50.811Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"updateToSchemaVersion14: starting...","time":"2020-03-05T22:25:50.811Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"updateToSchemaVersion14: success!","time":"2020-03-05T22:25:50.823Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"updateToSchemaVersion15: starting...","time":"2020-03-05T22:25:50.824Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"updateToSchemaVersion15: success!","time":"2020-03-05T22:25:50.857Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"updateToSchemaVersion16: starting...","time":"2020-03-05T22:25:50.858Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"updateToSchemaVersion16: success!","time":"2020-03-05T22:25:50.890Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"updateToSchemaVersion17: starting...","time":"2020-03-05T22:25:50.891Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"updateToSchemaVersion17: Index messages_view_once did not already exist","time":"2020-03-05T22:25:50.898Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"updateToSchemaVersion17: success!","time":"2020-03-05T22:25:50.912Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"updateToSchemaVersion18: starting...","time":"2020-03-05T22:25:50.912Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"updateToSchemaVersion18: success!","time":"2020-03-05T22:25:50.928Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"updateToSchemaVersion19: starting...","time":"2020-03-05T22:25:50.929Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"updateToSchemaVersion19: success!","time":"2020-03-05T22:25:50.951Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"Location reset needed","time":"2020-03-05T22:25:50.961Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"Initializing BrowserWindow config: {\"show\":true,\"width\":800,\"height\":610,\"minWidth\":680,\"minHeight\":550,\"autoHideMenuBar\":false,\"backgroundColor\":\"#2090EA\",\"vibrancy\":\"appearance-based\",\"webPreferences\":{\"nodeIntegration\":false,\"nodeIntegrationInWorker\":false,\"contextIsolation\":false,\"preload\":\"/opt/Signal/resources/app.asar/preload.js\",\"nativeWindowOpen\":true},\"icon\":\"/opt/Signal/resources/app.asar/images/icon_256.png\"}","time":"2020-03-05T22:25:50.961Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":40,"msg":"(electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently \"false\".  It will change to be \"true\" in Electron 9.  For more information please check https://github.com/electron/electron/issues/18397","time":"2020-03-05T22:25:51.012Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"Begin ensuring permissions","time":"2020-03-05T22:25:51.077Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"Ensuring file permissions for 2 files","time":"2020-03-05T22:25:51.096Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"Finish ensuring permissions in 20ms","time":"2020-03-05T22:25:51.097Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":40,"msg":"(electron) 'systemPreferences.isDarkMode()' is deprecated and will be removed. Please use 'nativeTheme.shouldUseDarkColors' instead.","time":"2020-03-05T22:25:51.250Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":40,"msg":"(electron) 'isMenuBarAutoHide function' is deprecated and will be removed. Please use 'autoHideMenuBar property' instead.","time":"2020-03-05T22:25:51.580Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"Updating BrowserWindow config: {\"maximized\":false,\"autoHideMenuBar\":false,\"fullscreen\":false,\"width\":800,\"height\":610,\"x\":561,\"y\":276}","time":"2020-03-05T22:25:51.580Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"config/set: Saving ephemeral config to disk","time":"2020-03-05T22:25:51.580Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"before-quit event {\"shouldQuit\":false}","time":"2020-03-05T22:26:11.056Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"close event {\"shouldQuit\":true}","time":"2020-03-05T22:26:11.056Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"requestShutdown: Requesting close of mainWindow...","time":"2020-03-05T22:26:11.057Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"Updating BrowserWindow config: {\"maximized\":false,\"autoHideMenuBar\":false,\"fullscreen\":false,\"width\":800,\"height\":610,\"x\":560,\"y\":248}","time":"2020-03-05T22:26:11.559Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"config/set: Saving ephemeral config to disk","time":"2020-03-05T22:26:11.559Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"Updating BrowserWindow config: {\"maximized\":false,\"autoHideMenuBar\":false,\"fullscreen\":false,\"width\":800,\"height\":610,\"x\":561,\"y\":276}","time":"2020-03-05T22:26:15.258Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"config/set: Saving ephemeral config to disk","time":"2020-03-05T22:26:15.258Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"before-quit event {\"shouldQuit\":true}","time":"2020-03-05T22:26:16.818Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"close event {\"shouldQuit\":true}","time":"2020-03-05T22:26:16.818Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"requestShutdown: Requesting close of mainWindow...","time":"2020-03-05T22:26:16.819Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"Updating BrowserWindow config: {\"maximized\":false,\"autoHideMenuBar\":false,\"fullscreen\":false,\"width\":800,\"height\":610,\"x\":560,\"y\":248}","time":"2020-03-05T22:26:17.321Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"config/set: Saving ephemeral config to disk","time":"2020-03-05T22:26:17.321Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"requestShutdown: Response never received; forcing shutdown.","time":"2020-03-05T22:28:11.057Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"before-quit event {\"readyForShutdown\":true,\"shouldQuit\":true}","time":"2020-03-05T22:28:11.057Z","v":0}
{"name":"log","hostname":"lion-W530","pid":25869,"level":30,"msg":"close event {\"readyForShutdown\":true,\"shouldQuit\":true}","time":"2020-03-05T22:28:11.057Z","v":0}
CrypticaScriptura commented 4 years ago

... they recommend that you try Electron 8.0.3 by itself, with no Signal Desktop-specific code. Try these steps:

Results of this suggestion on my system found here: https://github.com/signalapp/Signal-Desktop/issues/3281#issuecomment-595481858

mirktmirkt commented 4 years ago

It's somehow related to locale! My default locale: lt_LT.UTF-8, blue screen..

Signal 1.32.0 starts fine using: $ LANG=en_US signal-desktop

$ uname -a
Linux removed 5.3.0-40-generic #32~18.04.1-Ubuntu SMP Mon Feb 3 14:05:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Electron test: electron

Lion-box commented 4 years ago

I can confirm that running with LANG=en_GB works perfectly good while with my default locale ( it_IT ) it goes to blue window and associated hi memory and cpu usage.

One strange thing is that while specifying LANG=en_GB the whole signal app including electron menu on top of the window are still in italian. This is true both with my daily profile and after clearing .config/Signal folder

So it's definitely something about locales

kenpowers-signal commented 4 years ago

Definitely appears to be locale-related. I am able to reproduce the hang by running LANG=lt_LT signal-desktop.

For anyone else still experiencing this issue: can you share your locale with us? You can get it by running echo $LANG.

CrypticaScriptura commented 4 years ago

I see now it's affected by the locale on mine too. My systems are on pt_PT. Starting signal-desktop with LANG=en_US had it run exactly as expected, although curiously, the application interface was still fully in Portuguese.

pkorba commented 4 years ago

I tested Electron 8.0.3 alone and it starts instantly. Besides, changing locale makes a difference for me too. In my case setting LANG variable to en_US reduces startup time from ~15s to ~2s. My default locale is pl_PL.UTF-8.

dinzin commented 4 years ago

the issue is also present with locale "it_IT.UTF-8"

Lion-box commented 4 years ago

the issue is also present with locale "it_IT.UTF-8"

as already reported 10 hours ago

scottnonnenberg-signal commented 4 years ago

We’ve released v1.32.1-beta.1 and v1.32.1 which should address the blue screens people have been seeing on Linux in some configurations. Unfortunately, it means that non-english spell check has been disabled for now. Let us know how it works for you!

Lion-box commented 4 years ago

Confirm v1.32.1 is working as expected (except for spell check of course).

pkorba commented 4 years ago

I confirm that 1.32.1 fixed the issue for me too.

mirktmirkt commented 4 years ago

We’ve released v1.32.1-beta.1 and v1.32.1 which should address the blue screens people have been seeing on Linux in some configurations. Unfortunately, it means that non-english spell check has been disabled for now. Let us know how it works for you!

Thank you!

CrypticaScriptura commented 4 years ago

Latest releases fixed it for me as well. Thank you!

scottnonnenberg-signal commented 4 years ago

Alright, thanks everyone. I'm going to close this.