Visual Studio Debug Assertion Failure
Visual Studio Debug Assertion Failure
I built BCI2000 from sources and was able to run batch files such as StimulusPresentation_SignalGenerator etc.
However, recently whenever I run any task, I get the following error message.
This is related to Visual Studio, I tried to rebuild the VS project as well as the script that generates the solution file but am still getting the same error. I am using 64-bit Windows 7 and Visual Studio 2008.
How can this be fixed? Any ideas?
However, recently whenever I run any task, I get the following error message.
This is related to Visual Studio, I tried to rebuild the VS project as well as the script that generates the solution file but am still getting the same error. I am using 64-bit Windows 7 and Visual Studio 2008.
How can this be fixed? Any ideas?
Re: Visual Studio Debug Assertion Failure
Hi,
sorry that you are having problems with the latest trunk code.
I'm currently working to stabilize the trunk version of BCI2000 on all supported platforms, and then switching core development to a proxy repository.
Hopefully, this will avoid major problems in the trunk for the future.
Bug fixes will still go into the trunk immediately, and may break compiles occasionally, but that will be easy to fix on an as-needed-basis.
For now, the only thing I can recommend is to checkout from svn/releases/current rather than from svn/trunk.
Regards,
Juergen
sorry that you are having problems with the latest trunk code.
I'm currently working to stabilize the trunk version of BCI2000 on all supported platforms, and then switching core development to a proxy repository.
Hopefully, this will avoid major problems in the trunk for the future.
Bug fixes will still go into the trunk immediately, and may break compiles occasionally, but that will be easy to fix on an as-needed-basis.
For now, the only thing I can recommend is to checkout from svn/releases/current rather than from svn/trunk.
Regards,
Juergen
Re: Visual Studio Debug Assertion Failure
I am using the current version itself, from http://www.bci2000.org/svn/tags/releases/current.
Do let me know if any further information is required.
Do let me know if any further information is required.
Re: Visual Studio Debug Assertion Failure
Hi,
this might be related to a bug in VS2008. Please make sure to have Sp1 installed.
If that doesn't fix the problem, it would be interesting to know how to reproduce the bug.
Regards,
Juergen
this might be related to a bug in VS2008. Please make sure to have Sp1 installed.
If that doesn't fix the problem, it would be interesting to know how to reproduce the bug.
Regards,
Juergen
Re: Visual Studio Debug Assertion Failure
Hi Juergen,
I encountered the same problem. I tried both SVN from the "svn/tags/releases/current" and the archived source http://www.bci2000.org/downloads/src/BCI2000src.txz. Neither works. For the svn version, I got the same error as sumits got. For the archived source, when I open the .sln file, there was an error and the OperaterQt project and anther project cannot be loaded correctly. So after rebuild, there was no Operater.exe file. I am using visual studio 2010 express (with SP1 installed) on 64 bit Windows 7.
Zhi
I encountered the same problem. I tried both SVN from the "svn/tags/releases/current" and the archived source http://www.bci2000.org/downloads/src/BCI2000src.txz. Neither works. For the svn version, I got the same error as sumits got. For the archived source, when I open the .sln file, there was an error and the OperaterQt project and anther project cannot be loaded correctly. So after rebuild, there was no Operater.exe file. I am using visual studio 2010 express (with SP1 installed) on 64 bit Windows 7.
Zhi
mellinger wrote:Hi,
this might be related to a bug in VS2008. Please make sure to have Sp1 installed.
If that doesn't fix the problem, it would be interesting to know how to reproduce the bug.
Regards,
Juergen
Re: Visual Studio Debug Assertion Failure
Hi Zhi and Sumit,
the VS2010 compilation problem has been fixed today, but is unrelated to the failing assertion problem.
For the 3.0.5 release, the code from "svn/tags/releases/current" was compiled with VS2008, and tested without problems. However, I was using V7.0 of the Windows SDK, rather than the version being installed with VS2008.
As a side note: the "archived" source is actually a daily snapshot of the BCI2000 svn trunk, which may be downloaded in form of a txz archive. It is not "archived" in the sense of being "historical".
I suggest both of you to try the latest svn trunk version of the BCI2000 source code. It should work with both VS2008 and 2010, and both 32 and 64bit compilers.
Sorry for the inconvenience, and thanks for reporting the bugs.
Regards,
Juergen
the VS2010 compilation problem has been fixed today, but is unrelated to the failing assertion problem.
For the 3.0.5 release, the code from "svn/tags/releases/current" was compiled with VS2008, and tested without problems. However, I was using V7.0 of the Windows SDK, rather than the version being installed with VS2008.
As a side note: the "archived" source is actually a daily snapshot of the BCI2000 svn trunk, which may be downloaded in form of a txz archive. It is not "archived" in the sense of being "historical".
I suggest both of you to try the latest svn trunk version of the BCI2000 source code. It should work with both VS2008 and 2010, and both 32 and 64bit compilers.
Sorry for the inconvenience, and thanks for reporting the bugs.
Regards,
Juergen
Re: Visual Studio Debug Assertion Failure
Thank you Juergen for your prompt response. I will try that and let you know the result. By the way, whether the current "archive" version also works. I feel I'd like to use the "archive" one.
Zhi
Zhi
Re: Visual Studio Debug Assertion Failure
I just tried the "archive" version with VC2010 express. It still does not work. Two projects cannot be loaded. See attached screenshot.
Re: Visual Studio Debug Assertion Failure
Hi Juergen,
I have tested the svn codes. With VC2008 express, it works fine. But with VC2010 express, the same error as found by Sumits remains.
Zhi
I have tested the svn codes. With VC2008 express, it works fine. But with VC2010 express, the same error as found by Sumits remains.
Zhi
Re: Visual Studio Debug Assertion Failure
Hi,
Am able to build the VS2010 solution after checking out from http_nospam_www.bci2000.org/svn/tags/releases/current/. The batch files are running fine now.
However, the VS2008 project built from the SVN trunk now gives the following error message.
I am using CMake 2.8, 64-bit Windows 7 and Qt 4.6.3. I'm not able to figure out how to reproduce the bug, I was able to run the batch files initially but later this error comes persistently.
Am able to build the VS2010 solution after checking out from http_nospam_www.bci2000.org/svn/tags/releases/current/. The batch files are running fine now.
However, the VS2008 project built from the SVN trunk now gives the following error message.
I am using CMake 2.8, 64-bit Windows 7 and Qt 4.6.3. I'm not able to figure out how to reproduce the bug, I was able to run the batch files initially but later this error comes persistently.
Re: Visual Studio Debug Assertion Failure
Yes, for my 2010 solution, it worked fine initially. But after a while, it showed the error window as Sumits posted at the very first post. Now, all the errors are related to the operater module.
Zhi
Zhi
Re: Visual Studio Debug Assertion Failure
There might be a bug in the Operator module related to storing and retrieving window positions in case you switch between multiple monitor configurations.
Try to delete the file BCI2000/prog/Operator.ini and see whether the problem persists.
HTH,
Juergen
Try to delete the file BCI2000/prog/Operator.ini and see whether the problem persists.
HTH,
Juergen
Re: Visual Studio Debug Assertion Failure
That may be a problem, as BCI2000 3.0.5 has been developed against Qt 4.7.0. You might try updating to the latest SVN trunk version, which comes with Qt 4.8.4 pre-built for MSVC compilers.Qt 4.6.3
-Juergen
Re: Visual Studio Debug Assertion Failure
By deleting the Operator.ini file, the program works again. Thank you! By the way, is it possible to make the "archive" version work as well?
Zhi
Zhi
mellinger wrote:There might be a bug in the Operator module related to storing and retrieving window positions in case you switch between multiple monitor configurations.
Try to delete the file BCI2000/prog/Operator.ini and see whether the problem persists.
HTH,
Juergen
Re: Visual Studio Debug Assertion Failure
Hi,
the "archive" version is just a daily updated copy of the SVN trunk. It is updated each day around midnight GMT.
In case the bad Operator.ini is still in your trash, I would appreciate if you sent it to me in a private message. I've had some reports of such a bug, but never succeeded in reproducing it.
Best regards,
Juergen
the "archive" version is just a daily updated copy of the SVN trunk. It is updated each day around midnight GMT.
In case the bad Operator.ini is still in your trash, I would appreciate if you sent it to me in a private message. I've had some reports of such a bug, but never succeeded in reproducing it.
Best regards,
Juergen
Who is online
Users browsing this forum: Google [Bot] and 16 guests