[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] RE: [PATCH] X server crashes Xen on xeno-unstable.bk



> Starting an X server on xeno-unstable.bk causes Xen to crash with
> a page fault generated in Xen. It turns out that the fault is
> generated by put_page_from_l1e().
> 
> The culprit is the following dereference:
> 
>      struct domain   *e = page->u.inuse.domain;
> 
> Where the value of page is undefined if the condition
> 
>      if ( !(l1v & _PAGE_PRESENT) || !pfn_is_ram(pfn) )
> 
> does hold. Unfortunately, this condition is checked after the 
> dereference.

Interesting. I'm guessing the reason we haven't seen this is that we
don't build on FC3. The newer version of gcc has obviously spotted the
opportunity to hoist the load.

I'll checkin the fix.

Thanks,
Ian


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.