From owner-freebsd-questions Sun Mar 7 16:11: 4 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cygnus.rush.net (cygnus.rush.net [209.45.245.133]) by hub.freebsd.org (Postfix) with ESMTP id 4905A14E16 for ; Sun, 7 Mar 1999 16:10:44 -0800 (PST) (envelope-from bright@cygnus.rush.net) Received: from localhost (bright@localhost) by cygnus.rush.net (8.9.3/8.9.3) with SMTP id TAA22101 for ; Sun, 7 Mar 1999 19:12:33 -0500 (EST) Date: Sun, 7 Mar 1999 19:12:32 -0500 (EST) From: Alfred Perlstein To: questions@freebsd.org Subject: small followup on that X+emacs problem. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I guess this is a bit involved, but is there a debugging tool for tracing/ explaining X interaction between client and server? A ktrace on emacs shows: 8066 emacs RET read 32/0x20 8066 emacs CALL write(0x4,0x8316000,0x4) 8066 emacs GIO fd 4 wrote 4 bytes "+\0\^A\0" 8066 emacs RET write 4 8066 emacs CALL read(0x4,0xefbfd4cc,0x20) 8066 emacs GIO fd 4 read 32 bytes "\^A\^A\M-*\f\0\0\0\0\^S\0\M^@\^E\0\0\0\0\0\0\0\0\^A\0\0\0\^W\0\0\0X^$\ \0" 8066 emacs RET read 32/0x20 8066 emacs CALL write(0x4,0x8316000,0x4) 8066 emacs GIO fd 4 wrote 4 bytes "+\0\^A\0" 8066 emacs RET write 4 8066 emacs CALL read(0x4,0xefbfd4cc,0x20) 8066 emacs GIO fd 4 read 32 bytes "\^A\^A\M-+\f\0\0\0\0\^S\0\M^@\^E\0\0\0\0\0\0\0\0\^A\0\0\0\^W\0\0\0X^$\ \0" 8066 emacs RET read 32/0x20 8066 emacs CALL write(0x4,0x8316000,0x4) 8066 emacs GIO fd 4 wrote 4 bytes "+\0\^A\0" 8066 emacs PSIG SIGINT SIG_DFL i ^C'd it. and killing it with ^\ and looking at the backtrace shows: (gdb) bt #0 0x182d1c90 in kill () #1 0x808dca6 in XMapRaised () #2 #3 0x182d1870 in select () #4 0x18210884 in _XRead () #5 0x182110fa in _XReply () #6 0x1820dcdb in XSync () #7 0x8088856 in XMapRaised () #8 0x80812c2 in XMapRaised () #9 0x805224a in XMapRaised () #10 0x80dedc6 in abort () #11 0x81022e6 in matherr () #12 0x80df301 in abort () #13 0x80def26 in abort () #14 0x81022e6 in matherr () #15 0x80df301 in abort () #16 0x80def26 in abort () #17 0x81022e6 in matherr () #18 0x80df301 in abort () #19 0x80def26 in abort () #20 0x81022e6 in matherr () #21 0x80df301 in abort () #22 0x80def26 in abort () #23 0x81022e6 in matherr () #24 0x80df301 in abort () #25 0x80df0b6 in abort () #26 0x80de399 in abort () #27 0x808fa76 in abort () #28 0x80dd3a4 in abort () #29 0x808fa9d in abort () #30 0x80dd04a in abort () #31 0x808fa02 in abort () #32 0x808f69c in abort () #33 0x808f781 in abort () #34 0x808ea23 in abort () #35 0x804d519 in XMapRaised () (gdb) no one else has this problem or a workaround (yes i know about text mode)? setup: kde1.1, emacs20(ports), 4.0-current please 'cc' i'm not on the list. thanks, Alfred Perlstein - Programmer, HotJobs Inc. - www.hotjobs.com -- There are operating systems, and then there's FreeBSD. -- http://www.freebsd.org/ 4.0-current To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message