Bug 16081 - excessive copies of library list sent "running to main"
Summary: excessive copies of library list sent "running to main"
Status: NEW
Alias: None
Product: gdb
Classification: Unclassified
Component: server (show other bugs)
Version: HEAD
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-23 18:47 UTC by dje
Modified: 2013-11-06 12:39 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dje 2013-10-23 18:47:18 UTC
While collecting data for bug 16080 I also see excessive copies of the library list sent while "running to main".

The library list is sent 5 times and with 3k libraries that's a lot.
Each time is 65 packets to send entire list.
[The list is sent in chunks because it's too big to read in one packet.  I counted the number of times the list was sent by counting the number of times the last chunk was sent.  Also, I'm not including the first time when the list only contains ld.so.]

See https://sourceware.org/bugzilla/show_bug.cgi?id=16080 for repro.
Comment 1 Gary Benson 2013-11-05 19:31:19 UTC
Doug, are you able to reproduce this with the probes-based linker interface?
https://sourceware.org/gdb/wiki/LinkerInterface
Comment 2 dje 2013-11-05 23:33:39 UTC
I was able to reproduce something that looked odd on my fc19 box.
I haven't had time to dig deeper yet.  RSN.
It could just be a false alarm, but I wanted to dig deeper before closing this.
Comment 3 Gary Benson 2013-11-06 12:39:43 UTC
Ok, cool.