Menu

#2 VVTransferWindow crash when runnig Release version

open
nobody
None
5
2006-03-25
2006-03-25
chenyu
No

Yesterday I tried to compiled DeskVOX under MSVC 7.1.
At first I updated some libs that DeskVOX based on:
FOX-toolkit 1.4.32 and Cg Toolkit 1.4 rc1.

The compiling process is all right. The Debug version
work fine. But when I compile it under Release
Configure the VVTransferWindow crashed when I changed
some paraments of Pyramid or Gaussian.

So I checked the code, maybe crash happened on
vvtranswindow.cpp Line 429
VVTransferWindow::onChngPyramid
"assert((pw=dynamic_cast<vvTFPyramid*>(_currentWidget))!=NULL);"

If I changed this line to:
pw=dynamic_cast<vvTFPyramid*>(_currentWidget);

It work fine......so strange.....
The orig code also work under Debug conf.

I also test compile it using FOX-toolkit 1.6.0 release.
Crash again...

Discussion


Log in to post a comment.

MongoDB Logo MongoDB