This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

omap_uart.dll Access Violation

Hello,

We have an issue using WINCE 6 under AM3703. : It just appears once for now.

When analizing the dump file with WinDBG, this happened in mdd.c file in the EvaluateEventFlag function.

The issue seems to appear when calling  EnterCriticalSection(&(pOpenHead->CommEvents.EventCS));

Here is the result in  WinDBG:

APP:  nk.exe

BUGCHECK_STR:  APPLICATION_FAULT_NULL_POINTER_READ_ZEROED_STACK

PRIMARY_PROBLEM_CLASS:  NULL_POINTER_READ

DEFAULT_BUCKET_ID:  NULL_POINTER_READ

LAST_CONTROL_TRANSFER:  from c0893314 to c08925a0

STACK_TEXT:  
d056fe24 c0893314 : 01f40003 00000000 01f40003 ffffcbac : omap_uart+0x25a0
d056fe40 c0893384 : 01f40003 00000000 01f40003 ffffcbac : omap_uart+0x3314
d056fe7c 00000000 : 01f40003 00000000 01f40003 ffffcbac : omap_uart+0x3384


SYMBOL_STACK_INDEX:  0

SYMBOL_NAME:  omap_uart+25a0

FOLLOWUP_NAME:  MachineOwner

MODULE_NAME: omap_uart

IMAGE_NAME:  omap_uart.dll

DEBUG_FLR_IMAGE_TIMESTAMP:  4f95123f

STACK_COMMAND:  ~45s ; kb

FAILURE_BUCKET_ID:  NULL_POINTER_READ_c0000005_omap_uart.dll!Unknown

BUCKET_ID:  ARM_APPLICATION_FAULT_NULL_POINTER_READ_ZEROED_STACK_omap_uart+25

I don"t know what hapened , what can we do to avoid this error?

Thanks,

Marc

  • Hi Marc,

    The best way to debug this issue is build a Debug version of your OSDesign and keeep breakpoints in all entry points of MDD functions such as COM_XXX.

    Also place breakpoints in PDD and do a step debugging.

    Regards,

    GSR