[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] #1058: Strange bugs in openssl egg (or core?)
From: |
Chicken Trac |
Subject: |
[Chicken-janitors] #1058: Strange bugs in openssl egg (or core?) |
Date: |
Fri, 11 Oct 2013 18:40:15 -0000 |
#1058: Strange bugs in openssl egg (or core?)
-----------------------------------+----------------------------------------
Reporter: sjamaan | Owner: chust
Type: defect | Status: new
Priority: major | Milestone: 4.9.0
Component: unknown | Version: 4.8.x
Keywords: crash, panic, openssl |
-----------------------------------+----------------------------------------
We've seen that henrietta-cache occasionally, but consistently shows
strange behaviour. It appears this happens only for HTTPS URIs, so I've
done some investigating and can reproduce a situation which could be
related:
{{{
#!scm
(use http-client extras)
(let lp ()
(print (with-input-from-request (car (command-line-arguments)) #f read-
file))
(lp))
}}}
Just call the program like this:
{{{
csi -s foo.scm https://bitbucket.org/sjamaan/henrietta-cache/raw/tip
/henrietta-cache.release-info
}}}
Then press {{{^C}}} after the program has seemed to make a connection.
You'll generally get a panic in the scheduler that says "fdset-set:
invalid i/o direction: ssl-mutex (fd = 15)" (with today's master; before
you just got the message without more info). It appears the ssl-mutex
''somehow'' ends up in the fd-set upon which the thread will wait for I/O.
This is most likely due to some corruption elsewhere, but it's unclear
where exactly.
This ''may'' be related to #989 (ie, it could be a signal handling issue).
Mario has [[http://paste.call-
cc.org/paste?id=3afab8fc3c4af312b5b0711cee1b922620b5ad7e#a1 observed]]
occasional segfaults instead of panics.
--
Ticket URL: <http://bugs.call-cc.org/ticket/1058>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.
- [Chicken-janitors] #1058: Strange bugs in openssl egg (or core?),
Chicken Trac <=