From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: MS-Windows build using Posix configury Date: Sat, 18 May 2013 12:08:58 +0400 Message-ID: <5197371A.20401@yandex.ru> References: <83d2tu49lu.fsf@gnu.org> <8338u4o39r.fsf@gnu.org> <83zjwbkmt2.fsf@gnu.org> <83wqrfkjvo.fsf@gnu.org> <838v3qebns.fsf@gnu.org> <83wqr9csah.fsf@gnu.org> <83wqr297da.fsf@gnu.org> <83txm34g6k.fsf@gnu.org> <83d2srt645.fsf@gnu.org> <87y5bfkmsz.fsf@yandex.ru> <834ne3sziw.fsf@gnu.org> <519504DD.1030004@yandex.ru> <8338tmu9m0.fsf@gnu.org> <83hai2rlm0.fsf@gnu.org> <51961D09.7030502@yandex.ru> <83d2spsqa1.fsf@gnu.org> <519638A0.70807@[87.69.4.28]> <837gixsmwh.fsf@gnu.org> <51964CD3.1010106@yandex.ru> <8338tlsibr.fsf@gnu.org> <831u95sdwi.fsf@gnu.org> <83zjvtqwf0.fsf@gnu.org> <51969776.4060206@y> <83txm0rc1o.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1368864574 25434 80.91.229.3 (18 May 2013 08:09:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 May 2013 08:09:34 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 18 10:09:33 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UdcCl-0001i2-VC for ged-emacs-devel@m.gmane.org; Sat, 18 May 2013 10:09:28 +0200 Original-Received: from localhost ([::1]:43719 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UdcCl-0000xT-AJ for ged-emacs-devel@m.gmane.org; Sat, 18 May 2013 04:09:27 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54079) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UdcCa-0000xJ-OC for emacs-devel@gnu.org; Sat, 18 May 2013 04:09:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UdcCS-0006Gq-Sj for emacs-devel@gnu.org; Sat, 18 May 2013 04:09:16 -0400 Original-Received: from mail-la0-x22f.google.com ([2a00:1450:4010:c03::22f]:38316) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UdcCK-0006Ey-N4; Sat, 18 May 2013 04:09:00 -0400 Original-Received: by mail-la0-f47.google.com with SMTP id fq12so5036760lab.34 for ; Sat, 18 May 2013 01:08:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding:x-antivirus:x-antivirus-status; bh=EJCtkIVSBbBZrrjN43zp2VaWwHCXLegjq5Enwr0xB8c=; b=w4o5ikOkVy5hmeYzDjWa3BINJNGJDPWGgH+lfYpd9qs78OGgUpde0tUsBqp7zBWFgW 1gW50jkbyRHeUA9IPNZnF9qBsfJ4cakgXbbc66ca0M5T9Q9R/ODhMcu+OtLVAmSAloUQ SRM8+fXUFPrfBbA7Ru1qCJm5622MGuWUiRmB1zCe6qPl66Nb8nWKBRR8T7RU6/zMV/3W cwDi/Tf3IBiqypZ2B5Ghk+/JWDm8bG8MKPAAPlZi6j5pcDXosMRdYo9YOuUM/y4c834V jz5j0mRm+P5ReNsspFDvshAvvInggLSikNmqBsLg98dyMJN4yoGhsVFIqEhvUogVE18j w65Q== X-Received: by 10.112.156.164 with SMTP id wf4mr8878829lbb.76.1368864539661; Sat, 18 May 2013 01:08:59 -0700 (PDT) Original-Received: from [127.0.0.1] ([178.252.98.87]) by mx.google.com with ESMTPSA id z10sm6088715lbv.14.2013.05.18.01.08.57 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 18 May 2013 01:08:58 -0700 (PDT) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 In-Reply-To: <83txm0rc1o.fsf@gnu.org> X-Antivirus: avast! (VPS 130517-1, 18.05.2013), Outbound message X-Antivirus-Status: Clean X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::22f X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:159657 Archived-At: On 18.05.2013 11:18, Eli Zaretskii wrote: >> The patch doesn't seem to have the desired effect (and I've tried make >> clean && make CFLAGS="-g3"). >> >> Moreover, despite the above CFLAGS value, I'm unable to obtain detailed >> backtrace here: >> ... >> If I revert the patch, recompile and reproduce it again, 'bt full' >> outputs it full, no problem. > > Sorry, I don't follow. Are you saying that there's still a crash > after applying the patch, except that you cannot get a backtrace when > the crash happens? Yes. > What exactly happens when you try to produce a > backtrace? I get the output I sent in the previous email. > Are you sure you switch to the correct thread when asking > for a backtrace? Doesn't 'abort' breakpoint hit guarantee that I'm on the right thread? > Try "info threads" and "thread apply all bt". (gdb) info threads Id Target Id Frame 5 Thread 1360.0x1318 0x77541dfe in ntdll!LdrQueryProcessModuleInformation () from C:\windows\system32\ntdll.dll 4 Thread 1360.0x204 0x751178d7 in USER32!IsDialogMessage () from C:\windows\syswow64\user32.dll 3 Thread 1360.0x558 0x7753fd71 in ntdll!RtlFindSetBits () from C:\windows\system32\ntdll.dll 2 Thread 1360.0xe24 0x7754013d in ntdll!RtlEnableEarlyCriticalSectionEventCreation () from C:\windows\system32\ntdll.dll * 1 Thread 1360.0xe28 0x76ba8e76 in msvcrt!abort () from C:\windows\syswow64\msvcrt.dll (gdb) thread apply all bt Thread 5 (Thread 1360.0x1318): #0 0x77541dfe in ntdll!LdrQueryProcessModuleInformation () from C:\windows\system32\ntdll.dll #1 0x77541dfe in ntdll!LdrQueryProcessModuleInformation () from C:\windows\system32\ntdll.dll #2 0x77577156 in ntdll!RtlTraceDatabaseLock () from C:\windows\system32\ntdll.dll #3 0x00000010 in ?? () #4 0x00000000 in ?? () Lisp Backtrace: "kill-emacs" (0x88f028) "save-buffers-kill-emacs" (0x88f318) "save-buffers-kill-terminal" (0x88f644) "call-interactively" (0x88f880) "command-execute" (0x88fb7c) Thread 4 (Thread 1360.0x204): #0 0x751178d7 in USER32!IsDialogMessage () from C:\windows\syswow64\user32.dll #1 0x751178d7 in USER32!IsDialogMessage () from C:\windows\syswow64\user32.dll #2 0x7511790d in USER32!GetCursorPos () from C:\windows\syswow64\user32.dll #3 0x6c9afec0 in ?? () #4 0x011a0185 in w32_msg_pump (msg_buf=0x6c9aff28) at w32fns.c:2417 #5 0x011a03c3 in w32_msg_worker@4 (arg=0x0) at w32fns.c:2643 #6 0x76f333aa in KERNEL32!BaseCleanupAppcompatCacheSupport () from C:\windows\syswow64\kernel32.dll #7 0x6c9affd4 in ?? () #8 0x77559ef2 in ntdll!RtlpNtSetValueKey () from C:\windows\system32\ntdll.dll #9 0x00000000 in ?? () Lisp Backtrace: "kill-emacs" (0x88f028) "save-buffers-kill-emacs" (0x88f318) "save-buffers-kill-terminal" (0x88f644) "call-interactively" (0x88f880) "command-execute" (0x88fb7c) Thread 3 (Thread 1360.0x558): #0 0x7753fd71 in ntdll!RtlFindSetBits () from C:\windows\system32\ntdll.dll #1 0x75213bc8 in SleepEx () from C:\windows\syswow64\KernelBase.dll #2 0x00000000 in ?? () Lisp Backtrace: "kill-emacs" (0x88f028) "save-buffers-kill-emacs" (0x88f318) "save-buffers-kill-terminal" (0x88f644) "call-interactively" (0x88f880) "command-execute" (0x88fb7c) Thread 2 (Thread 1360.0xe24): #0 0x7754013d in ntdll!RtlEnableEarlyCriticalSectionEventCreation () from C:\windows\system32\ntdll.dll #1 0x7754013d in ntdll!RtlEnableEarlyCriticalSectionEventCreation () from C:\windows\system32\ntdll.dll #2 0x77572f51 in ntdll!RtlWeaklyEnumerateEntryHashTable () from C:\windows\system32\ntdll.dll #3 0x00000003 in ?? () #4 0x00ab3a40 in ?? () #5 0x76f333aa in KERNEL32!BaseCleanupAppcompatCacheSupport () from C:\windows\syswow64\kernel32.dll #6 0x6bf2ffd4 in ?? () #7 0x77559ef2 in ntdll!RtlpNtSetValueKey () from C:\windows\system32\ntdll.dll #8 0x00ab3a10 in ?? () #9 0x77559ec5 in ntdll!RtlpNtSetValueKey () from C:\windows\system32\ntdll.dll #10 0x77572e25 in ntdll!RtlWeaklyEnumerateEntryHashTable () from C:\windows\system32\ntdll.dll #11 0x00ab3a10 in ?? () #12 0x00000000 in ?? () Lisp Backtrace: "kill-emacs" (0x88f028) "save-buffers-kill-emacs" (0x88f318) "save-buffers-kill-terminal" (0x88f644) "call-interactively" (0x88f880) "command-execute" (0x88fb7c) Thread 1 (Thread 1360.0xe28): #0 0x76ba8e76 in msvcrt!abort () from C:\windows\syswow64\msvcrt.dll #1 0x6cae6f62 in libgcc_s_dw2-1!__deregister_frame_info_bases () from J:\Apps\System\MinGW\bin\libgcc_s_dw2-1.dll #2 0x00000000 in ?? () Lisp Backtrace: "kill-emacs" (0x88f028) "save-buffers-kill-emacs" (0x88f318) "save-buffers-kill-terminal" (0x88f644) "call-interactively" (0x88f880) "command-execute" (0x88fb7c) (gdb)