Segmentation fault. "b-httpworker.0" #24388

issue IvRRimum opened this issue on February 19, 2022
  1. IvRRimum commented at 10:15 AM on February 19, 2022: none

    <!-- Describe the issue -->

    After calling importaddress trough HTTP RPC, i get segmentation fault at the end of sync(tracked by progress.

    Expected behavior Should complete importaddress

    <!--- What behavior did you expect? -->

    Should complete importaddress

    Actual behavior Segmentation fault

    To reproduce Just try to call importaddress trought wallet RPC in bitcoin testnet.

    <!--- How reliably can you reproduce the issue, what are the steps to do so? -->

    10/10 times

    System information Ubuntu

    <!-- What version of Bitcoin Core are you using, where did you get it (website, self-compiled, etc)? -->

    0.21.1

    <!-- What type of machine are you observing the error on (OS/CPU and disk type)? -->

    Digital ocean Ubuntu instance

    <!-- Any extra information that might be useful in the debugging process. -->

    gdb

    <!--- This is normally the contents of a `debug.log` or `config.log` file. Raw text or a link to a pastebin type site are preferred. -->

    Heres log right before crash:

    2022-02-19T10:11:15Z sending verack (0 bytes) peer=2291
    2022-02-19T10:11:15Z receive version message: /Satoshi:0.17.1/: version 70013, blocks=0, us=68.183.75.14:18333, peer=2291
    2022-02-19T10:11:15Z socket closed for peer=2290
    2022-02-19T10:11:15Z disconnecting peer=2290
    2022-02-19T10:11:15Z received: verack (0 bytes) peer=2290
    2022-02-19T10:11:15Z sending sendheaders (0 bytes) peer=2290
    
    Thread 11 "b-httpworker.0" received signal SIGSEGV, Segmentation fault.
    [Switching to Thread 0x7fffcffff700 (LWP 1008189)]
    
  2. IvRRimum added the label Bug on Feb 19, 2022
  3. MarcoFalke commented at 10:19 AM on February 19, 2022: member

    There is no loadaddress RPC. What is bitcoind -version?

    Or alternatively bitcoind -help | head.

  4. MarcoFalke closed this on Feb 19, 2022

  5. MarcoFalke reopened this on Feb 19, 2022

  6. IvRRimum commented at 10:35 AM on February 19, 2022: none

    Sorry i meant importaddress. I also tested this with the newest version 22, same segment fault

  7. IvRRimum commented at 10:44 AM on February 19, 2022: none

    bitcoind -help | head

    root@blockchain:~/bitcoin-22.0/bin# ./bitcoind -help | head Bitcoin Core version v22.0.0 Copyright (C) 2009-2021 The Bitcoin Core developers

    Please contribute if you find Bitcoin Core useful. Visit https://bitcoincore.org/ for further information about the software. The source code is available from https://github.com/bitcoin/bitcoin.

    This is experimental software. Distributed under the MIT software license, see the accompanying file COPYING or https://opensource.org/licenses/MIT

  8. IvRRimum commented at 11:10 AM on February 19, 2022: none

    Heres logs on lower logging level:

    2022-02-19T11:07:15Z UpdateTip: new best=0000000000000224945b2c06ee493b598b7fa6a495f1b0d725a53f0549ce69c3 height=2162250 version=0x20000000 log2_work
    =74.650783 tx=62201967 date='2022-02-19T11:06:56Z' progress=1.000000 cache=0.1MiB(489txo)
    2022-02-19T11:07:35Z [main] Still rescanning. At block 1280185. Progress=0.277538
    2022-02-19T11:08:03Z New outbound peer connected: version: 70016, blocks=2162250, peer=1146 (block-relay-only)
    2022-02-19T11:08:35Z [main] Still rescanning. At block 1409789. Progress=0.626206
    2022-02-19T11:09:06Z UpdateTip: new best=00000000000009dd2b0f9c0eb915cf1c8c0bb2b9adfdfea9c1bb8e6c38ec470f height=2162251 version=0x20000000 log2_work
    =74.650783 tx=62201976 date='2022-02-19T11:08:45Z' progress=1.000000 cache=0.1MiB(502txo)
    2022-02-19T11:09:35Z [main] Still rescanning. At block 1663845. Progress=0.870718
    2022-02-19T11:09:37Z UpdateTip: new best=0000000000000484ef740ad9cc178c30b3c4e40311f86d461fca3231ce6731b4 height=2162252 version=0x20000000 log2_work
    =74.650784 tx=62201977 date='2022-02-19T11:09:06Z' progress=1.000000 cache=0.1MiB(504txo)
    Segmentation fault (core dumped)
    
  9. IvRRimum commented at 11:59 AM on February 19, 2022: none

    Any ideas? @MarcoFalke

  10. MarcoFalke added the label Wallet on Feb 19, 2022
  11. IvRRimum commented at 8:55 PM on February 19, 2022: none

    This is kind of breaking error, any ideas? @MarcoFalke @ldenman @casey @eklitzke

  12. IvRRimum commented at 9:34 PM on February 19, 2022: none

    In versions V21.1, V22.1 gives me segment. In version V20.1 It works fine.

  13. achow101 commented at 11:31 PM on February 21, 2022: member

    Probably duplicate of/related to #24335 and #21605.

  14. MarcoFalke commented at 12:17 PM on February 23, 2022: member

    Closing for now as presumed duplicate of #24335 . Please let us know if the issue still persists after #24335 is fixed (hopefully in the upcoming 23.0 release).

  15. MarcoFalke closed this on Feb 23, 2022

  16. DrahtBot locked this on Feb 23, 2023

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 15:14 UTC

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