From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Gary Mills Newsgroups: gmane.emacs.bugs Subject: Re: emacs-22.1 with GTK dumps core when Gnome wigets clicked Date: Sun, 10 Jun 2007 09:10:04 -0500 Message-ID: <20070610141003.GA12085@cc.umanitoba.ca> References: <200706091549.l59FnfHJ005433@deneb.cc.umanitoba.ca> <20070610125120.GA27355@cc.umanitoba.ca> <20070610.224832.46203780.mituharu@math.s.chiba-u.ac.jp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1181484615 6908 80.91.229.12 (10 Jun 2007 14:10:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 10 Jun 2007 14:10:15 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: YAMAMOTO Mitsuharu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 10 16:10:12 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HxO7Q-0007AD-6t for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Jun 2007 16:10:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HxO7P-0003dD-Hi for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Jun 2007 10:10:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HxO7M-0003cx-QO for bug-gnu-emacs@gnu.org; Sun, 10 Jun 2007 10:10:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HxO7K-0003cl-8l for bug-gnu-emacs@gnu.org; Sun, 10 Jun 2007 10:10:08 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HxO7K-0003ci-5V for bug-gnu-emacs@gnu.org; Sun, 10 Jun 2007 10:10:06 -0400 Original-Received: from electra.cc.umanitoba.ca ([130.179.16.23]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HxO7J-0002xd-Ig for bug-gnu-emacs@gnu.org; Sun, 10 Jun 2007 10:10:05 -0400 Original-Received: from deneb.cc.umanitoba.ca (mills@deneb.cc.umanitoba.ca [130.179.16.69]) by electra.cc.umanitoba.ca (8.13.0/8.13.0) with ESMTP id l5AEA4db029782; Sun, 10 Jun 2007 09:10:05 -0500 (CDT) Original-Received: (from mills@localhost) by deneb.cc.umanitoba.ca (8.13.8+Sun/8.12.2) id l5AEA4XJ015391; Sun, 10 Jun 2007 09:10:04 -0500 (CDT) Content-Disposition: inline In-Reply-To: <20070610.224832.46203780.mituharu@math.s.chiba-u.ac.jp> User-Agent: Mutt/1.5.10i X-detected-kernel: Solaris 9 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:15825 Archived-At: On Sun, Jun 10, 2007 at 10:48:32PM +0900, YAMAMOTO Mitsuharu wrote: > >>>>> On Sun, 10 Jun 2007 07:51:20 -0500, Gary Mills said: > > >> Does this always happen on the first click of these buttons? > > > Yes, the first click. It's very easy to replicate. I'm running it > > on the Solaris Gnome desktop with these libraries: > > $ pkg-config --modversion gtk+-2.0 glib-2.0 > > 2.4.9 > > 2.4.1 > > By any chance do you know which thread library they (or Gnome VFS > backend that they load?) use? Does anyone know how to check that? > (Sorry, I'm not a GTK+ expert.) Nor am I, but this might be a clue. I have emacs-22.1 installed as `gemacs' for now. $ ldd $(whence gemacs) | grep thread libpthread.so.1 => /lib/libpthread.so.1 $ ldd $(whence gnome-terminal) | grep thread libpthread.so.1 => /lib/libpthread.so.1 libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 libthread.so.1 => /lib/libthread.so.1 > >> And could you show the result of `grep PTHREAD src/config.h' at the > >> build directory? > > > $ grep PTHREAD src/config.h > > #define HAVE_GTK_AND_PTHREAD 1 > > /* #undef HAVE_LIBPTHREADS */ > > #define HAVE_PTHREAD_H 1 > > Thanks. There's nothing wrong with this result if pthread is used. > > If another thread library is used, the use of SYSTEM_MALLOC as in your > previous report will be the right thing to do. Of course, we should > detect that within `configure' if possible. -- -Gary Mills- -Unix Support- -U of M Academic Computing and Networking-