DCERouter segfaults while loading Ruby_Generic_Serial_Device.so
DCERouter segfaults at startup:
Core was generated by `/usr/pluto/bin/DCERouter -h localhost -P 3306 -u root -D pluto_main -l /var/log'.
Program terminated with signal 11, Segmentation fault.
Thread 1 (process 30194):
#0 0xb154493e in st_lookup () from /usr/lib/libruby1.8.so.1.8
#1 0xb1517f32 in rb_intern () from /usr/lib/libruby1.8.so.1.8
#2 0xb15b8793 in ?? ()
#3 0xb15b896d in ?? ()
#4 0xb15f83ad in ?? ()
#5 0xb15b3230 in ?? ()
#6 0xb7f67ae4 in ?? () from /lib/ld-linux.so.2
#7 0xb7f67c14 in ?? () from /lib/ld-linux.so.2
#8 0xb7f6bb3b in ?? () from /lib/ld-linux.so.2
#9 0xb7f67716 in ?? () from /lib/ld-linux.so.2
#10 0xb7f6b2ee in ?? () from /lib/ld-linux.so.2
#11 0xb7056bec in ?? () from /lib/tls/i686/cmov/libdl.so.2
#12 0xb7f67716 in ?? () from /lib/ld-linux.so.2
#13 0xb705701c in ?? () from /lib/tls/i686/cmov/libdl.so.2
#14 0xb7056b21 in dlopen () from /lib/tls/i686/cmov/libdl.so.2
#15 0x08094987 in DCE::Router::DynamicallyLoadPlugin (this=0x897a8d0, sFile=
{static npos = 4294967295, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0xbfb76050 "\024J"}}) at DCERouter.cpp:648
#16 0x08095ef7 in DCE::Router::RegisterAllPlugins (this=0x897a8d0) at DCERouter.cpp:475
#17 0x08096c84 in DCE::Router::Run (this=0x897a8d0) at DCERouter.cpp:1659
#18 0x0807c33d in main (argc=11, argv=0xbfb762e4) at Main.cpp:207
This comes from DCERouter.cpp:650:
650 so_handle = LoadLibrary(sFile.c_str());
Have yet to look up where LoadLibrary() comes from.
Workaround: remove Ruby_Generic_Serial_Device.so