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: emacs-22.1 with GTK dumps core when Gnome wigets clicked Date: Sat, 9 Jun 2007 10:49:41 -0500 (CDT) Message-ID: <200706091549.l59FnfHJ005433@deneb.cc.umanitoba.ca> NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1181416037 13093 80.91.229.12 (9 Jun 2007 19:07:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 9 Jun 2007 19:07:17 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 09 21:07:16 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 1Hx6HL-0002w1-M9 for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Jun 2007 21:07:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hx6HJ-00084P-Cj for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Jun 2007 15:07:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hx3CF-0004wI-Ku for bug-gnu-emacs@gnu.org; Sat, 09 Jun 2007 11:49:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hx3CC-0004mg-Su for bug-gnu-emacs@gnu.org; Sat, 09 Jun 2007 11:49:47 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hx3CC-0004lt-Ec for bug-gnu-emacs@gnu.org; Sat, 09 Jun 2007 11:49:44 -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 1Hx3CC-0003iY-Cb for bug-gnu-emacs@gnu.org; Sat, 09 Jun 2007 11:49:44 -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 l59FnfPu003631 for ; Sat, 9 Jun 2007 10:49:42 -0500 (CDT) Original-Received: (from mills@localhost) by deneb.cc.umanitoba.ca (8.13.8+Sun/8.12.2) id l59FnfHJ005433; Sat, 9 Jun 2007 10:49:41 -0500 (CDT) X-detected-kernel: Solaris 9 X-Mailman-Approved-At: Sat, 09 Jun 2007 15:06:57 -0400 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:15806 Archived-At: Clicking on any of the `Specify a new file name', `Read an existing file', or `Read a directory' icons causes a core dump. This happens on both Solaris 10 SPARC and Solaris 10 x86 compilations. Here's part of an analysis on the core: $ mdb $(whence emacs) core Loading modules: [ libc.so.1 libuutil.so.1 libavl.so.1 ld.so.1 ] > ::status debugging core file of gemacs-22.1 (32-bit) from S0106080020b3a84b file: /opt/local/bin/gemacs-22.1 initial argv: emacs threading model: multi-threaded status: process terminated by SIGSEGV (Segmentation Fault) > ::stack _malloc_internal+0xa4(19, fa0f0000, 3b5000, 3b2364, 3b4cd4, 5) malloc+0x58(19, 3ad000, 221300, 3ad000, 221000, 1) emacs_blocked_malloc+0x58(19, 0, 0, 74, 73, 3b1c00) malloc+0x58(19, 3ad000, 1ae990, 3ad000, ff0000, 1) libc.so.1`strdup+0xc(fa14f880, 1, 0, 0, 1, fac73cf0) libgnomevfs-2.so.0.600.0`_gnome_vfs_xdg_hash_append_glob+0xe4(916230, fa14f899, fa14f880, 80808080, 196c8, fd3241f0) libgnomevfs-2.so.0.600.0`_gnome_vfs_xdg_glob_read_from_file+0xa0(916230, fa14f899, 1150, 19494, 221a84, 1000) I was able to prevent the core dump by adding: #define SYSTEM_MALLOC to src/s/sol2-6.h and rebuilding and reinstalling. In GNU Emacs 22.1.1 (sparc-sun-solaris2.10, GTK+ Version 2.4.9) of 2007-06-08 on celano configured using `configure '--program-prefix=g' '--without-gcc' '--with-x-toolkit=gtk'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: en_CA.ISO8859-1 value of $LC_CTYPE: en_CA.ISO8859-1 value of $LC_MESSAGES: C value of $LC_MONETARY: en_CA.ISO8859-1 value of $LC_NUMERIC: en_CA.ISO8859-1 value of $LC_TIME: en_CA.ISO8859-1 value of $LANG: nil locale-coding-system: iso-8859-1 default-enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: encoded-kbd-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t line-number-mode: t Recent input: ESC x r e p o r t - e m a c s - b u g RET Recent messages: ("gemacs") Loading encoded-kb...done For information about the GNU Project and its goals, type C-h C-p. Loading emacsbug... Loading regexp-opt...done Loading emacsbug...done