From: Marc Weber Date: 2010-12-07T01:47:44+09:00 Subject: embedding ruby - segfault after initialization when running rb_gc_start?? Hi, I'm trying to embed Ruby into the Ur web programming language. Everything seems to work fine when using rb_gc_disable(). When not disabling gc it segfaults when requiring 'net/http'. Then I tried running gc manually and found out that the crash even happens after initialization. However it only happens when urweb compiles everything. Compiling a embed ruby into C test case everything is fine. What could be causing this? valgrind log, initialization code: http://mawercer.de/~marc/crash.txt Any ideas? Could symbol collisions cause this? The libruby.so file is used. Ruby version is 1.9.2-p0 The strange thing is that the segfault only happens when being called within urweb. Marc Weber