
www.Usenet.com
| <-- __Chronological__ --> | <-- __Thread__ --> |
I'm running MudOS v22.2b13, and for some strange reason, I get odd crashes (segmentation faults). For instance, the newest one is on a line like the following: if ( catch( obj = load_object( some_string ) ) ). The object has a simple compile error in it -- returning a string where it should be returning an int. Here's the gdb messages I get when running in debug. Program received signal SIGSEGV, Segmentation fault. 0x080a210c in whashstr (s=0x0, maxn=20) at hash.c:70 70 if (!*s) (gdb) where #0 0x080a210c in whashstr (s=0x0, maxn=20) at hash.c:70 #1 0x080a1bc8 in free_string (str=0x0) at stralloc.c:232 #2 0x080aed0b in clean_parser () at compiler.c:2482 #3 0x080ae063 in epilog () at compiler.c:2150 #4 0x080adac6 in compile_file (f=12, name=0xbfffca3c "gods/shihan/abc.c") at compiler.c:1977 #5 0x08076964 in int_load_object (lname=0xbfffcb98 "gods/shihan/abc", lpc_obj=0x0) at simulate.c:455 #6 0x08078731 in find_object (str=0xaabb51c "/gods/shihan/abc.c") at simulate.c:1423 #7 0x08098cf4 in f_find_object () at efuns_main.c:879 #8 0x08071eb8 in eval_instruction (p=0x83798b7 "\002\002AA\005\026c\001)&\006") at interpret.c:3721 #9 0x080720b7 in do_catch (pc=0x83798b7 "\002\002AA\005\026c\001)&\006", new_pc_offset=384) at interpret.c:3773 #10 0x080717be in eval_instruction (p=0x8379744 "-\v") at interpret.c:3617 #11 0x0806c4ee in call_program (prog=0x83796e0, offset=4) at interpret.c:1693 #12 0x08072a61 in apply_low (fun=0x82e9b10 "main", ob=0x8379a60, num_arg=1) at interpret.c:4144 #13 0x08097681 in f__call_other () at efuns_main.c:242 #14 0x08071eb8 in eval_instruction (p=0x83d6dfe "\003\002ª\025\020") at interpret.c:3721 #15 0x0806c4ee in call_program (prog=0x83d6878, offset=1318) at interpret.c:1693 #16 0x08072806 in apply_low (fun=0x80dd690 "process_input", ob=0xa99fd70, num_arg=1) at interpret.c:4058 #17 0x08072b67 in apply (fun=0x80dd690 "process_input", ob=0xa99fd70, num_arg=1, where=1) at interpret.c:4206 #18 0x0808c779 in process_input (ip=0x8e2ded0, user_command=0x8e2df04 "update abc") at comm.c:1716 #19 0x0808c930 in process_user_command () at comm.c:1801 #20 0x0807fc2a in backend () at backend.c:176 #21 0x08068110 in main (argc=2, argv=0xbffffb94) at main.c:431 I run on Linux (Debian distrobution) 2.4.21 kernel GCC = 2.95.4 LIBC5 - 5.4.46 Anyhow, this is bugging the crap out of me... I can't figure it out and can't open for alpha testing until I have this resolved. Any help anyone can offer would be greatly appreciated. I also have a core dump if needed. Thanks - Shihan
| <-- __Chronological__ --> | <-- __Thread__ --> |