Discussion Board

Results 1 to 13 of 13
  1. #1
    Registered User mattbee's Avatar
    Join Date
    Mar 2003
    Posts
    17
    Hello all,

    I'm trying to track down a crash on my 7650 game which happens only after about 20-25 minutes of play :-/ I used to see an OutOfMemory exception, but not I get KERN_EXEC 3, hooray.

    So just in case I've missed a bug, and for the sanity of all who pass through here in future, here's as much of a list of 7650 bugs that I can think of from the top of my head and scouring the forums, please post any more that I might have missed. I'll collect any replies, corrections or additions and post a new thread with everyone's knowledge collected in a few days.

    * (firmware 4.39+) Image.createImage never relases its image memory, can't be used reliably (or is it getGraphics which does this?)

    * Class.getResourceAsStream() leaks memory every time it's used? At least a tight loop of getResourceAsStream calls causes a KERN_EXEC 3.

    * InputStream.skipBytes() throws a NullPointerException occasionally-- can't be relied on to work. AFAICT between this and the previous bug you can't reliably open and close files during the normal running of an application (seems okay during initialisation though).

    * Switching between FullCanvas objects using Display.setCurrent causes a white flicker, must work around by only ever using a single FullCanvas object.

    * Playing tones doesn't work at.

    * HttpConnection bug? I know there is one, I just don't know anything about it since I've not had to use it.

    Any corrections, additions etc. welcome.

  2. #2
    Registered User abickerton's Avatar
    Join Date
    Mar 2003
    Posts
    19
    The 7650 & 3650 both share the Image.getGraphics() bug.

    more info can be gleaned from ....

    Technical Note: Known Memory Issues with the Nokia 7650

    document found on this very site.

  3. #3
    Registered User handful's Avatar
    Join Date
    Jul 2003
    Posts
    5
    You can play tones in the 7650.
    You should use a converter tool to create a tone from a midi file.

    I used, tested, and it worked fine.!

    *I am using the nokia developer suite converter to do that and playing with the Sound class of the nokia API

  4. #4
    Registered User mattbee's Avatar
    Join Date
    Mar 2003
    Posts
    17
    re: tones I was under the impression that new Sound(int a, int b) didn't work as expected.

  5. #5
    Regular Contributor yowchuan's Avatar
    Join Date
    Mar 2003
    Location
    Kluang
    Posts
    143
    Nice list, Mattbee, will be very useful for all de-"buggers"!

    Thanks alot!

    Cheers
    YC

  6. #6
    Regular Contributor kisember's Avatar
    Join Date
    Jun 2003
    Location
    Hungary
    Posts
    414

  7. #7
    Regular Contributor kisember's Avatar
    Join Date
    Jun 2003
    Location
    Hungary
    Posts
    414
    This message is just for keeping this thread alive.

  8. #8
    Registered User trickybit's Avatar
    Join Date
    Aug 2003
    Posts
    10
    A couple more:

    I've seen these, and seen them on this forum :
    - using FullCanvas, clip region passed to paint() isn't full sized.
    - drawString() to an offscreen image ignores setColor()

    From this forum, but I haven't tried:
    - hideNotify/showNotify called, but not pauseApp/startApp (resume)
    - http hangs soon if network gateway not changed to 0.0.0.0 [reported]
    - Game extension drawPixels() is slower than drawImage()
    - http can't handle chunked responses.
    reference: http://www.sourceress.net/s60chunked.html
    - pause for phone calls causes hang.
    even using hideNotify/showNotify
    workaround is to check Displayable.isShown() on
    every entry point (!)


    I haven't seen this one posted:
    - using FullCanvas, repaint(int,int,int,int) for a subregion is not reflected in clip region subsequently passed to paint.

  9. #9
    Registered User Onib's Avatar
    Join Date
    Mar 2003
    Posts
    23
    When I run close on HTTPConnection, the connection
    is not freed. So if I run several HTTPConnections,
    eventually the phone will crash as it encounters the limit
    of connections.

    But if I set the connection to null, the system will free the
    connection properly.

    I am not aware how quickly carbage collection will take care
    of the connection, so you still could have a problem if you
    establish many connections in a short period of time, like in
    a single loop inside a function.

  10. #10
    Registered User trickybit's Avatar
    Join Date
    Aug 2003
    Posts
    10
    On my 3650:

    The keyReleased event is not generated for the "pencil button" unless you hold it down until the first keyRepeated event occurs.

    Cool, eh? The rest of the keys work OK in this regard.

    jim

  11. #11
    Registered User tuttas's Avatar
    Join Date
    Mar 2003
    Posts
    25
    Is there also a bug in the 7650 firmware, that Sound.init() or the Sound constructor did'nt work to simply play a tone ?

    On my Emulator it workes fine but not on a real device !

    best regards

    Joerg Tuttas

  12. #12
    Regular Contributor kisember's Avatar
    Join Date
    Jun 2003
    Location
    Hungary
    Posts
    414
    artblanc found another one.
    It's not a JVM bug, but an AMS bug (MidpUI).
    If you specify a MIDlet-n attribute like this:
    MIDlet-1: anyname, anyicon , anyclass
    (icon is without leading slash and without extension), AMS will not able to show installed midlets anymore.
    You don't need to run, just install.
    Solution:
    Use any file-manager, find the midlet in the c:\system\midp folder, and delete the midlet

  13. #13
    Registered User m_c_young's Avatar
    Join Date
    Mar 2003
    Posts
    22
    Here's another:

    Code:
    RecordEnumeration re = <created however>
    int id = re.nextRecordId();
    boolean hasPrev = re.hasPreviousElement()
    Variable hasPrev is null in some circumstances so you can't do a loop of the form below to get all record along with their ids..

    Code:
    while( re.hasNext() )
    {
      id = re.nextRecordId();
      re.previousRecordId();
      doSomething( re.nextRecord(), id )
    }

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved