From: Yukihiro Matsumoto Date: 2010-04-25T00:28:09+09:00 Subject: Re: Segmentation fault at raise exception. Hi, Could you show us the code? The interpreter may not be initialized properly. matz. In message "Re: Segmentation fault at raise exception." on Sat, 24 Apr 2010 23:38:34 +0900, O01eg Oleg writes: |I get segfault at any Ruby exception with C API: | |(gdb) bt |#0 0x00007ffff58ebd78 in siglongjmp () from /lib/libc.so.6 |#1 0x00007ffff719d3e7 in rb_longjmp (tag=6, mesg=6652280) at eval.c:442 |#2 0x00007ffff719d422 in rb_exc_raise (mesg=6652280) at eval.c:453 |#3 0x00007ffff719a380 in rb_raise (exc=6723760, | fmt=0x7ffff72dc28c "no such file to load -- %s") at error.c:1172 | |It's caused because GET_THREAD()->tag equal to 0x0.