Ticket #1509 (closed bug: fixed)

Opened 5 years ago

Last modified 5 years ago

"new ['FixedStringArray'], -5" core dumps

Reported by: dukeleto Owned by: dukeleto
Priority: normal Milestone:
Component: core Version: 2.1.0
Severity: medium Keywords:
Cc: Language:
Patch status: Platform: all

Description

parrot_shell 4> $P0 = new ['FixedStringArray'], -5
.
sh: line 1:  9679 Quit                    ./parrot /var/folders/B3/B3qJ-edQFWKuziEWXxoYbU+++TI/-Tmp-/k5AekXs1Fr > /var/folders/B3/B3qJ-edQFWKuziEWXxoYbU+++TI/-Tmp-/LozzrEQEY6 2>&1
Error: child exited with value 131
Time: 0.264151 wallclock secs 
Output:
Failed allocation of 4294967276 bytes
Parrot VM: PANIC: Out of mem!
C file src/gc/gc_ms.c, line 1163
Parrot file (not available), line (not available)

We highly suggest you notify the Parrot team if you have not been working on
Parrot.  Use parrotbug (located in parrot's root directory) or send an
e-mail to parrot-dev@lists.parrot.org.
Include the entire text of this error message and the text of the script that
generated the error.  If you've made any modifications to Parrot, please
describe them as well.

Version     : 2.1.0-devel
Configured  : Thu Mar 11 07:29:49 2010 GMT
Architecture: ppc-darwin
JIT Capable : No
Interp Flags: (no interpreter)
Exceptions  : (missing from core)

Dumping Core...

Change History

Changed 5 years ago by dukeleto

  • owner set to dukeleto

This was fixed by chromatic++ in r44872. Adding tests shortly.

Changed 5 years ago by dukeleto

  • status changed from new to closed
  • resolution set to fixed

I added the same guards for all the other fixed array PMC's in r44877 as well as tests for all of them.

Note: See TracTickets for help on using tickets.