IRC channel logs

2020-07-06.log

back to list of logs

***sneek_ is now known as sneek
***rekado_ is now known as rekado
<roelj>My Guile-based web server crashes with exit code 141 (broken pipe). The interesting part is that if I run it in a Guix container (guix environment -CN ...) the "broken pipe" is handled by “(catch 'system-error ...)”. This is Guile 3.0.2. Where could I begin to look?
<civodul>hi roelj!
<civodul>roelj: perhaps you need to (sigaction SIGPIPE SIG_IGN) or something?
<civodul>the default handler for SIGPIPE terminates the program
<roelj>Hi civodul!
<roelj>Hm, I totally overlooked that indeed.
<roelj>Thanks! That should allow me to fix this :)
<civodul>yw!
<civodul>see "info libc" for more info on that
<roelj>Hah, for this I pulled the physical copy of the glibc manual from by bookshelf. There are only few opportunities to do so.. :D
<dsmith-work>{appropriate time} Greetings, Guilers
<stis>tjena guilers!
<stis>\me is trying to get cpythons unittest to work
<stis>with python on guile
<dsmith-work>stis: How is that going?
<stis>small steps forward. Find small issues all the time. Python is quite complex under the hood
<stis>x-tra tricky to get it to interoperate well with guile
<stis>getting the modules working correctly is very difficult
<dsmith-work>hey