Re: gdb: No symbol table info available

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

debuginfo-install hedgewars

Even then there might have some missing.

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/b9dc6f92875b3faa920e09241e8ab98b0e7c27

etc.

> 
> No symbol table info available.
> 
> Any ideas?
> 
> Thanks
> Richard
> 
> [1] $ cat test.log 
> 
> Thread 1 (Thread 0x7ffff7fa7300 (LWP 13966)):
> #0  __GI__dl_catch_error (objname=0x28d6c30, errstring=0x28d6c38, mallocedp=0x28d6c28, operate=0x7ffff65d4ff0 <dlclose_doit>, args=0x2946aa0)
>     at dl-error-skeleton.c:187
>         errcode = 32767
>         c = {objname = 0x291f050, errstring = 0x291f670, malloced = 0x28d6c28, errcode = 0x7fffffffd724, env = {{__jmpbuf = {281479271743488, 1, 
>                 281479271743489, 65537, 281479271743489, 140733193388033, 281479271743489, 3340499160213259264}, __mask_was_saved = 65537, 
>               __saved_mask = {__val = {43280784, 0, 140737289327168, 43280792, 45365184, 0, 3340499160213259264, 0, 43280272, 43280272, 
>                   140737289327168, 0, 140737488345416, 140737289324280, 140737323254718, 0}}}}}
>         old = 0x2b437c0
> #1  0x00007ffff65d56a5 in _dlerror_run (operate=operate@entry=0x7ffff65d4ff0 <dlclose_doit>, args=0x2946aa0) at dlerror.c:163
>         result = 0x28d6c20
> #2  0x00007ffff65d501f in __dlclose (handle=<optimized out>) at dlclose.c:46
> No locals.
> #3  0x00007ffff4027bee in CleanupVendorNameEntry (pEntry=pEntry@entry=0x2946790, unused=0x0) at libglxmapping.c:321
>         vendor = 0x2946790
> #4  0x00007ffff402a161 in __glXMappingTeardown (doReset=doReset@entry=0) at libglxmapping.c:1061
>         cur__GLXvendorNameHash = 0x2946790
>         tmp__GLXvendorNameHash = 0x0
>         pEntry = <optimized out>
>         tmp = <optimized out>
> #5  0x00007ffff4022dd7 in __glXFini () at libglx.c:2099
>         glas = <optimized out>
> #6  0x00007ffff7de74b3 in _dl_fini () at dl-fini.c:235
>         array = 0x7ffff42306f0
>         i = <optimized out>
>         l = 0x28d7160
>         maps = 0x7fffffffd8a8
>         i = <optimized out>
>         l = <optimized out>
>         nmaps = <optimized out>
>         nloaded = <optimized out>
>         ns = 0
>         do_audit = <optimized out>
>         __PRETTY_FUNCTION__ = "_dl_fini"
> #7  0x00007ffff6239fc8 in __run_exit_handlers (status=0, listp=0x7ffff65ce5b8 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true, 
>     run_dtors=run_dtors@entry=true) at exit.c:83
>         atfct = <optimized out>
>         onfct = <optimized out>
>         cxafct = <optimized out>
>         f = <optimized out>
> #8  0x00007ffff623a01a in __GI_exit (status=<optimized out>) at exit.c:105
> No locals.
> #9  0x00007ffff621f891 in __libc_start_main (main=0x0, argc=0, argv=0x0, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, 
>     stack_end=0x0) at ../csu/libc-start.c:329
>         result = <optimized out>
>         unwind_buf = {cancel_jmp_buf = {{jmp_buf = {4309931, 0, 4217114, 140737488346352, 4210861, 140737322809482, 140737322809482, 
>                 140737300163376}, mask_was_saved = -8968}}, priv = {pad = {0x2ffffdd10, 0x404084 <main_stub>, 0x0, 0xb0bfd26695729445}, data = {
>               prev = 0x2ffffdd10, cleanup = 0x404084 <main_stub>, canceltype = 0}}}
>         not_first_call = <optimized out>
> #10 0x0000000000000000 in ?? ()
> No symbol table info available.
> 
> 
> 
> 
> _______________________________________________
> devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
> 
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux