[Cbc] CoinLpIO.cpp segfault

Ted Ralphs ted at lehigh.edu
Fri Aug 2 10:13:01 EDT 2013


Hi Christoph,

Thanks for reporting this. It is fixed in trunk and stable.

Cheers,

Ted

On Fri, Aug 2, 2013 at 6:20 AM, Christoph Cullmann <cullmann at absint.com>wrote:

> Hi,
>
> it seems that the wrong variable is reset in the stable branch (and maybe
> trunk, too) in
>
> void
> CoinLpIO::passInMessageHandler(CoinMessageHandler * handler)
>
> There is:
>
> if (defaultHandler_){
>     delete handler_;
>     handler = NULL;
>     }
>
> which should be:
>
> if (defaultHandler_){
>     delete handler_;
>     handler_ = NULL;
>     }
>
> Else it crashs for me on any execution, as handler_ is a null pointer
> later on as below that, handler is assigned to handler_.
>
> Greetings
> Christoph
>
> --
> ----------------------------- Dr.-Ing. Christoph Cullmann ---------
> AbsInt Angewandte Informatik GmbH      Email: cullmann at AbsInt.com
> Science Park 1                         Tel:   +49-681-38360-22
> 66123 Saarbrücken                      Fax:   +49-681-38360-20
> GERMANY                                WWW:   http://www.AbsInt.com
> --------------------------------------------------------------------
> Geschäftsführung: Dr.-Ing. Christian Ferdinand
> Eingetragen im Handelsregister des Amtsgerichts Saarbrücken, HRB 11234
>
> _______________________________________________
> Cbc mailing list
> Cbc at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/cbc
>



-- 
Dr. Ted Ralphs
Associate Professor, Lehigh University
(610) 628-1280
ted 'at' lehigh 'dot' edu
coral.ie.lehigh.edu/~ted
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/cbc/attachments/20130802/ed2268c1/attachment.html>


More information about the Cbc mailing list