You Are Here:

Community: Developer Discussion Boards

#1 Old nokia 3510i and FLIP_HORIZONTAL - 2003-04-07, 16:39

Join Date: Mar 2003
Posts: 7
gediman
Offline
Registered User
hi, I've got the problem caused probably by image manipulation. I use FLIP_HORIZONTAL image manipulation and sometimes (with some PNG files) VM crashes with message "heap corrupted" and sometimes it turns off the phone. I'm sure the problem is image manipulation because when I remove it from source application works fine. I've got no idea what's goin' on. enyone have one?
Reply With Quote

#2 Old 2003-04-17, 21:21

Join Date: Mar 2003
Posts: 59
iecomdev
Offline
Regular Contributor
hi

ive got the same problem
i found out that if you use DirectGraphics the images are not clipped >> setClip() . so when your sprites running out of your screen and/or offscreen buffer - images are drawn into bad memory blocks
i believe thats the problem. than a bad heap pointer comes up!
in my app my spritedrawroutine checks for invalid x and y positions and clip the sprites manualy

so have a try and let me know how it works

if anybody has another solution please let us know

regards
andreas
Reply With Quote

#3 Old one more bug - 2004-10-14, 16:47

Join Date: Mar 2003
Posts: 8
weatherman
Offline
Registered User
Moreover, there seems to be a problem with setClip() in 3510i - I read somewhere that sometimes the actual clip is +1, +1, so we had to limit the sprites accordingly.

One thing that worked for us was to increase the backbuffer size by 4 pixels. We never use this extra area and everything seems to be working fine.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d18645X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE44iscussionQ qdcZtypeQUqfntypeZE44iscussionContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZentertainmentQ qfnZtopicQUqfnTopicZj2meQ qfnZtopicQUqfnTopicZjavaQ qfnZtopicQUqfnTopicZmediaQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE44iscussionQ qfnZtypeQUqfntypeZE44iscussionContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE44iscussionQ qrdfZtypeQUqfntypeZE44iscussionContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