Skip to content

SIGSEGV in System.Security.Cryptography.Native.OpenSsl.so(CryptoNative_EnsureLibSslInitialized #25259

Closed

Description

@danmoseley

https://mc.dot.net/#/user/saurabh500/pr~2Fjenkins~2Fdotnet~2Fcorefx~2Fmaster~2F/test~2Ffunctional~2Fcli~2F/74636ba8ad8c32bee63361f8523b98b0ebe25839/workItem/System.Net.Http.Functional.Tests/wilogs

Ubuntu.1604.Amd64.Open:Release-x64

2018-03-01 05:04:20,665: INFO: proc(54): run_and_log_output: Output: *** Error in `/home/helixbot/dotnetbuild/work/d3f9c471-fed9-4c43-8dc6-5d5f451c081a/Payload/dotnet': double free or corruption (fasttop): 0x00007f61b4028070 ***
2018-03-01 05:04:20,665: INFO: proc(54): run_and_log_output: Output: ======= Backtrace: =========
2018-03-01 05:04:20,666: INFO: proc(54): run_and_log_output: Output: /lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f626dfee7e5]
2018-03-01 05:04:20,666: INFO: proc(54): run_and_log_output: Output: /lib/x86_64-linux-gnu/libc.so.6(+0x8037a)[0x7f626dff737a]
2018-03-01 05:04:20,666: INFO: proc(54): run_and_log_output: Output: /lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7f626dffb53c]
2018-03-01 05:04:20,667: INFO: proc(54): run_and_log_output: Output: /lib/x86_64-linux-gnu/libcrypto.so.1.0.0(CRYPTO_free+0x1d)[0x7f61f26b70cd]
2018-03-01 05:04:20,667: INFO: proc(54): run_and_log_output: Output: /lib/x86_64-linux-gnu/libcrypto.so.1.0.0(OBJ_NAME_add+0x8c)[0x7f61f26b9c7c]
2018-03-01 05:04:20,667: INFO: proc(54): run_and_log_output: Output: /lib/x86_64-linux-gnu/libcrypto.so.1.0.0(EVP_add_cipher+0x25)[0x7f61f2778bf5]
2018-03-01 05:04:20,668: INFO: proc(54): run_and_log_output: Output: /lib/x86_64-linux-gnu/libssl.so.1.0.0(SSL_library_init+0x45)[0x7f61f2ae3bb5]
2018-03-01 05:04:20,668: INFO: proc(54): run_and_log_output: Output: /home/helixbot/dotnetbuild/work/d3f9c471-fed9-4c43-8dc6-5d5f451c081a/Payload/shared/Microsoft.NETCore.App/9.9.9/System.Security.Cryptography.Native.OpenSsl.so(CryptoNative_EnsureLibSslInitialized+0xf)[0x7f61ca0c129f]
2018-03-01 05:04:20,668: INFO: proc(54): run_and_log_output: Output: [0x7f61f4a57c82]

@bartonjs apparently this isn't consistent.

Activity

  1. bartonjs commented on Mar 1, 2018

    @bartonjs
    Member

    The only way this makes sense to me is if libcurl and our cctor were both initializing OpenSSL at the same time. Has anything changed in the way Http wakes up CryptoInitializer? (@wfurt ?)

  2. wfurt commented on Mar 1, 2018

    @wfurt
    Member

    I don't see any failure in the link

    2018-03-01 06:34:09,715: INFO: proc(54): run_and_log_output: Output: === TEST EXECUTION SUMMARY ===
    2018-03-01 06:34:09,728: INFO: proc(54): run_and_log_output: Output: System.Net.Http.Functional.Tests Total: 1125, Errors: 0, Failed: 0, Skipped: 24, Time: 7.347s
    2018-03-01 06:34:09,810: INFO: proc(54): run_and_log_output: Output: ~/dotnetbuild/work/8de5c51d-e95c-49ec-9a86-c52000503825/Work/a3f6b98d-5f2a-43e2-958d-391c08b698b5/Unzip
    2018-03-01 06:34:09,811: INFO: proc(54): run_and_log_output: Output: ----- end 06:34:09 ----- exit code 0 ----------------------------------------------------------

    can we get core dump @danmosemsft ?

  3. danmoseley commented on Mar 1, 2018

    @danmoseley
    ContributorAuthor

    I should have pasted the Jenkins link -- the MC link is overwritten when you rerun tests..

    Dumpling is still down so there is no coredump - you have to get a repro box or repro locally or possibly add logging, in general..

  4. wfurt commented on Sep 19, 2018

    @wfurt
    Member

    we have not seen this for very long time. closing for now.

  5. transferred this issue fromdotnet/corefxon Jan 31, 2020
  6. added this to the 3.0 milestone on Jan 31, 2020
  7. ghost locked as resolved and limited conversation to collaborators on Dec 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-System.Net.Httpbugos-linuxtest-run-core

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions