From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28337 invoked by alias); 9 Sep 2016 04:15:58 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 27188 invoked by uid 89); 9 Sep 2016 04:15:58 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=27th, reto, online, sept X-HELO: mail-oi0-f41.google.com Received: from mail-oi0-f41.google.com (HELO mail-oi0-f41.google.com) (209.85.218.41) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 09 Sep 2016 04:15:48 +0000 Received: by mail-oi0-f41.google.com with SMTP id m11so114358315oif.1 for ; Thu, 08 Sep 2016 21:15:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=nr6u2lAALX2QEi7Y/ri8D7uhj0+JiY9zdlt4f7lNvX0=; b=CFI+iHaSH8xyWc/1H+C72c1AWn0ZulnL9e+qPUy4rvsmU5U/jmVU1HLrfFaFWmvMGx FMBB6crdKarPloi6iyhJsTLcC3/0RWQJFxSN1ap8Ob/R/4G8aQbhrG5NGazHgMzKj/nf pMGoOZYjnaHAHrv9FECDWsF1P54EEs/Rey3hJJ0a+Sf2Bouh7IVMXbwSyQalIaLzFetQ ug3Kazfc8Icro9esROuVSRSfWl5agFNxxS6RD4jC9vbUT7D+jVB7iYlQN1U/9dpgG/Ab nYQv9bjVN0D/VXZdNNWCZIyy1bbCbiCJdyb5fHlneqlud5l6NjDTQyuIELnO0D3HKYKg fL/w== X-Gm-Message-State: AE9vXwNp3myuGtpLVhy+D19XhBmRYkJ1Aw6e/51Ytw8X++XMo1MpSBJRI2NCCCaGg5b5rFxof4KEHseg41WciQ== X-Received: by 10.202.71.80 with SMTP id u77mr1986667oia.153.1473394545972; Thu, 08 Sep 2016 21:15:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.50.228.133 with HTTP; Thu, 8 Sep 2016 21:15:45 -0700 (PDT) From: Reto Huber Date: Fri, 09 Sep 2016 04:15:00 -0000 Message-ID: Subject: gdb : Exception in SetThreadName(unsigned long, char const*) () from /usr/bin/cygwin1.dll To: cygwin@cygwin.com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2016-09/txt/msg00143.txt.bz2 Hi I am using cygwin for quite a while. Yesterday I did update. Everything seemed to work smooth. Today I figured out that gdb does no longer work debugging my project. Even a simple "Hello World" can not be debugged anymore. The executable itself runs ok. Here the example rh@pc /d/gdbTest $ cat main.cpp #include int main(void) { printf("Hello World\n"); return 0; } rh@pc /d/gdbTest $ g++ -std=gnu++11 -g -O0 -pipe -Wall -Wno-unused-local-typedefs -Wpointer-arith -Woverloaded-virtual -MMD -MP main.cpp -o main.exe rh@pc /d/gdbTest $ ./main.exe Hello World rh@pc /d/gdbTest $ gdb main.exe GNU gdb (GDB) (Cygwin 7.10.1-1) 7.10.1 Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-pc-cygwin". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from main.exe...done. (gdb) r Starting program: /d/gdbTest/main.exe [New Thread 11608.0x2e20] [New Thread 11608.0x1b3c] gdb: unknown target exception 0x406d1388 at 0x7639c54f Program received signal ?, Unknown signal. 0x7639c54f in RaiseException () from /c/Windows/syswow64/KERNELBASE.dll (gdb) bt #0 0x7639c54f in RaiseException () from /c/Windows/syswow64/KERNELBASE.dll #1 0x61081614 in SetThreadName(unsigned long, char const*) () from /usr/bin/cygwin1.dll #2 0x61004a6b in cygthread::create() () from /usr/bin/cygwin1.dll #3 0x61004b5f in cygthread::async_create(unsigned long) () from /usr/bin/cygwin1.dll #4 0x77e154f6 in ntdll!RtlRemoveVectoredExceptionHandler () from /c/Windows/SysWOW64/ntdll.dll #5 0x77dc005d in ntdll!KiUserApcDispatcher () from /c/Windows/SysWOW64/ntdll.dll #6 0x61004b50 in cygthread::create() () from /usr/bin/cygwin1.dll #7 0x75dbb2b7 in ?? () #8 0x77ea021c in ntdll!NlsAnsiCodePage () from /c/Windows/SysWOW64/ntdll.dll #9 0x007eb720 in ?? () #10 0x77dda1c9 in ntdll!LdrInitializeThunk () from /c/Windows/SysWOW64/ntdll.dll #11 0x00000000 in ?? () (gdb) Versions: (Downloaded 7. Sept 2016) GNU gdb (GDB) (Cygwin 7.10.1-1) 7.10.1 g++ (GCC) 5.4.0 cygwin1.dll: File Version 2.6.0, APIVersion 0.304 The versions before the update were: (Downloaded 27. July 2016) GNU gdb (GDB) (Cygwin 7.10.1-1) 7.10.1 g++ (GCC) 5.4.0 cygwin1.dll: File Version 2.5.2, APIVersion 0.297 If I run the same procedure as mentioned above using the version from July 27th it works. Can you give me a hint how I can fix it? Can anyone reproduce the issue? Thanks in advance for help Reto -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple