[ros-dev] Crash
Alex Ionescu
ionucu at videotron.ca
Sat Jan 20 08:13:18 CET 2007
hto at mail.cnt.ru wrote:
> // ntoskrnl/lpc/send.c
> NtRequestWaitReplyPort(...)
> {
> ...
> if (Callback)
> {
> ...
> }
> else
> {
> ...
> Thread->LpcReplyMessage = NULL;
> ...
> }
> ...
> LpcpReplyWait(...); // now Status == STATUS_USER_APC
> ...
> Message = Thread->LpcReplyMessage;
> ...
> if (Status == STATUS_SUCCESS)
> {
> ...
> }
> else
> {
> ...
> LpcpFreeToPortZone(Message, TRUE);
> ...
> }
> ...
> }
>
> // ntoskrnl/lpc/close.c
> LpcpFreeToPortZone(...)
> {
> ...
> if (!IsListEmpty(&Message->Entry)) // crash
> {
> ...
> }
> ...
> }
>
> // ntoskrnl/include/internal/lpc_x.h
> #define LpcpReplyWait(s, w) \
> { \
> ... \
> Status = KeWaitForSingleObject(...); \
> ... \
> }
> _______________________________________________
> Ros-dev mailing list
> Ros-dev at reactos.org
> http://www.reactos.org/mailman/listinfo/ros-dev
>
Being worked on...I'm at CUSEC right now. I have around ~30 bug fixes
for LPC to properly reference some objects.
--
Best regards,
Alex Ionescu
Project Lead, TinyKRNL
Kernel-Mode Software Design Engineer, ReactOS
More information about the Ros-dev
mailing list