Closed Bug 466671 Opened 16 years ago Closed 15 years ago

shell should output message when runs out of memory instead of or before os says Bus Error

Categories

(Tamarin Graveyard :: Garbage Collection (mmGC), defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 480029
flash10.1

People

(Reporter: dschaffe, Assigned: treilly)

References

Details

currently the shell crashes when runs out memory with no message.  e.g.
$ avmshell -memlimit 1 foo.abc
Bus Error (or Segmentation Fault on windows)

As part of the out of memory feature can we output a message like "heap memory limit exceeded" or "out of memory".

Currently when performance tests run out of memory we can't really tell whether its out of memory or a different crash.  this feature was talked about as part of the oom feature.
Flags: wanted-flashplayer10+
Flags: flashplayer-triage+
Flags: flashplayer-qrb?
Assignee: nobody → treilly
Status: NEW → ASSIGNED
Flags: flashplayer-qrb? → flashplayer-qrb+
Target Milestone: --- → flash10.x
Blocks: 472712
how about exiting with a non-zero exit status, would that be enough?
Since one of the requirements for (some) clients of Tamarin is - or at least I thought it was - to clean up and exit in an orderly manner when Tamarin goes OOM, it seems that there needs to be some sort of callback or status code from the GC to the client code anyway.  If the client is the shell then it should IMO make use of this and in fact print such an message.
Blocks: 478870
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
No longer blocks: 478870
You need to log in before you can comment on or make changes to this bug.