From xemacs-m  Sat Mar  8 13:54:03 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 NAA02491
	for <xemacs-beta@xemacs.org>; Sat, 8 Mar 1997 13:53:50 -0600 (CST)
Received: (from hniksic@localhost)
          by jagor.srce.hr (8.8.5/8.8.4)
	  id UAA20138; Sat, 8 Mar 1997 20:53:47 +0100 (MET)
Sender: hniksic@public.srce.hr
To: XEmacs Developers <xemacs-beta@xemacs.org>
Subject: [Zlatko Calusic <zcalusic@srce.hr>] Coredump with XEmacs 19.14, 20.0
X-URL: ftp://gnjilux.cc.fer.hr/pub/unix/util/wget/
X-Attribution: Hrv
X-Face: &}4JQk=L;e.~x+|eo]#DGk@x3~ed!.~lZ}YQcYb7f[WL9L'Z*+OyA\nAEL1M(".[qvI#a2E
 6WYI5>>e7'@_)3Ol9p|Nn2wNa/;~06jL*B%tTcn/XvhAu7qeES0\|MF%$;sI#yn1+y"
From: Hrvoje Niksic <hniksic@srce.hr>
Date: 08 Mar 1997 20:53:46 +0100
Message-ID: <kigsp26upmd.fsf@jagor.srce.hr>
Lines: 120
X-Mailer: Gnus v5.4.20/XEmacs 19.14

Has anyone considered shipping compface with XEmacs, or at least
providing the pointer to a bugless version of it?  Or is this already
done?

-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
The end of the world is coming...  SAVE YOUR BUFFERS!
------- Start of forwarded message -------
Date: Sat Mar  8 20:52:57 1997
From: Zlatko Calusic <zcalusic@srce.hr>
Subject: Coredump with XEmacs 19.14, 20.0

Topics:
   Coredump with XEmacs 19.14, 20.0 [frames]
   Re: Coredump with XEmacs 19.14, 20.0 [frames]


----------------------------------------------------------------------

Date: 07 Mar 1997 23:16:59 +0100
From: Zlatko Calusic <zcalusic@srce.hr>
Subject: Coredump with XEmacs 19.14, 20.0 [frames]
Message-ID: <87u3mn1h5c.fsf@pc-zcalusic.srce.hr>

I'm experiencing nasty bug (which is fully reproducible).

Environment: 486DX2/66 16MB Linux 2.0.29, XFree86 3.2, fvwm 1.24r

After launching XEmacs, I usually press News toolbar icon, than
rapidly switch to another virtual desk to get News frame there. Up to
now, everything works fine, I read news happily... :)

Somethime I decide to close frame with news, and reopen it after, let's
say an hour or two. Then I get nice coredump and loose all frames
(a moment after I click on the News toolbar icon for the second time).

In last month I was using v19.14 from Debian GNU/Linux distribution,
v19.14 I compiled myself (gcc -O2), and 20.0 also compiled by me (this
time with -O3 -funroll-loops -ffast-math -fexpensive-optimizations
-fomit-frame-pointer -fdon't-laugh-it's-still-rather-slow :).

I can easily reproduce bug in all versions. BTW, other than that,
XEmacs is really stable, and can work heavily for days without
crashing.

Unfortunately, I had to strip the binary, so I can't help with C
stacktrace and so (low on disk space, ya know...)
But here comes (fortunately) few lines of Lisp backtrace:

  # bind (frame-being-created)
  make-frame(nil)
  #<compiled-function (from "x-toolbar.elc") nil "...(45)" [toolbar-news-frame frame-live-p make-frame toolbar-news-frame-properties add-hook gnus-exit-gnus-hook #<compiled-function (from "x-toolbar.elc") nil "...(18)" ... 2> select-frame raise-frame gnus frame-iconified-p deiconify-frame] 3 1212652 nil>()
  call-interactively(toolbar-news)
  # bind (callback button event)
  release-and-activate-toolbar-button(#<buttonup-event button1up>)
  # bind (command-debug-status)
  call-interactively(release-and-activate-toolbar-button)
  # (condition-case ... . error)
  # (catch top-level ...)

I was wondering, if anybody else is troubled with this bug, and is the
bug really in XEmacs or maybe in Gnus, window manager, X server...? I
feel unable to find the solution.

Thanks for any reply.

-- 
Posted by Zlatko Calusic                     E-mail: <zcalusic@srce.hr>
-----------------------------------------------------------------------
Faculty of Electrical Engineering and Computer Science, Zagreb, Croatia

	     Would a virgin be called a notyeterosexual?

------------------------------

Date: 08 Mar 1997 13:23:32 +0100
From: Zlatko Calusic <zcalusic@srce.hr>
Subject: Re: Coredump with XEmacs 19.14, 20.0 [frames]
Message-ID: <87d8tapo6f.fsf@pc-zcalusic.srce.hr>
References: <87u3mn1h5c.fsf@pc-zcalusic.srce.hr>

Followuping myself :)

Zlatko Calusic <zcalusic@srce.hr> writes:

> After launching XEmacs, I usually press News toolbar icon, than
> rapidly switch to another virtual desk to get News frame there. Up to
> now, everything works fine, I read news happily... :)
> 
> Somethime I decide to close frame with news, and reopen it after, let's
> say an hour or two. Then I get nice coredump and loose all frames
> (a moment after I click on the News toolbar icon for the second time).

Thanks to fast and accurate help from James LewisMoss, bug has been
located. It's in the package noone would suspect: compface.

After I installed compface 89.11.11-9 (GNU/Debian Linux distribution)
there was no more crashes.

Here's excerpt from James's mail:

> It is a bug in compface.  TO make sure do 'ldd /usr/local/bin/xemacs'
> and make sure that library is compiled in.  Either
> 1) change the place in src/Makefile.in.in that looks like '-lcompface'
>    to '-Wl,-Bstatic -lcompface -Wl,-Bdynamic' or

Thanks for help, James!
-- 
Posted by Zlatko Calusic                     E-mail: <zcalusic@srce.hr>
-----------------------------------------------------------------------
Faculty of Electrical Engineering and Computer Science, Zagreb, Croatia

		  Modem sex begins with a handshake.

------------------------------

End of forwarda004Z8 Digest
***************************
------- End of forwarded message -------

