This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: pow() fails with a segmentation fault when executed fromdynamically allocated memory


On Sat, Jan 28, 2012 at 3:43 PM, Lars Magnusson <lavima@gmail.com> wrote:
> First off, thanks for the heads up on the complete sample, and my
> apologies to those offended.

Lars,

I'm glad things are working. Always feel free to post to libc-help.

> I've implemented a fix corresponding to your suggestion, and it seems
> to have done the trick. Apparently I haven't read the Stack Frame
> section in the x86-64 ABI properly, but I was thrown off by the
> seemingly working parameter passing. I'll read through it thoroughly
> tonight to make sure I don't make the same mistake again.
>
> Thanks for all the help. It is greatly appreciated.

I'm glad that it worked! I can understand how frustrating this class
of problem can be.

Cheers,
Carlos.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]