[Coin-discuss] multiple deletes cause segmentation fault
Paul Pacheco
paul.pacheco at wavecode.com
Wed Oct 1 10:15:36 EDT 2003
at the end of main, in
BCP_tm_main.cpp line 94
you are doing a
delete msg_env;
you are deleting msg_env again at the end of BCP_tm_main in:
BCP_tm_main.cpp line 242.
also the destructor for the variable p in:
BCP_tm_main.cpp line 109
is deleting msg_env in:
BCP_tm.cpp at line 32
These multiple deletes on the same data are causing a segmentation fault when
the program finishes.
I believe the same thing might be happening with user, lp_stat, id, and maybe
others.
More information about the Coin-discuss
mailing list