locked
My program halts at an unknown address. RRS feed

  • Question

  • If I pause the program,the callstack shows the main thread stopped at an address, no more thing:

    0x8002db74

    The register window shows:

    R0 = 0x00000000 R1 = 0x8d7dd000 R2 = 0x6000001f R3 = 0xffffc800 R4 = 0x00000002 R5 = 0x8da80438 R6 = 0x00000000 R7 = 0x00000000 R8 = 0x8ebd5854 R9 = 0xffffc894 R10 = 0x00000001 R11 = 0x8e77fde0 R12 = 0x8002db74 
    Sp = 0x216ecd5c Lr = 0x8002db74 Pc = 0x8002db74 Psr = 0x6000001f 

    And I found that 0x8002db74 is over all modules( the last module is
    	coredll.dll.0804.MUI	\Windows\coredll.dll.0804.MUI	N/A	N/A	未加载任何符号。		13			7FFE0000-7FFE0000	[0xCDC9AE0E] Point_checking.exe	
    There's no exception or error before the halt.The CPU usage of my program is less than 4%. The memory usage is 2M. I think these are not the reason.
    Wednesday, June 4, 2014 1:29 PM

Answers

  • Hi,

    It looks like there is something wrong related with the address 0x8002db74. If you don't like to share your code, please debug your code again and add some code to test the code. Also, don't forget the do the memory leak checking refer to http://msdn.microsoft.com/en-us/library/ms859415.aspx

    Best regards,


    • Edited by Anna Cc Monday, July 7, 2014 2:41 AM
    • Marked as answer by Percy Xu Monday, March 6, 2017 3:47 AM
    Tuesday, June 17, 2014 5:43 AM

All replies

  • Hi,

    Please provide your code or project to analyze. It is difficult to analyze with these details.


    -Malleswar

    Wednesday, June 4, 2014 6:22 PM
  • Hi,

    It looks like there is something wrong related with the address 0x8002db74. If you don't like to share your code, please debug your code again and add some code to test the code. Also, don't forget the do the memory leak checking refer to http://msdn.microsoft.com/en-us/library/ms859415.aspx

    Best regards,


    • Edited by Anna Cc Monday, July 7, 2014 2:41 AM
    • Marked as answer by Percy Xu Monday, March 6, 2017 3:47 AM
    Tuesday, June 17, 2014 5:43 AM