Skip to content

SIGABRT on macOS #1093

@Sjors

Description

@Sjors

Perhaps related to #840. Fresh macOS node compiled using #1090.

 lldb -- lightningd/lightningd --port=9736
(lldb) target create "lightningd/lightningd"
Current executable set to 'lightningd/lightningd' (x86_64).
(lldb) settings set -- target.run-args  "--port=9736"
(lldb) run
Process 8200 launched: '/Users/bitcoin/src/lightning/lightningd/lightningd' (x86_64)
2018-02-24T15:17:12.856Z lightningd(8200): Creating configuration directory /Users/bitcoin/.lightning
2018-02-24T15:17:12.910Z lightningd(8200): Creating database
2018-02-24T15:17:13.006Z lightningd(8200): Server started with public key 0316182b1c2e66d436f6f09e624b9d6a6b29d5461db1b604dc2a5a673a72e824fc, alias REDWALK--21-2093-g3ad078d2-dirty (color #031618) and lightningd v0.5.2-2016-11-21-2093-g3ad078d2-dirty
bitcoin-cli -testnet getblock 00000000000000ed3e35f4c19100865fc96e410f772b3d119779447171b3112c false Interrupted system call
2018-02-24T15:17:13.530Z lightningd(8200): bitcoin-cli -testnet getblock 00000000000000ed3e35f4c19100865fc96e410f772b3d119779447171b3112c false Interrupted system call
Log dumped in crash.log
Process 8200 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
    frame #0: 0x00007fff58a7fe3e libsystem_kernel.dylib`__pthread_kill + 10
libsystem_kernel.dylib`__pthread_kill:
->  0x7fff58a7fe3e <+10>: jae    0x7fff58a7fe48            ; <+20>
    0x7fff58a7fe40 <+12>: movq   %rax, %rdi
    0x7fff58a7fe43 <+15>: jmp    0x7fff58a770b8            ; cerror_nocancel
    0x7fff58a7fe48 <+20>: retq   
Target 0: (lightningd) stopped.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
  * frame #0: 0x00007fff58a7fe3e libsystem_kernel.dylib`__pthread_kill + 10
    frame #1: 0x00007fff58bbe150 libsystem_pthread.dylib`pthread_kill + 333
    frame #2: 0x00007fff589dc312 libsystem_c.dylib`abort + 127
    frame #3: 0x0000000100015076 lightningd`fatal(fmt="%s %s") at log.c:593
    frame #4: 0x0000000100003267 lightningd`bcli_finished(conn=0x0000000101400220, bcli=0x0000000101201810) at bitcoind.c:126
    frame #5: 0x0000000100070c78 lightningd`destroy_conn(conn=0x0000000101400220, close_fd=true) at poll.c:183
    frame #6: 0x0000000100070baa lightningd`destroy_conn_close_fd(conn=0x0000000101400220) at poll.c:189
    frame #7: 0x000000010007cd8d lightningd`notify(ctx=0x0000000101400200, type=TAL_NOTIFY_FREE, info=0x0000000101400220, saved_errno=9) at tal.c:240
    frame #8: 0x000000010007d0e0 lightningd`del_tree(t=0x0000000101400200, orig=0x0000000101400220, saved_errno=9) at tal.c:400
    frame #9: 0x000000010007cfa6 lightningd`tal_free(ctx=0x0000000101400220) at tal.c:509
    frame #10: 0x000000010006f405 lightningd`io_close(conn=0x0000000101400220) at io.c:443
    frame #11: 0x000000010006f77f lightningd`do_plan(conn=0x0000000101400220, plan=0x0000000101400250, idle_on_epipe=false) at io.c:381
    frame #12: 0x000000010006f604 lightningd`io_ready(conn=0x0000000101400220, pollflags=17) at io.c:397
    frame #13: 0x0000000100070fea lightningd`io_loop(timers=0x00000001003021f0, expired=0x00007ffeefbff900) at poll.c:310
    frame #14: 0x00000001000121cd lightningd`main(argc=2, argv=0x00007ffeefbff968) at lightningd.c:403
    frame #15: 0x00007fff58930115 libdyld.dylib`start + 1
    frame #16: 0x00007fff58930115 libdyld.dylib`start + 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions