Bug 889283 - [abrt] dwz-0.8-1.fc18: remove_import_edges: Process /usr/bin/dwz was killed by signal 6 (SIGABRT)
Summary: [abrt] dwz-0.8-1.fc18: remove_import_edges: Process /usr/bin/dwz was killed b...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: dwz
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:f2ec224edbb3bf7b65aab6dd829...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-20 17:05 UTC by Adam Jackson
Modified: 2014-02-05 22:55 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-02-05 22:55:31 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (6.66 KB, text/plain)
2012-12-20 17:06 UTC, Adam Jackson
no flags Details
File: build_ids (205 bytes, text/plain)
2012-12-20 17:06 UTC, Adam Jackson
no flags Details
File: cgroup (128 bytes, text/plain)
2012-12-20 17:06 UTC, Adam Jackson
no flags Details
File: core_backtrace (759 bytes, text/plain)
2012-12-20 17:06 UTC, Adam Jackson
no flags Details
File: dso_list (308 bytes, text/plain)
2012-12-20 17:06 UTC, Adam Jackson
no flags Details
File: environ (3.45 KB, text/plain)
2012-12-20 17:06 UTC, Adam Jackson
no flags Details
File: limits (1.29 KB, text/plain)
2012-12-20 17:06 UTC, Adam Jackson
no flags Details
File: maps (2.15 KB, text/plain)
2012-12-20 17:06 UTC, Adam Jackson
no flags Details
File: open_fds (263 bytes, text/plain)
2012-12-20 17:06 UTC, Adam Jackson
no flags Details
File: proc_pid_status (927 bytes, text/plain)
2012-12-20 17:06 UTC, Adam Jackson
no flags Details
libLLVM-3.1-mesa.so.debug.bz2 (24.27 MB, application/octet-stream)
2012-12-20 19:23 UTC, Adam Jackson
no flags Details

Description Adam Jackson 2012-12-20 17:05:59 UTC
Description of problem:
Tried to build llvm with -flto.

Version-Release number of selected component:
dwz-0.8-1.fc18

Additional info:
backtrace_rating: 4
cmdline:        dwz -h -q -r -m .dwz/mesa-private-llvm-3.1-12.el7.jx1.x86_64 -l 10000000 -L 110000000 ./usr/lib64/mesa-private-llvm/libLLVM-3.1-mesa.so.debug
crash_function: remove_import_edges
executable:     /usr/bin/dwz
kernel:         3.6.9-4.jx1.fc18.x86_64
uid:            1000
var_log_messages: Dec 20 11:58:22 ergine abrt[25153]: Saved core dump of pid 25152 (/usr/bin/dwz) to /var/spool/abrt/ccpp-2012-12-20-11:58:21-25152 (240205824 bytes)

Truncated backtrace:
Thread no. 1 (3 frames)
 #4 remove_import_edges at dwz.c:5678
 #6 create_import_tree at dwz.c:5998
 #7 dwz at dwz.c:10976

Comment 1 Adam Jackson 2012-12-20 17:06:01 UTC
Created attachment 666820 [details]
File: backtrace

Comment 2 Adam Jackson 2012-12-20 17:06:03 UTC
Created attachment 666821 [details]
File: build_ids

Comment 3 Adam Jackson 2012-12-20 17:06:05 UTC
Created attachment 666822 [details]
File: cgroup

Comment 4 Adam Jackson 2012-12-20 17:06:07 UTC
Created attachment 666823 [details]
File: core_backtrace

Comment 5 Adam Jackson 2012-12-20 17:06:08 UTC
Created attachment 666824 [details]
File: dso_list

Comment 6 Adam Jackson 2012-12-20 17:06:10 UTC
Created attachment 666825 [details]
File: environ

Comment 7 Adam Jackson 2012-12-20 17:06:12 UTC
Created attachment 666826 [details]
File: limits

Comment 8 Adam Jackson 2012-12-20 17:06:14 UTC
Created attachment 666827 [details]
File: maps

Comment 9 Adam Jackson 2012-12-20 17:06:16 UTC
Created attachment 666828 [details]
File: open_fds

Comment 10 Adam Jackson 2012-12-20 17:06:18 UTC
Created attachment 666829 [details]
File: proc_pid_status

Comment 11 Jakub Jelinek 2012-12-20 17:09:59 UTC
Can you please attach ./usr/lib64/mesa-private-llvm/libLLVM-3.1-mesa.so.debug before dwz is run on it?  E.g. disable dwz through say
%global _find_debuginfo_dwz_opts %{nil}
or similar in the spec file, build, unpack the so.debug file from the debuginfo rpm?  Thanks.

Comment 12 Adam Jackson 2012-12-20 19:23:23 UTC
Created attachment 666908 [details]
libLLVM-3.1-mesa.so.debug.bz2

As requested.

Comment 13 Jakub Jelinek 2013-01-10 16:41:46 UTC
As suspected, the LTO debug info is very questionable, contains several copies of the same DIEs within the same compilation unit.

--- dwz-0.8/dwz.c
+++ dwz-0.8/dwz.c
@@ -3433,6 +3433,12 @@ die_eq_1 (dw_cu_ref cu1, dw_cu_ref cu2,
 		      reft1 = reft2;
 		      reft2 = tem;
 		    }
+		  if (reft1->die_dup == NULL && reft2->die_dup != NULL)
+		    {
+		      dw_die_ref tem = reft1;
+		      reft1 = reft2;
+		      reft2 = tem;
+		    }
 		}
 	      /* If reft1 (die1 or whatever refers to it is already
 		 in the hash table) already has a dup, follow to that

should fix this, I'll need to run dwz on a larger code base to double check it works correctly though.

Comment 14 Jakub Jelinek 2013-02-04 12:21:43 UTC
Now in dwz-0.9-1.fc{18,19}.  Not pushed as an update yet, can you please verify it fixes your build?

Comment 15 Fedora End Of Life 2013-12-21 15:15:14 UTC
This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '18'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 18's end of life.

Thank you for reporting this issue and we are sorry that we may not be 
able to fix it before Fedora 18 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior to Fedora 18's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 16 Fedora End Of Life 2014-02-05 22:55:31 UTC
Fedora 18 changed to end-of-life (EOL) status on 2014-01-14. Fedora 18 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.