[Bonmin] Segfault using Bonmin as a library

Stefan Vigerske stefan at math.hu-berlin.de
Wed Nov 1 11:51:18 EDT 2017


Debugging. Would be good to know who is calling your function with x == 
NULL, and why.

On 11/01/2017 04:47 PM, Pfaffe  Philip wrote:
> Hi Stefan,
> 
> based on the documentation I agree. What should I do about it?
> 
> Cheers,
> Philip
> ________________________________________
> From: Stefan Vigerske [stefan at math.hu-berlin.de]
> Sent: Wednesday, November 01, 2017 4:06 PM
> To: Pfaffe  Philip
> Subject: Re: [Bonmin] Segfault using Bonmin as a library
> 
> Hi,
> 
> I don't think this function should be called that way.
> 
> Stefan
> 
> On 11/01/2017 03:50 PM, Philip Pfaffe wrote:
>> Hi folks,
>>
>> I'm using bonmin as a library in my own tool, which promptly segfaults.
>> The reason is that eval_grad_f is being called with x == NULL. Is this
>> caused by an error on my end?
>>
>> I'm using version 1.8.6.
>>
>> Cheers,
>> Philip
>> _______________________________________________
>> Bonmin mailing list
>> Bonmin at list.coin-or.org
>> https://urldefense.proofpoint.com/v2/url?u=https-3A__list.coin-2Dor.org_mailman_listinfo_bonmin&d=DwICAg&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=BRcuJnQr5NAzU29t80hk2rsLc4vrlRySBDabuq0O1ZI&m=E1InUF_H9wy6kjYgjhYhRDLVHKNRveIqphNP1QYJnRo&s=uKgf_ru3Isevf_m5nrNsAt9-oq3W-fCj0CMsmZ3pG5I&e=
>>
> 



More information about the Bonmin mailing list