From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark H Weaver Newsgroups: gmane.lisp.guile.bugs Subject: bug#14171: Aw: Re: bug#14171: REPL doesn't work on windows min-gw Date: Sun, 14 Apr 2013 13:26:25 -0400 Message-ID: <87bo9h3txa.fsf@tines.lan> References: <87sj2yw2w2.fsf@pobox.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1365960420 28752 80.91.229.3 (14 Apr 2013 17:27:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 14 Apr 2013 17:27:00 +0000 (UTC) Cc: 14171@debbugs.gnu.org To: "Jan Schukat" Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sun Apr 14 19:27:01 2013 Return-path: Envelope-to: guile-bugs@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 1URQhg-000760-Nx for guile-bugs@m.gmane.org; Sun, 14 Apr 2013 19:27:00 +0200 Original-Received: from localhost ([::1]:36762 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1URQhg-0001KZ-5j for guile-bugs@m.gmane.org; Sun, 14 Apr 2013 13:27:00 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51176) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1URQhc-0001KU-Id for bug-guile@gnu.org; Sun, 14 Apr 2013 13:26:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1URQhb-0001cR-Bl for bug-guile@gnu.org; Sun, 14 Apr 2013 13:26:56 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46330) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1URQhb-0001cM-7c for bug-guile@gnu.org; Sun, 14 Apr 2013 13:26:55 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1URQlZ-0002PG-PS for bug-guile@gnu.org; Sun, 14 Apr 2013 13:31:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mark H Weaver Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-guile@gnu.org Resent-Date: Sun, 14 Apr 2013 17:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14171 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 14171-submit@debbugs.gnu.org id=B14171.13659606539234 (code B ref 14171); Sun, 14 Apr 2013 17:31:01 +0000 Original-Received: (at 14171) by debbugs.gnu.org; 14 Apr 2013 17:30:53 +0000 Original-Received: from localhost ([127.0.0.1]:50439 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1URQlR-0002Os-3E for submit@debbugs.gnu.org; Sun, 14 Apr 2013 13:30:53 -0400 Original-Received: from world.peace.net ([96.39.62.75]:41319) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1URQlO-0002Oe-C3 for 14171@debbugs.gnu.org; Sun, 14 Apr 2013 13:30:51 -0400 Original-Received: from 209-6-91-212.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.91.212] helo=tines.lan) by world.peace.net with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1URQhH-0006cm-14; Sun, 14 Apr 2013 13:26:35 -0400 In-Reply-To: (Jan Schukat's message of "Thu, 11 Apr 2013 16:40:17 +0200 (CEST)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:7104 Archived-At: --=-=-= Content-Type: text/plain "Jan Schukat" writes: > Ok, did use this package: guile-2.0.9.2-f480a-dirty.tar.gz and can > build and run guile-2.0 on mingw when I --disable-posix, which makes > sense, since Windows is not posix :) Can even use threads. > I guess I try to get the test-suite to run now. > I'm pretty happy now that my issues on windows could be resolved in > the last few weeks. Excellent! :) FYI, LRN on #gnunet reported the same issue (Guile REPL hangs on mingw), and --disable-posix fixed the problem for him as well. He provided a backtrace (generated by ProcessHacker; gdb didn't generate a useful backtrace), and I've attached it below. He also reported that, when built with --enable-posix, control reached the start of 'top-repl', but never reached 'start-repl'. The backtrace seems to suggest that the lockup might be happening within 'sigaction', which is called from 'call-with-sigint' in (ice-9 top-repl). Regards, Mark --=-=-= Content-Type: text/plain Content-Disposition: inline; filename=guile-mingw32-repl-hang-backtrace Content-Description: Backtrace of Guile REPL hang on mingw32 with --enable-posix 0, ntoskrnl.exe!_misaligned_access+0x17e7 1, ntoskrnl.exe!KeAcquireSpinLockAtDpcLevel+0x93d 2, ntoskrnl.exe!KeWaitForSingleObject+0x19f 3, ntoskrnl.exe!_misaligned_access+0xba4 4, ntoskrnl.exe!_misaligned_access+0x1821 5, ntoskrnl.exe!KeAcquireSpinLockAtDpcLevel+0x93d 6, ntoskrnl.exe!KeWaitForMultipleObjects+0x26a 7, ntoskrnl.exe!NtWaitForSingleObject+0x40f 8, ntoskrnl.exe!IoReportTargetDeviceChange+0xe6d 9, ntoskrnl.exe!KeSynchronizeExecution+0x3a23 10, wow64cpu.dll!TurboDispatchJumpAddressEnd+0x6c0 11, wow64cpu.dll!TurboDispatchJumpAddressEnd+0xf5 12, wow64.dll!Wow64SystemServiceEx+0x1ce 13, wow64.dll!Wow64LdrpInitialize+0x429 14, ntdll.dll!RtlUniform+0x6e6 15, ntdll.dll!RtlCreateTagHeap+0xa7 16, ntdll.dll!LdrInitializeThunk+0xe 17, ntdll.dll!ZwWaitForMultipleObjects+0x15 18, kernel32.dll!WaitForMultipleObjectsEx+0x8e 19, kernel32.dll!WaitForMultipleObjects+0x18 20, libwinpthread-1.dll!pthread_cond_init+0x1f8 21, libwinpthread-1.dll!pthread_tls_init+0x503 22, libwinpthread-1.dll!pthread_cond_init+0x510 23, libwinpthread-1.dll!pthread_cond_wait+0x138 24, libgcc_s_sjlj-1.dll!_emutls_get_address+0x52 25, libguile-2.0-22.dll!scm_spawn_thread+0xc6 26, libguile-2.0-22.dll!scm_init_rw+0x8c 27, libwinpthread-1.dll!pthread_once+0xae 28, libguile-2.0-22.dll!scm_sigaction_for_thread+0x7f 29, libguile-2.0-22.dll!scm_primitive_eval+0x34 30, libguile-2.0-22.dll!scm_call_4+0x48 31, libguile-2.0-22.dll!scm_catch_with_pre_unwind_handler+0x4e 32, libguile-2.0-22.dll!scm_i_with_continuation_barrier+0x6f 33, libguile-2.0-22.dll!scm_current_error_port+0x20 34, guile.exe+0x86d90 0, ntoskrnl.exe!_misaligned_access+0x17e7 1, ntoskrnl.exe!KeAcquireSpinLockAtDpcLevel+0x93d 2, ntoskrnl.exe!KeWaitForSingleObject+0x19f 3, ntoskrnl.exe!_misaligned_access+0xba4 4, ntoskrnl.exe!_misaligned_access+0x1821 5, ntoskrnl.exe!KeAcquireSpinLockAtDpcLevel+0x93d 6, ntoskrnl.exe!KeWaitForSingleObject+0x19f 7, ntoskrnl.exe!NtWaitForSingleObject+0xde 8, ntoskrnl.exe!KeSynchronizeExecution+0x3a23 9, wow64cpu.dll!TurboDispatchJumpAddressEnd+0x6c0 10, wow64cpu.dll!TurboDispatchJumpAddressEnd+0x4a8 11, wow64.dll!Wow64SystemServiceEx+0x1ce 12, wow64.dll!Wow64LdrpInitialize+0x429 13, ntdll.dll!RtlIsDosDeviceName_U+0x24c87 14, ntdll.dll!LdrInitializeThunk+0xe 15, ntdll.dll!ZwWaitForSingleObject+0x15 16, kernel32.dll!WaitForSingleObjectEx+0x43 17, kernel32.dll!WaitForSingleObject+0x12 18, libwinpthread-1.dll!pthread_cond_init+0x26f 19, kernel32.dll!WaitForSingleObject+0x12 20, libwinpthread-1.dll!pthread_rel_time_in_ms+0x24a 21, libwinpthread-1.dll!pthread_mutex_init+0x29b 22, libwinpthread-1.dll!pthread_rel_time_in_ms+0x24a 23, libgc-1.dll!GC_call_with_gc_active+0x216 24, libwinpthread-1.dll!pthread_mutex_trylock+0x1f 25, libgc-1.dll!GC_pthread_detach+0x28 26, libwinpthread-1.dll!pthread_self+0x8 27, libguile-2.0-22.dll!scm_all_threads+0x126 28, libwinpthread-1.dll!pthread_getclean+0x8 29, libgc-1.dll!GC_use_threads_discovery+0x26e 30, libgc-1.dll!GC_call_with_stack_base+0x1c 31, msvcrt.dll!itow_s+0x4c 32, msvcrt.dll!endthreadex+0x6c 33, kernel32.dll!BaseThreadInitThunk+0x12 34, ntdll.dll!RtlInitializeExceptionChain+0x63 35, ntdll.dll!RtlInitializeExceptionChain+0x36 if i insert (display "Hello\n") into top-repl, it prints there (at least at the beginning of the function). Nothing is printed in start-repl [12:47] --=-=-=--