I'm running on latest Mac OS. I thought the problem was with changes in my src but I think it's how Mac is handling the configure and compile/architecture that is causing this problem. After downloading a fresh copy of tba, the mud crashes when I try to look at 2.guard, 2.dandelion, or any number of anything in a room.
Based on the information in the stack trace, the error occurred in the
function of the C standard library, which is called by the
function in the
file.The program was trying to copy a string to a destination buffer using
, but the buffer was not large enough to hold the entire string, leading to a buffer overflow and a segmentation fault.
Does anyone here have a suggestion? Tia.
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0) * frame #0: 0x00007ff8012e7d5c libsystem_c.dylib`__chk_fail_overlap + 16 frame #1: 0x00007ff8012710b6 libsystem_c.dylib`__chk_overlap + 34 frame #2: 0x00007ff80127968b libsystem_c.dylib`__strcpy_chk + 64 frame #3: 0x0000000100089d7e circle`generic_find [inlined] get_number(name=<unavailable>) at handler.c:602:5 [opt] frame #4: 0x0000000100089d1c circle`generic_find(arg=<unavailable>, bitvector=45, ch=0x0000000104b0f8b0, tar_ch=0x00007ff7bfef28a8, tar_obj=0x00007ff7bfef2888) at handler.c:1355:18 [opt] frame #5: 0x00000001000061e6 circle`look_at_target(ch=0x0000000104b0f8b0, arg=<unavailable>) at act.informative.c:639:10 [opt] frame #6: 0x0000000100005f7b circle`do_look(ch=0x0000000104b0f8b0, argument=" 2.dandelion", cmd=<unavailable>, subcmd=0) at act.informative.c:0:11 [opt] frame #7: 0x0000000100098ff1 circle`command_interpreter(ch=0x0000000104b0f8b0, argument=<unavailable>) at interpreter.c:582:6 [opt]