Enable multithreading to use std::thread: Operation not permitted
up vote
0
down vote
favorite
I typically only use linux machines for work, they tend to be older under powered machines. I actually have arch linux on a beefer machine and decided to try my hand at running a game on it. I downloaded the office management 101 demo to see if I could get it to run. I unzipped it, got into the folder and ran $ chmod a+x OfficeManagement101
and then:
$ ./OfficeManagement101
config file: /home/me/Downloads/om101-linux/config.json
jar: /home/me/Downloads/om101-linux/om101_drm_free.jar
mainClass: eu/tulevik/officemanagement101/desktop/DesktopLauncher
vmArg 0: -Xmx1G
jre: /home/me/Downloads/om101-linux/jre/lib/amd64/server/libjvm.so
Exception in thread "LWJGL Application" java.lang.ExceptionInInitializerError
at com.badlogic.gdx.backends.lwjgl.LwjglGraphics.setVSync(LwjglGraphics.java:555)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:122)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
at org.lwjgl.opengl.LinuxDisplay.getAvailableDisplayModes(LinuxDisplay.java:954)
at org.lwjgl.opengl.LinuxDisplay.init(LinuxDisplay.java:738)
at org.lwjgl.opengl.Display.<clinit>(Display.java:138)
... 2 more
AL lib: (EE) alc_cleanup: 1 device not closed
Some digging around the internet has me do $ sudo pacman -S xorg-xrandr
, the screen fades to black but then I get a new error:
$ ./OfficeManagement101
config file: /home/me/Downloads/om101-linux/config.json
jar: /home/me/Downloads/om101-linux/om101_drm_free.jar
mainClass: eu/tulevik/officemanagement101/desktop/DesktopLauncher
vmArg 0: -Xmx1G
jre: /home/me/Downloads/om101-linux/jre/lib/amd64/server/libjvm.so
terminate called after throwing an instance of 'std::system_error'
what(): Enable multithreading to use std::thread: Operation not permitted
Aborted (core dumped)
Which leaves me without a real good idea of what to do next, is this something I need to fix in linux is this a c++ issue a little from both, any help?
linux arch-linux xorg
add a comment |
up vote
0
down vote
favorite
I typically only use linux machines for work, they tend to be older under powered machines. I actually have arch linux on a beefer machine and decided to try my hand at running a game on it. I downloaded the office management 101 demo to see if I could get it to run. I unzipped it, got into the folder and ran $ chmod a+x OfficeManagement101
and then:
$ ./OfficeManagement101
config file: /home/me/Downloads/om101-linux/config.json
jar: /home/me/Downloads/om101-linux/om101_drm_free.jar
mainClass: eu/tulevik/officemanagement101/desktop/DesktopLauncher
vmArg 0: -Xmx1G
jre: /home/me/Downloads/om101-linux/jre/lib/amd64/server/libjvm.so
Exception in thread "LWJGL Application" java.lang.ExceptionInInitializerError
at com.badlogic.gdx.backends.lwjgl.LwjglGraphics.setVSync(LwjglGraphics.java:555)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:122)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
at org.lwjgl.opengl.LinuxDisplay.getAvailableDisplayModes(LinuxDisplay.java:954)
at org.lwjgl.opengl.LinuxDisplay.init(LinuxDisplay.java:738)
at org.lwjgl.opengl.Display.<clinit>(Display.java:138)
... 2 more
AL lib: (EE) alc_cleanup: 1 device not closed
Some digging around the internet has me do $ sudo pacman -S xorg-xrandr
, the screen fades to black but then I get a new error:
$ ./OfficeManagement101
config file: /home/me/Downloads/om101-linux/config.json
jar: /home/me/Downloads/om101-linux/om101_drm_free.jar
mainClass: eu/tulevik/officemanagement101/desktop/DesktopLauncher
vmArg 0: -Xmx1G
jre: /home/me/Downloads/om101-linux/jre/lib/amd64/server/libjvm.so
terminate called after throwing an instance of 'std::system_error'
what(): Enable multithreading to use std::thread: Operation not permitted
Aborted (core dumped)
Which leaves me without a real good idea of what to do next, is this something I need to fix in linux is this a c++ issue a little from both, any help?
linux arch-linux xorg
You are trying to use C++11 multithreading, but I doubt that your Linux is recent enough to support it.
– harrymc
Dec 2 at 21:37
@harrymc so what should I do about this demo just be out of luck, it is fine if that is the answer, I just want to know.
– Never Nor
Dec 2 at 23:40
See this answer to determine your installed C++ version.
– harrymc
Dec 3 at 7:13
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I typically only use linux machines for work, they tend to be older under powered machines. I actually have arch linux on a beefer machine and decided to try my hand at running a game on it. I downloaded the office management 101 demo to see if I could get it to run. I unzipped it, got into the folder and ran $ chmod a+x OfficeManagement101
and then:
$ ./OfficeManagement101
config file: /home/me/Downloads/om101-linux/config.json
jar: /home/me/Downloads/om101-linux/om101_drm_free.jar
mainClass: eu/tulevik/officemanagement101/desktop/DesktopLauncher
vmArg 0: -Xmx1G
jre: /home/me/Downloads/om101-linux/jre/lib/amd64/server/libjvm.so
Exception in thread "LWJGL Application" java.lang.ExceptionInInitializerError
at com.badlogic.gdx.backends.lwjgl.LwjglGraphics.setVSync(LwjglGraphics.java:555)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:122)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
at org.lwjgl.opengl.LinuxDisplay.getAvailableDisplayModes(LinuxDisplay.java:954)
at org.lwjgl.opengl.LinuxDisplay.init(LinuxDisplay.java:738)
at org.lwjgl.opengl.Display.<clinit>(Display.java:138)
... 2 more
AL lib: (EE) alc_cleanup: 1 device not closed
Some digging around the internet has me do $ sudo pacman -S xorg-xrandr
, the screen fades to black but then I get a new error:
$ ./OfficeManagement101
config file: /home/me/Downloads/om101-linux/config.json
jar: /home/me/Downloads/om101-linux/om101_drm_free.jar
mainClass: eu/tulevik/officemanagement101/desktop/DesktopLauncher
vmArg 0: -Xmx1G
jre: /home/me/Downloads/om101-linux/jre/lib/amd64/server/libjvm.so
terminate called after throwing an instance of 'std::system_error'
what(): Enable multithreading to use std::thread: Operation not permitted
Aborted (core dumped)
Which leaves me without a real good idea of what to do next, is this something I need to fix in linux is this a c++ issue a little from both, any help?
linux arch-linux xorg
I typically only use linux machines for work, they tend to be older under powered machines. I actually have arch linux on a beefer machine and decided to try my hand at running a game on it. I downloaded the office management 101 demo to see if I could get it to run. I unzipped it, got into the folder and ran $ chmod a+x OfficeManagement101
and then:
$ ./OfficeManagement101
config file: /home/me/Downloads/om101-linux/config.json
jar: /home/me/Downloads/om101-linux/om101_drm_free.jar
mainClass: eu/tulevik/officemanagement101/desktop/DesktopLauncher
vmArg 0: -Xmx1G
jre: /home/me/Downloads/om101-linux/jre/lib/amd64/server/libjvm.so
Exception in thread "LWJGL Application" java.lang.ExceptionInInitializerError
at com.badlogic.gdx.backends.lwjgl.LwjglGraphics.setVSync(LwjglGraphics.java:555)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:122)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
at org.lwjgl.opengl.LinuxDisplay.getAvailableDisplayModes(LinuxDisplay.java:954)
at org.lwjgl.opengl.LinuxDisplay.init(LinuxDisplay.java:738)
at org.lwjgl.opengl.Display.<clinit>(Display.java:138)
... 2 more
AL lib: (EE) alc_cleanup: 1 device not closed
Some digging around the internet has me do $ sudo pacman -S xorg-xrandr
, the screen fades to black but then I get a new error:
$ ./OfficeManagement101
config file: /home/me/Downloads/om101-linux/config.json
jar: /home/me/Downloads/om101-linux/om101_drm_free.jar
mainClass: eu/tulevik/officemanagement101/desktop/DesktopLauncher
vmArg 0: -Xmx1G
jre: /home/me/Downloads/om101-linux/jre/lib/amd64/server/libjvm.so
terminate called after throwing an instance of 'std::system_error'
what(): Enable multithreading to use std::thread: Operation not permitted
Aborted (core dumped)
Which leaves me without a real good idea of what to do next, is this something I need to fix in linux is this a c++ issue a little from both, any help?
linux arch-linux xorg
linux arch-linux xorg
asked Dec 2 at 20:57
Never Nor
1
1
You are trying to use C++11 multithreading, but I doubt that your Linux is recent enough to support it.
– harrymc
Dec 2 at 21:37
@harrymc so what should I do about this demo just be out of luck, it is fine if that is the answer, I just want to know.
– Never Nor
Dec 2 at 23:40
See this answer to determine your installed C++ version.
– harrymc
Dec 3 at 7:13
add a comment |
You are trying to use C++11 multithreading, but I doubt that your Linux is recent enough to support it.
– harrymc
Dec 2 at 21:37
@harrymc so what should I do about this demo just be out of luck, it is fine if that is the answer, I just want to know.
– Never Nor
Dec 2 at 23:40
See this answer to determine your installed C++ version.
– harrymc
Dec 3 at 7:13
You are trying to use C++11 multithreading, but I doubt that your Linux is recent enough to support it.
– harrymc
Dec 2 at 21:37
You are trying to use C++11 multithreading, but I doubt that your Linux is recent enough to support it.
– harrymc
Dec 2 at 21:37
@harrymc so what should I do about this demo just be out of luck, it is fine if that is the answer, I just want to know.
– Never Nor
Dec 2 at 23:40
@harrymc so what should I do about this demo just be out of luck, it is fine if that is the answer, I just want to know.
– Never Nor
Dec 2 at 23:40
See this answer to determine your installed C++ version.
– harrymc
Dec 3 at 7:13
See this answer to determine your installed C++ version.
– harrymc
Dec 3 at 7:13
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1380265%2fenable-multithreading-to-use-stdthread-operation-not-permitted%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
You are trying to use C++11 multithreading, but I doubt that your Linux is recent enough to support it.
– harrymc
Dec 2 at 21:37
@harrymc so what should I do about this demo just be out of luck, it is fine if that is the answer, I just want to know.
– Never Nor
Dec 2 at 23:40
See this answer to determine your installed C++ version.
– harrymc
Dec 3 at 7:13