You are not logged in.

#1 2014-11-03 19:15:22

warrd
Member
Registered: 2011-10-21
Posts: 7

[SOLVED] Bitwig studio error - /dev/shm permissions

I've installed Bitwig Studio demo from the AUR, but am having problems getting it running:

┌─[~ (lap)]─┐
└─[19:10]─> /opt/bitwig-studio/bitwig-studio 
JRE Path: //opt/bitwig-studio/bin/jre
Could not create shared memory with name "bitwig-meter-mem" and size of 16777216
Permission denied
java.io.IOException: Could not create shared memory with name bitwig-meter-mem and size 16777216
	at com.bitwig.base.platform.SharedMemory.a(SourceFile:42)
	at com.bitwig.base.platform.g.<init>(SourceFile:23)
	at com.bitwig.flt.app.FloatMainApplication.<init>(SourceFile:7436)
	at com.bitwig.flt.app.FloatMainApplication.main(SourceFile:5658)

Running strace I've found the system calls that are failing:

19:03:36.094909 unlink("/dev/shm/bitwig-meter-mem") = -1 EPERM (Operation not permitted) <0.000011>
19:03:36.094949 open("/dev/shm/bitwig-meter-mem", O_RDWR|O_CREAT|O_NOFOLLOW|O_CLOEXEC, 0600) = -1 EACCES (Permission denied) <0.000011>

Any ideas how I should go about fixing this?

Thanks

Last edited by warrd (2014-11-04 18:33:43)

Offline

#2 2014-11-03 19:46:23

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,457

Re: [SOLVED] Bitwig studio error - /dev/shm permissions

those permission denied messages makes me think you started it as root before?


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#3 2014-11-03 21:47:44

warrd
Member
Registered: 2011-10-21
Posts: 7

Re: [SOLVED] Bitwig studio error - /dev/shm permissions

kokoko3k wrote:

those permission denied messages makes me think you started it as root before?

Thanks for the suggestion, I think you might be right.. I deleted the file at /dev/shm and when I run again it appears to have the correct permissions.

Now I get a segfault:

┌─[~ (lap)]─┐
└─[21:47]─> bitwig-studio 
JRE Path: //opt/bitwig-studio/bin/jre
Nov 03, 2014 9:48:02 PM org.apache.commons.vfs2.VfsLog info
INFO: Using "/tmp/vfs_cache" as temporary files store.
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f601d062600, pid=22886, tid=140049423189760
#
# JRE version: Java(TM) SE Runtime Environment (7.0_51-b13) (build 1.7.0_51-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.51-b03 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libxcb.so.1+0x10600]  xcb_get_atom_name_name_length+0x0
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# ./bitwig-studio-jvm-crash.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted (core dumped)

Offline

#4 2014-11-04 08:35:17

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,457

Re: [SOLVED] Bitwig studio error - /dev/shm permissions

I can say it worked for me (just tried)
I'd try to clear your ~/.BitwigStudio directory.


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#5 2014-11-04 18:33:22

warrd
Member
Registered: 2011-10-21
Posts: 7

Re: [SOLVED] Bitwig studio error - /dev/shm permissions

Did the trick nicely, cheers!

Offline

Board footer

Powered by FluxBB