debug bitcoind, the gdb notice "unhandled dyld version" msg. #8847

issue lovecodelc opened this issue on September 30, 2016
  1. lovecodelc commented at 9:47 AM on September 30, 2016: none

    i work on mac os, i compile source code with "./configure --enable-debug", when use gdb attach bitcoind's pid , it shows: "warning: unhandled dyld version (15) 0x00007fffe026ac8a in ?? ()"

    i break at 0x00007fffe026ac8a, it actually break "main" function? and it show "?? ()" ?? but i file bitcoind symbol tables, it does not work.

    do you have such problems when develop program on mac os? thank you.

  2. laanwj added the label MacOSX on Sep 30, 2016
  3. laanwj commented at 9:04 AM on October 3, 2016: member

    This looks like a local problem on your system, or a general issue with MacOSX debugging. Do you have success debugging any other locally compiled code?

  4. fanquake commented at 2:57 AM on October 4, 2016: member

    GDB itself seems to be somewhat broken on the latest version of OS X (10.11), which seems to be Apple's fault. Try googling "During startup program terminated with signal SIG113, Real-time event 113", or for issues with "GDB OS X Sierra".

    If I run GDB with bitcoin-qt

    Reading symbols from src/qt/bitcoin-qt...
    warning: can't find symbol '_Z10ParseHexUVRK8UniValueRKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE' in minsymtab
    warning: can't find symbol 'BIP70_MAX_PAYMENTREQUEST_SIZE' in minsymtab
    done.
    (gdb) run
    Starting program: bitcoin-qt 
    During startup program terminated with signal SIG113, Real-time event 113.
    

    Trying to attach to an already running bitcoin-qt process I see the same error as you.

    Attaching to process 47564
    [New Thread 0x1403 of process 47564]
    ...
    [New Thread 0x2903 of process 47564]
    Reading symbols from src/qt/bitcoin-qt...
    warning: can't find symbol '_Z10ParseHexUVRK8UniValueRKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE' in minsymtab
    warning: can't find symbol 'BIP70_MAX_PAYMENTREQUEST_SIZE' in minsymtab done.
    warning: unhandled dyld version (15)
    0x00007fffc736641a in ?? ()
    

    This Apple StackExchange answer suggests that disabling SIP is required, but I haven't tested it yet.

  5. lovecodelc commented at 4:05 AM on October 8, 2016: none

    @laanwj Thank you. I have write a program with boost lib and debug it successfull. this problem bothers me several days.

  6. lovecodelc commented at 4:14 AM on October 8, 2016: none

    @fanquake thank you. i think there is something wrong with third-party library(maybe gdb version is low?) when debug bitcoin program, i write and debug another test programs successful. see here: #8812

  7. fanquake commented at 10:03 AM on November 11, 2016: member

    Closing this for similar reasons as #8812

  8. fanquake closed this on Nov 11, 2016

  9. MarcoFalke locked this on Sep 8, 2021
Labels

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-21 18:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me