emacs-devel
[Top][All Lists]
Advanced

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

Re: might a bug in ido-mode


From: zwz
Subject: Re: might a bug in ido-mode
Date: Wed, 28 Apr 2010 12:23:08 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt)

Eli Zaretskii <address@hidden> writes:

>> From: zwz <address@hidden>
>> Date: Tue, 27 Apr 2010 16:21:29 +0800
>> 
>> Thread 1 (thread 4136.0xea8):
>> #0  0x77cf5e74 in ntdll!LdrAccessResource ()
>>     from C:\windows\system32\ntddl.dll
>> #1  0x764a6fd1 in USER32!SetMenuContextHelpId ()
>>     from C:\windows\system32\user32.dll
>> #2  0x0116e2fe in set_frame_menubar ()
>> #3  0x010178ef in update_menu_bar ()
>> #4  0x0102ad6a in prepare_menu_bars ()
>> #5  0x0102ed02 in redisplay_internal ()
>> #6  0x01061d66 in read_char ()
>> #7  0x01063334 in read_key_sequence.clone.0 ()
>> #8  0x01065bd0 in command_loop_1 ()
>> #9  0x0100a592 in internal_condition_case ()
>> #10 0x0105bebf in command_loop_2 ()
>> #11 0x0100a4dc in internal_catch ()
>> #12 0x0105c848 in command_loop ()
>> #13 0x0105c8d3 in recursive_edit_1 ()
>> #14 0x0104c8ce in Frecursive_edit ()
>> #15 0x01002d86 in main ()
>
> This thread (thread 1) is the one we are interested in.  But why
> doesn't the backtrace include function arguments?  Did you strip some
> of the debugging info or something?

No, this is what gdb outputs. I have no idea why it does not include more info.

>
> What does this show:
>
>   (gdb) thread 1
>   (gdb) bt 5 full

I tried this one. But still no function arguments.
However this time the debug info is a little different:
(gdb) #0  0x77cccd69 in ntdll!RtlAreAllAccessesGranted ()
   from C:\Windows\system32\ntdll.dll
No symbol table info available.
#1  0x77cce275 in ntdll!LdrGetProcedureAddress ()
   from C:\Windows\system32\ntdll.dll
No symbol table info available.
#2  0x76726a69 in KERNEL32!FindResourceW ()
   from C:\Windows\system32\kernel32.dll
No symbol table info available.
#3  0x22a60001 in ?? ()
No symbol table info available.
#4  0x764ac5f7 in USER32!GetMenuBarInfo () from C:\Windows\system32\user32.dll
No symbol table info available.
(More stack frames follow...)
(gdb) [Switching to thread 2 (Thread 5496.0x17d0)]#0  0x77d10754 in 
ntdll!EtwpNotificationThread () from C:\Windows\system32\ntdll.dll
(gdb) #0  0x77d10754 in ntdll!EtwpNotificationThread ()
   from C:\Windows\system32\ntdll.dll
No symbol table info available.
#1  0x76aed67f in setjmp () from C:\Windows\system32\msvcrt.dll
No symbol table info available.
#2  0x0082ffc4 in ?? ()
No symbol table info available.
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) [Switching to thread 3 (Thread 5496.0x1f24)]#0  0x77cf5e74 in 
ntdll!LdrAccessResource () from C:\Windows\system32\ntdll.dll
(gdb) Invalid character '' in expression.


Here is the output by "thread apply all bt":
Thread 3 (Thread 5496.0x1f24):
#0  0x77cf5e74 in ntdll!LdrAccessResource ()
   from C:\Windows\system32\ntdll.dll
#1  0x77cf5610 in ntdll!ZwWaitForMultipleObjects32 ()
   from C:\Windows\system32\ntdll.dll
#2  0x7672a5d7 in WaitForMultipleObjectsEx ()
   from C:\Windows\system32\kernel32.dll
#3  0x00000002 in ?? ()
#4  0x2226fef0 in ?? ()
#5  0x7672a6f0 in WaitForMultipleObjects ()
   from C:\Windows\system32\kernel32.dll
#6  0x6e2d1883 in msiltcfg!ShutdownMsi ()
   from C:\Windows\system32\msiltcfg.dll
#7  0x00000002 in ?? ()
#8  0x2226ff78 in ?? ()
#9  0x7672d0e9 in KERNEL32!AcquireSRWLockExclusive ()
   from C:\Windows\system32\kernel32.dll
#10 0x77cd19bb in ntdll!RtlInitializeNtUserPfn ()
   from C:\Windows\system32\ntdll.dll
#11 0x77cd198e in ntdll!RtlInitializeNtUserPfn ()
   from C:\Windows\system32\ntdll.dll
#12 0x00000000 in ?? ()

Thread 2 (Thread 5496.0x17d0):
#0  0x77d10754 in ntdll!EtwpNotificationThread ()
   from C:\Windows\system32\ntdll.dll
#1  0x76aed67f in setjmp () from C:\Windows\system32\msvcrt.dll
#2  0x0082ffc4 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 1 (Thread 5496.0x1b20):
#0  0x77cccd69 in ntdll!RtlAreAllAccessesGranted ()
   from C:\Windows\system32\ntdll.dll
#1  0x77cce275 in ntdll!LdrGetProcedureAddress ()
   from C:\Windows\system32\ntdll.dll
#2  0x76726a69 in KERNEL32!FindResourceW ()
   from C:\Windows\system32\kernel32.dll
#3  0x22a60001 in ?? ()
#4  0x764ac5f7 in USER32!GetMenuBarInfo () from C:\Windows\system32\user32.dll
#5  0x22a60001 in ?? ()
#6  0x764ac619 in USER32!GetMenuBarInfo () from C:\Windows\system32\user32.dll
#7  0x22a60001 in ?? ()
#8  0x764ac508 in USER32!GetMenuBarInfo () from C:\Windows\system32\user32.dll
#9  0x22a60001 in ?? ()
#10 0x764ac67e in USER32!GetMenuBarInfo () from C:\Windows\system32\user32.dll
#11 0x22a60001 in ?? ()
#12 0x764adaba in USER32!LoadImageA () from C:\Windows\system32\user32.dll
#13 0x7536a13e in DllInstall ()
   from 
C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6002.18005_none_5cb72f96088b0de0\comctl32.dll
#14 0x752e223c in DPA_GetPtrIndex ()
   from 
C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6002.18005_none_5cb72f96088b0de0\comctl32.dll
#15 0x7531bb28 in DSA_EnumCallback ()
   from 
C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6002.18005_none_5cb72f96088b0de0\comctl32.dll
#16 0x752e2fb9 in DPA_GetPtrIndex ()
   from 
C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6002.18005_none_5cb72f96088b0de0\comctl32.dll
#17 0x75308540 in DSA_Destroy ()
   from 
C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6002.18005_none_5cb72f96088b0de0\comctl32.dll
#18 0x764bfd72 in USER32!GetWindowMinimizeRect ()
   from C:\Windows\system32\user32.dll
#19 0x000b0d32 in ?? ()
#20 0x00000001 in ?? ()
#21 0x00000000 in ?? ()

>
>> p.s. Is there anyway to print the backtract to a file?
>
> Yes, say "set logging on" before "bt", and then all output will be ion
> the file gdb.txt.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]