symbian os unit download
Home arrow Community Forum
Symbian OS Unit
Welcome, Guest
Please Login or Register.    Lost Password?
Re:SymbianOsUnit does not work well with CFbsBit (1 viewing) (1) Guest
This is the forumheader in the basic forum information
Go to bottom Post Reply Favoured: 0
TOPIC: Re:SymbianOsUnit does not work well with CFbsBit
#4
Piros Lucian (Admin)
Admin
Posts: 6
graphgraph
User Online Now Click here to see the profile of this user
SymbianOsUnit does not work well with CFbsBit 3 Years, 5 Months ago Karma: 0  
Take the following example

void CTest::testDummy()
{
CFbsBitmap* bitmap = new (ELeave) CFbsBitmap();
CleanupStack:ushL(bitmap);
bitmap->Load(_L("z:\\resource\\apps\\mml_adapter.mbm"/*desc*/,
0/*id*/);
CleanupStack:opAndDestroy();
}

This test will fail with a memory leak, even though
everything is fine (code is perfectly valid).
The "fake" memory leak is because bitmap->load creates
a fbs session (if it does not exist)...session which
is destroyed only at the end of the application....(if
you run second time this test it will work fine).

I suppose this is happening because SymbianOSUnit
works with __UHEAP_MARK/__UHEAP_MARKEND...but I'm not
sure since I haven't went that deep in SymbianOSUnit

Also, having this session type classes is a evry
common pattern in Symbian (use a single session for
all classes....first class that use that session will
create it)...so I expect this problem to manifest for
other classes also.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#5
Penrillian Support (Admin)
Admin
Posts: 6
graphgraph
User Online Now Click here to see the profile of this user
Re:SymbianOsUnit does not work well with CFbsBit 3 Years, 5 Months ago Karma: 0  
This is a known issue, which may be fixed in future releases.
For the time being, you can use TestSuite::AllowForMemoryLeak( TInt aCellsLeaked ) which sets the number of leaked cells to ignore in order to cater for the false leaks.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#6
Piros Lucian (Admin)
Admin
Posts: 6
graphgraph
User Online Now Click here to see the profile of this user
Re:SymbianOsUnit does not work well with CFbsBit 3 Years, 5 Months ago Karma: 0  
Great...I'll give a try
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#46
seller (User)
Junior Boarder
Posts: 30
graphgraph
User Offline Click here to see the profile of this user
Re:SymbianOsUnit does not work well with CFbsBit 5 Months, 2 Weeks ago Karma: 0  
Lops are one of the top damage classes of WOW Power Leveling. I know vitality is very tempting in WOW Power Leveling, especially at the lower levels. You may be feeling intelligence in buy WOW Power Leveling,not very useful for us strength lops.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#92
rslifE01 (User)
Platinum Boarder
Posts: 1288
graph
User Offline Click here to see the profile of this user
U7kawFri 3 Months, 3 Weeks ago Karma: 0  
Hello, you've reached 344-1312, the Apartment at the wow gold End of the Universe. Please leave your rift plat message, name and number at the sound wow cheap gold of the tone. Keep your hands, feet, rift platinum extremities, and obscenities inside the car at rs gold all times. Enjoy your ride.Ambition is a buy wow gold poor excuse for not having sense enough rs money to be lazy. An executive will always runescape gold return to work from lunch early if rs gold cheap no one takes him. An error in the premise will appear in the conclusion. An object at rest will always be in the wrong place. An
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Who's Online

We have 28 guests online

Login Form






Lost Password?
No account yet? Register