public inbox for dwz@sourceware.org
 help / color / mirror / Atom feed
* [Bug default/24169] New: dwz: dwz.c:8792: write_die: Assertion `refd != NULL' failed.
@ 2019-01-01  0:00 vries at gcc dot gnu.org
  2019-01-01  0:00 ` [Bug default/24169] " vries at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: vries at gcc dot gnu.org @ 2019-01-01  0:00 UTC (permalink / raw)
  To: dwz

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

            Bug ID: 24169
           Summary: dwz: dwz.c:8792: write_die: Assertion `refd != NULL'
                    failed.
           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: ---

For these gdb test-cases (implptr-64bit-d2o4a8r8t0, implptr-64bit-d2o4a8r8t1,
implptr-64bit-d3o4a8r4t0, implptr-64bit-d3o4a8r4t1, multidictionary) we run
into this assert:
...
dwz: dwz.c:8792: write_die: Assertion `refd != NULL' failed.
...

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

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

* [Bug default/24169] dwz: dwz.c:8792: write_die: Assertion `refd != NULL' failed.
  2019-01-01  0:00 [Bug default/24169] New: dwz: dwz.c:8792: write_die: Assertion `refd != NULL' failed vries at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2019-01-01  0:00 ` vries at gcc dot gnu.org
@ 2019-01-01  0:00 ` vries at gcc dot gnu.org
  2019-01-01  0:00 ` vries at gcc dot gnu.org
  2019-01-01  0:00 ` vries at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: vries at gcc dot gnu.org @ 2019-01-01  0:00 UTC (permalink / raw)
  To: dwz

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

--- Comment #3 from Tom de Vries <vries at gcc dot gnu.org> ---
Created attachment 11587
  --> https://sourceware.org/bugzilla/attachment.cgi?id=11587&action=edit
[PATCH 2/2] Error out for invalid DW_FORM_ref_addr

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

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

* [Bug default/24169] dwz: dwz.c:8792: write_die: Assertion `refd != NULL' failed.
  2019-01-01  0:00 [Bug default/24169] New: dwz: dwz.c:8792: write_die: Assertion `refd != NULL' failed vries at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2019-01-01  0:00 ` doko at debian dot org
@ 2019-01-01  0:00 ` vries at gcc dot gnu.org
  2019-01-01  0:00 ` vries at gcc dot gnu.org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: vries at gcc dot gnu.org @ 2019-01-01  0:00 UTC (permalink / raw)
  To: dwz

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

--- Comment #2 from Tom de Vries <vries at gcc dot gnu.org> ---
Created attachment 11586
  --> https://sourceware.org/bugzilla/attachment.cgi?id=11586&action=edit
[Patch 1/2]  Factor out skip_attr

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

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

