From: "Luke A. Kanies" Date: 2003-12-17T01:58:36+09:00 Subject: Re: extremely strange segfault On Tue, 16 Dec 2003, ts wrote: > try to give a backtrace when it segfault. (Here I delve into unknown territory...) wzd4845@naadmd02(134) $ gdb /usr/local/bin/ruby GNU gdb 6.0 Copyright 2003 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "powerpc-ibm-aix5.1.0.0"... (gdb) run -S /home/wzd4845/bin/naghosts Starting program: /usr/local/bin/ruby -S /home/wzd4845/bin/naghosts Program received signal SIGSEGV, Segmentation fault. 0x1003a09c in rb_gc_mark () (gdb) bt #0 0x1003a09c in rb_gc_mark () #1 0x1003a580 in rb_gc_mark_children () #2 0x1003a168 in rb_gc_mark () #3 0x1003a778 in rb_gc_mark_children () #4 0x1003a168 in rb_gc_mark () #5 0x10039d20 in mark_locations_array () #6 0x10039db0 in rb_gc_mark_locations () #7 0x1003baa0 in rb_gc () #8 0x1003960c in rb_newobj () #9 0x100147d4 in new_blktag () #10 0x1001b098 in rb_eval () #11 0x10023ae0 in rb_call0 () #12 0x10024100 in rb_call () #13 0x100244ec in rb_funcall2 () #14 0x1002838c in rb_obj_call_init () #15 0x10048f00 in rb_class_new_instance () #16 0x10036a48 in call_cfunc () #17 0x1002347c in rb_call0 () #18 0x10024100 in rb_call () #19 0x1001c530 in rb_eval () #20 0x10023ae0 in rb_call0 () #21 0x10024100 in rb_call () #22 0x1001c530 in rb_eval () #23 0x1001d4c8 in rb_eval () #24 0x10020834 in rb_yield_0 () #25 0x10020ca0 in rb_yield () #26 0x10022580 in rb_ensure () #27 0xd1ae7f90 in rb_ldap_conn_search_b () from /usr/local/lib/ruby/site_ruby/1.8/powerpc-aix5.1.0.0/ldap.so #28 0x10022580 in rb_ensure () ---Type to continue, or q to quit--- #29 0xd1ae80e8 in rb_ldap_conn_search_s () from /usr/local/lib/ruby/site_ruby/1.8/powerpc-aix5.1.0.0/ldap.so #30 0x10036a48 in call_cfunc () #31 0x1002347c in rb_call0 () #32 0x10024100 in rb_call () #33 0x1001c530 in rb_eval () #34 0x1001b1d8 in rb_eval () #35 0x1001b808 in rb_eval () #36 0x10015c34 in eval_node () #37 0x10016708 in ruby_exec () #38 0x10016850 in ruby_run () #39 0x10000570 in main () Hopefully that tells you something... Do you need anything else? Luke -- "The leader of Jamestown was "John Smith" (not his real name), under whose direction the colony engaged in a number of activities, primarily related to starving. -- Dave Barry, "Dave Barry Slept Here"