Re: [PATCH] libelf: handle PN_XNUM in elf_getphdrnum before shdr 0 is cached

2020-03-22 Thread Mark Wielaard
Hi Omar, On Sat, 2020-03-21 at 11:21 -0700, Omar Sandoval wrote: > I encountered this in drgn on a vmcore for a large server created by > makedumpfile, That makes sense since [vm]cores contain lots of segments. > but I was able to put together a minimal reproducer. > Generate the ELF file with

[Bug debuginfod/25369] make DEBUGINFOD_PROGRESS prettier

2020-03-22 Thread fche at redhat dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=25369 Frank Ch. Eigler changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

Re: PR25369 rfc slice 2: debuginfod get_url

2020-03-22 Thread Frank Ch. Eigler via Elfutils-devel
Hi - > [...] > I think it would be good to just initialize to NULL and use strdup and > free to store/manage it. That would also make the interface slightly > simpler, so the client doesn't have to check for the empty string, just > for NULL. OK. - FChE

Re: PR25369 rfc slice 1: debuginfod_get/set_user_data

2020-03-22 Thread Frank Ch. Eigler via Elfutils-devel
Hi - > One suggestion, it be a good idea IMHO to initialize user_data to NULL. > Just so a client knows whether or not it has been set or it is a random > value. Will document it as "undefined". > > + debuginfod_end (client); > > + > >if (rc < 0) > > { > >fprintf(stderr, "Serv

Re: PR25369 rfc slice 2: debuginfod get_url

2020-03-22 Thread Mark Wielaard
Hi Frank, On Fri, 2020-03-20 at 21:37 -0400, Frank Ch. Eigler via Elfutils-devel wrote: > Slice 2/3, the debuginfod_client get_url function. This new > version works during or after the progressfn callback. > > Author: Frank Ch. Eigler > Date: Fri Mar 20 21:33:52 2020 -0400 > > debuginfo

Re: PR25369 rfc slice 1: debuginfod_get/set_user_data

2020-03-22 Thread Mark Wielaard
Hi Frank, Sorry, I missed the earlier, the mailinglist setup changed and suppressed the email to the list because you had CCed me... oops. I think I fixed it for me personally, but others might want to get a password reminder for this list and check that "Avoid duplicate copies of messages?" hasn'

[Bug spam/25710] Bug

2020-03-22 Thread mark at klomp dot org via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=25710 Mark Wielaard changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Component|general

[Bug general/25710] New: Bug

2020-03-22 Thread xzero0901 at gmail dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=25710 Bug ID: 25710 Summary: Bug Product: elfutils Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: general Assignee: una

[Bug spam/25705] zeex gans

2020-03-22 Thread mark at klomp dot org via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=25705 Mark Wielaard changed: What|Removed |Added Product|elfutils|web Resolution|---

[Bug libasm/25705] New: zeex gans

2020-03-22 Thread zeex at hackermail dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=25705 Bug ID: 25705 Summary: zeex gans Product: elfutils Version: unspecified Status: UNCONFIRMED Severity: critical Priority: P2 Component: libasm Assign