yarv-dev:1078
From: SASADA Koichi <ko1 atdot.net>
Date: Thu, 17 Aug 2006 11:23:19 +0900
Subject: [yarv-dev:1078] Re: open> malloc in thread_pthread.h
ささだです. うーん,こういうときってどうすればいいんだろう.ruby 処理系の外側なん ですよね.例外を上げることも出来ない. fprintf(stderr, "fatal error: malloc error outside ruby system\n"); exit(1); で,いいんだろうか? sheepman wrote: > こんにちは、sheepman です。 > http://enbug.tdiary.net/20060714.html#p01 > http://enbug.tdiary.net/20060719.html#p01 > を読んでいて、yarv のソースを grep してみたら、 > thread_pthread.h の > > * register_cached_thread_and_wait > * yarv_add_signal_thread_list > > で、malloc の返り値をチェックしていないようです。 > > -- // SASADA Koichi at atdot dot net -- ML: yarv-dev quickml.atdot.net Info: http://www.atdot.net/~ko1/quickml
1066 2006-07-23 12:38 [sheepman sheepman.sa] open> malloc in thread_pthread.h -> 1078 2006-08-17 11:23 ┗[ko1 atdot.net ] 1081 2006-08-17 17:16 ┗[matz ruby-lang.org ] 1083 2006-08-17 22:13 ┗[ko1 atdot.net ]