| 1 | Summary: perl6(75250) malloc: *** mmap(size=3184660870034112512) failed (error code=12) |
|---|
| 2 | Reported by: michael@thegrebs.com |
|---|
| 3 | --- |
|---|
| 4 | My apologies if this is a perl6 issue and not parrot but parrot told me to |
|---|
| 5 | run parrotbug and I always do what a parrot tells me ;) |
|---|
| 6 | |
|---|
| 7 | Source of my script is: |
|---|
| 8 | |
|---|
| 9 | -----<cut>----- |
|---|
| 10 | #!/usr/bin/env perl6 |
|---|
| 11 | |
|---|
| 12 | use v6; |
|---|
| 13 | |
|---|
| 14 | say "\c[DEGREE FAHRENHEIT]"; |
|---|
| 15 | -----<cut>----- |
|---|
| 16 | |
|---|
| 17 | output from running the script: |
|---|
| 18 | -----<cut>----- |
|---|
| 19 | perl6(75422) malloc: *** mmap(size=2325622477335777280) failed (error code=12) |
|---|
| 20 | *** error: can't allocate region |
|---|
| 21 | *** set a breakpoint in malloc_error_break to debug |
|---|
| 22 | Failed allocation of 2325622477335773507 bytes |
|---|
| 23 | Parrot VM: PANIC: Out of mem! |
|---|
| 24 | C file src/gc/alloc_memory.c, line 92 |
|---|
| 25 | Parrot file (not available), line (not available) |
|---|
| 26 | |
|---|
| 27 | We highly suggest you notify the Parrot team if you have not been working on |
|---|
| 28 | Parrot. Use parrotbug (located in parrot's root directory) or send an |
|---|
| 29 | e-mail to parrot-dev@lists.parrot.org. |
|---|
| 30 | Include the entire text of this error message and the text of the script that |
|---|
| 31 | generated the error. If you've made any modifications to Parrot, please |
|---|
| 32 | describe them as well. |
|---|
| 33 | |
|---|
| 34 | Version : 2.5.0-devel |
|---|
| 35 | Configured : Mon Jul 19 03:30:05 2010 GMT |
|---|
| 36 | Architecture: i386-darwin |
|---|
| 37 | JIT Capable : No |
|---|
| 38 | Interp Flags: (no interpreter) |
|---|
| 39 | Exceptions : (missing from core) |
|---|
| 40 | |
|---|
| 41 | Dumping Core... |
|---|
| 42 | -----<cut>----- |
|---|
| 43 | |
|---|
| 44 | Unfortunately, I'm not sure where that core ended up, cant seem to find it. |
|---|
| 45 | |
|---|
| 46 | Mike |
|---|
| 47 | |
|---|
| 48 | --- |
|---|
| 49 | osname= darwin |
|---|
| 50 | osvers= 10.0 |
|---|
| 51 | arch= darwin-thread-multi-2level |
|---|
| 52 | cc= gcc-4.2 |
|---|
| 53 | --- |
|---|
| 54 | Flags: |
|---|
| 55 | category=core |
|---|
| 56 | severity=low |
|---|
| 57 | ack=no |
|---|
| 58 | --- |
|---|
| 59 | Summary of my parrot 2.5.0 (r48074) configuration: |
|---|
| 60 | configdate='Mon Jul 19 03:30:05 2010 GMT' |
|---|
| 61 | Platform: |
|---|
| 62 | osname=darwin, archname=darwin-thread-multi-2level |
|---|
| 63 | jitcapable=0, jitarchname=nojit, |
|---|
| 64 | jitosname=darwin, jitcpuarch=i386 |
|---|
| 65 | execcapable=0 |
|---|
| 66 | perl=perl |
|---|
| 67 | Compiler: |
|---|
| 68 | cc='gcc-4.2', ccflags='-g -pipe -fno-common -I/usr/local/include -pipe -fno-common -DHASATTRIBUTE_CONST -DHASATTRIBUTE_DEPRECATED -DHASATTRIBUTE_MALLOC -DHASATTRIBUTE_NONNULL -DHASATTRIBUTE_NORETURN -DHASATTRIBUTE_PURE -DHASATTRIBUTE_UNUSED -DHASATTRIBUTE_WARN_UNUSED_RESULT -DDISABLE_GC_DEBUG=1 -DNDEBUG', |
|---|
| 69 | Linker and Libraries: |
|---|
| 70 | ld='c++', ldflags='-L/usr/local/lib -L/Users/mgreb/proj/rakudo/parrot/blib/lib', |
|---|
| 71 | cc_ldflags='', |
|---|
| 72 | libs='-lm -lutil -lreadline' |
|---|
| 73 | Dynamic Linking: |
|---|
| 74 | share_ext='.dylib', ld_share_flags='-dynamiclib -undefined dynamic_lookup', |
|---|
| 75 | load_ext='.bundle', ld_load_flags='-undefined dynamic_lookup -bundle' |
|---|
| 76 | Types: |
|---|
| 77 | iv=long, intvalsize=8, intsize=4, opcode_t=long, opcode_t_size=8, |
|---|
| 78 | ptrsize=8, byteorder=12345678, |
|---|
| 79 | nv=double, numvalsize=8, doublesize=8, longdoublesize=16 |
|---|
| 80 | |
|---|
| 81 | --- |
|---|
| 82 | Environment: |
|---|
| 83 | DYLD_LIBRARY_PATH (unset) |
|---|
| 84 | HOME =/Users/mgreb |
|---|
| 85 | LANG =en_US.utf-8 |
|---|
| 86 | LANGUAGE (unset) |
|---|
| 87 | LC_COLLATE =en_US.utf-8 |
|---|
| 88 | LC_CTYPE =en_US.utf-8 |
|---|
| 89 | LC_MESSAGES =en_US.utf-8 |
|---|
| 90 | LC_MONETARY =en_US.utf-8 |
|---|
| 91 | LC_NUMERIC =en_US.utf-8 |
|---|
| 92 | LC_TIME =en_US.utf-8 |
|---|
| 93 | LD_LIBRARY_PATH (unset) |
|---|
| 94 | LOGDIR (unset) |
|---|
| 95 | PATH =/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/opt/local/bin:/usr/local/git/bin:/Users/mgreb/bin:/Users/mgreb/proj/rakudo/parrot_install/bin |
|---|
| 96 | SHELL =/bin/zsh |
|---|