Re: Segmentation fault in using cephes mathematical library's functions




In article <1183402319.223049.75670@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
user923005 <dcorbit@xxxxxxxxx> writes:
On Jul 1, 6:17 pm, nure...@xxxxxxxxx wrote:
Hi,
I have downloade and compiled using gcc the extended precision library
of the cephes mathematical library. However, whenever I try to access
any of the functions in the library I run into segmentation fault. The
error reads as
3744_cytls::handel_exceptions: Error while dumping state (probably
corrupted stack)
Segmentation fault (core dumped)
Has anybody run into the same error. If yes, what might be the remedy
for this. BTW, I am using Cygwin.

I use all precisions of the Cephes library collection without
problems.
I do not use Cygwin.

Can you be more specific about how the problem comes about?

For instance, reduce your code to the smallest possible snippet that
reproduces the problem and then show us what you did with it.

The error message about a corrupted stack sounds like you may have
very large automatic variables, or deeply recursive function calls.
Is that the case?

maybe simply a wrong type of argument.
(short argument in a long result function, without a cast)
depending on organization of subprogram call this will give a wrong return
jump followed by an illegal memory access
hth
peter

.



Relevant Pages