Skip to content

Intermittent WPT timeouts due to OpenSslError panic #6644

Closed

Description

@jdm

From #6583 and #6637,

6:03.61 PROCESS_OUTPUT: Thread-TestrunnerManager-5 (pid:19775) Full command: /Users/servo/buildbot/slave/mac3/build/target/release/servo --cpu --hard-fail --exit -u Servo/wptrunner -Z disable-text-aa --output=/var/folders/sd/sks3rs2s3pb9bdrg9ldf9d5w0000gp/T/tmpQnkE3H/4922e625-4b51-4e73-af50-8fa5c3ff65ba http://localhost:8000/css21_dev/html4/reference/c414-flt-fit-001-ref.htm
(pid:19775) "thread 'http_loader' panicked at 'called `Result::unwrap()` on an `Err` value: OpenSslErrors([UnknownError { library: "x509 certificate routines", function: "X509_load_cert_crl_file", reason: "PEM lib" }])', src/libcore/result.rs:731"
 6:03.61 PROCESS_OUTPUT: Thread-TestrunnerManager-5 (pid:19775) "stack backtrace:"
 6:03.61 PROCESS_OUTPUT: Thread-TestrunnerManager-5 (pid:19775) "   1:        0x10b9cb4c5 - sys::backtrace::write::hde88a3e3a343e9f8zms"
 6:03.61 PROCESS_OUTPUT: Thread-TestrunnerManager-5 (pid:19775) "   2:        0x10b9ceab5 - panicking::on_panic::h8c73c8f1e33f6d60hIw"
 6:03.61 PROCESS_OUTPUT: Thread-TestrunnerManager-5 (pid:19775) "   3:        0x10b9bc5a2 - rt::unwind::begin_unwind_inner::h781ff1cd39e7f47etqw"
 6:03.61 PROCESS_OUTPUT: Thread-TestrunnerManager-5 (pid:19775) "   4:        0x10b9bcc09 - rt::unwind::begin_unwind_fmt::h9c0f8818a5804071zpw"
 6:03.61 PROCESS_OUTPUT: Thread-TestrunnerManager-5 (pid:19775) "   5:        0x10b9ce48c - rust_begin_unwind"
 6:03.61 PROCESS_OUTPUT: Thread-TestrunnerManager-5 (pid:19775) "   6:        0x10b9f73b5 - panicking::panic_fmt::h205f328075c6fc3cneC"
 6:03.61 PROCESS_OUTPUT: Thread-TestrunnerManager-5 (pid:19775) "   7:        0x10a7622d5 - http_loader::load::h6cbfb7859eae6d52ama"
 6:03.61 PROCESS_OUTPUT: Thread-TestrunnerManager-5 (pid:19775) "   8:        0x10a75e271 - boxed::F.FnBox<A>::call_box::h481104744821190192"
 6:03.61 PROCESS_OUTPUT: Thread-TestrunnerManager-5 (pid:19775) "   9:        0x10a743f47 - rt::unwind::try::try_fn::h4748125223972735827"
 6:03.61 PROCESS_OUTPUT: Thread-TestrunnerManager-5 (pid:19775) "  10:        0x10b9d04b8 - rust_try_inner"
 6:03.61 PROCESS_OUTPUT: Thread-TestrunnerManager-5 (pid:19775) "  11:        0x10b9d04a5 - rust_try"
 6:03.61 PROCESS_OUTPUT: Thread-TestrunnerManager-5 (pid:19775) "  12:        0x10b9c9a65 - rt::unwind::try::inner_try::h9e58480e93edc0cdmmw"
 6:03.61 PROCESS_OUTPUT: Thread-TestrunnerManager-5 (pid:19775) "  13:        0x10a744170 - boxed::F.FnBox<A>::call_box::h6898211879753727534"
 6:03.61 PROCESS_OUTPUT: Thread-TestrunnerManager-5 (pid:19775) "  14:        0x10b9cd47d - sys::thread::Thread::new::thread_start::hf153915745363fa7wKv"
 6:03.62 PROCESS_OUTPUT: Thread-TestrunnerManager-5 (pid:19775) "  15:     0x7fff8eab8267 - _pthread_body"
 6:03.62 PROCESS_OUTPUT: Thread-TestrunnerManager-5 (pid:19775) "  16:     0x7fff8eab81e4 - _pthread_start"

I don't recall seeing this error before.

Activity

  1. added
    I-intermittent
    P-mac
    on Jul 16, 2015
  2. jdm commented on Jul 17, 2015

    @jdm
    MemberAuthor

    @seanmonstar Have you seen anything like this before?

  3. seanmonstar commented on Jul 17, 2015

    @seanmonstar
    Contributor

    I have not. I'm away from my computer, so I can't really investigate till next week. The wpt tests use ssl?

  4. seanmonstar commented on Jul 17, 2015

    @seanmonstar
    Contributor

    Is this from an upgrade? Or nothing has changed, and suddenly this is happening?

  5. jdm commented on Jul 17, 2015

    @jdm
    MemberAuthor

    Yes, this started after we upgraded hyper from 0.5.2 to 0.6.3.

  6. jdm commented on Jul 17, 2015

    @jdm
    MemberAuthor

    Does anything in 83d2a11#diff-aa469beb5619907dbccd88364264b9b8R127 look off to you?

  7. seanmonstar commented on Jul 18, 2015

    @seanmonstar
    Contributor

    I've read over those changes a few times, and don't see something wrong. One thing with hyper 0.6, is that previously an Ssl would be created from the SslContext, and the hostname would be set, but then the Ssl instance was disgarded. Now, in 0.6, the Ssl instance is used to create the stream instead of the context (the Ssl has a reference to the context). It could be that this is properly using the CA file now, triggering a different bug?

    I found this: rust-openssl/rust-openssl#205

  8. nox commented on Jan 3, 2016

    @nox
    Contributor

    rust-openssl/rust-openssl#205 has been closed, and we have updated hyper since then, so this is probably not anymore a problem.

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

    I-intermittentP-mac

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions