unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* emacs-22.1 with GTK dumps core when Gnome wigets clicked
@ 2007-06-09 15:49 Gary Mills
  2007-06-10  8:43 ` YAMAMOTO Mitsuharu
  0 siblings, 1 reply; 16+ messages in thread
From: Gary Mills @ 2007-06-09 15:49 UTC (permalink / raw)
  To: bug-gnu-emacs

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

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2007-06-18  9:58 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-09 15:49 emacs-22.1 with GTK dumps core when Gnome wigets clicked Gary Mills
2007-06-10  8:43 ` YAMAMOTO Mitsuharu
2007-06-10 12:51   ` Gary Mills
2007-06-10 13:48     ` YAMAMOTO Mitsuharu
2007-06-10 14:10       ` Gary Mills
2007-06-14  2:16         ` YAMAMOTO Mitsuharu
     [not found]           ` <20070614184924.GA25414@cc.umanitoba.ca>
2007-06-16  5:22             ` YAMAMOTO Mitsuharu
2007-06-16 13:32               ` Gary Mills
2007-06-16 14:30               ` Gary Mills
2007-06-16 15:40                 ` Gary Mills
2007-06-17  6:41                   ` YAMAMOTO Mitsuharu
2007-06-17 16:01                     ` Gary Mills
2007-06-18  1:08                       ` YAMAMOTO Mitsuharu
2007-06-18  3:03                         ` Gary Mills
2007-06-18  9:58                           ` YAMAMOTO Mitsuharu
2007-06-16 18:51           ` Richard Stallman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).