Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 671020

Summary: =net-im/signal-desktop-bin-1.16.3 hangs on startup
Product: Gentoo Linux Reporter: Gary E. Miller <gem>
Component: Current packagesAssignee: Robert G. Siebeck <gentoo.2019>
Status: RESOLVED UPSTREAM    
Severity: normal CC: proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Gary E. Miller 2018-11-12 21:00:46 UTC
I get this when I try to startup signal-desktop as a normal user:

$ 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
userData: /home/gem/.config/Signal
config/get: Successfully read user config file
config/get: Successfully read ephemeral config file
Uncaught error or unhandled promise rejection: Error: /tmp/.org.chromium.Chromium.nHhTbN: failed to map segment from shared object
    at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:166:20)
    at Object.Module._extensions..node (module.js:671:18)
    at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:180:18)
    at Module.load (module.js:561:32)
    at tryModuleLoad (module.js:504:12)
    at Function.Module._load (module.js:496:3)
    at Module.require (module.js:586:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/opt/Signal/resources/app.asar/node_modules/@journeyapps/sqlcipher/lib/sqlite3.js:4:15)
    at Object.<anonymous> (/opt/Signal/resources/app.asar/node_modules/@journeyapps/sqlcipher/lib/sqlite3.js:190:3)


If I remount /tmp without noexec:

mount -o remount,noexec /tmp

Then it works.  

I don't want to allow any program to be able to exec in /tmp!

OBTW: any chance to a source based signal solution?

RGDS
GARY
Comment 1 Robert G. Siebeck 2018-11-15 18:09:38 UTC
This seems to be an upstream bug: https://github.com/signalapp/Signal-Desktop/issues/2595