Bug 4870 - Memory Window: Entering a value that is too bigger or smaller than the lastKnown value at toBox or fromBox causes a hang
Summary: Memory Window: Entering a value that is too bigger or smaller than the lastKn...
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
Depends on: 4612
Blocks: 3119 3200
  Show dependency treegraph
Reported: 2007-07-31 02:11 UTC by Zhao Shujing
Modified: 2007-09-30 01:42 UTC (History)
2 users (show)

See Also:
Last reconfirmed:


Note You need to log in before you can comment on or make changes to this bug.
Description Zhao Shujing 2007-07-31 02:11:38 UTC
When enter a value that is too smaller than the lastKnown value at fromBox,
frysk would be hang. For example, changing the value from 3336ac33a0 to
3336ac0000 causes a hang. The only way to stop frysk at this point is to suspend
the process, and kill it. When enter a value a too bigger than the lastKnown
value at toBox, it causes a hang too.
Comment 1 Zhao Shujing 2007-07-31 02:12:42 UTC
This also applies to the disassembly window.
Comment 2 Zhao Shujing 2007-07-31 08:02:26 UTC
There is also no check about whether the memory address is accessible for the
Comment 3 Zhao Shujing 2007-09-30 01:42:01 UTC
2007-09-30  Zhao Shujing <pearly.zhao@oracle.com>

        * gladedir/memorywindow.glade: Change the top text "current program
        counter" to segment combox. Fixes #4614 and #4619.
        * gladedir/disassemblywindow.glade: Ditto.
        * memory/MemoryWindow.java: Added handling for segment.
        Added warning dialogs when the address can't be accessed and when the
        symbol is not in current context.
        Added handling when too many rows be added. Fixes #4870.
        * disassembler/DisassemblyWindow.java: Ditto.