# \[Bug #3371\] test-all aborted on amd64 lenny

**URL:** <https://www.ruby-forum.com/t/bug-3371-test-all-aborted-on-amd64-lenny/189404>\
**Category:** Development\
**Created:** [May 31, 2010, 12:48pm UTC](https://www.ruby-forum.com/t/bug-3371-test-all-aborted-on-amd64-lenny/189404 "2010-05-31T12:48:45Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/77aa72/32.png) [@Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/u/Kazuhiro_NISHIYAMA)\
**Post date:** [May 31, 2010, 12:48pm UTC](https://www.ruby-forum.com/t/bug-3371-test-all-aborted-on-amd64-lenny/189404/1 "2010-05-31T12:48:45Z")

</div>

Bug #3371: test-all aborted on amd64 lenny  
[http://redmine.ruby-lang.org/issues/show/3371](http://redmine.ruby-lang.org/issues/show/3371)

e$B5/I\<\<Te(B: Kazuhiro NISHIYAMA  
e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal  
Target version: 1.9.2  
ruby -v: ruby 1.9.2dev (2010-05-07 trunk 27649) [x86\_64-linux]

amd64e$B$Ne(Blennye$B$Ge(B  
[http://chkbuild.n-z.jp/ruby/debian-amd64/ruby-trunk/log/20100507T073828.diff.txt.gz](http://chkbuild.n-z.jp/ruby/debian-amd64/ruby-trunk/log/20100507T073828.diff.txt.gz)  
e$B$N$"$?$j$+$ie(B test-all e$B$,$9$Y$F$N%F%9%H$r\<B9T8e!"e(B Aborted  
(core dumped) e$B$K$J$C$F7k2L$,I=\<($5$l$^$;$s!#e(B

---

<div class="post-metadata">

**Author:** ![Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/77aa72/32.png) [@Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/u/Kazuhiro_NISHIYAMA)\
**Post date:** [June 7, 2010, 3:44pm UTC](https://www.ruby-forum.com/t/bug-3371-test-all-aborted-on-amd64-lenny/189404/2 "2010-06-07T15:44:11Z")

</div>

e$B%A%1%C%He(B #3371 e$B$,99?7$5$l$^$7$?!#e(B (by Yusuke E.)

e$B1sF#$G$9!#e(B

gdb e$B$N%P%C%/%H%l!\<%9$J$I$O8+$($J$$$G$7$g$&$+!#e(B

## – Yusuke E. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

[http://redmine.ruby-lang.org/issues/show/3371](http://redmine.ruby-lang.org/issues/show/3371)

---

<div class="post-metadata">

**Author:** ![Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/77aa72/32.png) [@Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/u/Kazuhiro_NISHIYAMA)\
**Post date:** [June 7, 2010, 6:21pm UTC](https://www.ruby-forum.com/t/bug-3371-test-all-aborted-on-amd64-lenny/189404/3 "2010-06-07T18:21:41Z")

</div>

e$B%A%1%C%He(B #3371 e$B$,99?7$5$l$^$7$?!#e(B (by Kazuhiro NISHIYAMA)

[http://chkbuild.n-z.jp/ruby/debian-amd64/ruby-trunk/log/20100607T073937.log.txt.gz](http://chkbuild.n-z.jp/ruby/debian-amd64/ruby-trunk/log/20100607T073937.log.txt.gz)  
e$B$Ne(Bcoree$B$GD4$Y$F$\_$k$He(B finalizer  
e$B$N\<B9T$GMn$A$F$$$k$h$&$G$9$,!"D4$YJ}$,$h$/$o$+$j$^$;$s$G$7$?!#e(B  
(gc.c:2773 e$B$Oe(B run\_final e$B$NCf$Ge(B finalize\_list  
e$B$NCf$8$c$J$$$H$+!#e(B)

% pwd  
/home/chkbuild/tmp/build/ruby-trunk/20100607T073937/ruby  
% sudo file core  
core: ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style,  
from ‘./ruby -rpurelib.rb ./test/runner.rb -v’  
% sudo -u chkbuild gdb ./ruby core  
GNU gdb 6.8-debian  
Copyright (C) 2008 Free Software Foundation, Inc.  
License GPLv3+: GNU GPL version 3 or later  
[http://gnu.org/licenses/gpl.html](http://gnu.org/licenses/gpl.html)  
This is free software: you are free to change and redistribute it.  
There is NO WARRANTY, to the extent permitted by law. Type “show  
copying”  
and “show warranty” for details.  
This GDB was configured as “x86\_64-linux-gnu”…

warning: Can’t read pathname for load map: Input/output error.  
Reading symbols from /lib/libpthread.so.0…done.  
Loaded symbols for /lib/libpthread.so.0  
Reading symbols from /lib/librt.so.1…done.  
Loaded symbols for /lib/librt.so.1  
Reading symbols from /lib/libdl.so.2…done.  
Loaded symbols for /lib/libdl.so.2  
Reading symbols from /lib/libcrypt.so.1…done.  
Loaded symbols for /lib/libcrypt.so.1  
Reading symbols from /lib/libm.so.6…done.  
Loaded symbols for /lib/libm.so.6  
Reading symbols from /lib/libc.so.6…done.  
Loaded symbols for /lib/libc.so.6  
Reading symbols from /lib/ld-linux-x86-64.so.2…done.  
Loaded symbols for /lib64/ld-linux-x86-64.so.2  
Reading symbols from  
/home/chkbuild/tmp/build/ruby-trunk/20100607T073937/ruby/.ext/x86\_64-linux/enc/encdb.so…done.  
Loaded symbols for  
/home/chkbuild/tmp/build/ruby-trunk/20100607T073937/ruby/.ext/x86\_64-linux/enc/encdb.so  
Reading symbols from  
/home/chkbuild/tmp/build/ruby-trunk/20100607T073937/ruby/.ext/x86\_64-linux/enc/trans/transdb.so…done.  
Loaded symbols for  
/home/chkbuild/tmp/build/ruby-trunk/20100607T073937/ruby/.ext/x86\_64-linux/enc/trans/transdb.so  
Reading symbols from  
/home/chkbuild/tmp/build/ruby-trunk/20100607T073937/ruby/.ext/x86\_64-linux/stringio.so…done.  
Loaded symbols for  
/home/chkbuild/tmp/build/ruby-trunk/20100607T073937/ruby/.ext/x86\_64-linux/stringio.so  
(e$BN,e(B)  
Reading symbols from /usr/lib/gconv/SJIS.so…done.  
Loaded symbols for /usr/lib/gconv/SJIS.so  
Core was generated by `./ruby -rpurelib.rb ./test/runner.rb -v’.  
Program terminated with signal 6, Aborted.  
[New process 15073]  
#0 0x00007f7f818d1ed5 in raise () from /lib/libc.so.6  
(gdb) bt  
#0 0x00007f7f818d1ed5 in raise () from /lib/libc.so.6  
#1 0x00007f7f818d33f3 in abort () from /lib/libc.so.6  
#2 0x00007f7f7dd60895 in ffi\_closure\_free () from /usr/lib/libffi.so.5  
#3 0x00007f7f7df6855d in dealloc (ptr=) at  
closure.c:18  
#4 0x00000000004228b3 in finalize\_list (objspace=0x7e4b90, p=0x63be920)  
at gc.c:2773  
#5 0x0000000000422c1f in rb\_objspace\_call\_finalizer (objspace=0x7e4b90)  
at gc.c:2912  
#6 0x000000000041cb1f in ruby\_cleanup (ex=0) at eval.c:161  
#7 0x000000000041ccc5 in ruby\_run\_node (n=0x80fed0) at eval.c:254  
#8 0x0000000000419cdf in main (argc=4, argv=0x7fffffffd1c8) at  
main.c:35  
(gdb) up 4  
#4 0x00000000004228b3 in finalize\_list (objspace=0x7e4b90, p=0x63be920)  
at gc.c:2773  
2773 (\*free\_func)(DATA\_PTR(obj));  
(gdb) rp obj  
No symbol “obj” in current context.  
(gdb) p obj  
No symbol “obj” in current context.  
(gdb) info args  
objspace = (rb\_objspace\_t \*) 0x7e4b90  
p = (RVALUE \*) 0x63be920  
(gdb) list  
2768 }  
2769 else {  
2770 free\_func = RDATA(obj)-\>dfree;  
2771 }  
2772 if (free\_func) {  
2773 (_free\_func)(DATA\_PTR(obj));  
2774 }  
2775  
2776 if (finalizer\_table &&  
2777 st\_delete(finalizer\_table, (st\_data\_t_)&obj, &table)) {  
(gdb) p free\_func  
Attempt to use a type name as an expression  
(gdb) p obj  
No symbol “obj” in current context.  
(gdb) rp objspace  
T\_TRUE: $1 = (struct RBasic \*) 0x7e4b90  
(gdb) rp p  
T\_ZOMBIE: $2 = (struct RData \*) 0x63be920  
(gdb)

* * *

[http://redmine.ruby-lang.org/issues/show/3371](http://redmine.ruby-lang.org/issues/show/3371)

---

<div class="post-metadata">

**Author:** ![Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/77aa72/32.png) [@Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/u/Kazuhiro_NISHIYAMA)\
**Post date:** [June 11, 2010, 9:00pm UTC](https://www.ruby-forum.com/t/bug-3371-test-all-aborted-on-amd64-lenny/189404/4 "2010-06-11T21:00:05Z")

</div>

e$B%A%1%C%He(B #3371 e$B$,99?7$5$l$^$7$?!#e(B (by Yui NARUSE)

This is because of libffi’s bug.

It seems fixed in 3.0.5.  
3.0.5 Apr-3-08  
Fix libffi.pc file.  
Fix #define ARM for IcedTea users.  
Fix x86 closure bug.

[http://d.hatena.ne.jp/moriyoshi/20080322/1206220188](http://d.hatena.ne.jp/moriyoshi/20080322/1206220188)

## So we need some workaround.

[http://redmine.ruby-lang.org/issues/show/3371](http://redmine.ruby-lang.org/issues/show/3371)

---

<div class="post-metadata">

**Author:** ![Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/77aa72/32.png) [@Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/u/Kazuhiro_NISHIYAMA)\
**Post date:** [June 10, 2010, 4:54am UTC](https://www.ruby-forum.com/t/bug-3371-test-all-aborted-on-amd64-lenny/189404/5 "2010-06-10T04:54:12Z")

</div>

e$B%A%1%C%He(B #3371 e$B$,99?7$5$l$^$7$?!#e(B (by Kazuhiro NISHIYAMA)

e$BC4Ev\<Te(B Aaron P.e$B$K%;%C%He(B

e$BA4It\<B9T$7$J$/$F$be(B dl fiddle gdbm  
e$B$Ne(B3e$B%G%#%l%/%H%j$@$1$G$b:F8=$7$^$7$?!#e(B

% ./miniruby -v  
ruby 1.9.3dev (2010-06-10 trunk 28243) [x86\_64-linux]  
% make test-all TESTS=“-v dl fiddle gdbm” RUNRUBYOPT=‘–debug’  
./miniruby -I…/lib -I.ext/common -I./- -r…/ext/purelib.rb  
…/tool/runruby.rb --extout=.ext --debug – “…/test/runner.rb” -v dl  
fiddle gdbm  
GNU gdb 6.8-debian  
Copyright (C) 2008 Free Software Foundation, Inc.  
License GPLv3+: GNU GPL version 3 or later  
[http://gnu.org/licenses/gpl.html](http://gnu.org/licenses/gpl.html)  
This is free software: you are free to change and redistribute it.  
There is NO WARRANTY, to the extent permitted by law. Type “show  
copying”  
and “show warranty” for details.  
This GDB was configured as “x86\_64-linux-gnu”…  
(gdb) r  
Starting program: …/ruby -rpurelib.rb …/test/runner.rb -v dl fiddle  
gdbm  
[Thread debugging using libthread\_db enabled]  
[New Thread 0x2b7390ca02c0 (LWP 4588)]  
[New Thread 0x40003950 (LWP 4591)]  
Loaded suite …/test/runner  
Started  
DL::TestBase#test\_empty: 0.00 s: .  
DL::TestCFunc#test\_empty: 0.00 s: .  
DL::TestCFunc#test\_inspect: 0.00 s: .  
DL::TestCFunc#test\_inspect\_is\_tainted: 0.00 s: .  
DL::TestCFunc#test\_last\_error: [New Thread 0x40084950 (LWP 4592)]  
0.01 s: .  
DL::TestCFunc#test\_name\_should\_be\_duped: 0.00 s: .  
DL::TestCFunc#test\_new\_ptr: 0.00 s: .  
DL::TestCFunc#test\_new\_ptr\_type\_name: 0.00 s: .  
DL::TestCFunc#test\_ptr: 0.00 s: .  
DL::TestCFunc#test\_ptr=: 0.00 s: .  
DL::TestCFunc#test\_set\_calltype: 0.00 s: .  
DL::TestCFunc#test\_to\_i: 0.00 s: .  
DL::TestCFunc#test\_to\_s: 0.00 s: .  
DL::TestCParser#test\_empty: 0.00 s: .  
DL::TestCParser#test\_uint\_ctype: 0.00 s: .  
DL::TestCPtr#test\_aref\_aset: 0.00 s: .  
DL::TestCPtr#test\_cmp: 0.00 s: .  
DL::TestCPtr#test\_cptr\_to\_int: 0.00 s: .  
DL::TestCPtr#test\_empty: 0.00 s: .  
DL::TestCPtr#test\_equals: 0.00 s: .  
DL::TestCPtr#test\_free: 0.00 s: .  
DL::TestCPtr#test\_free=: [Thread 0x40003950 (LWP 4591) exited]  
[Thread 0x40084950 (LWP 4592) exited]  
[New Thread 0x40003950 (LWP 4594)]  
0.02 s: .  
DL::TestCPtr#test\_inspect: 0.00 s: .  
DL::TestCPtr#test\_malloc\_free\_func: 0.00 s: .  
DL::TestCPtr#test\_malloc\_free\_func\_int: 0.00 s: .  
DL::TestCPtr#test\_minus: 0.00 s: .  
DL::TestCPtr#test\_not\_equals: 0.00 s: .  
DL::TestCPtr#test\_null?: 0.00 s: .  
DL::TestCPtr#test\_plus: 0.00 s: .  
DL::TestCPtr#test\_ref\_ptr: 0.00 s: .  
DL::TestCPtr#test\_size: 0.00 s: .  
DL::TestCPtr#test\_size=: 0.00 s: .  
DL::TestCPtr#test\_to\_ptr\_io: 0.00 s: .  
DL::TestCPtr#test\_to\_ptr\_string: 0.00 s: .  
DL::TestCPtr#test\_to\_ptr\_with\_num: 0.00 s: .  
DL::TestCPtr#test\_to\_ptr\_with\_ptr: 0.00 s: .  
DL::TestCPtr#test\_to\_s: 0.00 s: .  
DL::TestCPtr#test\_to\_str: 0.00 s: .  
DL::TestCPtr#test\_to\_value: 0.00 s: .  
DL::TestCallback#test\_call\_callback: 0.00 s: .  
DL::TestCallback#test\_callback\_return\_arbitrary: 0.00 s: .  
DL::TestCallback#test\_callback\_return\_value: 0.00 s: .  
DL::TestCallback#test\_callback\_with\_string: 0.00 s: .  
DL::TestCallback#test\_empty: 0.00 s: .  
DL::TestCallback#test\_remove\_callback: 0.00 s: .  
DL::TestCallback#test\_remove\_callback\_failed: 0.00 s: .  
DL::TestDL#test\_call\_double: 0.00 s: .  
DL::TestDL#test\_call\_int: 0.00 s: .  
DL::TestDL#test\_call\_long: 0.00 s: .  
DL::TestDL#test\_callback: 0.00 s: .  
DL::TestDL#test\_dlwrap: 0.00 s: .  
DL::TestDL#test\_empty: 0.00 s: .  
DL::TestDL#test\_free\_secure: [New Thread 0x40084950 (LWP 4596)]  
[Thread 0x40084950 (LWP 4596) exited]  
0.00 s: .  
DL::TestDL#test\_malloc: 0.00 s: .  
DL::TestDL#test\_malloc\_security: [New Thread 0x40084950 (LWP 4597)]  
[Thread 0x40084950 (LWP 4597) exited]  
0.00 s: .  
DL::TestDL#test\_realloc: 0.00 s: .  
DL::TestDL#test\_realloc\_secure: [New Thread 0x40084950 (LWP 4598)]  
[Thread 0x40084950 (LWP 4598) exited]  
0.00 s: .  
DL::TestDL#test\_sin: 0.00 s: .  
DL::TestDL#test\_strcpy: 0.00 s: .  
DL::TestDL#test\_strlen: 0.00 s: .  
DL::TestFunc#test\_atof: 0.00 s: .  
DL::TestFunc#test\_empty: 0.00 s: .  
DL::TestFunc#test\_isdigit: 0.00 s: .  
DL::TestFunc#test\_name: 0.00 s: .  
DL::TestFunc#test\_qsort1: 0.00 s: .  
DL::TestFunc#test\_qsort2: 0.00 s: .  
DL::TestFunc#test\_random: 0.00 s: .  
DL::TestFunc#test\_sin: 0.00 s: .  
DL::TestFunc#test\_sinf: 0.00 s: .  
DL::TestFunc#test\_strcpy: 0.00 s: .  
DL::TestFunc#test\_strtod: 0.00 s: .  
DL::TestFunc#test\_to\_i: 0.00 s: .  
DL::TestHandle#test\_DEFAULT: 0.00 s: .  
DL::TestHandle#test\_NEXT: 0.00 s: .  
DL::TestHandle#test\_disable\_close: 0.00 s: .  
DL::TestHandle#test\_dlopen\_returns\_handle: 0.00 s: .  
DL::TestHandle#test\_dlopen\_safe: [New Thread 0x40084950 (LWP 4599)]  
[Thread 0x40084950 (LWP 4599) exited]  
0.01 s: .  
DL::TestHandle#test\_empty: 0.00 s: .  
DL::TestHandle#test\_enable\_close: 0.00 s: .  
DL::TestHandle#test\_handle\_close: 0.00 s: .  
DL::TestHandle#test\_handle\_close\_twice: 0.00 s: .  
DL::TestHandle#test\_initialize\_flags: 0.00 s: .  
DL::TestHandle#test\_initialize\_noargs: 0.00 s: .  
DL::TestHandle#test\_initialize\_safe: [New Thread 0x40084950 (LWP 4600)]  
0.01 s: .  
DL::TestHandle#test\_static\_sym: 0.00 s: .  
DL::TestHandle#test\_static\_sym\_secure: [Thread 0x40084950 (LWP 4600)  
exited]  
[New Thread 0x40105950 (LWP 4601)]  
[Thread 0x40105950 (LWP 4601) exited]  
0.02 s: .  
DL::TestHandle#test\_static\_sym\_unknown: 0.00 s: .  
DL::TestHandle#test\_sym: 0.00 s: .  
DL::TestHandle#test\_sym\_closed\_handle: 0.00 s: .  
DL::TestHandle#test\_sym\_secure: [New Thread 0x40105950 (LWP 4602)]  
0.00 s: .  
DL::TestHandle#test\_sym\_unknown: 0.00 s: .  
DL::TestHandle#test\_sym\_with\_bad\_args: 0.00 s: .  
DL::TestHandle#test\_to\_i: 0.00 s: .  
DL::TestImport#test\_atof: 0.00 s: .  
DL::TestImport#test\_carried\_function: 0.00 s: .  
DL::TestImport#test\_empty: 0.00 s: .  
DL::TestImport#test\_gettimeofday: 0.00 s: .  
DL::TestImport#test\_io: 0.00 s: .  
DL::TestImport#test\_isdigit: 0.00 s: .  
DL::TestImport#test\_malloc: 0.00 s: .  
DL::TestImport#test\_qsort: 0.00 s: .  
DL::TestImport#test\_sizeof: 0.00 s: .  
DL::TestImport#test\_strcpy: 0.00 s: .  
DL::TestImport#test\_strtod: 0.00 s: .  
DL::TestImport#test\_struct: 0.00 s: .  
DL::TestImport#test\_unsigned\_result: 0.00 s: .  
DL::TestImport#test\_value: 0.00 s: .  
DL::TestWin32#test\_empty: 0.00 s: .  
Fiddle::TestClosure#test\_returner: 0.00 s: .  
Fiddle::TestClosure#test\_call: 0.00 s: .  
Fiddle::TestClosure#test\_argument\_errors: 0.00 s: .  
Fiddle::TestClosure#test\_block\_caller: 0.00 s: .  
Fiddle::TestFunction#test\_strcpy: 0.00 s: .  
Fiddle::TestFunction#test\_argument\_errors: 0.00 s: .  
Fiddle::TestFunction#test\_default\_abi: 0.00 s: .  
Fiddle::TestFunction#test\_call: 0.00 s: .  
Fiddle::TestFunction#test\_last\_error: 0.00 s: .  
Fiddle::TestFunction#test\_argument\_count: 0.00 s: .  
TestFiddle#test\_constants\_match: 0.00 s: .  
TestGDBM#test\_aref: [Thread 0x40105950 (LWP 4602) exited]  
0.01 s: .  
TestGDBM#test\_aset: 0.01 s: .  
TestGDBM#test\_cachesize=: 0.01 s: .  
TestGDBM#test\_clear: 0.01 s: .  
TestGDBM#test\_close: 0.01 s: .  
TestGDBM#test\_delete: 0.01 s: .  
TestGDBM#test\_delete\_if: 0.01 s: .  
TestGDBM#test\_delete\_with\_block: 0.01 s: .  
TestGDBM#test\_each\_key: 0.01 s: .  
TestGDBM#test\_each\_pair: 0.01 s: .  
TestGDBM#test\_each\_value: 0.01 s: .  
TestGDBM#test\_empty?: 0.01 s: .  
TestGDBM#test\_fastmode=: 0.00 s: .  
TestGDBM#test\_fetch: 0.01 s: .  
TestGDBM#test\_has\_value?: 0.01 s: .  
TestGDBM#test\_haskey?: 0.01 s: .  
TestGDBM#test\_invert: 0.01 s: .  
TestGDBM#test\_key: 0.01 s: .  
TestGDBM#test\_keys: 0.01 s: .  
TestGDBM#test\_length: 0.01 s: .  
TestGDBM#test\_reject: 0.01 s: .  
TestGDBM#test\_reorganize: 0.03 s: .  
TestGDBM#test\_replace: 0.01 s: .  
TestGDBM#test\_s\_new\_has\_no\_block: 0.01 s: .  
TestGDBM#test\_s\_open\_3rd\_arg: 0.01 s: .  
TestGDBM#test\_s\_open\_create\_new: 0.01 s: .  
TestGDBM#test\_s\_open\_error: 0.01 s: .  
TestGDBM#test\_s\_open\_lock: [Thread 0x40003950 (LWP 4594) exited]  
[New Thread 0x40003950 (LWP 4604)]  
[Thread 0x40003950 (LWP 4604) exited]  
[New Thread 0x40003950 (LWP 4607)]  
2.03 s: .  
TestGDBM#test\_s\_open\_no\_create: 0.01 s: .  
TestGDBM#test\_s\_open\_nolock: [Thread 0x40003950 (LWP 4607) exited]  
[New Thread 0x40003950 (LWP 4610)]  
[Thread 0x40003950 (LWP 4610) exited]  
[New Thread 0x40003950 (LWP 4613)]  
[Thread 0x40003950 (LWP 4613) exited]  
[New Thread 0x40003950 (LWP 4616)]  
4.03 s: .  
TestGDBM#test\_s\_open\_with\_block: 0.01 s: .  
TestGDBM#test\_select\_with\_block: 0.01 s: .  
TestGDBM#test\_shift: 0.01 s: .  
TestGDBM#test\_sync: 0.01 s: .  
TestGDBM#test\_syncmode=: 0.00 s: .  
TestGDBM#test\_to\_a: 0.01 s: .  
TestGDBM#test\_to\_hash: 0.01 s: .  
TestGDBM#test\_update: 0.01 s: .  
TestGDBM#test\_values: 0.01 s: .  
TestGDBM#test\_values\_at: 0.01 s: .  
TestGDBM2#test\_freeze: 0.00 s: .  
TestGDBM2#test\_newdb\_open: 0.00 s: .  
TestGDBM2#test\_newdb\_open\_notexist: 0.00 s: .  
TestGDBM2#test\_reader\_open: 0.00 s: .  
TestGDBM2#test\_reader\_open\_notexist: 0.00 s: .  
TestGDBM2#test\_wrcreat\_open\_notexist: 0.00 s: .  
TestGDBM2#test\_writer\_open\_notexist: 0.00 s: .

Finished in 6.435101 seconds.

166 tests, 1182 assertions, 0 failures, 0 errors, 0 skips

Test run options: --seed 51616 --verbose  
[Thread 0x40003950 (LWP 4616) exited]

Program received signal SIGABRT, Aborted.  
[Switching to Thread 0x2b7390ca02c0 (LWP 4588)]  
0x00002b739097ded5 in raise () from /lib/libc.so.6  
(gdb) bt  
#0 0x00002b739097ded5 in raise () from /lib/libc.so.6  
#1 0x00002b739097f3f3 in abort () from /lib/libc.so.6  
#2 0x00002aaaab2e3895 in ffi\_closure\_free () from /usr/lib/libffi.so.5  
#3 0x00002aaaab0c9d65 in dealloc (ptr=0xd05000)  
at …/…/…/ext/fiddle/closure.c:18  
#4 0x0000000000425902 in run\_final (objspace=0x834810, obj=12689960)  
at …/gc.c:2773  
#5 0x000000000042322f in finalize\_list (objspace=0x834810, p=0xc1a228)  
at …/gc.c:1841  
#6 0x0000000000425dd4 in rb\_objspace\_call\_finalizer (objspace=0x834810)  
at …/gc.c:2912  
#7 0x0000000000425ab2 in rb\_gc\_call\_finalizer\_at\_exit () at  
…/gc.c:2842  
#8 0x000000000041b238 in ruby\_finalize\_1 () at …/eval.c:111  
#9 0x000000000041b46f in ruby\_cleanup (ex=0) at …/eval.c:161  
#10 0x000000000041b75c in ruby\_run\_node (n=0x863648) at …/eval.c:254  
#11 0x0000000000419ecb in main (argc=7, argv=0x7fffffffc118) at  
…/main.c:35  
(gdb)

* * *

[http://redmine.ruby-lang.org/issues/show/3371](http://redmine.ruby-lang.org/issues/show/3371)

---

<div class="post-metadata">

**Author:** ![Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/77aa72/32.png) [@Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/u/Kazuhiro_NISHIYAMA)\
**Post date:** [June 17, 2010, 4:22pm UTC](https://www.ruby-forum.com/t/bug-3371-test-all-aborted-on-amd64-lenny/189404/6 "2010-06-17T16:22:14Z")

</div>

e$B%A%1%C%He(B #3371 e$B$,99?7$5$l$^$7$?!#e(B (by Yui NARUSE)

e$B%9%F!\<%?%9e(B Opene$B$+$ie(BClosede$B$KJQ99e(B  
e$B?JD=e(B % 0e$B$+$ie(B100e$B$KJQ99e(B

This issue was solved with changeset r28300.  
Kazuhiro, thank you for reporting this issue.  
Your contribution to Ruby is greatly appreciated.  
May Ruby be with you.

* * *

[http://redmine.ruby-lang.org/issues/show/3371](http://redmine.ruby-lang.org/issues/show/3371)

---

<div class="post-metadata">

**Author:** ![Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/77aa72/32.png) [@Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/u/Kazuhiro_NISHIYAMA)\
**Post date:** [June 17, 2010, 4:22pm UTC](https://www.ruby-forum.com/t/bug-3371-test-all-aborted-on-amd64-lenny/189404/7 "2010-06-17T16:22:23Z")

</div>

e$B%A%1%C%He(B #3371 e$B$,99?7$5$l$^$7$?!#e(B (by Kazuhiro NISHIYAMA)

## r28300 e$B$NJQ99$Ge(B Abort e$B$O$7$J$/$J$j$^$7$?$,!“e(Bext/fiddle/closure.c:dealloc e$B$@$1$G$O$J$/e(B ext/fiddle/closure.c:allocate e$B$bJQ99$9$kI,MW$,$”$k$N$G$O$J$$$G$7$g$&$+e(B?

[http://redmine.ruby-lang.org/issues/show/3371](http://redmine.ruby-lang.org/issues/show/3371)
