[Coin-discuss] segfault in lp module
Laszlo Ladanyi
ladanyi at us.ibm.com
Mon Sep 8 11:24:58 EDT 2003
Thanks for the patches!
It should be fixed in the framework. I have committed the patch.
--Laci
On Sat, 6 Sep 2003, Paul Pacheco wrote:
> running MaxCut with pvm.
>
> I start just 1 LP process, and it segfaults.
> The stack trace is this:
>
> Bcp/include/BCP_parameters.hpp:167
> Bcp/include/BCP_lp.hpp:254
> Bcp/LP/BCP_lp_user.cpp:225
> Bcp/LP/BCP_lp_misc.cpp:106
> Bcp/LP/BCP_lp_main_loop.cpp:36
> Bcp/LP/BCP_lp_msgproc.cpp:190
> Bcp/LP/BCP_lp_main.cpp:116
> coin/Bcp/TM/BCP_tm_main.cpp:72
> ...
>
>
> This is what I figured out:
> in Bcp/LP/BCP_lp_user.cpp:225, the pointer p is null. That is because the lp
> pointer was not assigned to the p member of the BCP_lp_user class.
>
> The problem is fixed by either one of the attached patches (I just don't know
> which one is best or if both should be applied).
>
> The first one, solves the problem in an individual application.
> The second one solves the problem in the framework.
>
More information about the Coin-discuss
mailing list