Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Doug Evans <dje@google.com>
Cc: Tom Tromey <tromey@redhat.com>,
	gdb-patches@sourceware.org,        ccoutant@google.com,
	saugustine@google.com
Subject: Crash on new testcase gdb.dwarf2/pr13961.exp  [Re: Crash regression for gdb.ada/*.exp]
Date: Wed, 02 May 2012 23:19:00 -0000	[thread overview]
Message-ID: <20120502231930.GA626@host2.jankratochvil.net> (raw)
In-Reply-To: <CADPb22S7nBGM9mz8ZHs7ghXE0zUitCZOhUM55tBnAqg_0uRqNQ@mail.gmail.com>

On Mon, 30 Apr 2012 18:55:07 +0200, Doug Evans wrote:
> Can you check that it fixes the regression for you?

This new testcase crashes with gdbindex:

Program terminated with signal 11, Segmentation fault.
#0  0x000000000076e857 in dw2_find_symbol_file (objfile=0x3321c90, name=0x32f8d50 "main") at dwarf2read.c:2839
2839	  return file_data->file_names[file_data->num_file_names - 1];
(gdb) p file_data->num_file_names
$2 = 0
(gdb) bt
#0  0x000000000076e857 in dw2_find_symbol_file (objfile=0x3321c90, name=0x32f8d50 "main") at dwarf2read.c:2839
#1  0x00000000006db9b0 in find_main_filename () at symtab.c:1861
#2  0x00000000006e8524 in set_initial_language () at symfile.c:1676
#3  0x00000000006e784e in symbol_file_add_main_1 (args=0x32f8db0 "/home/jkratoch/redhat/gdb-clean/gdb/testsuite/gdb.dwarf2/pr13961.x", from_tty=1, flags=8) at symfile.c:1242
#4  0x00000000006e84ae in symbol_file_command (args=0x2e3e415 "/home/jkratoch/redhat/gdb-clean/gdb/testsuite/gdb.dwarf2/pr13961.x", from_tty=1) at symfile.c:1640
#5  0x0000000000751890 in file_command (arg=0x2e3e415 "/home/jkratoch/redhat/gdb-clean/gdb/testsuite/gdb.dwarf2/pr13961.x", from_tty=1) at exec.c:365


>         * gdb.dwarf2/pr13961.S: New file.
>         * gdb.dwarf2/pr13961.exp: New file.

I see I missed the testfile name only as a PR, which is hard to remember.


Thanks,
Jan


  parent reply	other threads:[~2012-05-02 23:19 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-18 18:58 [RFA 2/3] Initial Fission support, rewrite DIE reading Doug Evans
2012-04-25 14:58 ` Doug Evans
2012-04-26 21:52 ` Tom Tromey
2012-04-26 23:05   ` Doug Evans
2012-04-29  9:17     ` Crash regression for gdb.ada/*.exp [Re: [RFA 2/3] Initial Fission support, rewrite DIE reading] Jan Kratochvil
2012-04-30  1:37       ` Doug Evans
2012-04-30  2:05         ` Jan Kratochvil
2012-04-30 17:09           ` Doug Evans
2012-04-30 17:19             ` Jan Kratochvil
2012-04-30 18:09               ` Doug Evans
2012-05-02 23:19             ` Jan Kratochvil [this message]
2012-05-03  6:54               ` Crash on new testcase gdb.dwarf2/pr13961.exp [Re: Crash regression for gdb.ada/*.exp] Doug Evans
2012-07-19  8:17             ` Crash regression for gdb.ada/*.exp [Re: [RFA 2/3] Initial Fission support, rewrite DIE reading] Andreas Schwab
2012-07-19 16:18               ` dje

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=20120502231930.GA626@host2.jankratochvil.net \
    --to=jan.kratochvil@redhat.com \
    --cc=ccoutant@google.com \
    --cc=dje@google.com \
    --cc=gdb-patches@sourceware.org \
    --cc=saugustine@google.com \
    --cc=tromey@redhat.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