Send MinGW-Notify mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.osdn.me/mailman/listinfo/mingw-notify
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of MinGW-Notify digest..."
Please do not reply to this notification; the sender address is unable to
accept incoming e-mail. If you wish to unsubscribe you can do so at
https://lists.osdn.me/mailman/listinfo/mingw-notify.
Today's Topics:
1. [mingw] #39192: Unable to debug C++ (MinGW Notification List)
2. [mingw] #39193: ListView_SubItemHitTest(): closed bracket
missing (MinGW Notification List)
3. [mingw] #39192: Unable to debug C++ (MinGW Notification List)
4. [SCM] mingw-org-wsl (mingw) branch, 5.2-trunk, updated.
c146597e10fc3b2d2551153b3fc5800d0206960e (MinGW Notification List)
5. [mingw] #39193: ListView_SubItemHitTest(): closing
parenthesis missing (MinGW Notification List)
----------------------------------------------------------------------
Message: 1
Date: Fri, 03 May 2019 14:37:45 +0900
From: MinGW Notification List <[email protected]>
To: OSDN Ticket System <[email protected]>
Subject: [MinGW-Notify] [mingw] #39192: Unable to debug C++
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8
#39192: Unable to debug C++
Open Date: 2019-05-03 14:37
Last Update: 2019-05-03 14:37
URL for this Ticket:
https://osdn.net//projects/mingw/ticket/39192
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=39192
---------------------------------------------------------------------
Last Changes/Comment on this Ticket:
2019-05-03 14:37 Updated by: maxdrechsler
* New Ticket "Unable to debug C++" created
---------------------------------------------------------------------
Ticket Status:
Reporter: maxdrechsler
Owner: (None)
Type: Issues
Status: Open
Priority: 5 - Medium
MileStone: (None)
Component: (None)
Severity: 5 - Medium
Resolution: None
---------------------------------------------------------------------
Ticket details:
When debugging i notices, that certain functions who throw are unable to show a
backtrace. Gdb shows an like: Backtrace stopped: previous frame inner to this
frame (corrupt stack?) All posix sjlj gcc versions are affected except seh.
Here are the steps to reproduce:
λ cat main.cpp
1. #include <stdexcept>
2.
3. void
4. dummy()
5. {
6. volatile int i = 0;
7. }
8.
9. bool
10. expectTrue( bool value )
11. {
12. dummy();
13.
14. if ( !static_cast<bool>( value ) )
15. {
16. throw std::runtime_error("value failed");
17. }
18.
19. dummy();
20.
21. return value;
22. }
23.
24. int
25. main( int argc, char** argv )
26. {
27. dummy();
28. expectTrue( true );
29. dummy();
30. }
λ gcc --version
gcc (x86_64-posix-sjlj-rev0, Built by MinGW-W64 project) 7.2.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
λ g++ -g -O0 main.cpp -o main
λ gdb ./main
GNU gdb (GDB) 8.0.1
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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 "x86_64-w64-mingw32".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./main...done.
(gdb) break dummy
Breakpoint 1 at 0x401578: file main.cpp, line 7.
(gdb) run
Starting program: C:\Users\mdr\Entwicklung\stackTest\main.exe
[New Thread 5844.0x1d58]
[New Thread 5844.0x1320]
[New Thread 5844.0x2334]
[New Thread 5844.0x1750]
Thread 1 hit Breakpoint 1, dummy () at main.cpp:7
7 volatile int i = 0;
(gdb) backtrace
#0 dummy () at main.cpp:7
#1 0x0000000000401728 in main (argc=1, argv=0x25d1d20) at main.cpp:28
(gdb) continue
Continuing.
Thread 1 hit Breakpoint 1, dummy () at main.cpp:7
7 volatile int i = 0;
(gdb) backtrace
#0 dummy () at main.cpp:7
#1 0x0000000000401626 in expectTrue (value=true) at main.cpp:13
#2 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) continue
Continuing.
Thread 1 hit Breakpoint 1, dummy () at main.cpp:7
7 volatile int i = 0;
(gdb) backtrace
#0 dummy () at main.cpp:7
#1 0x000000000040167b in expectTrue (value=true) at main.cpp:20
#2 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) continue
Continuing.
Thread 1 hit Breakpoint 1, dummy () at main.cpp:7
7 volatile int i = 0;
(gdb) backtrace
#0 dummy () at main.cpp:7
#1 0x0000000000401737 in main (argc=1, argv=0x25d1d20) at main.cpp:30
(gdb) continue
Continuing.
[Thread 5844.0x1750 exited with code 0]
[Thread 5844.0x1320 exited with code 0]
[Thread 5844.0x2334 exited with code 0]
[Inferior 1 (process 5844) exited normally]
(gdb)
--
Ticket information of MinGW - Minimalist GNU for Windows project
MinGW - Minimalist GNU for Windows Project is hosted on OSDN
Project URL: https://osdn.net/projects/mingw/
OSDN: https://osdn.net
URL for this Ticket:
https://osdn.net/projects/mingw/ticket/39192
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=39192
------------------------------
Message: 2
Date: Fri, 03 May 2019 20:30:04 +0900
From: MinGW Notification List <[email protected]>
To: OSDN Ticket System <[email protected]>
Subject: [MinGW-Notify] [mingw] #39193: ListView_SubItemHitTest():
closed bracket missing
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8
#39193: ListView_SubItemHitTest(): closed bracket missing
Open Date: 2019-05-03 20:30
Last Update: 2019-05-03 20:30
URL for this Ticket:
https://osdn.net//projects/mingw/ticket/39193
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=39193
---------------------------------------------------------------------
Last Changes/Comment on this Ticket:
2019-05-03 20:30 Updated by: carsten_meyer
* New Ticket "ListView_SubItemHitTest(): closed bracket missing" created
---------------------------------------------------------------------
Ticket Status:
Reporter: carsten_meyer
Owner: (None)
Type: Issues
Status: Open
Priority: 5 - Medium
MileStone: (None)
Component: WSL
Severity: 5 - Medium
Resolution: None
---------------------------------------------------------------------
Ticket details:
In commctrl.h (L:4741): ListView_SubItemHitTest( w, p ) might be missing a
closed bracket at the end of line
--
Ticket information of MinGW - Minimalist GNU for Windows project
MinGW - Minimalist GNU for Windows Project is hosted on OSDN
Project URL: https://osdn.net/projects/mingw/
OSDN: https://osdn.net
URL for this Ticket:
https://osdn.net/projects/mingw/ticket/39193
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=39193
------------------------------
Message: 3
Date: Fri, 03 May 2019 12:38:25 +0100
From: MinGW Notification List <[email protected]>
To: OSDN Ticket System <[email protected]>
Subject: [MinGW-Notify] [mingw] #39192: Unable to debug C++
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8
#39192: Unable to debug C++
Open Date: 2019-05-03 06:37
Last Update: 2019-05-03 12:38
URL for this Ticket:
https://osdn.net//projects/mingw/ticket/39192
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=39192
---------------------------------------------------------------------
Last Changes/Comment on this Ticket:
2019-05-03 12:38 Updated by: keith
* Status Update from Open to Closed
* Resolution Update from None to Invalid
Comment:
gcc (x86_64-posix-sjlj-rev0, Built by MinGW-W64 project) 7.2.0
Not our product. Illegally branded, due to unauthorized use of our registered
trademark. Not our problem. Can't help you.
---------------------------------------------------------------------
Ticket Status:
Reporter: maxdrechsler
Owner: (None)
Type: Issues
Status: Closed
Priority: 5 - Medium
MileStone: (None)
Component: (None)
Severity: 5 - Medium
Resolution: Invalid
---------------------------------------------------------------------
Ticket details:
When debugging i notices, that certain functions who throw are unable to show a
backtrace. Gdb shows an like: Backtrace stopped: previous frame inner to this
frame (corrupt stack?) All posix sjlj gcc versions are affected except seh.
Here are the steps to reproduce:
λ cat main.cpp
1. #include <stdexcept>
2.
3. void
4. dummy()
5. {
6. volatile int i = 0;
7. }
8.
9. bool
10. expectTrue( bool value )
11. {
12. dummy();
13.
14. if ( !static_cast<bool>( value ) )
15. {
16. throw std::runtime_error("value failed");
17. }
18.
19. dummy();
20.
21. return value;
22. }
23.
24. int
25. main( int argc, char** argv )
26. {
27. dummy();
28. expectTrue( true );
29. dummy();
30. }
λ gcc --version
gcc (x86_64-posix-sjlj-rev0, Built by MinGW-W64 project) 7.2.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
λ g++ -g -O0 main.cpp -o main
λ gdb ./main
GNU gdb (GDB) 8.0.1
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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 "x86_64-w64-mingw32".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./main...done.
(gdb) break dummy
Breakpoint 1 at 0x401578: file main.cpp, line 7.
(gdb) run
Starting program: C:\Users\mdr\Entwicklung\stackTest\main.exe
[New Thread 5844.0x1d58]
[New Thread 5844.0x1320]
[New Thread 5844.0x2334]
[New Thread 5844.0x1750]
Thread 1 hit Breakpoint 1, dummy () at main.cpp:7
7 volatile int i = 0;
(gdb) backtrace
#0 dummy () at main.cpp:7
#1 0x0000000000401728 in main (argc=1, argv=0x25d1d20) at main.cpp:28
(gdb) continue
Continuing.
Thread 1 hit Breakpoint 1, dummy () at main.cpp:7
7 volatile int i = 0;
(gdb) backtrace
#0 dummy () at main.cpp:7
#1 0x0000000000401626 in expectTrue (value=true) at main.cpp:13
#2 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) continue
Continuing.
Thread 1 hit Breakpoint 1, dummy () at main.cpp:7
7 volatile int i = 0;
(gdb) backtrace
#0 dummy () at main.cpp:7
#1 0x000000000040167b in expectTrue (value=true) at main.cpp:20
#2 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) continue
Continuing.
Thread 1 hit Breakpoint 1, dummy () at main.cpp:7
7 volatile int i = 0;
(gdb) backtrace
#0 dummy () at main.cpp:7
#1 0x0000000000401737 in main (argc=1, argv=0x25d1d20) at main.cpp:30
(gdb) continue
Continuing.
[Thread 5844.0x1750 exited with code 0]
[Thread 5844.0x1320 exited with code 0]
[Thread 5844.0x2334 exited with code 0]
[Inferior 1 (process 5844) exited normally]
(gdb)
--
Ticket information of MinGW - Minimalist GNU for Windows project
MinGW - Minimalist GNU for Windows Project is hosted on OSDN
Project URL: https://osdn.net/projects/mingw/
OSDN: https://osdn.net
URL for this Ticket:
https://osdn.net/projects/mingw/ticket/39192
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=39192
------------------------------
Message: 4
Date: Fri, 03 May 2019 23:37:38 +0900
From: MinGW Notification List <[email protected]>
To: [email protected]
Subject: [MinGW-Notify] [SCM] mingw-org-wsl (mingw) branch, 5.2-trunk,
updated. c146597e10fc3b2d2551153b3fc5800d0206960e
Message-ID: <[email protected]>
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to "mingw-org-wsl" repository
containing the "mingw" project.
The branch, 5.2-trunk has been updated
via c146597e10fc3b2d2551153b3fc5800d0206960e (commit)
from 5850138952ed2a5bd16dd14cdf54618953e353d4 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit c146597e10fc3b2d2551153b3fc5800d0206960e
Author: Keith Marshall <[email protected]>
Date: Fri May 3 15:32:30 2019 +0100
Correct a typographic error; fix MinGW-Bug #39193
-----------------------------------------------------------------------
Summary of changes:
w32api/ChangeLog | 9 ++++++++-
w32api/include/commctrl.h | 2 +-
2 files changed, 9 insertions(+), 2 deletions(-)
hooks/post-receive
--
mingw-org-wsl (mingw)
------------------------------
Message: 5
Date: Fri, 03 May 2019 15:45:45 +0100
From: MinGW Notification List <[email protected]>
To: OSDN Ticket System <[email protected]>
Subject: [MinGW-Notify] [mingw] #39193: ListView_SubItemHitTest():
closing parenthesis missing
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8
#39193: ListView_SubItemHitTest(): closing parenthesis missing
Open Date: 2019-05-03 12:30
Last Update: 2019-05-03 15:45
URL for this Ticket:
https://osdn.net//projects/mingw/ticket/39193
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=39193
---------------------------------------------------------------------
Last Changes/Comment on this Ticket:
2019-05-03 15:45 Updated by: keith
* Status Update from Open to Closed
* Owner Update from (None) to keith
* Resolution Update from None to Fixed
* Summary Updated
Comment:
Indeed. Although pedantically, it's a closing parenthesis, and not a bracket,
which is missing, you are quite correct, thanks. Now fixed, in the repository,
for inclusion in the next release.
---------------------------------------------------------------------
Ticket Status:
Reporter: carsten_meyer
Owner: keith
Type: Issues
Status: Closed
Priority: 5 - Medium
MileStone: (None)
Component: WSL
Severity: 5 - Medium
Resolution: Fixed
---------------------------------------------------------------------
Ticket details:
In commctrl.h (L:4741): ListView_SubItemHitTest( w, p ) might be missing a
closed bracket at the end of line
--
Ticket information of MinGW - Minimalist GNU for Windows project
MinGW - Minimalist GNU for Windows Project is hosted on OSDN
Project URL: https://osdn.net/projects/mingw/
OSDN: https://osdn.net
URL for this Ticket:
https://osdn.net/projects/mingw/ticket/39193
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=39193
------------------------------
Subject: Digest Footer
_______________________________________________
MinGW-Notify mailing list
[email protected]
https://lists.osdn.me/mailman/listinfo/mingw-notify
------------------------------
End of MinGW-Notify Digest, Vol 20, Issue 1
*******************************************