chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-janitors] #723: using set-finalizer in this loop triggers a


From: Chicken Trac
Subject: Re: [Chicken-janitors] #723: using set-finalizer in this loop triggers a OOM panic / segfault
Date: Sat, 05 Nov 2011 21:31:33 -0000

#723: using set-finalizer in this loop triggers a OOM panic / segfault
----------------------+-----------------------------------------------------
  Reporter:  ckeen    |       Owner:  felix
      Type:  defect   |      Status:  new  
  Priority:  major    |   Milestone:  4.8.0
 Component:  unknown  |     Version:  4.7.x
Resolution:           |    Keywords:       
----------------------+-----------------------------------------------------

Comment(by ckeen):

 I managed to get a stacktrace from gdb:

 {{{
 Starting program: /home/ckeen/proj/chicken/doodle/small-test

 Program received signal SIGSEGV, Segmentation fault.
 [Switching to process 1287, thread 0x88518400]
 0x0b075c74 in really_remark (x=0x7c5bd1e8) at runtime.c:3300
 3300        h = p->header;
 (gdb) bt
 #0  0x0b075c74 in really_remark (x=0x7c5bd1e8) at runtime.c:3300
 #1  0x0b075903 in C_rereclaim2 (size=516388, double_plus=0) at
 runtime.c:3211
 #2  0x0b0b31a9 in allocate_vector_2 (dummy=0x2ae686c0) at runtime.c:7003
 #3  0x0b0716b7 in CHICKEN_run (toplevel=0x0) at runtime.c:1312
 #4  0x0b06f5c6 in CHICKEN_main (argc=1, argv=0xcfbefef8,
 toplevel=0x1c000df1) at runtime.c:532
 #5  0x1c000db8 in main (argc=Cannot access memory at address 0x0
 (gdb) p p->header
 Cannot access memory at address 0xa9a414
 (gdb) p *(C_SCHEME_BLOCK*)h
 $5 = {header = 687865857, data = {-2114364416}}
 }}}

-- 
Ticket URL: <http://bugs.call-cc.org/ticket/723#comment:1>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]