[ros-kernel] "My Computer" crash
Mark Tempel
mtempel at visi.com
Wed Feb 18 08:49:48 CET 2004
sounds good.
--mark
-----Original Message-----
From: ros-kernel-bounces at reactos.com
[mailto:ros-kernel-bounces at reactos.com]On Behalf Of Ge van Geldorp
Sent: Wednesday, February 18, 2004 4:40 AM
To: 'ReactOS Kernel List'
Subject: RE: [ros-kernel] "My Computer" crash
> From: Mark Tempel
>
> Are you sure that RtlAllocateHeap will return 8 byte aligned
> blocks? If not I would like to add in a debug output and
> failure mode into GlobalAlloc if a non 8 byte aligned block
> of memory is allocated... It will make issues like this
> easier to debug in the future...
I have an assert checking the 8-byte alignment of the RtlAllocateHeap
and RtlReAllocateHeap return value in my local tree and it hasn't
tripped so far....
I agree with you though, it would be good to add a check in GlobalAlloc
and make sure we get what we expect there, in the context where you can
see why it is important. I'll send you a patch later today so we can
both look at it.
Gé van Geldorp.
_______________________________________________
Ros-kernel mailing list
Ros-kernel at reactos.com
http://reactos.com/mailman/listinfo/ros-kernel
More information about the Ros-kernel
mailing list