On Sat, Dec 9, 2017 at 5:49 PM, Ian Kent <ra...@themaw.net> wrote:

> On 10/12/17 02:13, Richard Shaw wrote:
> > I'm working on a segfault in the latest version of hedgewars and I can
> reproduce the crash easy enough and I have installed both the debuginfo for
> hedgewars and all the packages gdb suggested but the end of the log[1]
> still says:
>
> Getting all the debuginfo packages that are needed to analyze a core can
> be quite a
> challenge.
>
> Did you install all the dependent debuginfo packages?
>

Yes, although debuginfo-install seems to be rather stupid, it only
installed the hedgewars one. I had to run gdb first to get the list of
recommended debuginfo packages, which I also installed.


Once all the dependent debuginfos are installed you could look at the core
> to try and find out what's missing with (coredump is the core here):
>
> eu-unstrip -n --core coredump |\
>     gawk '{TMP=$2; $1=$2=""; print "/usr/lib/debug/.build-id/"
> substr(TMP,0,2) "/" substr(TMP,3,38) $0}'
>
> Using the output from above dnf can be used to work out what's missing
> with somewhat less guess work than usual, eg.
>
> dnf provides /usr/lib/debug/.build-id/be/b9dc6f92875b3faa920e09241e8ab9
> 8b0e7c27
>
> etc.


Not sure I fully understand that but I'll try it out :)

Thanks,
Richard
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to