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?










share|improve this question






















  • 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















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?










share|improve this question






















  • 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













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?










share|improve this question













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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










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


















  • 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















active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















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






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

Probability when a professor distributes a quiz and homework assignment to a class of n students.

Aardman Animations

Are they similar matrix