Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » [BUG] MscBuilder crashes the IDE when building all shared.
[BUG] MscBuilder crashes the IDE when building all shared. [message #40196] Tue, 02 July 2013 07:29
rxantos is currently offline  rxantos
Messages: 72
Registered: October 2011
Member
I tracked the bug to:
AddObjectExports

It uses FileMapping, and opens it, but forgets to map it before requesting a pointer (which is NULL unless you map the file.)

Adding
if(!mapping.Map(0, mapping.GetFileSize())) {
 return;
}


before

const byte* begin = mapping.Begin();


prevents the crash.

Note: I'm no expert of the coff format. So I wouldn't know the maximum size it should look for. So instead I try to map the whole file.
Previous Topic: Changes in SysInfo Bazaar package (svn 6019)
Next Topic: [FEATURE] PCH support
Goto Forum:
  


Current Time: Fri Mar 29 09:48:07 CET 2024

Total time taken to generate the page: 0.01865 seconds