From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: zwz Newsgroups: gmane.emacs.devel Subject: Re: might a bug in ido-mode Date: Wed, 28 Apr 2010 12:23:08 +0800 Message-ID: <87vdbcfbo3.fsf@gmail.com> References: <87sk6jpu49.fsf@gmail.com> <83mxwrzeha.fsf@gnu.org> <87iq7eh2sj.fsf@gmail.com> <83fx2iyvml.fsf@gnu.org> <874oixgvau.fsf@gmail.com> <83tyqwye3x.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1272428632 17425 80.91.229.12 (28 Apr 2010 04:23:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 28 Apr 2010 04:23:52 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 28 06:23:51 2010 connect(): No such file or directory Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O6yoO-0002Um-9m for ged-emacs-devel@m.gmane.org; Wed, 28 Apr 2010 06:23:48 +0200 Original-Received: from localhost ([127.0.0.1]:42906 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O6yoN-0005Pj-Lo for ged-emacs-devel@m.gmane.org; Wed, 28 Apr 2010 00:23:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O6yoI-0005PO-AD for emacs-devel@gnu.org; Wed, 28 Apr 2010 00:23:42 -0400 Original-Received: from [140.186.70.92] (port=50431 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O6yoG-0005Oe-TG for emacs-devel@gnu.org; Wed, 28 Apr 2010 00:23:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O6yoF-0007JR-NF for emacs-devel@gnu.org; Wed, 28 Apr 2010 00:23:40 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:53584) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6yoF-0007Is-DG for emacs-devel@gnu.org; Wed, 28 Apr 2010 00:23:39 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1O6yoD-0002T0-M5 for emacs-devel@gnu.org; Wed, 28 Apr 2010 06:23:37 +0200 Original-Received: from 61.164.42.188 ([61.164.42.188]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 28 Apr 2010 06:23:37 +0200 Original-Received: from zhangweize by 61.164.42.188 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 28 Apr 2010 06:23:37 +0200 X-Injected-Via-Gmane: http://gmane.org/ connect(): No such file or directory Original-Lines: 135 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 61.164.42.188 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt) Cancel-Lock: sha1:4QaWj4f8kPg7gCA5zMpxfs05hOw= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:124279 Archived-At: Eli Zaretskii writes: >> From: zwz >> 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.