unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: zwz <zhangweize@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: might a bug in ido-mode
Date: Wed, 28 Apr 2010 12:23:08 +0800	[thread overview]
Message-ID: <87vdbcfbo3.fsf@gmail.com> (raw)
In-Reply-To: 83tyqwye3x.fsf@gnu.org

Eli Zaretskii <eliz@gnu.org> writes:

>> From: zwz <zhangweize@gmail.com>
>> 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	other threads:[~2010-04-28  4:23 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-25 12:57 might a bug in ido-mode zwz
2010-04-25 16:25 ` Eli Zaretskii
2010-04-26 11:27   ` zwz
2010-04-26 17:24     ` Eli Zaretskii
2010-04-26 17:32       ` Andreas Schwab
2010-04-27  8:21         ` zwz
2010-04-27 17:55           ` Eli Zaretskii
2010-04-28  4:23             ` zwz [this message]
2010-04-28 17:18               ` Eli Zaretskii
2010-04-29  4:39                 ` zwz
2010-04-27  7:52       ` zwz
2010-04-25 18:44 ` Chong Yidong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vdbcfbo3.fsf@gmail.com \
    --to=zhangweize@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).