* [Bug default/24169] dwz: dwz.c:8792: write_die: Assertion `refd != NULL' failed.
  2019-01-01  0:00 [Bug default/24169] New: dwz: dwz.c:8792: write_die: Assertion `refd != NULL' failed vries at gcc dot gnu.org
  2019-01-01  0:00 ` [Bug default/24169] " vries at gcc dot gnu.org
@ 2019-01-01  0:00 ` vries at gcc dot gnu.org
  2019-01-01  0:00 ` doko at debian dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: vries at gcc dot gnu.org @ 2019-01-01  0:00 UTC (permalink / raw)
  To: dwz

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

--- Comment #4 from Tom de Vries <vries at gcc dot gnu.org> ---
patch submitted: https://sourceware.org/ml/dwz/2019-q1/msg00100.html

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

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

* [Bug default/24169] dwz: dwz.c:8792: write_die: Assertion `refd != NULL' failed.
  2019-01-01  0:00 [Bug default/24169] New: dwz: dwz.c:8792: write_die: Assertion `refd != NULL' failed vries at gcc dot gnu.org
@ 2019-01-01  0:00 ` vries at gcc dot gnu.org
  2019-01-01  0:00 ` vries at gcc dot gnu.org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: vries at gcc dot gnu.org @ 2019-01-01  0:00 UTC (permalink / raw)
  To: dwz

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

--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
Created attachment 11585
  --> https://sourceware.org/bugzilla/attachment.cgi?id=11585&action=edit
multidictionary executable

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

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

* [Bug default/24169] dwz: dwz.c:8792: write_die: Assertion `refd != NULL' failed.
  2019-01-01  0:00 [Bug default/24169] New: dwz: dwz.c:8792: write_die: Assertion `refd != NULL' failed vries at gcc dot gnu.org
  2019-01-01  0:00 ` [Bug default/24169] " vries at gcc dot gnu.org
  2019-01-01  0:00 ` vries at gcc dot gnu.org
@ 2019-01-01  0:00 ` doko at debian dot org
  2019-01-01  0:00 ` vries at gcc dot gnu.org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: doko at debian dot org @ 2019-01-01  0:00 UTC (permalink / raw)
  To: dwz

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

Matthias Klose <doko at debian dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |doko at debian dot org

--- Comment #5 from Matthias Klose <doko at debian dot org> ---
fyi, this seems to be fixed on trunk 20190701

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

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

* [Bug default/24169] dwz: dwz.c:8792: write_die: Assertion `refd != NULL' failed.
  2019-01-01  0:00 [Bug default/24169] New: dwz: dwz.c:8792: write_die: Assertion `refd != NULL' failed vries at gcc dot gnu.org
                   ` (6 preceding siblings ...)
  2019-01-01  0:00 ` vries at gcc dot gnu.org
@ 2019-01-01  0:00 ` vries at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: vries at gcc dot gnu.org @ 2019-01-01  0:00 UTC (permalink / raw)
  To: dwz

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

--- Comment #6 from Tom de Vries <vries at gcc dot gnu.org> ---
(In reply to Matthias Klose from comment #5)
> fyi, this seems to be fixed on trunk 20190701

Well, I can't reproduce that. 

For me the failure still triggers with current trunk:
...
$ ./dwz multidictionary 
dwz: /data/dwz/dwz.git/dwz.c:9108: write_die: Assertion `refd != NULL' failed.
Aborted (core dumped)
$ ./dwz -l0 multidictionary 
Segmentation fault (core dumped)
...

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

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

* [Bug default/24169] dwz: dwz.c:8792: write_die: Assertion `refd != NULL' failed.
  2019-01-01  0:00 [Bug default/24169] New: dwz: dwz.c:8792: write_die: Assertion `refd != NULL' failed vries at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2019-01-01  0:00 ` vries at gcc dot gnu.org
@ 2019-01-01  0:00 ` vries at gcc dot gnu.org
  2019-01-01  0:00 ` vries at gcc dot gnu.org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: vries at gcc dot gnu.org @ 2019-01-01  0:00 UTC (permalink / raw)
  To: dwz

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

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

FTR, this is a pragmatic fix. For something more structural, I've filed PR25229
- "Add input verification phase".

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

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

* [Bug default/24169] dwz: dwz.c:8792: write_die: Assertion `refd != NULL' failed.
  2019-01-01  0:00 [Bug default/24169] New: dwz: dwz.c:8792: write_die: Assertion `refd != NULL' failed vries at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2019-01-01  0:00 ` vries at gcc dot gnu.org
@ 2019-01-01  0:00 ` vries at gcc dot gnu.org
  2019-01-01  0:00 ` vries at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: vries at gcc dot gnu.org @ 2019-01-01  0:00 UTC (permalink / raw)
  To: dwz

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

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

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

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

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

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

end of thread, other threads:[~2019-11-28 16:27 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-01  0:00 [Bug default/24169] New: dwz: dwz.c:8792: write_die: Assertion `refd != NULL' failed vries at gcc dot gnu.org
2019-01-01  0:00 ` [Bug default/24169] " vries at gcc dot gnu.org
2019-01-01  0:00 ` vries at gcc dot gnu.org
2019-01-01  0:00 ` doko at debian dot org
2019-01-01  0:00 ` vries at gcc dot gnu.org
2019-01-01  0:00 ` vries at gcc dot gnu.org
2019-01-01  0:00 ` vries at gcc dot gnu.org
2019-01-01  0:00 ` vries at gcc dot gnu.org
2019-01-01  0:00 ` 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).