From xemacs-m  Tue Sep 16 16:26:12 1997
Received: from jagor.srce.hr (hniksic@jagor.srce.hr [161.53.2.130])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id QAA16687
	for <xemacs-beta@xemacs.org>; Tue, 16 Sep 1997 16:26:00 -0500 (CDT)
Received: (from hniksic@localhost)
	by jagor.srce.hr (8.8.7/8.8.6) id XAA11263;
	Tue, 16 Sep 1997 23:25:43 +0200 (MET DST)
To: XEmacs Developers <xemacs-beta@xemacs.org>
Subject: Re: gnuclient works? (and a gnuclient induced core dump!)
References: <199709161820.LAA00367@sandman>
X-Attribution: Hrvoje
X-Face: Mie8:rOV<\c/~z{s.X4A{!?vY7{drJ([U]0O=W/<W*SMo/Mv:58:*_y~ki>xDi&N7XG
        KV^$k0m3Oe/)'e%3=$PCR&3ITUXH,cK>]bci&<qQ>Ff%x_>1`T(+M2Gg/fgndU%k*ft
        [(7._6e0n-V%|%'[c|q:;}td$#INd+;?!-V=c8Pqf}3J
From: Hrvoje Niksic <hniksic@srce.hr>
Date: 16 Sep 1997 23:25:42 +0200
In-Reply-To: Dan Rich's message of "Tue, 16 Sep 1997 11:20:43 -0700 (PDT)"
Message-ID: <kig202par3d.fsf@jagor.srce.hr>
Lines: 37
X-Mailer: Quassia Gnus v0.5/XEmacs 20.3(beta20) - "Tirana"

Dan Rich <drich@cisco.com> writes:

> I was running into a similar problem yesterday though, I couldn't get 
> gnuclient to connect.  I was using 'gnuclient -nw' from a telnet window
> on my boat anchor^h^h^h^h^h^h^h^h^h^h^h PC, and it just sat there without
> ever updating my screen.  When I tried it now (from an xterm on the same
> system as my XEmacs process), it dumped core!
> 
> Here's the lisp backtrace:
> Lisp backtrace follows:

The C backtrace doesn't seem connected to gnuclient:

> #4  0x8cafc in assert_failed (file=0x2563c0 "insdel.c", line=369, 
>     expr=0x2563e8 "ptr == end") at emacs.c:2209
> #5  0x131dec in bytecount_to_charcount (ptr=0x15fc508 "[2~", len=3)
>     at insdel.c:369
> #6  0x4b1e4 in make_string (contents=0x15fc503 "\eO\200", length=3)
>     at alloc.c:2124
> #7  0x4b2e8 in build_string (str=0x15fc503 "\eO\200") at alloc.c:2149

Why would this `build_string' cause a crash?  Memory corruption?  Mule 
bug?

> #8  0xd8d3c in term_get_fkeys_1 (function_key_map=286977472)
>     at redisplay-tty.c:1427
> #9  0x8f218 in condition_case_1 (handlers=3509248, 
>     bfun=0xd8d04 <term_get_fkeys_1>, barg=286977472, 
>     hfun=0xd8cfc <term_get_fkeys_error>, harg=1345933316) at eval.c:1682
> #10 0xd8cf4 in term_get_fkeys (keymap=286977472, address=0xefffbd34)
>     at redisplay-tty.c:1405
...

-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
"Psychos _do not_ explode when sunlight hits them."

