public inbox for dwz@sourceware.org
 help / color / mirror / Atom feed
* [Bug default/25456] [dwz, low-mem, fixed-needs-testcase] segfault in die_cu
  2020-01-01  0:00 [Bug default/25456] New: [dwz, low-mem] segfault in die_cu vries at gcc dot gnu.org
  2020-01-01  0:00 ` [Bug default/25456] " vries at gcc dot gnu.org
@ 2020-01-01  0:00 ` vries at gcc dot gnu.org
  2020-01-01  0:00 ` [Bug default/25456] [dwz, low-mem] " vries at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: vries at gcc dot gnu.org @ 2020-01-01  0:00 UTC (permalink / raw)
  To: dwz

https://sourceware.org/bugzilla/show_bug.cgi?id=25456

Tom de Vries <vries at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[dwz, low-mem] segfault in  |[dwz, low-mem,
                   |die_cu                      |fixed-needs-testcase]
                   |                            |segfault in die_cu

--- Comment #4 from Tom de Vries <vries at gcc dot gnu.org> ---
(In reply to Tom de Vries from comment #3)
> https://sourceware.org/git/?p=dwz.git;a=commit;
> h=e2c440efe9deb1cbdea1fe964223d8eccd88422b

Fixed but not closing this yet, we need a test-case.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Bug default/25456] [dwz, low-mem] segfault in die_cu
  2020-01-01  0:00 [Bug default/25456] New: [dwz, low-mem] segfault in die_cu vries at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2020-01-01  0:00 ` [Bug default/25456] [dwz, low-mem] " vries at gcc dot gnu.org
@ 2020-01-01  0:00 ` vries at gcc dot gnu.org
  2021-03-02  7:59 ` [Bug default/25456] [dwz, low-mem, fixed-needs-testcase] " vries at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: vries at gcc dot gnu.org @ 2020-01-01  0:00 UTC (permalink / raw)
  To: dwz

https://sourceware.org/bugzilla/show_bug.cgi?id=25456

--- Comment #3 from Tom de Vries <vries at gcc dot gnu.org> ---
https://sourceware.org/git/?p=dwz.git;a=commit;h=e2c440efe9deb1cbdea1fe964223d8eccd88422b

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Bug default/25456] [dwz, low-mem] segfault in die_cu
  2020-01-01  0:00 [Bug default/25456] New: [dwz, low-mem] segfault in die_cu vries at gcc dot gnu.org
@ 2020-01-01  0:00 ` vries at gcc dot gnu.org
  2020-01-01  0:00 ` [Bug default/25456] [dwz, low-mem, fixed-needs-testcase] " vries at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: vries at gcc dot gnu.org @ 2020-01-01  0:00 UTC (permalink / raw)
  To: dwz

https://sourceware.org/bugzilla/show_bug.cgi?id=25456

