Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 671020 - =net-im/signal-desktop-bin-1.16.3 hangs on startup
Summary: =net-im/signal-desktop-bin-1.16.3 hangs on startup
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robert G. Siebeck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-12 21:00 UTC by Gary E. Miller
Modified: 2018-11-15 18:09 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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