I don't think it's a problem with the setting of the prompt.

Do this:

1) Copy the "dream_append" from dream.c and paste it here.
2) Send us a "print" of "frame 0" in gdb.
...and for the hell of it,
3) Send your "bust_a_prompt" from comm.c

With that, I think we can fix the problem.  I doubt it's a problem with
bust_a_prompt unless you've seriously modified it and left something
untied causing the mud to trip.

Vertigo
Realm of Lanera


@>-----Original Message-----
@>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf 
@>Of [EMAIL PROTECTED]
@>Sent: Saturday, December 14, 2002 9:49 PM
@>To: [email protected]
@>Subject: Crashes when setting prompts
@>
@>
@>Hey people,
@>
@>       I'm having some problems with crashes that happen 
@>every now and then when a character sets up a prompt.  I 
@>can't figure out what's wrong...below is the stuff I got grom 
@>running gdb on the core file.  If anyone has any suggestions, 
@>I'd greatly appreciate it.
@>
@>Selquest of Drug Wars
@>dwmud.ods.org 2528
@>http://fly.to/dwmud
@>
@>
@><-----Begin copy & paste from GDB---->
@>#0  0x42080b1b in strlen () from /lib/i686/libc.so.6
@>#1  0x420535fd in vfprintf () from /lib/i686/libc.so.6
@>#2  0x4206dbf3 in vsprintf () from /lib/i686/libc.so.6
@>#3  0x4205a257 in sprintf () from /lib/i686/libc.so.6
@>#4  0x080b69f8 in dream_append (
@>    str=0xbfffcf20 "Prompt set to %h(%H)%m(%M)%s%X \n\r") at 
@>dream.c:28 #5  0x0806b374 in send_to_char (
@>    txt=0xbfffcf20 "Prompt set to %h(%H)%m(%M)%s%X \n\r", 
@>ch=0x406798f0)
@>    at comm.c:2726
@>#6  0x0804de09 in do_prompt (ch=0x406798f0,
@>    argument=0xbfffcf20 "Prompt set to %h(%H)%m(%M)%s%X \n\r")
@>    at act_info.c:988
@>#7  0x0807e504 in interpret (ch=0x406798f0,
@>    argument=0x405812b4 "%h(%H)%m(%M)%s%X") at interp.c:682
@>#8  0x08066d9f in substitute_alias (d=0x40580e90,
@>    argument=0x405812ad "prompt %h(%H)%m(%M)%s%X") at 
@>alias.c:64 #9  0x080682cb in game_loop_unix (control=4) at 
@>comm.c:825 #10 0x08067daf in main (argc=4, argv=0xbffffa34) 
@>at comm.c:440 #11 0x42017499 in __libc_start_main () from 
@>/lib/i686/libc.so.6 <--------End GDB info-------->
@>
@>-- 
@>ROM mailing list
@>[email protected]
@>http://www.rom.org/cgi-bin/mailman/listinfo/rom
@>


Reply via email to