From: Patrik Sundberg Date: 2002-02-07T07:11:14+09:00 Subject: drb+gtk hi, has anyone tried to use gtk and drb together? i am and i have absolutely no luck at all. i set up a gui, then do DRb.start_service and things blows up. doesn't matter if i do Gtk.main either, my application sigsegv's anyway.. this is what gdb tells me: Program received signal SIGSEGV, Segmentation fault. 0x281a03b6 in xdr_u_int () from /usr/lib/libc.so.4 (gdb) bt #0 0x281a03b6 in xdr_u_int () from /usr/lib/libc.so.4 #1 0x281a0b1a in xdr_bytes () from /usr/lib/libc.so.4 #2 0x281a0bec in xdr_netobj () from /usr/lib/libc.so.4 #3 0x281b6416 in .cerror () from /usr/lib/libc.so.4 #4 0x2818c0e2 in getaddrinfo () from /usr/lib/libc.so.4 #5 0x2818bb99 in getaddrinfo () from /usr/lib/libc.so.4 #6 0x28885e77 in open_inet () from /usr/local/lib/ruby/1.6/i386-freebsd4/socket.so #7 0x288863e2 in tcp_svr_s_open () from /usr/local/lib/ruby/1.6/i386-freebsd4/socket.so #8 0x28087463 in call_cfunc () from /usr/local/lib/libruby.so.16 #9 0x280879d5 in rb_call0 () from /usr/local/lib/libruby.so.16 #10 0x28088222 in rb_call () from /usr/local/lib/libruby.so.16 #11 0x28082af4 in rb_eval () from /usr/local/lib/libruby.so.16 #12 0x280835a2 in rb_eval () from /usr/local/lib/libruby.so.16 #13 0x28080fda in rb_eval () from /usr/local/lib/libruby.so.16 #14 0x28080fda in rb_eval () from /usr/local/lib/libruby.so.16 #15 0x28087dee in rb_call0 () from /usr/local/lib/libruby.so.16 #16 0x28088222 in rb_call () from /usr/local/lib/libruby.so.16 #17 0x28088515 in rb_funcall2 () from /usr/local/lib/libruby.so.16 #18 0x2808a9c8 in rb_obj_call_init () from /usr/local/lib/libruby.so.16 #19 0x2808aa36 in rb_class_new_instance () from /usr/local/lib/libruby.so.16 #20 0x28087463 in call_cfunc () from /usr/local/lib/libruby.so.16 #21 0x280879d5 in rb_call0 () from /usr/local/lib/libruby.so.16 #22 0x28088222 in rb_call () from /usr/local/lib/libruby.so.16 #23 0x28082af4 in rb_eval () from /usr/local/lib/libruby.so.16 #24 0x280835a2 in rb_eval () from /usr/local/lib/libruby.so.16 #25 0x28087dee in rb_call0 () from /usr/local/lib/libruby.so.16 #26 0x28088222 in rb_call () from /usr/local/lib/libruby.so.16 #27 0x28082af4 in rb_eval () from /usr/local/lib/libruby.so.16 #28 0x28080fda in rb_eval () from /usr/local/lib/libruby.so.16 #29 0x2807eabc in eval_node () from /usr/local/lib/libruby.so.16 #30 0x2807eeea in ruby_run () from /usr/local/lib/libruby.so.16 #31 0x80485c7 in main () #32 0x8048509 in _start () my guess is that this is some problem relating to threads, but i don't get much from the sparse information i have. anyone have a clue? -- ---------------------------------------------------------------------------. Patrik Sundberg Address: Rydsv�gen 100C, 584 31 Link�ping, Sweden | Email: ps@raditex.se || ps@radiac.mine.nu | Phone: +46 13 178567 || +46 707 602240 | .---> Applied Physics and Electrical Engineering student | |-----> Master of Science in Business Administration and Economics student | |-------> UNIX/Programming consultant | `--------------------------------------------------------------------------'