-
Notifications
You must be signed in to change notification settings - Fork 842
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to initialize instances shared memory: "QSharedMemory::attach (shmctl): permission denied" #2068
Comments
@n3rd4i - I'll take a look at this, looks like the permissions check for the shmctl command might be too strict:
|
@n3rd4i - Could you go into a bit more detail with your repro steps, specifically the commands used to install Ubuntu Desktop and to install and launch the QT IDE? I believe I have a fix for the issue but I'm having trouble setting up your repro. |
@benhillis I'm sorry, by mistake link was wrong, I've edited the links from the original problem post.
I will post more details in next comment. |
This is the complete flow followed by me to obtain this error message: A. installation of Ubuntu desktop:
B. Starting Ubuntu Desktop
C. Installing QT 5.8:
D. Detecting the problem:
|
Thank you that's very helpful. I was swamped with //build/ conference stuff this week so I'll give this a shot with my fix. |
I am having a hard time setting this up, I think it's likely because I am using a virtual machine that does not support OpenGL graphics. Question, if you run qtcreator as root do you still see the same error? |
If I run: |
There are 2 possible cases which I found:
|
@benhillis - Simple repro steps if you are still tracking this: Start VcXsrv with XLaunch. Choose multi-window, and then Native opengl unchecked on the "Extra settings page". Then:
I'm not going to do a snippet for the fail here since you think it's already squashed, but if you guys are starting to entertain graphics apps as test cases, those are the steps. And those are always the steps, whether you are running |
I apologize for the delay, I've submitted a fix for this issue. Look for the fix in a Windows Insider build in a few weeks time. |
Fixed in 16237. |
Hi, will this fix be in the autumn creators update? |
@fehrin - anything that made it into 16237 should be in Falls. The Insider Builds are just six months of "Fall Update Pre-Releases". We haven't got any of the post Fall Update pens down stuff yet. |
Hello All, I just got Windows 10 1809 installed TODAY. I was hoping to have had this issue fixed; but apparently it is not fixed: Error message: %YDB-E-DBFILERR, Error with database file /home/sam/db/VPE/g/mumps.dat,%YDB-I-TEXT, Error with database co From strace:
|
Dunno what Ben fixed exactly but whatever it was, it shipped in 16237. Just tried the instant repro steps and qtcreator lit up nicely. For completeness this was on Ubuntu 18.04 userspace, WSL 18305, and qtcreator 4.5.2 based on Qt 5.9.5 -- but that won't matter. The syscall emulation gap this issue represents was closed a year and a half ago. If you've got CLI repro steps for your fail feel free to spin up a new issue following CONTRIBUTING.md and the template. |
Thank you. I will create a new issue. |
This bug-tracker is monitored by developers and other technical types. We like detail! So please use this form and tell us, concisely but precisely, what's up. Please fill out ALL THE FIELDS!
If you have a feature request, please post to the UserVoice. If you're reporting a BSOD, don't post here! Instead, e-mail "[email protected]", and if possible attach the minidump from "C:\Windows\minidump".
Your Windows build number: (Type
ver
at a Windows Command Prompt)Microsoft Windows [Version 10.0.15063]
What you're doing and what's happening: (Copy&paste specific commands and their output, or include screen shots)
Note: direct link to used QT IDE
What's wrong / what should be happening instead:
The QT creator works BUT I expect no warning for accessing shared memory.
Based on the following comments,
shmctl
is supported.Strace of the failing command, if applicable: (If
<cmd>
is failing, then runstrace -o strace.txt -ff <cmd>
, and post the strace.txt output here)`Failed to initialize instances shared memory: "QSharedMemory::attach (shmctl): permission denied"
strace.out.txt.6342.txt
`
Any help on this issue will be appreciated.
The text was updated successfully, but these errors were encountered: