[前][次][番号順一覧][スレッド一覧][生データ]

yarv-dev:1019

From: "Hiroyuki Iwatsuki" <don na.rim.or.jp>
Date: Mon, 5 Jun 2006 19:33:49 +0900
Subject: [yarv-dev:1019] Re: open>YARV invoking with not existence file dumps core

岩月と申します。

06/06/05 に SASADA Koichi<ko1 atdot.net> さんは書きました:

> うーん、手元だと再現しない(32bit/64bit Linux)のですが、FreeBSD で発
> 生する問題なんでしょうか。

詳細はわかりませんが、以前より FreeBSD 上の Ruby と pthread (libc_r) の
組み合わせでトラブルが起こることがありましたので、FreeBSD 固有の問題
かもしれません。

# configure の --with-libc_r はそれを回避するためのオプションだったような。

ちなみに前回は pthread を使いましたが、かわりに libc_r を使ったところ、
結果は同じでしたが gdb の反応が変わりました。

% gdb --args ./ruby -v a
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...
(gdb) run
Starting program: /mnt/.private/ruby/src/ruby-yarv/_build_/ruby -v a
warning: Unable to get location for thread creation breakpoint: generic error
[New LWP 100180]
ruby 2.0.0 (Base: Ruby 1.9.0 2006-04-08) [i386-freebsd6.1]
YARVCore 0.4.0 Rev: 503 (2006-05-25) [opts: ]
Cannot find thread, Thread ID=1, generic error
(gdb) bt
#0  frame_func_id (cfp=0x82ea000) at ../eval.c:1825
#1  0x080a3075 in error_pos () at eval_error.h:45
#2  0x080a32fd in error_print () at eval_error.h:108
#3  0x080a35ce in error_handle (ex=6) at eval_error.h:250
#4  0x080a3656 in ruby_options (argc=3, argv=0xbfbfe70c) at ../eval.c:149
#5  0x08060c7b in main (argc=3, argv=0xbfbfe70c, envp=0xbfbfe71c) at
../main.c:45
(gdb)

-- 
IWATSUKI Hiroyuki <URL:mailto:don na.rim.or.jp>

-- 
ML: yarv-dev quickml.atdot.net
使い方: http://www.atdot.net/~ko1/quickml

[前][次][番号順一覧][スレッド一覧][生データ]

      1016 2006-05-26 11:00 [don na.rim.or.jp    ] open>YARV invoking with not existence file dumps core
      1017 2006-06-05 17:13 ┗[ko1 atdot.net       ]                                       
->    1019 2006-06-05 19:33  ┗[don na.rim.or.jp    ]                                     
      1020 2006-06-07 23:57   ┗[ko1 atdot.net       ]