[do not merge] travis gdb parachute for #9825 #9851

pull laanwj wants to merge 7 commits into bitcoin:master from laanwj:2017_02_travisissue changing 3 files +26 −17
  1. laanwj commented at 11:10 AM on February 24, 2017: member

    Hopefully this can give us a useful traceback.

  2. gdb parachute df6bbb25d1
  3. laanwj added the label Tests on Feb 24, 2017
  4. paveljanik commented at 11:31 AM on February 24, 2017: contributor

    Looks like gdb is missing

  5. fixups
    - actually install gdb
    - remove unnecessary travis runs
    - apply bt to all threads
    5dae4674d3
  6. laanwj commented at 11:32 AM on February 24, 2017: member

    yep, added that now

  7. laanwj commented at 11:52 AM on February 24, 2017: member

    Hm, to make this iterate faster, could change the builds to only build test_bitcoin. Let's just wait for this to finish first to see if anything else needs changing.

  8. build only test_bitcoin
    This should be somewhat faster.
    342167ee38
  9. laanwj commented at 12:02 PM on February 24, 2017: member

    Ugh the no-wallet build was rebuilding all dependencies (including Qt). Cancelled that. Hopefully it won't do that every time. Edit: it did, so removed that one

  10. remove nowallet build
    For some reason, travis wants to rebuild all dependencies for this one.
    Just skip it. The issue comes up in the other Linux builds anyhow.
    678525bcf5
  11. laanwj force-pushed on Feb 24, 2017
  12. disable ccache
    Maybe it's a compiler non-determinacy issue
    840ef783d4
  13. quit gdb with error code
    It's still nice to be able to detect errors when they happen.
    6d7a789fb5
  14. laanwj commented at 9:06 AM on February 25, 2017: member

    Looks like I caught it in the act now:

    test_bitcoin: /home/travis/build/bitcoin/bitcoin/depends/i686-pc-linux-gnu/share/../include/boost/thread/pthread/recursive_mutex.hpp:113: void boost::recursive_mutex::lock(): Assertion `!pthread_mutex_lock(&m)' failed.
    Program received signal SIGABRT, Aborted.
    Thread 41 (Thread 0xec3a7b40 (LWP 21516)):
    Python Exception <class 'gdb.MemoryError'> Cannot access memory at address 0x24: 
    [#0](/bitcoin-bitcoin/0/)  0xf7fdacd9 in ?? ()
    Error while running hook_stop:
    Cannot access memory at address 0x24
    0xf7fdacd9 in ?? ()
    

    Unfortunately, the traceback is everything but useful.

    Worker information of the crashing Travis workers. Maybe this could come in handy for correlation:

    hostname: travis-worker-gce-org-prod-6:52eb7685-63e5-4b02-b480-24b9089297d5
    version: v2.6.2 https://github.com/travis-ci/worker/tree/fdccca4efd347ebc889baae641ccbf55bb871d19
    instance: testing-gce-fbe09602-6023-4334-b7c2-d8f40f385fe6:travis-ci-connie-trusty-1480957854
    startup: 21.207678721s
    
    hostname: travis-worker-gce-org-prod5-8:2950a066-b261-4d21-89b7-73adc0a84994
    version: v2.6.1-2-g9fbf704 https://github.com/travis-ci/worker/tree/9fbf704a6a755301e6b86b28a87b3f0636e502a8
    instance: testing-gce-b04910e2-2d79-4567-9d00-10469e136a81:travis-ci-connie-trusty-1480957854
    startup: 21.164956151s
    
  15. Crank up debug information to the max
    Without touching env variables, as that triggers a full rebuild of deps.
    2eac75f95a
  16. laanwj commented at 3:06 PM on February 27, 2017: member

    I'm slightly optimistic that this has been solved by #9875. If the bug rears its head again I'll reopen.

  17. laanwj closed this on Feb 27, 2017

  18. ryanofsky commented at 4:14 PM on February 27, 2017: member
  19. DrahtBot 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-13 15:15 UTC

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