NW.js app /dev/shm issue

$ popcorn-time 
<omitted>
[97832:97832:0219/183514.940203:ERROR:platform_shared_memory_region_posix.cc(214)] Creating shared memory in /dev/shm/.io.nwjs.BTFATK failed: Permission denied (13)
[97832:97943:0219/183514.941300:ERROR:platform_shared_memory_region_posix.cc(214)] Creating shared memory in /dev/shm/.io.nwjs.MhpeEy failed: Permission denied (13)
[97832:97832:0219/183514.941326:ERROR:platform_shared_memory_region_posix.cc(214)] Creating shared memory in /dev/shm/.io.nwjs.effXxO failed: Permission denied (13)
[0219/183514.941878:ERROR:scoped_ptrace_attach.cc(27)] ptrace: Operation not permitted (1)
Trace/breakpoint trap (core dumped)

Hi. Any ideas on what to do with /dev/shm failures for a NW.js app?

You probably need the browser-support interface added, as most electron / nwjs apps do.

As an aside, if you’re planning on publishing popcorn-time to the store, expect it to be removed promptly. Last I heard discussions on this app, it wouldn’t be allowed in the store. But that may have changed.

https://www.engadget.com/2015-04-29-popcorn-time-uk-block.html

The High Court yesterday ruled that five of the UK’s biggest broadband providers begin blocking five websites offering the streaming software for download. Sky, BT, EE, TalkTalk and Virgin Media will all be forced to comply, just as they have with popular Bittorrent websites like ThePirateBay (even if those blocks have later been rendered useless).

1 Like