This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug symtab/16405] backtrace locks up on Fedora 20


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

Jan Kratochvil <jan.kratochvil at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at sourceware dot org   |jan.kratochvil at redhat dot com

--- Comment #2 from Jan Kratochvil <jan.kratochvil at redhat dot com> ---
Created attachment 7347
  --> https://sourceware.org/bugzilla/attachment.cgi?id=7347&action=edit
draft patch

This patch:
bt
Command execution time: 0.472000 (cpu), 0.539249 (wall)
Space used: 380514304 (+44015616 for this command)
#symtabs: 30964 (+2457), #primary symtabs: 18 (+7), #blocks: 7877 (+7852)
+
thread apply all bt
Command execution time: 0.496000 (cpu), 0.500745 (wall)
Space used: 408891392 (+28377088 for this command)
#symtabs: 32294 (+1330), #primary symtabs: 31 (+13), #blocks: 16467 (+8590)

FSF GDB HEAD:
bt
Command execution time: 153.667000 (cpu), 154.234038 (wall)
Space used: 1283444736 (+946941952 for this command)
#symtabs: 4373195 (+4344688), #primary symtabs: 2376 (+2365), #blocks: 12593
(+12568)
+
thread apply all bt
Command execution time: 104.489000 (cpu), 104.961148 (wall)
Space used: 1768660992 (+485216256 for this command)
#symtabs: 6662638 (+2289443), #primary symtabs: 3673 (+1297), #blocks: 23751
(+11158)

But
  thread apply all bt full
is still slow.  One may omit DW_TAG_imported_unit even in this case thanks to
.gdb_index (if it points to the right CU, maybe it is not).  This still affects
for example ABRT.

gdb -p `pidof soffice.bin` -ex 'set pagination off' -ex 'maintenance set
per-command space' -ex 'maintenance set per-command symtab' -ex 'maintenance
set per-command time'

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]