Hi, At Fri, 9 Apr 2010 00:51:49 +0900, Takehiro Kubo wrote in [ruby-core:29340]: > > Ok, I have made a reduced version of the script that always > > reproduces the core dumps. The problem must be related > > with the oci8, because if I comment out the lines 23 and 25 > > it does not generate cores. > > The problem is caused by resetting errno in the signal > handler. It can be reproduced by replacing line 23 and 25 > with Math.log10(10), which set errno to zero. Thank you for your investigation and patch. It seems correct and I've merged it into the trunk. -- Nobu Nakada