[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Has anyone used Purify with Emacs?

From: Marshall, Simon
Subject: Has anyone used Purify with Emacs?
Date: Fri, 16 Jun 2006 09:34:08 +0100

Thanks for the work on 22.1 guys.

This isn't a bug report, yet, it's a question.  I figured I'd try emacs from
CVS (I don't know of any official pretest releases), and I figured I'd use
Rational's Purify tool (not to be confused with Emacs notion of purify as
being part of the dumping process) to build Emacs to see if the tool
reported any memory corruptions, leaks, etc.

I can build temacs with purify; the running temacs reports a huge number of
UMRs (uninitialised memory read) within set_internal() at the line:

  if (BUFFER_LOCAL_VALUEP (valcontents)
=>      || SOME_BUFFER_LOCAL_VALUEP (valcontents))

and also Fbyte_code() at the line:

            if (SYMBOLP (sym)
                && !EQ (val, Qunbound)
                && !XSYMBOL (sym)->indirect_variable
                && !XSYMBOL (sym)->constant
=>              && !MISCP (XSYMBOL (sym)->value))

amongst others.  I don't know if these are valid or Purify is being duped by
some Emacs memory trickery.

Unfortunately, the resulting dumped emacs SEGVs on startup in:

(dbx) run -Q
Running: emacs -Q
(process id 6750)
signal SEGV (no mapping at the fault address) in _p938static at 0xae5ec
0x000ae5ec: _p938static+0x0030: ld       [%l0], %o0

So, has anyone got emacs built with Purify?

In GNU Emacs (sparc-sun-solaris2.8, Motif Version 2.1.0)  of
2006-06-14 on perth X server distributor `Hummingbird Ltd.', version
11.0.100015 configured using `configure
hals/slash/usr/local/lib/X11:/usr/openwin/lib' '--with-x-toolkit=motif''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: en_GB.ISO8859-1
  value of $LC_CTYPE: en_GB.ISO8859-1
  value of $LC_MESSAGES: C
  value of $LC_MONETARY: en_GB.ISO8859-1
  value of $LC_NUMERIC: en_GB.ISO8859-1
  value of $LC_TIME: en_GB.ISO8859-1
  value of $LANG: en_GB.ISO8859-1
  locale-coding-system: iso-8859-1
  default-enable-multibyte-characters: t

Major mode: Text

Minor modes in effect:
  delete-selection-mode: t
  mouse-sel-mode: t
  msb-mode: t
  partial-completion-mode: t
  show-paren-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

reply via email to

[Prev in Thread] Current Thread [Next in Thread]