public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Bernd Edlinger <bernd.edlinger@hotmail.de>
To: Simon Marchi <simon.marchi@polymtl.ca>,
	Tom Tromey <tom@tromey.com>,
	Simon Marchi via Gdb-patches <gdb-patches@sourceware.org>
Subject: Re: [PATCH] gdb/testsuite: capture GDB tty name in default_gdb_spawn
Date: Mon, 19 Jul 2021 20:36:06 +0200	[thread overview]
Message-ID: <AM8PR10MB47081B6BD9E82496DF850D87E4E19@AM8PR10MB4708.EURPRD10.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <df887dd7-67f8-7ad5-9d77-82512f625e90@polymtl.ca>

On 6/10/21 8:32 PM, Simon Marchi via Gdb-patches wrote:
> 
> 
> On 2021-06-10 2:26 p.m., Tom Tromey wrote:
>> Simon> Here's the version that overrides all the time.
>>
>> Looks good.  Thank you for doing this.
>>
>> Tom
>>
> 
> Thanks, pushed.
> 
> Simon
> 
Hi,

every time I do "make check-gdb" since this patch,
I see a SIGSEGV in /usr/bin/expect at the end:

The symptoms are:

		=== gdb Summary ===

# of expected passes		80145
# of unexpected failures	867
# of expected failures		72
# of unknown successes		3
# of known failures		121
# of unresolved testcases	5
# of untested testcases		41
# of unsupported tests		257
# of duplicate test names	100
/home/ed/gnu/gdb-build-2/gdb/testsuite/../../gdb/gdb version  11.0.50.20210610-git -nw -nx -data-directory /home/ed/gnu/gdb-build-2/gdb/testsuite/../data-directory -iex "set height 0" -iex "set width 0" 

/bin/bash: line 1:  8471 Segmentation fault      (core dumped) runtest --status
make[3]: *** [check-single] Error 139
make[3]: Leaving directory `/home/ed/gnu/gdb-build-2/gdb/testsuite'
make[2]: *** [check] Error 2
make[2]: Leaving directory `/home/ed/gnu/gdb-build-2/gdb/testsuite'
make[1]: *** [check] Error 2
make[1]: Leaving directory `/home/ed/gnu/gdb-build-2/gdb'
make: *** [check-gdb] Error 2


the crash is always:

"expect -- /usr/share/dejagnu/runtest.exp --status"

crashed with SIGSEGV in Tcl_GetChannelName()

Do you have any idea what is wrong here, and how to fix it?


Bernd.

  reply	other threads:[~2021-07-19 18:36 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-08 21:21 Simon Marchi
2021-06-09 15:09 ` Tom Tromey
2021-06-09 15:15   ` Simon Marchi
2021-06-09 15:42     ` Simon Marchi
2021-06-10 18:26       ` Tom Tromey
2021-06-10 18:32         ` Simon Marchi
2021-07-19 18:36           ` Bernd Edlinger [this message]
2021-07-19 18:53             ` Simon Marchi
2021-07-19 19:05               ` Bernd Edlinger
2021-07-20  5:14                 ` Simon Marchi
2021-07-20 20:28                   ` Bernd Edlinger
2021-07-21 19:54                     ` Bernd Edlinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AM8PR10MB47081B6BD9E82496DF850D87E4E19@AM8PR10MB4708.EURPRD10.PROD.OUTLOOK.COM \
    --to=bernd.edlinger@hotmail.de \
    --cc=gdb-patches@sourceware.org \
    --cc=simon.marchi@polymtl.ca \
    --cc=tom@tromey.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).