-
Notifications
You must be signed in to change notification settings - Fork 7
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
gdb failing to obtain symbols when attaching #61
Comments
this should only really happen when the process and the debugger run in different namespaces, so likely interference from the bwrap sandbox? (try forcing it off, there is an env var for it) |
@q66 shouldn't it work regardless? I would expect attaching a debugger to be something that works by default. |
Inside the SDK the sandbox disables the pid namespacing. FWIW it works fine here. |
@ntrrgc it probably should, but that's separate from what i said :) i'm just trying to find the cause of the error here |
@q66 I just tried with |
@ntrrgc the pid namespace is unshared when looking at that, it checks an env var: https://github.com/WebKit/WebKit/blob/b1ed27f4948073a31795dc90b845554fda214420/Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp#L465 so next thing you can try is setting if that works, and if what Patrick says is correct, it would mean your configuration having that messed up for some reason (but i dunno enough about how the container sdk works to tell by myself) |
The issue still happens with |
hm, maybe it's one of the other namespaces then? or some change in bwrap behavior? the only ones the launcher seems to use are user, pid, ipc, uts, and network... doesn't sound like any of the others should be relevant would need somebody to collect a bunch more information i guess... |
In the past this has worked for me, but today I found this in my laptop while trying to attach gdb. Both gdb and WebKitWebProcess are running in the same container:
The text was updated successfully, but these errors were encountered: