[Coin-discuss] segfault in lp module
Paul Pacheco
paul.pacheco at wavecode.com
Sat Sep 6 11:28:19 EDT 2003
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: perexample.patch
Type: text/x-diff
Size: 297 bytes
Desc: not available
URL: <http://list.coin-or.org/pipermail/coin-discuss/attachments/20030906/cf974cef/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: framework.patch
Type: text/x-diff
Size: 368 bytes
Desc: not available
URL: <http://list.coin-or.org/pipermail/coin-discuss/attachments/20030906/cf974cef/attachment-0001.bin>
More information about the Coin-discuss
mailing list