[#28561] Ruby::DL vs Ruby::FFI — Aston <blackapache512-ticket@...>

Ruby.DL and FFI libraries are great for programmers like me who are not internet programmers, but are more interested in scientific and number processing etc.

11 messages 2010/03/08

[#28686] trunk (26947) build fail with msys/mingw/vista — Jon <jon.forums@...>

I get the following build failure when msysgit's "c:\git\cmd" dir is on PATH.

8 messages 2010/03/16

[#28687] [Bug #2973] rb_bug - Segmentation fault - error.c:213 — rudolf gavlas <redmine@...>

Bug #2973: rb_bug - Segmentation fault - error.c:213

10 messages 2010/03/16

[#28735] [Bug #2982] Ruby tries to link with both openssl and readline — Lucas Nussbaum <redmine@...>

Bug #2982: Ruby tries to link with both openssl and readline

16 messages 2010/03/18

[#28736] [Bug #2983] Ruby (GPLv2 only) tries to link to with readline (now GPLv3) — Lucas Nussbaum <redmine@...>

Bug #2983: Ruby (GPLv2 only) tries to link to with readline (now GPLv3)

10 messages 2010/03/18

[#28907] [Bug #3000] Open SSL Segfaults — Christian Höltje <redmine@...>

Bug #3000: Open SSL Segfaults

19 messages 2010/03/23

[#28924] [Bug #3005] Ruby core dump - [BUG] rb_sys_fail() - errno == 0 — Sebastian YEPES <redmine@...>

Bug #3005: Ruby core dump - [BUG] rb_sys_fail() - errno == 0

10 messages 2010/03/24

[#28954] [Feature #3010] slow require gems in ruby 1.9.1 — Miao Jiang <redmine@...>

Feature #3010: slow require gems in ruby 1.9.1

15 messages 2010/03/24

[#29179] [Bug #3071] Convert rubygems and rdoc to use psych — Aaron Patterson <redmine@...>

Bug #3071: Convert rubygems and rdoc to use psych

10 messages 2010/03/31

[ruby-core:28704] [Bug #2973] rb_bug - Segmentation fault - error.c:213

From: rudolf gavlas <redmine@...>
Date: 2010-03-16 23:55:48 UTC
List: ruby-core #28704
Issue #2973 has been updated by rudolf gavlas.


Taca: thanks, i've confirmed the problem is still present in ruby_1_8 (r26956), there should be the patches from #2739 already included

Yui: i've installed the 'ruby-mysql' gem instead of the 'mysql' gem now (and also made an upgrade of mysql from 5.0.90 to 5.1.44, but this probably is not significant). i can still bring the app to crash and it seems to me, now it is pure ruby (without mysql code involved):

Program received signal SIGSEGV, Segmentation fault.
0xb98b8c27 in pthread_exit (retval=0x1) at /usr/src/lib/libpthread/pthread.c:526
526                     }
(gdb) bt
#0  0xb98b8c27 in pthread_exit (retval=0x1) at /usr/src/lib/libpthread/pthread.c:526
#1  0xb98b8d89 in pthread__cancelled () at /usr/src/lib/libpthread/pthread.c:896
#2  0xb98b4b39 in fcntl (fd=11, cmd=3) at /usr/src/lib/libpthread/pthread_cancelstub.c:185
#3  0xbbb5078f in io_fwrite (str=3085207420, fptr=0xb9643da0) at io.c:454
#4  0xbbb57c7f in io_write (io=3085802960, str=3085207420) at io.c:602
#5  0xbbb2a82e in call_cfunc (func=0xbbb57b70 <io_write>, recv=3085802960, len=893832, argc=-1145210616, argv=0xbfbfb4c0) at eval.c:5861
#6  0xbbb35109 in rb_call0 (klass=3145897400, recv=3085802960, id=7385, oid=7385, argc=-1145210616, argv=0xbfbfb4c0, body=0xbb828f00, flags=<value optimized out>) at eval.c:6005
#7  0xbbb35f4f in rb_call (klass=3145897400, recv=3085802960, mid=7385, argc=1, argv=0xbfbfb4c0, scope=0, self=3085801380) at eval.c:6257
#8  0xbbb32165 in rb_eval (self=3085801380, n=<value optimized out>) at eval.c:3568
#9  0xbbb333f6 in rb_eval (self=3085801380, n=<value optimized out>) at eval.c:3382
#10 0xbbb35aee in rb_call0 (klass=3138364640, recv=3085801380, id=7385, oid=7385, argc=0, argv=0xbfbfba70, body=0xbb0faf1c, flags=<value optimized out>) at eval.c:6160
#11 0xbbb35f4f in rb_call (klass=3138364640, recv=3085801380, mid=7385, argc=1, argv=0xbfbfba70, scope=0, self=3103098700) at eval.c:6257
#12 0xbbb32165 in rb_eval (self=3103098700, n=<value optimized out>) at eval.c:3568
#13 0xbbb3eaa4 in rb_yield_0 (val=3085207420, self=3103098700, klass=<value optimized out>, flags=<value optimized out>, avalue=0) at eval.c:5167
#14 0xbbb4014d in rb_yield (val=3085207420) at eval.c:5251
#15 0xbbb9fea5 in rb_str_each_line (argc=0, argv=0x0, str=3083915440) at string.c:3900
#16 0xbbb2a852 in call_cfunc (func=0xbbb9fd30 <rb_str_each_line>, recv=3083915440, len=893832, argc=-1145210616, argv=0x0) at eval.c:5855
#17 0xbbb35109 in rb_call0 (klass=3145929720, recv=3083915440, id=4961, oid=4961, argc=-1077951308, argv=0x0, body=0xbb830660, flags=<value optimized out>) at eval.c:6005
#18 0xbbb35f4f in rb_call (klass=3145929720, recv=3083915440, mid=4961, argc=0, argv=0x0, scope=0, self=3086564500) at eval.c:6257
#19 0xbbb32165 in rb_eval (self=3086564500, n=<value optimized out>) at eval.c:3568
#20 0xbbb3924a in rb_block_pass (func=0xbbb341c0 <call_block>, arg=3217015892, proc=3085212040) at eval.c:9288
#21 0xbbb322fe in rb_eval (self=3086564500, n=<value optimized out>) at eval.c:9362
#22 0xbbb35aee in rb_call0 (klass=3105092260, recv=3086564500, id=4001, oid=4001, argc=0, argv=0x0, body=0xb915052c, flags=<value optimized out>) at eval.c:6160
#23 0xbbb35f4f in rb_call (klass=3105092260, recv=3086564500, mid=4001, argc=0, argv=0x0, scope=0, self=3103098700) at eval.c:6257
#24 0xbbb32165 in rb_eval (self=3103098700, n=<value optimized out>) at eval.c:3568
#25 0xbbb33d67 in rb_eval (self=3103098700, n=<value optimized out>) at eval.c:3296
#26 0xbbb3396b in rb_eval (self=3103098700, n=<value optimized out>) at eval.c:3432
#27 0xbbb35aee in rb_call0 (klass=3138089540, recv=3103098700, id=26609, oid=26609, argc=0, argv=0xbfbfceb0, body=0xbb001ed0, flags=<value optimized out>) at eval.c:6160
#28 0xbbb35f4f in rb_call (klass=3138089540, recv=3103098700, mid=26609, argc=2, argv=0xbfbfceb0, scope=0, self=3103098900) at eval.c:6257
#29 0xbbb32165 in rb_eval (self=3103098900, n=<value optimized out>) at eval.c:3568
#30 0xbbb3eaa4 in rb_yield_0 (val=3103098700, self=3103098900, klass=<value optimized out>, flags=<value optimized out>, avalue=0) at eval.c:5167

----------------------------------------
http://redmine.ruby-lang.org/issues/show/2973

----------------------------------------
http://redmine.ruby-lang.org

In This Thread