rinladomonari / gamekit

Automatically exported from code.google.com/p/gamekit
0 stars 0 forks source link

Random crashing due to unintended memory access. #238

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Build an application based on the CppDemo sample that allocates a lot memory.

What is the expected output? What do you see instead?
I expect running, I see crashing.

What version of the product are you using? On what operating system?
r1086 on Ubuntu 12.04 x64.

Please provide any additional information below.
Running the application while with linking D.U.M.A. - Detect Unintended Memory 
Access - stops execution at line 668 in /Tools/FileTools/File/fbtFile.cpp. The 
same thing happens when building the CppDemo unchanged with DUMA.
Line 668 contains;

    if ((*srcPtr))

where srcPtr is of type FBTsize*, FBTsize being a typedef for unsigned int. I 
did not look into the code thoroughly at all, but at least writing;

    if (srcPtr)

instead seems to make DUMA happy.

And a good day to you too, Sir!

Original issue reported on code.google.com by Miki.Tej...@gmail.com on 12 Jun 2012 at 3:12

GoogleCodeExporter commented 8 years ago
Can you please attach an example that reproduces the problem?

Original comment by kungfoobar@gmail.com on 13 Jun 2012 at 4:23

GoogleCodeExporter commented 8 years ago
Since he provides no more information I will close this as won't fix. Even 
though it would have been interesting what he meant...

Original comment by thomas.t...@googlemail.com on 9 Sep 2012 at 1:12