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 21:05:14 +0200	[thread overview]
Message-ID: <AM8PR10MB47080D814181D6181F8264BCE4E19@AM8PR10MB4708.EURPRD10.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <c6313db9-cefb-eee5-be5a-1f3d85578ebb@polymtl.ca>



On 7/19/21 8:53 PM, Simon Marchi wrote:
>> 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?
> 
> I don't know, probably an Expect bug?  Does it happen when running any
> test or when running a specific test?
> 
> What version do you have?  For reference, I have:
> 
>  - expect 5.45.4
>  - tcl 8.6.11
>  - dejagnu 1.6.2
> 
> And I don't see that.
> 

Hmm,

I see the same effect with

expect                                      5.45-5ubuntu1 
tcl                                         8.6.0+6ubuntu3
dejagnu                                     1.5-3ubuntu1

and 

expect                                        5.45.4-2build1
tcl                                           8.6.9+1
dejagnu                                       1.6.2-1


not sure what I made wrong, does anybody else have similar issues?

Bernd.

  reply	other threads:[~2021-07-19 19:05 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
2021-07-19 18:53             ` Simon Marchi
2021-07-19 19:05               ` Bernd Edlinger [this message]
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=AM8PR10MB47080D814181D6181F8264BCE4E19@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).