Re: Segmentation fault in using cephes mathematical library's functions
- From: spellucci@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx (Peter Spellucci)
- Date: Mon, 2 Jul 2007 19:11:05 +0000 (UTC)
In article <1183402319.223049.75670@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
user923005 <dcorbit@xxxxxxxxx> writes:
On Jul 1, 6:17 pm, nure...@xxxxxxxxx wrote:Can you be more specific about how the problem comes about?
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.
maybe simply a wrong type of argument.
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?
(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
.
- References:
- Prev by Date: Re: Segmentation fault in using cephes mathematical library's functions
- Next by Date: Re: Write unambiguously grammar.?
- Previous by thread: Re: Segmentation fault in using cephes mathematical library's functions
- Next by thread: Write unambiguously grammar.?
- Index(es):
Relevant Pages
|