--- Comment #2 from Tom de Vries <vries at gcc dot gnu.org> ---
(In reply to Tom de Vries from comment #1)
> (In reply to Tom de Vries from comment #0)
> 
> > dwz clang-offload-bundler-10.debug

FTR, the test-case is derived from
clang-offload-bundler-10.0.0-0.20190817snap5.fc30.x86_64.debug provided in
PR25024. Unfortunately, I have no recollection of how I turned the original
into this test-case (though presumably, dwz was involved).

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Bug default/25456] New: [dwz, low-mem] segfault in die_cu
@ 2020-01-01  0:00 vries at gcc dot gnu.org
  2020-01-01  0:00 ` [Bug default/25456] " vries at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: vries at gcc dot gnu.org @ 2020-01-01  0:00 UTC (permalink / raw)
  To: dwz

https://sourceware.org/bugzilla/show_bug.cgi?id=25456

            Bug ID: 25456
           Summary: [dwz, low-mem] segfault in die_cu
           Product: dwz
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: default
          Assignee: nobody at sourceware dot org
          Reporter: vries at gcc dot gnu.org
                CC: dwz at sourceware dot org
  Target Milestone: ---

Segfault in low-mem mode:
...
$ dwz clang-offload-bundler-10.debug
dwz: clang-offload-bundler-10.debug: Couldn't find DIE referenced by
DW_OP_GNU_implicit_pointer
$ dwz clang-offload-bundler-10.debug -l0
Segmentation fault (core dumped)
...

Backtrace:
...
Program received signal SIGSEGV, Segmentation fault.
die_cu (die=0x0) at /data/dwz/dwz.git/dwz.c:984
984       while (!die->die_root)
Missing separate debuginfos, use: zypper install
libelf1-debuginfo-0.168-lp151.4.3.1.x86_64
libz1-debuginfo-1.2.11-lp151.5.3.1.x86_64
(gdb) bt
#0  die_cu (die=0x0) at /data/dwz/dwz.git/dwz.c:984
#1  read_exprloc (dso=dso@entry=0x631660, die=die@entry=0x7fffeeb1efe8,
ptr=0x7ffff270f439 "", 
    len=<optimized out>, need_adjust=need_adjust@entry=0x7fffffffd29f) at
/data/dwz/dwz.git/dwz.c:1918
#2  0x000000000040e550 in read_loclist (dso=dso@entry=0x631660,
die=die@entry=0x7fffeeb1efe8, 
    offset=<optimized out>) at /data/dwz/dwz.git/dwz.c:2427
#3  0x000000000040ef75 in checksum_die (dso=<optimized out>, cu=<optimized
out>, top_die=<optimized out>, 
    die=0x7fffeeb1efe8) at /data/dwz/dwz.git/dwz.c:2672
#4  0x000000000040ea1d in checksum_die (dso=<optimized out>, cu=<optimized
out>, top_die=<optimized out>, 
    die=0x7fffeeb1f1e0) at /data/dwz/dwz.git/dwz.c:3028
#5  0x000000000040ea1d in checksum_die (dso=<optimized out>, cu=<optimized
out>, top_die=<optimized out>, 
    die=0x7fffeb7c07f8) at /data/dwz/dwz.git/dwz.c:3028
#6  0x000000000040ea1d in checksum_die (dso=<optimized out>, cu=<optimized
out>, top_die=<optimized out>, 
    die=0x7fffeb7bee30) at /data/dwz/dwz.git/dwz.c:3028
#7  0x0000000000412e23 in read_debug_info (dso=dso@entry=0x631660,
kind=kind@entry=0, 
    die_count=die_count@entry=0x400000000) at /data/dwz/dwz.git/dwz.c:6170
#8  0x0000000000413e1f in read_dwarf (dso=dso@entry=0x631660,
quieter=<optimized out>, die_count=0x400000000, 
    die_count@entry=0x0) at /data/dwz/dwz.git/dwz.c:12066
#9  0x000000000041a4b8 in dwz (file=file@entry=0x7fffffffe106
"clang-offload-bundler-10.debug", 
    outfile=outfile@entry=0x7fffffffe128 "1", res=res@entry=0x7fffffffdab0,
resa=resa@entry=0x0, 
    files=files@entry=0x0) at /data/dwz/dwz.git/dwz.c:13629
#10 0x000000000040428c in main (argc=5, argv=<optimized out>) at
/data/dwz/dwz.git/dwz.c:14882
...

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Bug default/25456] [dwz, low-mem] segfault in die_cu
  2020-01-01  0:00 [Bug default/25456] New: [dwz, low-mem] segfault in die_cu vries at gcc dot gnu.org
  2020-01-01  0:00 ` [Bug default/25456] " vries at gcc dot gnu.org
  2020-01-01  0:00 ` [Bug default/25456] [dwz, low-mem, fixed-needs-testcase] " vries at gcc dot gnu.org
@ 2020-01-01  0:00 ` vries at gcc dot gnu.org
  2020-01-01  0:00 ` vries at gcc dot gnu.org
  2021-03-02  7:59 ` [Bug default/25456] [dwz, low-mem, fixed-needs-testcase] " vries at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: vries at gcc dot gnu.org @ 2020-01-01  0:00 UTC (permalink / raw)
  To: dwz

https://sourceware.org/bugzilla/show_bug.cgi?id=25456

--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
(In reply to Tom de Vries from comment #0)

> dwz clang-offload-bundler-10.debug

http://ftp.suse.com/pub/people/tdevries/clang-offload-bundler-10.debug.xz

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Bug default/25456] [dwz, low-mem, fixed-needs-testcase] segfault in die_cu
  2020-01-01  0:00 [Bug default/25456] New: [dwz, low-mem] segfault in die_cu vries at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2020-01-01  0:00 ` vries at gcc dot gnu.org
@ 2021-03-02  7:59 ` vries at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: vries at gcc dot gnu.org @ 2021-03-02  7:59 UTC (permalink / raw)
  To: dwz

https://sourceware.org/bugzilla/show_bug.cgi?id=25456

Tom de Vries <vries at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #5 from Tom de Vries <vries at gcc dot gnu.org> ---
Still no test-case, but marking as fixed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

end of thread, other threads:[~2021-03-02  7:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-01  0:00 [Bug default/25456] New: [dwz, low-mem] segfault in die_cu vries at gcc dot gnu.org
2020-01-01  0:00 ` [Bug default/25456] " vries at gcc dot gnu.org
2020-01-01  0:00 ` [Bug default/25456] [dwz, low-mem, fixed-needs-testcase] " vries at gcc dot gnu.org
2020-01-01  0:00 ` [Bug default/25456] [dwz, low-mem] " vries at gcc dot gnu.org
2020-01-01  0:00 ` vries at gcc dot gnu.org
2021-03-02  7:59 ` [Bug default/25456] [dwz, low-mem, fixed-needs-testcase] " vries 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).