Skip to content
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

kdb: virt_to_phys is broken #8

Open
voidus opened this issue Oct 7, 2013 · 6 comments
Open

kdb: virt_to_phys is broken #8

voidus opened this issue Oct 7, 2013 · 6 comments

Comments

@voidus
Copy link

voidus commented Oct 7, 2013

Using virt_to_phys in the kernel debugger causes kernel pagefaults in userland and assertion errors

@jkehne
Copy link
Member

jkehne commented Mar 19, 2014

I finally got around to looking into this, but I couldn't reproduce it. Could you explain how you triggered this bug?

@voidus
Copy link
Author

voidus commented Mar 19, 2014

I think it triggered every time I tried to use the debugger function to resolve a virtual address to a physical address. (I think it was the i-key, but I'm not sure.)

I am pretty sure though that it was triggered unconditionally

@jkehne
Copy link
Member

jkehne commented Mar 19, 2014

I did the same thing, but didn't experience any crashes. I also used the same lab environment you did. Very strange.

@voidus
Copy link
Author

voidus commented Mar 19, 2014

If I remember correctly, I submitted a pull request that fixed a problem back then. Not sure if it was this one, but it might have been.

@jkehne
Copy link
Member

jkehne commented Mar 19, 2014

You mean #7, but that's in mapctrl, which is only called while modifying mappings, but not for resolving. I'll test it anyway to make sure.

@voidus
Copy link
Author

voidus commented Mar 19, 2014

Yeah, doesn't look like it. If that's not it, I have no idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants