public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/94516] New: [10 Regression] gnutls test ./psk-file fails since r10-7515-g2c0fa3ecf70d199af18785702e9e0548fd3ab793
@ 2020-04-07 11:52 marxin at gcc dot gnu.org
  2020-04-07 11:54 ` [Bug rtl-optimization/94516] " marxin at gcc dot gnu.org
                   ` (24 more replies)
  0 siblings, 25 replies; 26+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-04-07 11:52 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94516

            Bug ID: 94516
           Summary: [10 Regression] gnutls test ./psk-file fails since
                    r10-7515-g2c0fa3ecf70d199af18785702e9e0548fd3ab793
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: jakub at gcc dot gnu.org
  Target Milestone: ---

The following release:
https://www.gnupg.org/ftp/gcrypt/gnutls/v3.6/gnutls-3.6.12.tar.xz

fails with:
$ export CFLAGS="-O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong
-funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection
-Werror=return-type -g -fPIE"
$ ./configure
$ make
$ cd tests
$ make check
$ valgrind ./psk-file 
==22044== Memcheck, a memory error detector
==22044== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==22044== Using Valgrind-3.15.0 and LibVEX; rerun with -h for copyright info
==22044== Command: ./psk-file
==22044== 
ntest NORMAL:-KX-ALL:+PSK (user:non-hex)
==22045== 
==22045== HEAP SUMMARY:
==22045==     in use at exit: 337 bytes in 7 blocks
==22045==   total heap usage: 1,371 allocs, 1,364 frees, 203,699 bytes
allocated
==22045== 
==22045== LEAK SUMMARY:
==22045==    definitely lost: 0 bytes in 0 blocks
==22045==    indirectly lost: 0 bytes in 0 blocks
==22045==      possibly lost: 0 bytes in 0 blocks
==22045==    still reachable: 337 bytes in 7 blocks
==22045==         suppressed: 0 bytes in 0 blocks
==22045== Rerun with --leak-check=full to see details of leaked memory
==22045== 
==22045== For lists of detected and suppressed errors, rerun with: -s
==22045== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
test
NORMAL:-VERS-ALL:+VERS-TLS1.3:-CIPHER-ALL:+AES-128-GCM:+DHE-PSK:+PSK:-GROUP-DH-ALL
(user:jas)
==22046== 
==22046== Process terminating with default action of signal 11 (SIGSEGV):
dumping core
==22046==  General Protection Fault
==22046==    at 0x48D291A: UnknownInlinedFun (pk.c:1925)
==22046==    by 0x48D291A: wrap_nettle_pk_generate_keys.lto_priv.0 (pk.c:2509)
==22046==    by 0x48F53FB: client_gen_key_share (key_share.c:95)
==22046==    by 0x48F59CC: key_share_send_params.lto_priv.0 (key_share.c:725)
==22046==    by 0x4998F6B: hello_ext_send (hello_ext.c:368)
==22046==    by 0x49660D5: UnknownInlinedFun (extv.c:218)
==22046==    by 0x49660D5: _gnutls_extv_append (extv.c:200)
==22046==    by 0x4999301: _gnutls_gen_hello_extensions (hello_ext.c:436)
==22046==    by 0x49B2731: UnknownInlinedFun (handshake.c:2265)
==22046==    by 0x49B2731: UnknownInlinedFun (handshake.c:2895)
==22046==    by 0x49B2731: gnutls_handshake (handshake.c:2727)
==22046==    by 0x402C1F: client (psk-file.c:102)
==22046==    by 0x4030B3: run_test3 (psk-file.c:349)
==22046==    by 0x4031FE: run_test2 (psk-file.c:358)
==22046==    by 0x4031FE: doit (psk-file.c:407)

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2023-07-07  8:48 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-07 11:52 [Bug rtl-optimization/94516] New: [10 Regression] gnutls test ./psk-file fails since r10-7515-g2c0fa3ecf70d199af18785702e9e0548fd3ab793 marxin at gcc dot gnu.org
2020-04-07 11:54 ` [Bug rtl-optimization/94516] " marxin at gcc dot gnu.org
2020-04-07 11:58 ` marxin at gcc dot gnu.org
2020-04-07 12:01 ` rguenth at gcc dot gnu.org
2020-04-07 12:45 ` jakub at gcc dot gnu.org
2020-04-07 12:45 ` jakub at gcc dot gnu.org
2020-04-07 13:30 ` jakub at gcc dot gnu.org
2020-04-07 14:28 ` jakub at gcc dot gnu.org
2020-04-07 14:35 ` marxin at gcc dot gnu.org
2020-04-07 14:55 ` jakub at gcc dot gnu.org
2020-04-07 15:05 ` marxin at gcc dot gnu.org
2020-04-07 15:13 ` jakub at gcc dot gnu.org
2020-04-08 10:05 ` cvs-commit at gcc dot gnu.org
2020-04-08 19:29 ` jakub at gcc dot gnu.org
2020-04-08 20:02 ` law at redhat dot com
2020-04-09 13:12 ` jakub at gcc dot gnu.org
2020-04-15  9:44 ` jakub at gcc dot gnu.org
2020-04-20 13:05 ` jakub at gcc dot gnu.org
2020-05-05 14:36 ` [Bug rtl-optimization/94516] [10/11 " cvs-commit at gcc dot gnu.org
2020-05-05 14:41 ` [Bug rtl-optimization/94516] [10 " jakub at gcc dot gnu.org
2020-05-07 11:56 ` jakub at gcc dot gnu.org
2020-05-08  7:31 ` cvs-commit at gcc dot gnu.org
2020-07-23  6:51 ` rguenth at gcc dot gnu.org
2021-04-08 12:02 ` rguenth at gcc dot gnu.org
2022-06-28 10:40 ` jakub at gcc dot gnu.org
2023-07-07  8:48 ` rguenth at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).