public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* GDB 8.1.1 release, 2018-05-30 update
@ 2018-05-30 22:53 Joel Brobecker
  2018-06-01 16:37 ` Keith Seitz
  0 siblings, 1 reply; 5+ messages in thread
From: Joel Brobecker @ 2018-05-30 22:53 UTC (permalink / raw)
  To: gdb-patches; +Cc: keiths

Hey everyone,

Still down to the one issue we have left:

  * [KeithS/TomT] PR symtab/23010 (Regression: Assertion: SYMBOL_LANGUAGE (sym) == DICT_LANGUAGE (dict)->la_language)

       This is a regression. Tom sent a patch which got peer-reviewed
       by KeithS, and I gave it a nod, so it should go in sometime
       soon. But we still need to discuss whether the patch is suitable
       for 8.1.1.

       https://sourceware.org/ml/gdb-patches/2018-04/msg00234.html

The good news is that Keith was able to figure out what happens,
and came up with a fairly simple patch, which bodes well for
backporting it to the branch.

Keith, do you have a sense of when you might be able to officially
submit the patch?

Thanks!
-- 
Joel

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

* Re: GDB 8.1.1 release, 2018-05-30 update
  2018-05-30 22:53 GDB 8.1.1 release, 2018-05-30 update Joel Brobecker
@ 2018-06-01 16:37 ` Keith Seitz
  2018-06-04 21:18   ` Joel Brobecker
  0 siblings, 1 reply; 5+ messages in thread
From: Keith Seitz @ 2018-06-01 16:37 UTC (permalink / raw)
  To: Joel Brobecker, gdb-patches

On 05/30/2018 03:20 PM, Joel Brobecker wrote:
> Keith, do you have a sense of when you might be able to officially
> submit the patch?

Sorry about the delay -- I had to take a sick day yesterday. :-(

I'm still trying to write a reproducer. It's just really, really elusive.

Keith

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

* Re: GDB 8.1.1 release, 2018-05-30 update
  2018-06-01 16:37 ` Keith Seitz
@ 2018-06-04 21:18   ` Joel Brobecker
  2018-06-04 21:34     ` Keith Seitz
  0 siblings, 1 reply; 5+ messages in thread
From: Joel Brobecker @ 2018-06-04 21:18 UTC (permalink / raw)
  To: Keith Seitz; +Cc: gdb-patches

Hey Keith,

> On 05/30/2018 03:20 PM, Joel Brobecker wrote:
> > Keith, do you have a sense of when you might be able to officially
> > submit the patch?
> 
> Sorry about the delay -- I had to take a sick day yesterday. :-(

Sorry to hear that. Hope you're better now!

> I'm still trying to write a reproducer. It's just really, really elusive.

Do you think we have reached the point where we might be past
what's reasonable for trying to create a regression test? Just
trying to guage a bit whether it's worth pouring more resources
into trying to get one, vs using the resources elsewhere.

I have a feeling that you've done your due diligence and spent
enough time that we should consider your patch without a testcase,
since the patch itself is relatively straightforward. If people
prefer, we can limit the patch to just the master branch for now,
but I'd be happy to have it in both.

-- 
Joel

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

* Re: GDB 8.1.1 release, 2018-05-30 update
  2018-06-04 21:18   ` Joel Brobecker
@ 2018-06-04 21:34     ` Keith Seitz
  2018-06-04 21:57       ` Joel Brobecker
  0 siblings, 1 reply; 5+ messages in thread
From: Keith Seitz @ 2018-06-04 21:34 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: gdb-patches

On 06/04/2018 02:18 PM, Joel Brobecker wrote:
> 
> Sorry to hear that. Hope you're better now!
> 

Some sort of 24-hour bug. Thank you for your well-wishes.

>> I'm still trying to write a reproducer. It's just really, really elusive.
> 
> Do you think we have reached the point where we might be past
> what's reasonable for trying to create a regression test? Just
> trying to guage a bit whether it's worth pouring more resources
> into trying to get one, vs using the resources elsewhere.

Yeah, I've pretty much given up on triggering the exact conditions that cause a user-visible manifestation of this bug. I have a dwarf assembler file that I've been hacking at, and it is getting *quite* large. Still no luck in causing this bug to trigger.

However, I have been thinking about an alternative, easier way to trigger the bug. That is by wrapping add_symbol_to_list in dwarf2read.c with a custom version that checks if we are adding symbols to a language_minimal dictionary. If it sees that, it issues a complaint. [Or add another option to turn this on/off.]

Once again that adds complexity into an already performance-sensitive area, and I'm not really sure it is worth the effort anymore. Not to mention how hacky it is!

So really, I can continue down this road, or maintainers can make the call to omit a test case for it entirely. Otherwise, I'll return my attention to helping with the patch review backlog.

Keith 

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

* Re: GDB 8.1.1 release, 2018-05-30 update
  2018-06-04 21:34     ` Keith Seitz
@ 2018-06-04 21:57       ` Joel Brobecker
  0 siblings, 0 replies; 5+ messages in thread
From: Joel Brobecker @ 2018-06-04 21:57 UTC (permalink / raw)
  To: Keith Seitz; +Cc: gdb-patches

> Yeah, I've pretty much given up on triggering the exact conditions
> that cause a user-visible manifestation of this bug. I have a dwarf
> assembler file that I've been hacking at, and it is getting *quite*
> large. Still no luck in causing this bug to trigger.
> 
> However, I have been thinking about an alternative, easier way to
> trigger the bug. That is by wrapping add_symbol_to_list in
> dwarf2read.c with a custom version that checks if we are adding
> symbols to a language_minimal dictionary. If it sees that, it issues a
> complaint. [Or add another option to turn this on/off.]
> 
> Once again that adds complexity into an already performance-sensitive
> area, and I'm not really sure it is worth the effort anymore. Not to
> mention how hacky it is!
> 
> So really, I can continue down this road, or maintainers can make the
> call to omit a test case for it entirely. Otherwise, I'll return my
> attention to helping with the patch review backlog.

Why not submit the patch as is, without a testcase? Then, leave it
to me to rally the other maintainers to weigh in on the topic ;-).

The alternative option you suggest is kind of interesting; I would
have a hard time evaluating the performance impact without actually
doing some measurements. It could be unnoticeable, particularly
when building with optimization and inlining (I'm thinking that
the extra wrapper could be reduced to one test instruction or two
when complaints are off).

-- 
Joel

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

end of thread, other threads:[~2018-06-04 21:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-30 22:53 GDB 8.1.1 release, 2018-05-30 update Joel Brobecker
2018-06-01 16:37 ` Keith Seitz
2018-06-04 21:18   ` Joel Brobecker
2018-06-04 21:34     ` Keith Seitz
2018-06-04 21:57       ` Joel Brobecker

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).