Ticket #940 (closed bug: fixed)
miniparrot segfaults on Windows
Reported by: | fperrad | Owned by: | whiteknight |
---|---|---|---|
Priority: | critical | Milestone: | |
Component: | core | Version: | 1.5.0 |
Severity: | high | Keywords: | |
Cc: | whiteknight | Language: | |
Patch status: | Platform: |
Description
With MinGW, miniparrot segfaults during the build.
(gdb) r Starting program: C:\fperrad\Parrot\trunk/miniparrot.exe config_lib.pasm Program received signal SIGSEGV, Segmentation fault. 0x686f732a in Parrot_gc_get_attributes_from_pool (interp=0x3f4008, pool=0xabababab) at src/gc/mark_sweep.c:1246 1246 if (pool->top_arena == NULL (gdb) bt #0 0x686f732a in Parrot_gc_get_attributes_from_pool (interp=0x3f4008, pool=0xabababab) at src/gc/mark_sweep.c:1246 #1 0x686f3d94 in Parrot_gc_allocate_pmc_attributes (interp=0x3f4008, pmc=0xa9a7f8, size=72) at src/gc/api.c:1698 #2 0x68726372 in get_new_pmc_header (interp=0x3f4008, base_type=54, flags=4096) at src/pmc.c:496 #3 0x68726b78 in create_class_pmc (interp=0x3f4008, type=54) at src/pmc.c:840 #4 0x68726def in Parrot_create_mro (interp=0x3f4008, type=54) at src/pmc.c:919 #5 0x68880822 in Parrot_FileHandle_class_init (interp=0x3f4008, entry=54, pass=1) at src/pmc/filehandle.c:2521 #6 0x686dcf76 in Parrot_initialize_core_pmcs (interp=0x3f4008, pass=1) at src/core_pmcs.c:164 #7 0x686f9290 in init_world (interp=0x3f4008) at src/global_setup.c:169 #8 0x686f9414 in init_world_once (interp=0x3f4008) at src/global_setup.c:136 #9 0x68702cee in make_interpreter (parent=0x0, flags=0) at src/interp/inter_create.c:194 #10 0x686e4469 in Parrot_new (parent=0x0) at src/embed.c:117 #11 0x0040133f in main (argc=2, argv=0x3f28a8) at src/main.c:51 (gdb)
the build is OK with #define GC_USE_FIXED_SIZE_ALLOCATOR 0
Change History
Note: See
TracTickets for help on using
tickets.