Gedit re-integrating with stock bpl11

From: StormeRider (silk@ICI.NET)
Date: 12/19/97


Ok, when I went to re-integrate gedit back into stock to make a patch I
came across a lot of problems which is why it isnt done yet. I've solved
them apparently for all re: the interface, but when I gedit anything and
then try a menu option, it either crashes or dcs me, then crashes when I
log back on.

Posting a copy of my gedit.c to http://www.windsofstorm.net/dl/gedit.c

GDB output for the reconnecting problem:
cmoo:~/patchcircle$ gdb bin/circle lib/core
GDB is free software and you are welcome to 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.
GDB 4.16 (i586-unknown-linux), Copyright 1996 Free Software Foundation, Inc...
Core was generated by `bin/circle -q 4005'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libc.so.5.4.33...done.
Reading symbols from /lib/ld-linux.so.1...done.
#0  perform_dupe_check (d=0x82adf30) at interpreter.c:1269
1269        next_ch = ch->next;
(gdb) where
#0  perform_dupe_check (d=0x82adf30) at interpreter.c:1269
#1  0x806f685 in nanny (d=0x82adf30, arg=0xbffff65c "alar1c") at
interpreter.c:1521
#2  0x8049e23 in game_loop (mother_desc=3) at comm.c:598
#3  0x80495f4 in init_game (port=4005) at comm.c:243
#4  0x804957e in main (argc=3, argv=0xbffffbd4) at comm.c:213
#5  0x80492be in ___crt_dummy__ ()
(gdb) info locals
k = (struct descriptor_data *) 0x6acfc0
next_k = (struct descriptor_data *) 0x0
target = (struct char_data *) 0x0
ch = (struct char_data *) 0x6acfc0
next_ch = (struct char_data *) 0x6acfc0
mode = 0
id = 1
(gdb) print *ch
Cannot access memory at address 0x6acfc0.
(gdb) print *d
$1 = {descriptor = 11, host = "d-ri-providence-42.ici.net\000\000\000\000",
bad_pws = 0 '\000',
  idle_tics = 0 '\000', connected = 4, wait = 1, desc_num = 2, login_time =
882590393,
  showstr_head = 0x0, showstr_vector = 0x0, showstr_count = 0, showstr_page
= 0, str = 0x0,
  backstr = 0x0, max_str = 0, mail_to = 0, prompt_mode = 1,
  inbuf = "\000tormrider\r\nalar1c\r\n2\r\n1\r\n1\r\nstormrider\r\n",
'\000' <repeats 470 times>,
  last_input = "stormrider", '\000' <repeats 245 times>,
  small_outbuf = "ÿÿü\001\r\n\000rd: ÿÿû\001\000", ' ' <repeats 20 times>,
"Your MUD Name Here\r\n\r
\n", ' ' <repeats 28 times>, "Based on CircleMUD 3.0,\r\n", ' ' <repeats 28
times>, "Created by Jere
my Elson\r\n\r\n", ' ' <repeats 22 times>, "A derivative of DikuMUD (GAMMA
0.0)\r\n", ' ' <repeats 3
4 times>, "Created by\r\n", ' ' <repeats 21 times>, "Han"..., output =
0x82ae28c "ÿÿü\001\r\n",
  bufptr = 5, bufspace = 1018, large_outbuf = 0x0, input = {head =
0x82ae770, tail = 0x82ae7d0},
  character = 0x82ae7f0, original = 0x0, snooping = 0x0, snoop_by = 0x0,
next = 0x0, olc = 0x0}
(gdb) quit


Thanks.


StormeRider                  --- http://www.windsofstorm.net/wos/
silk@ici.net                 --- telnet://cmoo.com:4004


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/08/00 PST