[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gsl] Possible leak in gsl_multifit_fdfsolver.
From: |
Eduardo Novaes Hering |
Subject: |
Re: [Help-gsl] Possible leak in gsl_multifit_fdfsolver. |
Date: |
Wed, 9 Oct 2013 11:30:26 +0200 |
Hi,
I found the error with the help of Valgrind, as suggested by Frank.
It, of course, was my mistake and had nothing to do with GSL.
Thanks a lot for your great patience and attention!
Eduardo.
On Oct 7, 2013, at 1:45 PM, Frank Reininghaus <address@hidden> wrote:
> Hi,
>
> 2013/10/6 Eduardo Novaes Hering:
>> In the end, when the gsl_multifit_fdfsolver should
>> be freed, some trash is left in that address and
>> I get the following, intermittent, extremely annoying
>> error after I try to leave my data processing functions:
>>
>>> malloc: *** error for object 0x100810cc0: incorrect checksum for freed
>>> object - object was probably modified after being freed.
>>> *** set a breakpoint in malloc_error_break to debug
>>>
>>> Program received signal SIGABRT, Aborted.
>>> 0x00007fff88c1ad46 in __kill ()
>
> if you see such a message, the first thing you should do is to analyze
> the problem with Valgrind - just install it and prepend the command
> you start your program with (including command line arguments) with
> "valgrind ", and look at the first error message.
>
> One possible cause of such an error would be that your function "f"
> writes to memory that you don't own.
>
> Cheers,
> Frank
Eduardo Novaes Hering, PhD (MSc, DSc).
______________________________________
address@hidden
address@hidden
address@hidden
_______________________________________
INAC/SPSMS/IMAPEC, CEA Grenoble.
17 rue des Martyrs, 38054
Grenoble cedex 9. France.
_______________________________________
Work: (+33)or(0) 4 58 78 35 03
Mobile: (+33)or(0) 6 59 70 60 12
Fax : (+33)or(0) 4 38 78 50 96
Home: (+33)or(0) 9 66 84 10 40
Skype: enhering
Twitter: @enhering
http://www.gabuleu.com/enhering
_______________________________________
I will not buy anything from China
until Tibet is free. Join me.
Search for Tibet sources on Twitter.
_______________________________________
"Animals are NOT ours to eat, wear,
experiment on, use for entertainment
or abuse in any way"
peta.org
_ _ _ _ ___ _ _ _ _
_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_
signature.asc
Description: Message signed with OpenPGP using GPGMail