Bitcoind malloc error after build Mac #3611

issue jfbolus opened this issue on February 1, 2014
  1. jfbolus commented at 12:12 AM on February 1, 2014: none

    I've successfully built bitcoin in OS X 10.8.3 using the instructions provided in /doc/build-osx.md, while using MacPorts. Both make and make check run without any errors. However, when I try to run bitcoind, it crashes immediately with a malloc error:

    [jfbolus@desktop bitcoin]$ ./src/bitcoind bitcoind(27208) malloc: *** error for object 0x7fff7695d570: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug Abort trap: 6

  2. laanwj commented at 8:20 AM on February 1, 2014: member

    Can you get a traceback?

  3. laanwj added the label Mac on Feb 17, 2014
  4. slacker6 commented at 5:47 PM on March 28, 2014: none

    OS X 10.9.2 crash http://pastebin.com/wcJ2db3c

  5. laanwj commented at 6:00 PM on May 2, 2014: member

    Looking in the traceback it crashes when setgenerate RPC is called (both from thread 18 and thread 15). Is the crash specific to this or is it triggered with other RPC calls as well?

    Thread 18 Crashed:
    0   libsystem_kernel.dylib              0x00007fff8b4cc866 __pthread_kill + 10
    1   libsystem_pthread.dylib             0x00007fff95baa35c pthread_kill + 92
    2   libsystem_c.dylib                   0x00007fff8fbefb1a abort + 125
    3   libsystem_malloc.dylib              0x00007fff8ac8f07f free + 411
    4   bitcoind                            0x000000010429012a boost::thread_group::~thread_group() + 186
    5   bitcoind                            0x000000010427c583 boost::thread_group::~thread_group() + 35
    6   bitcoind                            0x00000001044ab462 GenerateBitcoins(bool, CWallet*, int) + 162
    7   bitcoind                            0x0000000104534a2f setgenerate(std::vector<json_spirit::Value_impl<json_spirit::Config_vector<std::string> >, std::allocator<json_spirit::Value_impl<json_spirit::Config_vector<std::string> > > > const&, bool) + 2495
    8   bitcoind                            0x00000001042c1721 CRPCTable::execute(std::string const&, std::vector<json_spirit::Value_impl<json_spirit::Config_vector<std::string> >, std::allocator<json_spirit::Value_impl<json_spirit::Config_vector<std::string> > > > const&) const + 1649
    
  6. paveljanik commented at 12:53 PM on February 5, 2015: contributor

    No new information, I'd close this.

  7. laanwj closed this on Feb 5, 2015

  8. MarcoFalke locked this on Sep 8, 2021

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