unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#12774: 24.2.50; EMACS 24.2.50.1 crashing‏
@ 2012-11-01  5:23 Vincent Belaïche
  2012-11-01 14:57 ` Eli Zaretskii
                   ` (3 more replies)
  0 siblings, 4 replies; 24+ messages in thread
From: Vincent Belaïche @ 2012-11-01  5:23 UTC (permalink / raw)
  To: 12774

What I do to get the crash is the following

1) start emacs from MSWindows system programme menu
2) `C-x d' 
4) then go to directory `C:/Programme/GNU/installation'
5) then navigate with Dired mode `i' command to subdirectory
   cedet-install/cedet
6) then go down to file USING_CEDET_FROM_BZR
7) then type RET to visit the file

I must say that the crash does not always occur, sometimes it does, and
sometimes it does not. At this point of time, I am not even sure that
the bug would not happen with -Q command line option when starting
emacs, but I could not get it happen this way (I tried only once). I am
not even sure either that Dired-X is to blame, actually I could get the
crash once with `C-x C-f' directly to
c:/Programme/GNU/installation/cedet-install/cedet/USING_CEDET_FROM_BZR

I have not yet started to dichotomize my init file to find what cause
the crash, since the crash does not happen always that will be lengthy
before I can zoom to what is to blame.

I tried to gdb the crash. I compiled with MSYS gdb 7.5 and did the
following (I could not get the bracktrace...), below when I type `help
where' the crash already happened :

-----------------------------------------------------------------------
gdb -exec=c:/Programme/GNU/Emacs/bin/runemacs.exe
GNU gdb (GDB) 7.5
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-mingw32".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
(gdb) run
Starting program: c:\Programme\GNU\Emacs\bin\runemacs.exe 
[New Thread 5708.0x17d8]
[Inferior 1 (process 5708) exited normally]
(gdb) warning: Can not parse XML library list; XML support was disabled at compile time
help where
Print backtrace of all stack frames, or innermost COUNT frames.
With a negative argument, print outermost -COUNT frames.
Use of the 'full' qualifier also prints the values of the local variables.

(gdb) where
(gdb) No stack.
bt full
(gdb) No stack.
xbacktrace
(gdb) Undefined command: "xbacktrace".  Try "help".
quit
/c/Documents and Settings/Vincent>


-----------------------------------------------------------------------
In GNU Emacs 24.2.50.1 (i386-mingw-nt5.1.2600)
 of 2012-10-09 on CHOUNEK
Bzr revision: 110428 vincentb1@users.sourceforge.net-20121009041317-1rfqa5j1otvu6a1s
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
 `configure --with-gcc (4.6) --cflags -I
 C:/Programme/GNU/installation/emacs-install/libXpm-3.5.7/include -I
 C:/Programme/GNU/installation/emacs-install/libXpm-3.5.7/src'

Important settings:
  value of $EMACSPATH: c:\Programme\NGNU\CVS;C:\Programme\GNU\GnuPG;c:\Programme\apache-ant-1.8.0\bin;c:\msys\1.0\bin;c:\msys\1.0\mingw\bin;
  value of $LANG: FRA
  locale-coding-system: cp1252
  default enable-multibyte-characters: t

Major mode: Info

Minor modes in effect:
  shell-dirtrack-mode: t
  recentf-mode: t
  mail-abbrevs-mode: t
  iswitchb-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<down> <up> <up> <up> <down> <down> i <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <down> <down> i <down> <down> <down> <down> <down> 
<down> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> C-x d <M-backspace> <M-backspace> 
g n <tab> e m <tab> - 2 <tab> 4 <tab> 2 <tab> i n <tab> 
<return> <down> <down> C-s E m <down> C-s e m <right> 
I s b u g <return> s <return> <left> <return> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <right> <right> <right> 
<right> <right> <return> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> u <down> <down> 
<up> <up> <up> <return> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <next> 
u u <right> <down> <down> <return> t s @ g n u <return> 
s <return> s <return> s <return> s <return> s <return> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<down> <down> <down> <down> <down> <down> <down> <down> 
M-x r e p o r t - e m <tab> <return>

Recent messages:
Loading dired-x...done
Mark set [7 times]
Making completion list...
Mark saved where search started
byte-code: End of buffer [7 times]
Searching subfile emacs-2...
Searching subfile emacs-3...
Searching subfile emacs-4...
Searching subfile emacs-5...
Searching subfile emacs-6...

Load-path shadows:
c:/Programme/GNU/emacs-extension/lisp/auctex/prv-emacs hides c:/Programme/GNU/installation/auctex-install/auctex/preview/prv-emacs
c:/Programme/GNU/emacs-extension/lisp/auctex/preview hides c:/Programme/GNU/installation/auctex-install/auctex/preview/preview
c:/Programme/GNU/emacs-extension/lisp/preview-latex hides c:/Programme/GNU/installation/auctex-install/auctex/preview/preview-latex
c:/Programme/GNU/emacs-extension/lisp/auctex/toolbar-x hides c:/Programme/GNU/installation/auctex-install/auctex/toolbar-x
c:/Programme/GNU/emacs-extension/lisp/auctex/texmathp hides c:/Programme/GNU/installation/auctex-install/auctex/texmathp
c:/Programme/GNU/emacs-extension/lisp/auctex/tex hides c:/Programme/GNU/installation/auctex-install/auctex/tex
c:/Programme/GNU/emacs-extension/lisp/auctex/tex-style hides c:/Programme/GNU/installation/auctex-install/auctex/tex-style
c:/Programme/GNU/emacs-extension/lisp/tex-site hides c:/Programme/GNU/installation/auctex-install/auctex/tex-site
c:/Programme/GNU/emacs-extension/lisp/auctex/tex-mik hides c:/Programme/GNU/installation/auctex-install/auctex/tex-mik
c:/Programme/GNU/emacs-extension/lisp/auctex/tex-jp hides c:/Programme/GNU/installation/auctex-install/auctex/tex-jp
c:/Programme/GNU/emacs-extension/lisp/auctex/tex-info hides c:/Programme/GNU/installation/auctex-install/auctex/tex-info
c:/Programme/GNU/emacs-extension/lisp/auctex/tex-font hides c:/Programme/GNU/installation/auctex-install/auctex/tex-font
c:/Programme/GNU/emacs-extension/lisp/auctex/tex-fold hides c:/Programme/GNU/installation/auctex-install/auctex/tex-fold
c:/Programme/GNU/emacs-extension/lisp/auctex/tex-buf hides c:/Programme/GNU/installation/auctex-install/auctex/tex-buf
c:/Programme/GNU/emacs-extension/lisp/auctex/tex-bar hides c:/Programme/GNU/installation/auctex-install/auctex/tex-bar
c:/Programme/GNU/emacs-extension/lisp/auctex/plain-tex hides c:/Programme/GNU/installation/auctex-install/auctex/plain-tex
c:/Programme/GNU/emacs-extension/lisp/auctex/multi-prompt hides c:/Programme/GNU/installation/auctex-install/auctex/multi-prompt
c:/Programme/GNU/installation/auctex-install/reftex/lisp/lpath hides c:/Programme/GNU/installation/auctex-install/auctex/lpath
c:/Programme/GNU/emacs-extension/lisp/auctex/latex hides c:/Programme/GNU/installation/auctex-install/auctex/latex
c:/Programme/GNU/emacs-extension/lisp/auctex/font-latex hides c:/Programme/GNU/installation/auctex-install/auctex/font-latex
c:/Programme/GNU/emacs-extension/lisp/auctex/context hides c:/Programme/GNU/installation/auctex-install/auctex/context
c:/Programme/GNU/emacs-extension/lisp/auctex/context-nl hides c:/Programme/GNU/installation/auctex-install/auctex/context-nl
c:/Programme/GNU/emacs-extension/lisp/auctex/context-en hides c:/Programme/GNU/installation/auctex-install/auctex/context-en
c:/Programme/GNU/emacs-extension/lisp/auctex/bib-cite hides c:/Programme/GNU/installation/auctex-install/auctex/bib-cite
c:/Programme/GNU/emacs-extension/lisp/auctex hides c:/Programme/GNU/installation/auctex-install/auctex/auctex
d:/msys/1.0/home/Vincent/.emacs.d/etc/org hides c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org
c:/Programme/GNU/installation/cedet-install/cedet/lisp/speedbar/loaddefs hides c:/Programme/GNU/installation/cedet-install/cedet/lisp/eieio/loaddefs
c:/Programme/GNU/installation/cedet-install/cedet/lisp/speedbar/loaddefs hides c:/Programme/GNU/installation/cedet-install/cedet/lisp/cedet/loaddefs
c:/Programme/GNU/installation/cedet-install/cedet/lisp/speedbar/loaddefs hides c:/Programme/GNU/Emacs/lisp/loaddefs
d:/msys/1.0/home/Vincent/.emacs.d/etc/custom hides c:/Programme/GNU/Emacs/lisp/custom
c:/Programme/GNU/installation/cedet-install/cedet/lisp/eieio/eieio hides c:/Programme/GNU/Emacs/lisp/emacs-lisp/eieio
c:/Programme/GNU/installation/cedet-install/cedet/lisp/eieio/eieio-speedbar hides c:/Programme/GNU/Emacs/lisp/emacs-lisp/eieio-speedbar
c:/Programme/GNU/installation/cedet-install/cedet/lisp/eieio/eieio-opt hides c:/Programme/GNU/Emacs/lisp/emacs-lisp/eieio-opt
c:/Programme/GNU/installation/cedet-install/cedet/lisp/eieio/eieio-datadebug hides c:/Programme/GNU/Emacs/lisp/emacs-lisp/eieio-datadebug
c:/Programme/GNU/installation/cedet-install/cedet/lisp/eieio/eieio-custom hides c:/Programme/GNU/Emacs/lisp/emacs-lisp/eieio-custom
c:/Programme/GNU/installation/cedet-install/cedet/lisp/eieio/eieio-base hides c:/Programme/GNU/Emacs/lisp/emacs-lisp/eieio-base
c:/Programme/GNU/installation/cedet-install/cedet/lisp/eieio/chart hides c:/Programme/GNU/Emacs/lisp/emacs-lisp/chart
d:/msys/1.0/home/Vincent/.emacs.d/etc/org hides c:/Programme/GNU/Emacs/lisp/org/org
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-xoxo hides c:/Programme/GNU/Emacs/lisp/org/org-xoxo
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-wl hides c:/Programme/GNU/Emacs/lisp/org/org-wl
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-w3m hides c:/Programme/GNU/Emacs/lisp/org/org-w3m
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-vm hides c:/Programme/GNU/Emacs/lisp/org/org-vm
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-version hides c:/Programme/GNU/Emacs/lisp/org/org-version
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-timer hides c:/Programme/GNU/Emacs/lisp/org/org-timer
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-taskjuggler hides c:/Programme/GNU/Emacs/lisp/org/org-taskjuggler
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-table hides c:/Programme/GNU/Emacs/lisp/org/org-table
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-src hides c:/Programme/GNU/Emacs/lisp/org/org-src
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-special-blocks hides c:/Programme/GNU/Emacs/lisp/org/org-special-blocks
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-rmail hides c:/Programme/GNU/Emacs/lisp/org/org-rmail
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-remember hides c:/Programme/GNU/Emacs/lisp/org/org-remember
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-publish hides c:/Programme/GNU/Emacs/lisp/org/org-publish
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-protocol hides c:/Programme/GNU/Emacs/lisp/org/org-protocol
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-plot hides c:/Programme/GNU/Emacs/lisp/org/org-plot
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-pcomplete hides c:/Programme/GNU/Emacs/lisp/org/org-pcomplete
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-odt hides c:/Programme/GNU/Emacs/lisp/org/org-odt
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-mouse hides c:/Programme/GNU/Emacs/lisp/org/org-mouse
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-mobile hides c:/Programme/GNU/Emacs/lisp/org/org-mobile
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-mks hides c:/Programme/GNU/Emacs/lisp/org/org-mks
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-mhe hides c:/Programme/GNU/Emacs/lisp/org/org-mhe
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-mew hides c:/Programme/GNU/Emacs/lisp/org/org-mew
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-macs hides c:/Programme/GNU/Emacs/lisp/org/org-macs
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-mac-message hides c:/Programme/GNU/Emacs/lisp/org/org-mac-message
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-lparse hides c:/Programme/GNU/Emacs/lisp/org/org-lparse
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-list hides c:/Programme/GNU/Emacs/lisp/org/org-list
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-latex hides c:/Programme/GNU/Emacs/lisp/org/org-latex
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-jsinfo hides c:/Programme/GNU/Emacs/lisp/org/org-jsinfo
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-irc hides c:/Programme/GNU/Emacs/lisp/org/org-irc
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-install hides c:/Programme/GNU/Emacs/lisp/org/org-install
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-inlinetask hides c:/Programme/GNU/Emacs/lisp/org/org-inlinetask
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-info hides c:/Programme/GNU/Emacs/lisp/org/org-info
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-indent hides c:/Programme/GNU/Emacs/lisp/org/org-indent
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-id hides c:/Programme/GNU/Emacs/lisp/org/org-id
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-icalendar hides c:/Programme/GNU/Emacs/lisp/org/org-icalendar
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-html hides c:/Programme/GNU/Emacs/lisp/org/org-html
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-habit hides c:/Programme/GNU/Emacs/lisp/org/org-habit
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-gnus hides c:/Programme/GNU/Emacs/lisp/org/org-gnus
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-freemind hides c:/Programme/GNU/Emacs/lisp/org/org-freemind
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-footnote hides c:/Programme/GNU/Emacs/lisp/org/org-footnote
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-feed hides c:/Programme/GNU/Emacs/lisp/org/org-feed
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-faces hides c:/Programme/GNU/Emacs/lisp/org/org-faces
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-exp hides c:/Programme/GNU/Emacs/lisp/org/org-exp
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-eshell hides c:/Programme/GNU/Emacs/lisp/org/org-eshell
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-entities hides c:/Programme/GNU/Emacs/lisp/org/org-entities
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-element hides c:/Programme/GNU/Emacs/lisp/org/org-element
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-docview hides c:/Programme/GNU/Emacs/lisp/org/org-docview
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-docbook hides c:/Programme/GNU/Emacs/lisp/org/org-docbook
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-datetree hides c:/Programme/GNU/Emacs/lisp/org/org-datetree
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-ctags hides c:/Programme/GNU/Emacs/lisp/org/org-ctags
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-crypt hides c:/Programme/GNU/Emacs/lisp/org/org-crypt
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-compat hides c:/Programme/GNU/Emacs/lisp/org/org-compat
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-colview hides c:/Programme/GNU/Emacs/lisp/org/org-colview
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-clock hides c:/Programme/GNU/Emacs/lisp/org/org-clock
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-capture hides c:/Programme/GNU/Emacs/lisp/org/org-capture
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-bibtex hides c:/Programme/GNU/Emacs/lisp/org/org-bibtex
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-beamer hides c:/Programme/GNU/Emacs/lisp/org/org-beamer
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-bbdb hides c:/Programme/GNU/Emacs/lisp/org/org-bbdb
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-attach hides c:/Programme/GNU/Emacs/lisp/org/org-attach
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-ascii hides c:/Programme/GNU/Emacs/lisp/org/org-ascii
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-archive hides c:/Programme/GNU/Emacs/lisp/org/org-archive
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/org-agenda hides c:/Programme/GNU/Emacs/lisp/org/org-agenda
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/ob hides c:/Programme/GNU/Emacs/lisp/org/ob
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/ob-tangle hides c:/Programme/GNU/Emacs/lisp/org/ob-tangle
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/ob-table hides c:/Programme/GNU/Emacs/lisp/org/ob-table
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/ob-sqlite hides c:/Programme/GNU/Emacs/lisp/org/ob-sqlite
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/ob-sql hides c:/Programme/GNU/Emacs/lisp/org/ob-sql
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/ob-shen hides c:/Programme/GNU/Emacs/lisp/org/ob-shen
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/ob-sh hides c:/Programme/GNU/Emacs/lisp/org/ob-sh
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/ob-screen hides c:/Programme/GNU/Emacs/lisp/org/ob-screen
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/ob-scheme hides c:/Programme/GNU/Emacs/lisp/org/ob-scheme
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/ob-scala hides c:/Programme/GNU/Emacs/lisp/org/ob-scala
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/ob-sass hides c:/Programme/GNU/Emacs/lisp/org/ob-sass
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/ob-ruby hides c:/Programme/GNU/Emacs/lisp/org/ob-ruby
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/ob-ref hides c:/Programme/GNU/Emacs/lisp/org/ob-ref
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/ob-R hides c:/Programme/GNU/Emacs/lisp/org/ob-R
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/ob-python hides c:/Programme/GNU/Emacs/lisp/org/ob-python
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/ob-plantuml hides c:/Programme/GNU/Emacs/lisp/org/ob-plantuml
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/ob-picolisp hides c:/Programme/GNU/Emacs/lisp/org/ob-picolisp
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/ob-perl hides c:/Programme/GNU/Emacs/lisp/org/ob-perl
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/ob-org hides c:/Programme/GNU/Emacs/lisp/org/ob-org
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/ob-octave hides c:/Programme/GNU/Emacs/lisp/org/ob-octave
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/ob-ocaml hides c:/Programme/GNU/Emacs/lisp/org/ob-ocaml
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/ob-mscgen hides c:/Programme/GNU/Emacs/lisp/org/ob-mscgen
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/ob-maxima hides c:/Programme/GNU/Emacs/lisp/org/ob-maxima
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/ob-matlab hides c:/Programme/GNU/Emacs/lisp/org/ob-matlab
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/ob-lob hides c:/Programme/GNU/Emacs/lisp/org/ob-lob
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/ob-lisp hides c:/Programme/GNU/Emacs/lisp/org/ob-lisp
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/ob-lilypond hides c:/Programme/GNU/Emacs/lisp/org/ob-lilypond
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/ob-ledger hides c:/Programme/GNU/Emacs/lisp/org/ob-ledger
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/ob-latex hides c:/Programme/GNU/Emacs/lisp/org/ob-latex
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/ob-keys hides c:/Programme/GNU/Emacs/lisp/org/ob-keys
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/ob-js hides c:/Programme/GNU/Emacs/lisp/org/ob-js
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/ob-java hides c:/Programme/GNU/Emacs/lisp/org/ob-java
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/ob-io hides c:/Programme/GNU/Emacs/lisp/org/ob-io
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/ob-haskell hides c:/Programme/GNU/Emacs/lisp/org/ob-haskell
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/ob-gnuplot hides c:/Programme/GNU/Emacs/lisp/org/ob-gnuplot
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/ob-fortran hides c:/Programme/GNU/Emacs/lisp/org/ob-fortran
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/ob-exp hides c:/Programme/GNU/Emacs/lisp/org/ob-exp
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/ob-eval hides c:/Programme/GNU/Emacs/lisp/org/ob-eval
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/ob-emacs-lisp hides c:/Programme/GNU/Emacs/lisp/org/ob-emacs-lisp
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/ob-dot hides c:/Programme/GNU/Emacs/lisp/org/ob-dot
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/ob-ditaa hides c:/Programme/GNU/Emacs/lisp/org/ob-ditaa
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/ob-css hides c:/Programme/GNU/Emacs/lisp/org/ob-css
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/ob-comint hides c:/Programme/GNU/Emacs/lisp/org/ob-comint
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/ob-clojure hides c:/Programme/GNU/Emacs/lisp/org/ob-clojure
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/ob-calc hides c:/Programme/GNU/Emacs/lisp/org/ob-calc
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/ob-C hides c:/Programme/GNU/Emacs/lisp/org/ob-C
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/ob-awk hides c:/Programme/GNU/Emacs/lisp/org/ob-awk
c:/Programme/GNU/installation/org-mode-install/org-mode/lisp/ob-asymptote hides c:/Programme/GNU/Emacs/lisp/org/ob-asymptote
c:/Programme/GNU/installation/auctex-install/reftex/lisp/reftex hides c:/Programme/GNU/Emacs/lisp/textmodes/reftex
c:/Programme/GNU/installation/auctex-install/reftex/lisp/reftex-vars hides c:/Programme/GNU/Emacs/lisp/textmodes/reftex-vars
c:/Programme/GNU/installation/auctex-install/reftex/lisp/reftex-toc hides c:/Programme/GNU/Emacs/lisp/textmodes/reftex-toc
c:/Programme/GNU/installation/auctex-install/reftex/lisp/reftex-sel hides c:/Programme/GNU/Emacs/lisp/textmodes/reftex-sel
c:/Programme/GNU/installation/auctex-install/reftex/lisp/reftex-ref hides c:/Programme/GNU/Emacs/lisp/textmodes/reftex-ref
c:/Programme/GNU/installation/auctex-install/reftex/lisp/reftex-parse hides c:/Programme/GNU/Emacs/lisp/textmodes/reftex-parse
c:/Programme/GNU/installation/auctex-install/reftex/lisp/reftex-index hides c:/Programme/GNU/Emacs/lisp/textmodes/reftex-index
c:/Programme/GNU/installation/auctex-install/reftex/lisp/reftex-global hides c:/Programme/GNU/Emacs/lisp/textmodes/reftex-global
c:/Programme/GNU/installation/auctex-install/reftex/lisp/reftex-dcr hides c:/Programme/GNU/Emacs/lisp/textmodes/reftex-dcr
c:/Programme/GNU/installation/auctex-install/reftex/lisp/reftex-cite hides c:/Programme/GNU/Emacs/lisp/textmodes/reftex-cite
c:/Programme/GNU/installation/auctex-install/reftex/lisp/reftex-auc hides c:/Programme/GNU/Emacs/lisp/textmodes/reftex-auc

Features:
(shadow sort gnus-util mail-extr warnings emacsbug message format-spec
rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util
mail-prsvr mail-utils misearch multi-isearch help-mode dired-aux dired-x
dired info shell pcomplete comint ansi-color ring accents-ascii eieio
byte-opt bytecomp byte-compile cconv tex-mik preview-latex tex-site
auto-loads calc-mathfloat calc-math edmacro kmacro cl-macs gv w32utils
java-init cl cl-lib bsh-init recentf tree-widget wid-edit generic-x
easymenu template mailabbrev iswitchb cus-start cus-load calc-misc
calc-arith calc-ext calc calc-loaddefs calc-macs skeleton time-date
tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table
ls-lisp w32-win w32-vars tool-bar dnd fontset image regexp-opt fringe
tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow
timer select scroll-bar mouse jit-lock font-lock syntax facemenu
font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan
thai tai-viet lao korean japanese hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese case-table epa-hook
jka-cmpr-hook help simple abbrev minibuffer button faces cus-face
macroexp files text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget hashtable-print-readable backquote
make-network-process multi-tty emacs)





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

* bug#12774: 24.2.50; EMACS 24.2.50.1 crashing‏
  2012-11-01  5:23 bug#12774: 24.2.50; EMACS 24.2.50.1 crashing‏ Vincent Belaïche
@ 2012-11-01 14:57 ` Eli Zaretskii
       [not found]   ` <DUB102-W598866A2386D9F5F9BE37384600@phx.gbl>
  2012-11-01 20:37   ` Vincent Belaïche
  2012-11-04  8:52 ` bug#12774: RE: bug#12774: 24.2.50; EMACS 24.2.50.1 crashing Vincent Belaïche
                   ` (2 subsequent siblings)
  3 siblings, 2 replies; 24+ messages in thread
From: Eli Zaretskii @ 2012-11-01 14:57 UTC (permalink / raw)
  To: Vincent Belaïche; +Cc: 12774

> From: Vincent Belaïche <vincent.b.1@hotmail.fr> 
> Date: Thu, 01 Nov 2012 06:23:10 +0100
> 
> What I do to get the crash is the following
> 
> 1) start emacs from MSWindows system programme menu
> 2) `C-x d' 
> 4) then go to directory `C:/Programme/GNU/installation'
> 5) then navigate with Dired mode `i' command to subdirectory
>    cedet-install/cedet
> 6) then go down to file USING_CEDET_FROM_BZR
> 7) then type RET to visit the file

I tried the equivalent of these commands (with different directory
names above 'cedet'), but couldn't get Emacs to crash.

> I have not yet started to dichotomize my init file to find what cause
> the crash, since the crash does not happen always that will be lengthy
> before I can zoom to what is to blame.

Well, please try.

> I tried to gdb the crash. I compiled with MSYS gdb 7.5 and did the
> following (I could not get the bracktrace...), below when I type `help
> where' the crash already happened :
> 
> -----------------------------------------------------------------------
> gdb -exec=c:/Programme/GNU/Emacs/bin/runemacs.exe
> GNU gdb (GDB) 7.5
> Copyright (C) 2012 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "i686-pc-mingw32".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>.
> (gdb) run
> Starting program: c:\Programme\GNU\Emacs\bin\runemacs.exe 
> [New Thread 5708.0x17d8]
> [Inferior 1 (process 5708) exited normally]
> (gdb) warning: Can not parse XML library list; XML support was disabled at compile time

Your GDB build is non-functional.  Could you try downloading a
precompiled binary from the MinGW site?






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

* bug#12774: RE: bug#12774: 24.2.50; EMACS 24.2.50.1 crashing‏
       [not found]   ` <DUB102-W598866A2386D9F5F9BE37384600@phx.gbl>
@ 2012-11-01 20:09     ` Eli Zaretskii
  0 siblings, 0 replies; 24+ messages in thread
From: Eli Zaretskii @ 2012-11-01 20:09 UTC (permalink / raw)
  To: Vincent Belaïche; +Cc: 12774

[Please keep the bug number on the CC list.]

> From: Vincent Belaïche <vincent.b.1@hotmail.fr>
> Date: Thu, 1 Nov 2012 20:25:44 +0100
> 
> > > I have not yet started to dichotomize my init file to find what cause
> > > the crash, since the crash does not happen always that will be lengthy
> > > before I can zoom to what is to blame.
> > 
> > Well, please try.
> > 
> I have started that, this is not easy because the crash does not happen always... I'll you know when I get something.

Thanks.

> (gdb) run
> Starting program: C:\Programme\GNU\Emacs\bin\runemacs.exe 
> [New Thread 5148.0x160c]
> [Inferior 1 (process 5148) exited normally]
> (gdb) bt full
> (gdb) No stack.
> xbacktrace
> (gdb) Undefined command: "xbacktrace".  Try "help".

You need to debug emacs.exe, not runemacs.exe.  The latter exists only
in order to avoid showing the console window for emacs.exe, and it
exits right away after launching emacs.exe.

After you start runemacs as usual, look up the process ID of emacs.exe
in the Task Manager, and then type

   gdb -p PID

where PID is the process ID of emacs.exe.

> Under MSW, I do not know how to get the PID for the crashing emacs process. Could you tell me how

See above.






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

* bug#12774: 24.2.50; EMACS 24.2.50.1 crashing‏
  2012-11-01 14:57 ` Eli Zaretskii
       [not found]   ` <DUB102-W598866A2386D9F5F9BE37384600@phx.gbl>
@ 2012-11-01 20:37   ` Vincent Belaïche
  2012-11-01 20:40     ` bug#12774: " Eli Zaretskii
  1 sibling, 1 reply; 24+ messages in thread
From: Vincent Belaïche @ 2012-11-01 20:37 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 12774

[-- Attachment #1: Type: text/plain, Size: 6488 bytes --]


Here is some trace I can get with gdb


(gdb) info files

Local exec file:
	`C:\Programme\GNU\Emacs\bin\runemacs.exe', file type pei-i386.
	Entry point: 0x401284
	0x00401000 - 0x0040211c is .text
	0x00403000 - 0x00403010 is .data
	0x00404000 - 0x004042bc is .rdata
	0x00405000 - 0x004050e4 is .eh_frame
	0x00406000 - 0x00406078 is .bss
	0x00407000 - 0x00407574 is .idata
	0x00408000 - 0x00408018 is .CRT
	0x00409000 - 0x00409020 is .tls
	0x0040a000 - 0x004175f0 is .rsrc
	0x7c911000 - 0x7c98deda is .text in C:\WINDOWS\system32\ntdll.dll
	0x7c98e000 - 0x7c991200 is .data in C:\WINDOWS\system32\ntdll.dll
	0x7c993000 - 0x7c9c50d4 is .rsrc in C:\WINDOWS\system32\ntdll.dll
	0x7c9c6000 - 0x7c9c8ee0 is .reloc in C:\WINDOWS\system32\ntdll.dll
	0x7c801000 - 0x7c8841e9 is .text in C:\WINDOWS\system32\kernel32.dll
	0x7c885000 - 0x7c887600 is .data in C:\WINDOWS\system32\kernel32.dll
	0x7c88a000 - 0x7c8ffc48 is .rsrc in C:\WINDOWS\system32\kernel32.dll
	0x7c900000 - 0x7c905c84 is .reloc in C:\WINDOWS\system32\kernel32.dll
	0x64d01000 - 0x64d1e4ae is .text in C:\Program Files\AVAST Software\Avast\snxhk.dll
	0x64d1f000 - 0x64d264fc is .rdata in C:\Program Files\AVAST Software\Avast\snxhk.dll
	0x64d27000 - 0x64d2fe00 is .data in C:\Program Files\AVAST Software\Avast\snxhk.dll
	0x64d32000 - 0x64d36704 is .rsrc in C:\Program Files\AVAST Software\Avast\snxhk.dll
	0x64d37000 - 0x64d3b6a8 is .reloc in C:\Program Files\AVAST Software\Avast\snxhk.dll
	0x77be1000 - 0x77c2cd36 is .text in C:\WINDOWS\system32\msvcrt.dll
	0x77c2d000 - 0x77c31800 is .data in C:\WINDOWS\system32\msvcrt.dll
	0x77c34000 - 0x77c343e0 is .rsrc in C:\WINDOWS\system32\msvcrt.dll
	0x77c35000 - 0x77c37d74 is .reloc in C:\WINDOWS\system32\msvcrt.dll
	0x7e391000 - 0x7e3f0283 is .text in C:\WINDOWS\system32\user32.dll
	0x7e3f1000 - 0x7e3f1c00 is .data in C:\WINDOWS\system32\user32.dll
	0x7e3f3000 - 0x7e41d5e0 is .rsrc in C:\WINDOWS\system32\user32.dll
	0x7e41e000 - 0x7e420de4 is .reloc in C:\WINDOWS\system32\user32.dll
	0x77ef1000 - 0x77f33a6e is .text in C:\WINDOWS\system32\gdi32.dll
	0x77f34000 - 0x77f35160 is .data in C:\WINDOWS\system32\gdi32.dll
	0x77f36000 - 0x77f363d0 is .rsrc in C:\WINDOWS\system32\gdi32.dll
	0x77f37000 - 0x77f38870 is .reloc in C:\WINDOWS\system32\gdi32.dll
	0x76321000 - 0x76335a96 is .text in C:\WINDOWS\system32\imm32.dll
	0x76336000 - 0x76336200 is .data in C:\WINDOWS\system32\imm32.dll
	0x76337000 - 0x7633bc18 is .rsrc in C:\WINDOWS\system32\imm32.dll
	0x7633c000 - 0x7633cc6c is .reloc in C:\WINDOWS\system32\imm32.dll
	0x77da1000 - 0x77e155c9 is .text in C:\WINDOWS\system32\advapi32.dll
	0x77e16000 - 0x77e18c00 is .data in C:\WINDOWS\system32\advapi32.dll
	0x77e1b000 - 0x77e4621c is .rsrc in C:\WINDOWS\system32\advapi32.dll
	0x77e47000 - 0x77e4baf8 is .reloc in C:\WINDOWS\system32\advapi32.dll
	0x77e51000 - 0x77ed4cd3 is .text in C:\WINDOWS\system32\rpcrt4.dll
	0x77ed5000 - 0x77edb93c is .orpc in C:\WINDOWS\system32\rpcrt4.dll
	0x77edc000 - 0x77edcc00 is .data in C:\WINDOWS\system32\rpcrt4.dll
	0x77edd000 - 0x77edd408 is .rsrc in C:\WINDOWS\system32\rpcrt4.dll
	0x77ede000 - 0x77ee2558 is .reloc in C:\WINDOWS\system32\rpcrt4.dll
	0x77fc1000 - 0x77fcd284 is .text in C:\WINDOWS\system32\secur32.dll
	0x77fce000 - 0x77fce480 is .data in C:\WINDOWS\system32\secur32.dll
	0x77fcf000 - 0x77fcf418 is .rsrc in C:\WINDOWS\system32\secur32.dll
	0x77fd0000 - 0x77fd0888 is .reloc in C:\WINDOWS\system32\secur32.dll
	0x77f41000 - 0x77facba8 is .text in C:\WINDOWS\system32\shlwapi.dll
	0x77fad000 - 0x77fadc00 is .data in C:\WINDOWS\system32\shlwapi.dll
	0x77fae000 - 0x77faf6c8 is .rsrc in C:\WINDOWS\system32\shlwapi.dll
	0x77fb0000 - 0x77fb59d4 is .reloc in C:\WINDOWS\system32\shlwapi.dll
	0x77391000 - 0x77421a8a is .text in C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.6028_x-ww_61e65202\comctl32.dll
	0x77422000 - 0x77422600 is .data in C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.6028_x-ww_61e65202\comctl32.dll
	0x77423000 - 0x7748cfb0 is .rsrc in C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.6028_x-ww_61e65202\comctl32.dll
	0x7748d000 - 0x77492e2c is .reloc in C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.6028_x-ww_61e65202\comctl32.dll

> Date: Thu, 1 Nov 2012 16:57:22 +0200
> From: eliz@gnu.org
> Subject: Re: bug#12774: 24.2.50; EMACS 24.2.50.1 crashing‏
> To: vincent.b.1@hotmail.fr
> CC: 12774@debbugs.gnu.org
> 
> > From: Vincent Belaïche <vincent.b.1@hotmail.fr> 
> > Date: Thu, 01 Nov 2012 06:23:10 +0100
> > 
> > What I do to get the crash is the following
> > 
> > 1) start emacs from MSWindows system programme menu
> > 2) `C-x d' 
> > 4) then go to directory `C:/Programme/GNU/installation'
> > 5) then navigate with Dired mode `i' command to subdirectory
> >    cedet-install/cedet
> > 6) then go down to file USING_CEDET_FROM_BZR
> > 7) then type RET to visit the file
> 
> I tried the equivalent of these commands (with different directory
> names above 'cedet'), but couldn't get Emacs to crash.
> 
> > I have not yet started to dichotomize my init file to find what cause
> > the crash, since the crash does not happen always that will be lengthy
> > before I can zoom to what is to blame.
> 
> Well, please try.
> 
> > I tried to gdb the crash. I compiled with MSYS gdb 7.5 and did the
> > following (I could not get the bracktrace...), below when I type `help
> > where' the crash already happened :
> > 
> > -----------------------------------------------------------------------
> > gdb -exec=c:/Programme/GNU/Emacs/bin/runemacs.exe
> > GNU gdb (GDB) 7.5
> > Copyright (C) 2012 Free Software Foundation, Inc.
> > License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> > This is free software: you are free to change and redistribute it.
> > There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> > and "show warranty" for details.
> > This GDB was configured as "i686-pc-mingw32".
> > For bug reporting instructions, please see:
> > <http://www.gnu.org/software/gdb/bugs/>.
> > (gdb) run
> > Starting program: c:\Programme\GNU\Emacs\bin\runemacs.exe 
> > [New Thread 5708.0x17d8]
> > [Inferior 1 (process 5708) exited normally]
> > (gdb) warning: Can not parse XML library list; XML support was disabled at compile time
> 
> Your GDB build is non-functional.  Could you try downloading a
> precompiled binary from the MinGW site?
 		 	   		  

[-- Attachment #2: Type: text/html, Size: 7349 bytes --]

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

* bug#12774: RE: bug#12774: 24.2.50; EMACS 24.2.50.1 crashing‏
  2012-11-01 20:37   ` Vincent Belaïche
@ 2012-11-01 20:40     ` Eli Zaretskii
  2012-11-01 20:47       ` Vincent Belaïche
                         ` (2 more replies)
  0 siblings, 3 replies; 24+ messages in thread
From: Eli Zaretskii @ 2012-11-01 20:40 UTC (permalink / raw)
  To: Vincent Belaïche; +Cc: 12774

> From: Vincent Belaïche <vincent.b.1@hotmail.fr>
> CC: <12774@debbugs.gnu.org>
> Date: Thu, 1 Nov 2012 21:37:56 +0100
> 
> Here is some trace I can get with gdb
> 
> 
> (gdb) info files
> 
> Local exec file:
> 	`C:\Programme\GNU\Emacs\bin\runemacs.exe', file type pei-i386.
> 	Entry point: 0x401284
> 	0x00401000 - 0x0040211c is .text

Thanks, but this is again runemacs.exe, not emacs.exe.  And "info
files" is not the backtrace.  The correct command is "bt".






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

* bug#12774: 24.2.50; EMACS 24.2.50.1 crashing‏
  2012-11-01 20:40     ` bug#12774: " Eli Zaretskii
@ 2012-11-01 20:47       ` Vincent Belaïche
  2012-11-01 21:11         ` bug#12774: " Eli Zaretskii
  2012-11-01 20:51       ` Vincent Belaïche
  2012-11-01 21:00       ` Vincent Belaïche
  2 siblings, 1 reply; 24+ messages in thread
From: Vincent Belaïche @ 2012-11-01 20:47 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 12774

[-- Attachment #1: Type: text/plain, Size: 2356 bytes --]


Ok, it works better with emacs.exe than with runemacs, here is what I get


c:\Documents and Settings\Vincent>gdb --exec="C:\Programme\GNU\Emacs\bin\emacs.exe"

gdb --exec="C:\Programme\GNU\Emacs\bin\emacs.exe"
GNU gdb (GDB) 7.4
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-mingw32".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
(gdb) run
Starting program: C:\Programme\GNU\Emacs\bin\emacs.exe 
[New Thread 5788.0x864]
bt
[New Thread 5788.0x908]
[New Thread 5788.0x1188]
[New Thread 5788.0x15b0]

Program received signal SIGTRAP, Trace/breakpoint trap.
0x7c91120f in ntdll!DbgUiConnectToDbg () from C:\WINDOWS\system32\ntdll.dll
(gdb) #0  0x7c91120f in ntdll!DbgUiConnectToDbg ()
   from C:\WINDOWS\system32\ntdll.dll
#1  0x010c1673 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) bt
#0  0x7c91120f in ntdll!DbgUiConnectToDbg ()
   from C:\WINDOWS\system32\ntdll.dll
#1  0x010c1673 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) xbacktrace
(gdb) Undefined command: "xbacktrace".  Try "help".
bt full
#0  0x7c91120f in ntdll!DbgUiConnectToDbg ()
   from C:\WINDOWS\system32\ntdll.dll
No symbol table info available.
#1  0x010c1673 in ?? ()
No symbol table info available.
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) 




> Date: Thu, 1 Nov 2012 22:40:52 +0200
> From: eliz@gnu.org
> Subject: Re: RE: bug#12774: 24.2.50; EMACS 24.2.50.1 crashing‏
> To: vincent.b.1@hotmail.fr
> CC: 12774@debbugs.gnu.org
> 
> > From: Vincent Belaïche <vincent.b.1@hotmail.fr>
> > CC: <12774@debbugs.gnu.org>
> > Date: Thu, 1 Nov 2012 21:37:56 +0100
> > 
> > Here is some trace I can get with gdb
> > 
> > 
> > (gdb) info files
> > 
> > Local exec file:
> > 	`C:\Programme\GNU\Emacs\bin\runemacs.exe', file type pei-i386.
> > 	Entry point: 0x401284
> > 	0x00401000 - 0x0040211c is .text
> 
> Thanks, but this is again runemacs.exe, not emacs.exe.  And "info
> files" is not the backtrace.  The correct command is "bt".
 		 	   		  

[-- Attachment #2: Type: text/html, Size: 2916 bytes --]

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

* bug#12774: 24.2.50; EMACS 24.2.50.1 crashing‏
  2012-11-01 20:40     ` bug#12774: " Eli Zaretskii
  2012-11-01 20:47       ` Vincent Belaïche
@ 2012-11-01 20:51       ` Vincent Belaïche
  2012-11-01 21:00       ` Vincent Belaïche
  2 siblings, 0 replies; 24+ messages in thread
From: Vincent Belaïche @ 2012-11-01 20:51 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 12774

[-- Attachment #1: Type: text/plain, Size: 1434 bytes --]


I could also get this:


(gdb) info w32 thread-information-block
Thread Information Block Thread 5788.0x864 at 0x7ffdf000
 current_seh                  is 0x0082ffe0
 current_top_of_stack         is 0x00830000
 current_bottom_of_stack      is 0x007f9000
 sub_system_tib               is 0x00000000
 fiber_data                   is 0x00001e00
 arbitrary_data_slot          is 0x00000000
 linear_address_tib           is 0x7ffdf000
 environment_pointer          is 0x00000000
 process_id                   is 0x0000169c
 current_thread_id            is 0x00000864
 active_rpc_handle            is 0x00000000
 thread_local_storage         is 0x00862c20
 process_environment_block    is 0x7ffd9000
 last_error_number            is 0x00000000




> Date: Thu, 1 Nov 2012 22:40:52 +0200
> From: eliz@gnu.org
> Subject: Re: RE: bug#12774: 24.2.50; EMACS 24.2.50.1 crashing‏
> To: vincent.b.1@hotmail.fr
> CC: 12774@debbugs.gnu.org
> 
> > From: Vincent Belaïche <vincent.b.1@hotmail.fr>
> > CC: <12774@debbugs.gnu.org>
> > Date: Thu, 1 Nov 2012 21:37:56 +0100
> > 
> > Here is some trace I can get with gdb
> > 
> > 
> > (gdb) info files
> > 
> > Local exec file:
> > 	`C:\Programme\GNU\Emacs\bin\runemacs.exe', file type pei-i386.
> > 	Entry point: 0x401284
> > 	0x00401000 - 0x0040211c is .text
> 
> Thanks, but this is again runemacs.exe, not emacs.exe.  And "info
> files" is not the backtrace.  The correct command is "bt".
 		 	   		  

[-- Attachment #2: Type: text/html, Size: 1902 bytes --]

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

* bug#12774: 24.2.50; EMACS 24.2.50.1 crashing‏
  2012-11-01 20:40     ` bug#12774: " Eli Zaretskii
  2012-11-01 20:47       ` Vincent Belaïche
  2012-11-01 20:51       ` Vincent Belaïche
@ 2012-11-01 21:00       ` Vincent Belaïche
  2 siblings, 0 replies; 24+ messages in thread
From: Vincent Belaïche @ 2012-11-01 21:00 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 12774

[-- Attachment #1: Type: text/plain, Size: 6593 bytes --]


I could also get this:




(gdb) info all-registers

eax            0x6	6
ecx            0x7c92005d	2089943133
edx            0x860608	8783368
ebx            0xd8270	885360
esp            0x81bfdc	0x81bfdc
ebp            0x1a000	0x1a000
esi            0x3b66d70	62287216
edi            0x3aa0000	61472768
eip            0x7c91120f	0x7c91120f <ntdll!DbgUiConnectToDbg+1>
eflags         0x246	[ PF ZF IF ]
cs             0x1b	27
ss             0x23	35
ds             0x23	35
es             0x23	35
fs             0x3b	59
gs             0x0	0
st0            0	(raw 0x9035a6e5e6c000000000)
st1            <invalid float value>	(raw 0x00010027038600000020)
st2            <invalid float value>	(raw 0xe6e4000000000000029e)
st3            0	(raw 0x0386805416cca6e5e6e4)
st4            0	(raw 0x00000200000100270386)
st5            0.043478260869565216	(raw 0x3ffab21642c8590b2000)
st6            1	(raw 0x3fff8000000000000000)
st7            1	(raw 0x3fff8000000000000000)
fctrl          0xffff037f	-64641
fstat          0xffff4000	-49152
ftag           0xffffffff	-1
fiseg          0x1b	27
fioff          0x5e86263d	1585849917
foseg          0xffff0023	-65501
fooff          0x0	0
fop            0x2e9	745
xmm0           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, 
  v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x64, 0xba, 0x81, 0x0, 0x60, 0xe4, 0x91, 
    0x7c, 0x0, 0xd, 0xdb, 0xba}, v8_int16 = {0x0, 0x0, 0xba64, 0x81, 0xe460, 
    0x7c91, 0xd00, 0xbadb}, v4_int32 = {0x0, 0x81ba64, 0x7c91e460, 
    0xbadb0d00}, v2_int64 = {0x81ba6400000000, 0xbadb0d007c91e460}, 
  uint128 = 0xbadb0d007c91e4600081ba6400000000}
xmm1           {v4_float = {0x0, 0xffffffff, 0xffffffff, 0x0}, v2_double = {
    0x0, 0x0}, v16_int8 = {0x64, 0xed, 0xe5, 0xa6, 0x4f, 0x19, 0x80, 0xbf, 
    0xfb, 0x61, 0x80, 0xbf, 0x1, 0x0, 0x0, 0x0}, v8_int16 = {0xed64, 0xa6e5, 
    0x194f, 0xbf80, 0x61fb, 0xbf80, 0x1, 0x0}, v4_int32 = {0xa6e5ed64, 
    0xbf80194f, 0xbf8061fb, 0x1}, v2_int64 = {0xbf80194fa6e5ed64, 
    0x1bf8061fb}, uint128 = 0x00000001bf8061fbbf80194fa6e5ed64}
xmm2           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, 
  v16_int8 = {0xf0, 0xe9, 0xe5, 0xa6, 0x3b, 0x0, 0x0, 0x0, 0x20, 0x0, 0x0, 
    0x0, 0xd0, 0xd7, 0xd1, 0x0}, v8_int16 = {0xe9f0, 0xa6e5, 0x3b, 0x0, 0x20, 
    0x0, 0xd7d0, 0xd1}, v4_int32 = {0xa6e5e9f0, 0x3b, 0x20, 0xd1d7d0}, 
  v2_int64 = {0x3ba6e5e9f0, 0xd1d7d000000020}, 
  uint128 = 0x00d1d7d0000000200000003ba6e5e9f0}
xmm3           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 
    0x8000000000000000}, v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x8, 0xba, 0x81, 
    0x0, 0x3b, 0x0, 0x0, 0x0, 0xaa, 0x94, 0x39, 0x7e}, v8_int16 = {0x0, 0x0, 
    0xba08, 0x81, 0x3b, 0x0, 0x94aa, 0x7e39}, v4_int32 = {0x0, 0x81ba08, 
    0x3b, 0x7e3994aa}, v2_int64 = {0x81ba0800000000, 0x7e3994aa0000003b}, 
  uint128 = 0x7e3994aa0000003b0081ba0800000000}
xmm4           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, 
  v16_int8 = {0x1b, 0x0, 0x0, 0x0, 0x2, 0x2, 0x0, 0x0, 0x0, 0xba, 0x81, 0x0, 
    0x1, 0x0, 0x0, 0x0}, v8_int16 = {0x1b, 0x0, 0x202, 0x0, 0xba00, 0x81, 
    0x1, 0x0}, v4_int32 = {0x1b, 0x202, 0x81ba00, 0x1}, v2_int64 = {
    0x2020000001b, 0x10081ba00}, uint128 = 0x000000010081ba00000002020000001b}
xmm5           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, 
  v16_int8 = {0x14, 0xea, 0xe5, 0xa6, 0x3b, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 
    0x0, 0xb8, 0xba, 0x81, 0x0}, v8_int16 = {0xea14, 0xa6e5, 0x3b, 0x0, 0x0, 
    0x0, 0xbab8, 0x81}, v4_int32 = {0xa6e5ea14, 0x3b, 0x0, 0x81bab8}, 
  v2_int64 = {0x3ba6e5ea14, 0x81bab800000000}, 
  uint128 = 0x0081bab8000000000000003ba6e5ea14}
xmm6           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 
    0x8000000000000000}, v16_int8 = {0x0, 0x0, 0x0, 0x0, 0xf4, 0xb9, 0x81, 
    0x0, 0x3b, 0x0, 0x0, 0x0, 0xaa, 0x94, 0x39, 0x7e}, v8_int16 = {0x0, 0x0, 
    0xb9f4, 0x81, 0x3b, 0x0, 0x94aa, 0x7e39}, v4_int32 = {0x0, 0x81b9f4, 
    0x3b, 0x7e3994aa}, v2_int64 = {0x81b9f400000000, 0x7e3994aa0000003b}, 
  uint128 = 0x7e3994aa0000003b0081b9f400000000}
xmm7           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, 
  v16_int8 = {0x1b, 0x0, 0x0, 0x0, 0x86, 0x2, 0x0, 0x0, 0xec, 0xb9, 0x81, 
    0x0, 0x23, 0x0, 0x0, 0x0}, v8_int16 = {0x1b, 0x0, 0x286, 0x0, 0xb9ec, 
    0x81, 0x23, 0x0}, v4_int32 = {0x1b, 0x286, 0x81b9ec, 0x23}, v2_int64 = {
    0x2860000001b, 0x230081b9ec}, 
  uint128 = 0x000000230081b9ec000002860000001b}
mxcsr          0x1f80	[ IM DM ZM OM UM PM ]
mm0            {uint64 = 0xa6e5e6c000000000, v2_int32 = {0x0, 0xa6e5e6c0}, 
  v4_int16 = {0x0, 0x0, 0xe6c0, 0xa6e5}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0xc0, 
    0xe6, 0xe5, 0xa6}}
mm1            {uint64 = 0x27038600000020, v2_int32 = {0x20, 0x270386}, 
  v4_int16 = {0x20, 0x0, 0x386, 0x27}, v8_int8 = {0x20, 0x0, 0x0, 0x0, 0x86, 
    0x3, 0x27, 0x0}}
mm2            {uint64 = 0x29e, v2_int32 = {0x29e, 0x0}, v4_int16 = {0x29e, 
    0x0, 0x0, 0x0}, v8_int8 = {0x9e, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm3            {uint64 = 0x805416cca6e5e6e4, v2_int32 = {0xa6e5e6e4, 
    0x805416cc}, v4_int16 = {0xe6e4, 0xa6e5, 0x16cc, 0x8054}, v8_int8 = {
    0xe4, 0xe6, 0xe5, 0xa6, 0xcc, 0x16, 0x54, 0x80}}
mm4            {uint64 = 0x200000100270386, v2_int32 = {0x270386, 0x2000001}, 
  v4_int16 = {0x386, 0x27, 0x1, 0x200}, v8_int8 = {0x86, 0x3, 0x27, 0x0, 0x1, 
    0x0, 0x0, 0x2}}
mm5            {uint64 = 0xb21642c8590b2000, v2_int32 = {0x590b2000, 
    0xb21642c8}, v4_int16 = {0x2000, 0x590b, 0x42c8, 0xb216}, v8_int8 = {0x0, 
    0x20, 0xb, 0x59, 0xc8, 0x42, 0x16, 0xb2}}
mm6            {uint64 = 0x8000000000000000, v2_int32 = {0x0, 0x80000000}, 
  v4_int16 = {0x0, 0x0, 0x0, 0x8000}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 
    0x0, 0x0, 0x80}}
mm7            {uint64 = 0x8000000000000000, v2_int32 = {0x0, 0x80000000}, 
  v4_int16 = {0x0, 0x0, 0x0, 0x8000}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 
    0x0, 0x0, 0x80}}
(gdb) 

> Date: Thu, 1 Nov 2012 22:40:52 +0200
> From: eliz@gnu.org
> Subject: Re: RE: bug#12774: 24.2.50; EMACS 24.2.50.1 crashing‏
> To: vincent.b.1@hotmail.fr
> CC: 12774@debbugs.gnu.org
> 
> > From: Vincent Belaïche <vincent.b.1@hotmail.fr>
> > CC: <12774@debbugs.gnu.org>
> > Date: Thu, 1 Nov 2012 21:37:56 +0100
> > 
> > Here is some trace I can get with gdb
> > 
> > 
> > (gdb) info files
> > 
> > Local exec file:
> > 	`C:\Programme\GNU\Emacs\bin\runemacs.exe', file type pei-i386.
> > 	Entry point: 0x401284
> > 	0x00401000 - 0x0040211c is .text
> 
> Thanks, but this is again runemacs.exe, not emacs.exe.  And "info
> files" is not the backtrace.  The correct command is "bt".
 		 	   		  

[-- Attachment #2: Type: text/html, Size: 7358 bytes --]

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

* bug#12774: RE: bug#12774: 24.2.50; EMACS 24.2.50.1 crashing‏
  2012-11-01 20:47       ` Vincent Belaïche
@ 2012-11-01 21:11         ` Eli Zaretskii
  2012-11-01 21:17           ` Eli Zaretskii
  0 siblings, 1 reply; 24+ messages in thread
From: Eli Zaretskii @ 2012-11-01 21:11 UTC (permalink / raw)
  To: Vincent Belaïche; +Cc: 12774

> From: Vincent Belaïche <vincent.b.1@hotmail.fr>
> CC: <12774@debbugs.gnu.org>
> Date: Thu, 1 Nov 2012 21:47:25 +0100
> 
> c:\Documents and Settings\Vincent>gdb --exec="C:\Programme\GNU\Emacs\bin\emacs.exe"
> 
> gdb --exec="C:\Programme\GNU\Emacs\bin\emacs.exe"
> GNU gdb (GDB) 7.4
> Copyright (C) 2012 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "i686-pc-mingw32".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>.
> (gdb) run
> Starting program: C:\Programme\GNU\Emacs\bin\emacs.exe 
> [New Thread 5788.0x864]
> bt
> [New Thread 5788.0x908]
> [New Thread 5788.0x1188]
> [New Thread 5788.0x15b0]
> 
> Program received signal SIGTRAP, Trace/breakpoint trap.
> 0x7c91120f in ntdll!DbgUiConnectToDbg () from C:\WINDOWS\system32\ntdll.dll
> (gdb) #0  0x7c91120f in ntdll!DbgUiConnectToDbg ()
>    from C:\WINDOWS\system32\ntdll.dll
> #1  0x010c1673 in ?? ()
> Backtrace stopped: previous frame inner to this frame (corrupt stack?)
> (gdb) bt
> #0  0x7c91120f in ntdll!DbgUiConnectToDbg ()
>    from C:\WINDOWS\system32\ntdll.dll
> #1  0x010c1673 in ?? ()
> Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Try

  (gdb) thread apply all bt

(There are more than one thread in Emacs on Windows.)






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

* bug#12774: RE: bug#12774: 24.2.50; EMACS 24.2.50.1 crashing‏
  2012-11-01 21:11         ` bug#12774: " Eli Zaretskii
@ 2012-11-01 21:17           ` Eli Zaretskii
  2012-11-03 13:47             ` Vincent Belaïche
  0 siblings, 1 reply; 24+ messages in thread
From: Eli Zaretskii @ 2012-11-01 21:17 UTC (permalink / raw)
  To: vincent.b.1; +Cc: 12774

> Date: Thu, 01 Nov 2012 23:11:07 +0200
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: 12774@debbugs.gnu.org
> 
> > From: Vincent Belaïche <vincent.b.1@hotmail.fr>
> > CC: <12774@debbugs.gnu.org>
> > Date: Thu, 1 Nov 2012 21:47:25 +0100
> > 
> > c:\Documents and Settings\Vincent>gdb --exec="C:\Programme\GNU\Emacs\bin\emacs.exe"
> > 
> > gdb --exec="C:\Programme\GNU\Emacs\bin\emacs.exe"
> > GNU gdb (GDB) 7.4
> > Copyright (C) 2012 Free Software Foundation, Inc.
> > License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> > This is free software: you are free to change and redistribute it.
> > There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> > and "show warranty" for details.
> > This GDB was configured as "i686-pc-mingw32".
> > For bug reporting instructions, please see:
> > <http://www.gnu.org/software/gdb/bugs/>.
> > (gdb) run
> > Starting program: C:\Programme\GNU\Emacs\bin\emacs.exe 
> > [New Thread 5788.0x864]
> > bt
> > [New Thread 5788.0x908]
> > [New Thread 5788.0x1188]
> > [New Thread 5788.0x15b0]
> > 
> > Program received signal SIGTRAP, Trace/breakpoint trap.
> > 0x7c91120f in ntdll!DbgUiConnectToDbg () from C:\WINDOWS\system32\ntdll.dll
> > (gdb) #0  0x7c91120f in ntdll!DbgUiConnectToDbg ()
> >    from C:\WINDOWS\system32\ntdll.dll
> > #1  0x010c1673 in ?? ()
> > Backtrace stopped: previous frame inner to this frame (corrupt stack?)
> > (gdb) bt
> > #0  0x7c91120f in ntdll!DbgUiConnectToDbg ()
> >    from C:\WINDOWS\system32\ntdll.dll
> > #1  0x010c1673 in ?? ()
> > Backtrace stopped: previous frame inner to this frame (corrupt stack?)
> 
> Try
> 
>   (gdb) thread apply all bt

Actually, there's something strange: how did you manage to get
SIGTRAP?  What exactly happened between these two lines:

> [New Thread 5788.0x15b0]
> 
> Program received signal SIGTRAP, Trace/breakpoint trap.

Anyway, if "thread apply all bt" doesn't help, try "continue" and then
"thread apply all bt".






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

* bug#12774: RE: bug#12774: 24.2.50; EMACS 24.2.50.1 crashing‏
  2012-11-01 21:17           ` Eli Zaretskii
@ 2012-11-03 13:47             ` Vincent Belaïche
  2012-11-03 14:16               ` bug#12774: " Eli Zaretskii
  0 siblings, 1 reply; 24+ messages in thread
From: Vincent Belaïche @ 2012-11-03 13:47 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 12774

[-- Attachment #1: Type: text/plain, Size: 6444 bytes --]


Hello,


I did the experiment again, after a few attempts I got it crash, and typed  "thread apply all bt".



The output " Program received signal SIGTRAP, Trace/breakpoint trap." is printed immediately I click on "Oui" (Yes) button in the dialog that appears when the crash occurs.


  Vincent.


PS: Here is the log of the debug session.


c:\Documents and Settings\Vincent>gdb --exec="C:\Programme\GNU\Emacs\bin\emacs.exe"
gdb --exec="C:\Programme\GNU\Emacs\bin\emacs.exe"
GNU gdb (GDB) 7.4
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-mingw32".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
(gdb) run
Starting program: C:\Programme\GNU\Emacs\bin\emacs.exe 
[New Thread 3940.0x438]
[New Thread 3940.0xdc8]
[New Thread 3940.0xc4c]
[New Thread 3940.0xdac]

Program received signal SIGTRAP, Trace/breakpoint trap.
0x7c91120f in ntdll!DbgUiConnectToDbg () from C:\WINDOWS\system32\ntdll.dll
(gdb) thread apply all bt

Thread 3 (Thread 3940.0xc4c):
#0  0x7c91e514 in ntdll!LdrAccessResource ()
   from C:\WINDOWS\system32\ntdll.dll
#1  0x7e3ac5dc in USER32!InternalGetWindowText ()
   from C:\WINDOWS\system32\user32.dll
#2  0x64864f58 in UxTheme!IsThemeDialogTextureEnabled ()
   from C:\WINDOWS\system32\uxtheme.dll
#3  0x6486602c in UxTheme!SetThemeAppProperties ()
   from C:\WINDOWS\system32\uxtheme.dll
#4  0x64866485 in UxTheme!SetThemeAppProperties ()
   from C:\WINDOWS\system32\uxtheme.dll
#5  0x6487c4b9 in UxTheme!GetThemeTextMetrics ()
   from C:\WINDOWS\system32\uxtheme.dll
#6  0x64861ac7 in ?? () from C:\WINDOWS\system32\uxtheme.dll
#7  0x64861b3d in ?? () from C:\WINDOWS\system32\uxtheme.dll
#8  0x7e3a94ed in USER32!GetPropW () from C:\WINDOWS\system32\user32.dll
#9  0x010c4eff in ?? ()
#10 0x7e398734 in USER32!GetDC () from C:\WINDOWS\system32\user32.dll
#11 0x00060466 in ?? ()
#12 0x00000085 in ?? ()
#13 0x32040db2 in ?? ()
#14 0x00000000 in ?? ()

Thread 2 (Thread 3940.0xdc8):
#0  0x7c91e514 in ntdll!LdrAccessResource ()
   from C:\WINDOWS\system32\ntdll.dll
#1  0x7c91d21a in ntdll!ZwDelayExecution () from C:\WINDOWS\system32\ntdll.dll
#2  0x7c8023f1 in SleepEx () from C:\WINDOWS\system32\kernel32.dll
#3  0x00000000 in ?? ()

Thread 1 (Thread 3940.0x438):
#0  0x7c91120f in ntdll!DbgUiConnectToDbg ()
   from C:\WINDOWS\system32\ntdll.dll
#1  0x010c1673 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) 

Thread 3 (Thread 3940.0xc4c):
#0  0x7c91e514 in ntdll!LdrAccessResource ()
   from C:\WINDOWS\system32\ntdll.dll
#1  0x7e3ac5dc in USER32!InternalGetWindowText ()
   from C:\WINDOWS\system32\user32.dll
#2  0x64864f58 in UxTheme!IsThemeDialogTextureEnabled ()
   from C:\WINDOWS\system32\uxtheme.dll
#3  0x6486602c in UxTheme!SetThemeAppProperties ()
   from C:\WINDOWS\system32\uxtheme.dll
#4  0x64866485 in UxTheme!SetThemeAppProperties ()
   from C:\WINDOWS\system32\uxtheme.dll
#5  0x6487c4b9 in UxTheme!GetThemeTextMetrics ()
   from C:\WINDOWS\system32\uxtheme.dll
#6  0x64861ac7 in ?? () from C:\WINDOWS\system32\uxtheme.dll
#7  0x64861b3d in ?? () from C:\WINDOWS\system32\uxtheme.dll
#8  0x7e3a94ed in USER32!GetPropW () from C:\WINDOWS\system32\user32.dll
#9  0x010c4eff in ?? ()
#10 0x7e398734 in USER32!GetDC () from C:\WINDOWS\system32\user32.dll
#11 0x00060466 in ?? ()
#12 0x00000085 in ?? ()
#13 0x32040db2 in ?? ()
#14 0x00000000 in ?? ()

Thread 2 (Thread 3940.0xdc8):
#0  0x7c91e514 in ntdll!LdrAccessResource ()
   from C:\WINDOWS\system32\ntdll.dll
#1  0x7c91d21a in ntdll!ZwDelayExecution () from C:\WINDOWS\system32\ntdll.dll
#2  0x7c8023f1 in SleepEx () from C:\WINDOWS\system32\kernel32.dll
#3  0x00000000 in ?? ()

Thread 1 (Thread 3940.0x438):
#0  0x7c91120f in ntdll!DbgUiConnectToDbg ()
   from C:\WINDOWS\system32\ntdll.dll
#1  0x010c1673 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) 
> Date: Thu, 1 Nov 2012 23:17:05 +0200
> From: eliz@gnu.org
> Subject: Re: bug#12774: RE: bug#12774: 24.2.50;	EMACS 24.2.50.1 crashing‏
> To: vincent.b.1@hotmail.fr
> CC: 12774@debbugs.gnu.org
> 
> > Date: Thu, 01 Nov 2012 23:11:07 +0200
> > From: Eli Zaretskii <eliz@gnu.org>
> > Cc: 12774@debbugs.gnu.org
> > 
> > > From: Vincent Belaïche <vincent.b.1@hotmail.fr>
> > > CC: <12774@debbugs.gnu.org>
> > > Date: Thu, 1 Nov 2012 21:47:25 +0100
> > > 
> > > c:\Documents and Settings\Vincent>gdb --exec="C:\Programme\GNU\Emacs\bin\emacs.exe"
> > > 
> > > gdb --exec="C:\Programme\GNU\Emacs\bin\emacs.exe"
> > > GNU gdb (GDB) 7.4
> > > Copyright (C) 2012 Free Software Foundation, Inc.
> > > License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> > > This is free software: you are free to change and redistribute it.
> > > There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> > > and "show warranty" for details.
> > > This GDB was configured as "i686-pc-mingw32".
> > > For bug reporting instructions, please see:
> > > <http://www.gnu.org/software/gdb/bugs/>.
> > > (gdb) run
> > > Starting program: C:\Programme\GNU\Emacs\bin\emacs.exe 
> > > [New Thread 5788.0x864]
> > > bt
> > > [New Thread 5788.0x908]
> > > [New Thread 5788.0x1188]
> > > [New Thread 5788.0x15b0]
> > > 
> > > Program received signal SIGTRAP, Trace/breakpoint trap.
> > > 0x7c91120f in ntdll!DbgUiConnectToDbg () from C:\WINDOWS\system32\ntdll.dll
> > > (gdb) #0  0x7c91120f in ntdll!DbgUiConnectToDbg ()
> > >    from C:\WINDOWS\system32\ntdll.dll
> > > #1  0x010c1673 in ?? ()
> > > Backtrace stopped: previous frame inner to this frame (corrupt stack?)
> > > (gdb) bt
> > > #0  0x7c91120f in ntdll!DbgUiConnectToDbg ()
> > >    from C:\WINDOWS\system32\ntdll.dll
> > > #1  0x010c1673 in ?? ()
> > > Backtrace stopped: previous frame inner to this frame (corrupt stack?)
> > 
> > Try
> > 
> >   (gdb) thread apply all bt
> 
> Actually, there's something strange: how did you manage to get
> SIGTRAP?  What exactly happened between these two lines:
> 
> > [New Thread 5788.0x15b0]
> > 
> > Program received signal SIGTRAP, Trace/breakpoint trap.
> 
> Anyway, if "thread apply all bt" doesn't help, try "continue" and then
> "thread apply all bt".
 		 	   		  

[-- Attachment #2: Type: text/html, Size: 7662 bytes --]

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

* bug#12774: RE: bug#12774: RE: bug#12774: 24.2.50; EMACS 24.2.50.1 crashing‏
  2012-11-03 13:47             ` Vincent Belaïche
@ 2012-11-03 14:16               ` Eli Zaretskii
  2012-11-03 17:20                 ` Vincent Belaïche
                                   ` (2 more replies)
  0 siblings, 3 replies; 24+ messages in thread
From: Eli Zaretskii @ 2012-11-03 14:16 UTC (permalink / raw)
  To: Vincent Belaïche; +Cc: 12774

> From: Vincent Belaïche <vincent.b.1@hotmail.fr>
> CC: <12774@debbugs.gnu.org>
> Date: Sat, 3 Nov 2012 14:47:52 +0100
> 
> I did the experiment again, after a few attempts I got it crash, and typed  "thread apply all bt".
> 
> 
> 
> The output " Program received signal SIGTRAP, Trace/breakpoint trap." is printed immediately I click on "Oui" (Yes) button in the dialog that appears when the crash occurs.

If you run Emacs under GDB, you should do this:

 (gdb) break emacs_abort
 (gdb) run

Then Emacs will stop in emacs_abort instead of popping up the abort
dialog, and you will be able to produce a more meaningful backtrace.






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

* bug#12774: RE: bug#12774: 24.2.50; EMACS 24.2.50.1 crashing‏
  2012-11-03 14:16               ` bug#12774: " Eli Zaretskii
@ 2012-11-03 17:20                 ` Vincent Belaïche
  2012-11-03 17:21                 ` Vincent Belaïche
  2012-11-03 17:41                 ` Vincent Belaïche
  2 siblings, 0 replies; 24+ messages in thread
From: Vincent Belaïche @ 2012-11-03 17:20 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 12774

[-- Attachment #1: Type: text/plain, Size: 3519 bytes --]


Here you are:


c:\Documents and Settings\Vincent>gdb --exec="C:\Programme\GNU\Emacs\bin\emacs.exe"
gdb --exec="C:\Programme\GNU\Emacs\bin\emacs.exe"
GNU gdb (GDB) 7.4
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-mingw32".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
(gdb) break emacs_abort
Make breakpoint pending on future shared library load? (y or [n]) [answered N; input not from terminal]
(gdb) No symbol table is loaded.  Use the "file" command.
run
Starting program: C:\Programme\GNU\Emacs\bin\emacs.exe 
[New Thread 3524.0xe60]
thread apply all bt
[New Thread 3524.0xc40]
[New Thread 3524.0x2c8]
[New Thread 3524.0x748]

Program received signal SIGTRAP, Trace/breakpoint trap.
0x7c91120f in ntdll!DbgUiConnectToDbg () from C:\WINDOWS\system32\ntdll.dll
(gdb) 
Thread 3 (Thread 3524.0x2c8):
#0  0x7c91e514 in ntdll!LdrAccessResource ()
   from C:\WINDOWS\system32\ntdll.dll
#1  0x77ef6bf2 in GdiDrawStream () from C:\WINDOWS\system32\gdi32.dll
#2  0x64862b1b in ?? () from C:\WINDOWS\system32\uxtheme.dll
#3  0x6486289b in ?? () from C:\WINDOWS\system32\uxtheme.dll
#4  0x64862753 in ?? () from C:\WINDOWS\system32\uxtheme.dll
#5  0x648654f1 in UxTheme!SetThemeAppProperties ()
   from C:\WINDOWS\system32\uxtheme.dll
#6  0x6486641f in UxTheme!SetThemeAppProperties ()
   from C:\WINDOWS\system32\uxtheme.dll
#7  0x6487c4b9 in UxTheme!GetThemeTextMetrics ()
   from C:\WINDOWS\system32\uxtheme.dll
#8  0x64861ac7 in ?? () from C:\WINDOWS\system32\uxtheme.dll
#9  0x64861b3d in ?? () from C:\WINDOWS\system32\uxtheme.dll
#10 0x7e3a94ed in USER32!GetPropW () from C:\WINDOWS\system32\user32.dll
#11 0x010c4eff in ?? ()
#12 0x7e398734 in USER32!GetDC () from C:\WINDOWS\system32\user32.dll
#13 0x000d0480 in ?? ()
#14 0x00000085 in ?? ()
#15 0x00000001 in ?? ()
#16 0x00000000 in ?? ()

Thread 2 (Thread 3524.0xc40):
#0  0x7c91e514 in ntdll!LdrAccessResource ()
   from C:\WINDOWS\system32\ntdll.dll
#1  0x7c91d21a in ntdll!ZwDelayExecution () from C:\WINDOWS\system32\ntdll.dll
#2  0x7c8023f1 in SleepEx () from C:\WINDOWS\system32\kernel32.dll
#3  0x00000000 in ?? ()

Thread 1 (Thread 3524.0xe60):
#0  0x7c91120f in ntdll!DbgUiConnectToDbg ()
   from C:\WINDOWS\system32\ntdll.dll
#1  0x010c1673 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) 



  Vincent


> Date: Sat, 3 Nov 2012 16:16:01 +0200
> From: eliz@gnu.org
> Subject: Re: RE: bug#12774: RE: bug#12774: 24.2.50; EMACS 24.2.50.1 crashing‏
> To: vincent.b.1@hotmail.fr
> CC: 12774@debbugs.gnu.org
> 
> > From: Vincent Belaïche <vincent.b.1@hotmail.fr>
> > CC: <12774@debbugs.gnu.org>
> > Date: Sat, 3 Nov 2012 14:47:52 +0100
> > 
> > I did the experiment again, after a few attempts I got it crash, and typed  "thread apply all bt".
> > 
> > 
> > 
> > The output " Program received signal SIGTRAP, Trace/breakpoint trap." is printed immediately I click on "Oui" (Yes) button in the dialog that appears when the crash occurs.
> 
> If you run Emacs under GDB, you should do this:
> 
>  (gdb) break emacs_abort
>  (gdb) run
> 
> Then Emacs will stop in emacs_abort instead of popping up the abort
> dialog, and you will be able to produce a more meaningful backtrace.
 		 	   		  

[-- Attachment #2: Type: text/html, Size: 4146 bytes --]

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

* bug#12774: RE: bug#12774: 24.2.50; EMACS 24.2.50.1 crashing‏
  2012-11-03 14:16               ` bug#12774: " Eli Zaretskii
  2012-11-03 17:20                 ` Vincent Belaïche
@ 2012-11-03 17:21                 ` Vincent Belaïche
  2012-11-03 17:41                 ` Vincent Belaïche
  2 siblings, 0 replies; 24+ messages in thread
From: Vincent Belaïche @ 2012-11-03 17:21 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 12774

[-- Attachment #1: Type: text/plain, Size: 1014 bytes --]


Ooops...


Please ignore my previous email, to abort dialog was shown, probably I should have answered yes at some point



  Vincent.

> Date: Sat, 3 Nov 2012 16:16:01 +0200
> From: eliz@gnu.org
> Subject: Re: RE: bug#12774: RE: bug#12774: 24.2.50; EMACS 24.2.50.1 crashing‏
> To: vincent.b.1@hotmail.fr
> CC: 12774@debbugs.gnu.org
> 
> > From: Vincent Belaïche <vincent.b.1@hotmail.fr>
> > CC: <12774@debbugs.gnu.org>
> > Date: Sat, 3 Nov 2012 14:47:52 +0100
> > 
> > I did the experiment again, after a few attempts I got it crash, and typed  "thread apply all bt".
> > 
> > 
> > 
> > The output " Program received signal SIGTRAP, Trace/breakpoint trap." is printed immediately I click on "Oui" (Yes) button in the dialog that appears when the crash occurs.
> 
> If you run Emacs under GDB, you should do this:
> 
>  (gdb) break emacs_abort
>  (gdb) run
> 
> Then Emacs will stop in emacs_abort instead of popping up the abort
> dialog, and you will be able to produce a more meaningful backtrace.
 		 	   		  

[-- Attachment #2: Type: text/html, Size: 1437 bytes --]

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

* bug#12774: RE: bug#12774: 24.2.50; EMACS 24.2.50.1 crashing‏
  2012-11-03 14:16               ` bug#12774: " Eli Zaretskii
  2012-11-03 17:20                 ` Vincent Belaïche
  2012-11-03 17:21                 ` Vincent Belaïche
@ 2012-11-03 17:41                 ` Vincent Belaïche
  2012-11-03 20:07                   ` bug#12774: " Eli Zaretskii
  2 siblings, 1 reply; 24+ messages in thread
From: Vincent Belaïche @ 2012-11-03 17:41 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 12774

[-- Attachment #1: Type: text/plain, Size: 14856 bytes --]


Ok,


I did now exactly as you said in the first place: I launched only one instance of emacs, got its PID from the task manager, got it crashed, and then connected the gdb to it, and then got the backtrace.


I was not doing this way before, but rather launched emacs via `gdb --exec=...emacs'. This is because there is no systematic way to get the crash happen. Sometimes it happens, and sometimes not. It seems to have to do with some real time condition, like some race between two processes. So it seemed to me that it was easier to have it crashed when emacs is run from the debugger, rather run it, and then connect the debugger. I must say that I have no certainty about that. Indeed, the crash happens rather unpredictably. So, anyway, the only truth is the trace below.


Thank you very much for you kind help.


  Vincent.


PS: maybe there is some issue with my current installation, I mean that I may have some lisp file that was not re-byte-compiled. I have recently switched from a precompiled emacs to a bzr build because my JDEE was broken.


============= Log below ============================
c:\Documents and Settings\Vincent>gdb -p 2896

gdb -p 2896
GNU gdb (GDB) 7.4
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-mingw32".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Attaching to process 2896
[New Thread 2896.0x98]
[New Thread 2896.0xa9c]
[New Thread 2896.0x984]
[New Thread 2896.0x9c0]
Reading symbols from C:\Programme\GNU\Emacs\bin\emacs.exe...done.
(gdb) thread apply all bt

Thread 4 (Thread 2896.0x9c0):
#0  0x7c91120f in ntdll!DbgUiConnectToDbg ()
   from C:\WINDOWS\system32\ntdll.dll
#1  0x7c962119 in ntdll!KiIntSystemCall () from C:\WINDOWS\system32\ntdll.dll
#2  0x00000005 in ?? ()
#3  0x00000004 in ?? ()
#4  0x00000001 in ?? ()
#5  0x64c8ffd0 in ?? ()
#6  0x00000000 in ?? ()

Thread 3 (Thread 2896.0x984):
#0  0x7c91e514 in ntdll!LdrAccessResource ()
   from C:\WINDOWS\system32\ntdll.dll
#1  0x7e3991be in USER32!GetProcessWindowStation ()
   from C:\WINDOWS\system32\user32.dll
#2  0x7e3991f1 in USER32!GetMessageW () from C:\WINDOWS\system32\user32.dll
#3  0x010c4402 in w32_msg_pump (msg_buf=<optimized out>) at w32fns.c:2281
#4  0x010c4b2b in w32_msg_worker@4 (arg=0x0) at w32fns.c:2503
#5  0x7c80b729 in KERNEL32!GetModuleFileNameA ()
   from C:\WINDOWS\system32\kernel32.dll
#6  0x00000000 in ?? ()

Thread 2 (Thread 2896.0xa9c):
#0  0x7c91e514 in ntdll!LdrAccessResource ()
   from C:\WINDOWS\system32\ntdll.dll
#1  0x7c91d21a in ntdll!ZwDelayExecution () from C:\WINDOWS\system32\ntdll.dll
#2  0x7c8023f1 in SleepEx () from C:\WINDOWS\system32\kernel32.dll
#3  0x00000000 in ?? ()

Thread 1 (Thread 2896.0x98):
#0  0x7c91e514 in ntdll!LdrAccessResource ()
   from C:\WINDOWS\system32\ntdll.dll
#1  0x7e399418 in WaitMessage () from C:\WINDOWS\system32\user32.dll
#2  0x7e3a770a in USER32!CallMsgFilterW () from C:\WINDOWS\system32\user32.dll
#3  0x7e3a49c4 in USER32!GetCursorFrameInfo ()
   from C:\WINDOWS\system32\user32.dll
#4  0x7e3ba956 in USER32!SoftModalMessageBox ()
   from C:\WINDOWS\system32\user32.dll
#5  0x7e3ba2bc in USER32!MessageBoxIndirectA ()
   from C:\WINDOWS\system32\user32.dll
#6  0x7e3e63fd in USER32!MessageBoxTimeoutW ()
   from C:\WINDOWS\system32\user32.dll
#7  0x7e3e64a2 in USER32!MessageBoxTimeoutA ()
   from C:\WINDOWS\system32\user32.dll
#8  0x7e3d0877 in USER32!MessageBoxExA () from C:\WINDOWS\system32\user32.dll
#9  0x7e3d082f in USER32!MessageBoxA () from C:\WINDOWS\system32\user32.dll
#10 0x010c1661 in emacs_abort () at w32fns.c:7194
#11 0x01172f1a in relinquish () at ralloc.c:358
#12 0x011734dd in r_alloc_sbrk (size=-921600) at ralloc.c:890
#13 r_alloc_sbrk (size=-921600) at ralloc.c:755
#14 0x010fb150 in _free_internal_nolock (ptr=0xc) at gmalloc.c:1156
#15 0x01007d9b in safe_alloca_unwind (arg=54250595) at alloc.c:840
#16 0x0100dcac in unbind_to (count=113, value=54220826) at eval.c:3195
#17 0x01104644 in load_charset_map_from_file (control_flag=1, 
    mapfile=<optimized out>, charset=0x13bf4a4) at charset.c:550
#18 load_charset (charset=0x13bf4a4, control_flag=1) at charset.c:642
#19 0x01106c37 in decode_char (charset=<optimized out>, code=<optimized out>)
    at charset.c:1714
#20 0x011525fa in decode_coding_charset (coding=0x82c4ac) at coding.c:5475
#21 0x0115ca82 in decode_coding (coding=<optimized out>) at coding.c:7018
#22 0x0116057c in decode_coding_object (coding=0x82c4ac, src_object=59850081, 
    from=0, from_byte=0, to=1, to_byte=1, dst_object=54220850)
    at coding.c:7665
#23 0x011623ba in code_convert_string (string=59850081, 
    coding_system=<optimized out>, dst_object=54220850, encodep=false, 
    nocopy=false, norecord=false) at coding.c:8947
#24 0x011624ea in Fdecode_coding_string (string=59850081, 
    coding_system=55921714, nocopy=54220826, buffer=54220826) at coding.c:8987
#25 0x0100ee84 in Ffuncall (nargs=3, args=0x82c7b8) at eval.c:2783
#26 0x01071305 in exec_byte_code (bytestr=0, vector=8570808, maxdepth=20, 
    args_template=54220826, nargs=8875904, args=0x0) at bytecode.c:899
#27 0x0100ea3d in funcall_lambda (fun=60080101, nargs=<optimized out>, 
    arg_vector=0x82c93c) at eval.c:3004
#28 0x0100ecf3 in Ffuncall (nargs=2, args=0x82c938) at eval.c:2833
#29 0x0100f1b3 in call1 (fn=60080101, arg1=60164254) at eval.c:2566
#30 0x0103de07 in mapcar1 (leni=2, vals=0x82c9c0, fn=60080101, seq=60164262)
    at fns.c:2312
#31 0x0103ff46 in Fmapcar (function=60080101, sequence=60164262) at fns.c:2382
#32 0x0100eeb9 in Ffuncall (nargs=3, args=0x82ca94) at eval.c:2775
#33 0x01071305 in exec_byte_code (bytestr=0, vector=8571540, maxdepth=12, 
    args_template=54220826, nargs=8875904, args=0x10) at bytecode.c:899
#34 0x010736a6 in Fbyte_code (bytestr=59847329, vector=60034677, maxdepth=12)
    at bytecode.c:474
#35 0x0100e486 in eval_sub (form=60164126) at eval.c:2143
#36 0x01010908 in Fdefvar (args=60164142) at eval.c:689
#37 0x0100e5fc in eval_sub (form=60164150) at eval.c:2085
#38 0x01027627 in readevalloop (readcharfun=54287322, stream=0x77c2fd20, 
    sourcename=59982625, printflag=0, unibyte=54220826, readfun=54220826, 
    start=54220826, end=54220826) at lread.c:1840
#39 0x01028520 in Fload (file=55071825, noerror=54220826, nomessage=54220850, 
    nosuffix=54220826, must_suffix=<optimized out>) at lread.c:1321
#40 0x010412ed in Frequire (feature=59136290, filename=54220826, 
    noerror=54220826) at fns.c:2652
#41 0x0100eea2 in Ffuncall (nargs=2, args=0x82d314) at eval.c:2779
#42 0x01071305 in exec_byte_code (bytestr=0, vector=8573716, maxdepth=40, 
    args_template=54220826, nargs=8875904, args=0xd) at bytecode.c:899
#43 0x010736a6 in Fbyte_code (bytestr=61090145, vector=60310157, maxdepth=40)
    at bytecode.c:474
#44 0x0100e486 in eval_sub (form=61185742) at eval.c:2143
#45 0x01027627 in readevalloop (readcharfun=54287322, stream=0x77c2fd00, 
    sourcename=61090065, printflag=0, unibyte=54220826, readfun=54220826, 
    start=54220826, end=54220826) at lread.c:1840
#46 0x01028520 in Fload (file=18793169, noerror=54220826, nomessage=54220850, 
    nosuffix=54220826, must_suffix=<optimized out>) at lread.c:1321
#47 0x010412ed in Frequire (feature=56519570, filename=54220826, 
    noerror=54220826) at fns.c:2652
#48 0x0100eea2 in Ffuncall (nargs=2, args=0x82dad4) at eval.c:2779
#49 0x01071305 in exec_byte_code (bytestr=0, vector=8575700, maxdepth=20, 
    args_template=54220826, nargs=8875904, args=0xd) at bytecode.c:899
#50 0x010736a6 in Fbyte_code (bytestr=61280625, vector=54705621, maxdepth=20)
    at bytecode.c:474
#51 0x0100e486 in eval_sub (form=61186254) at eval.c:2143
#52 0x01027627 in readevalloop (readcharfun=54287322, stream=0x77c2fce0, 
    sourcename=61281105, printflag=0, unibyte=54220826, readfun=54220826, 
    start=54220826, end=54220826) at lread.c:1840
#53 0x01028520 in Fload (file=58011345, noerror=54220826, nomessage=54220850, 
    nosuffix=54220826, must_suffix=<optimized out>) at lread.c:1321
#54 0x010412ed in Frequire (feature=55826890, filename=54220826, 
    noerror=54220826) at fns.c:2652
#55 0x0100e486 in eval_sub (form=61188470) at eval.c:2143
#56 0x0100e7c3 in Fprogn (args=61188590) at eval.c:359
#57 0x0100e5fc in eval_sub (form=61188606) at eval.c:2085
#58 0x01027627 in readevalloop (readcharfun=59400709, stream=0x0, 
    sourcename=59693425, printflag=0, unibyte=54220826, readfun=54220826, 
    start=54220826, end=54220826) at lread.c:1840
#59 0x01027d62 in Feval_buffer (buffer=59400709, printflag=54220826, 
    filename=59658273, unibyte=54220826, do_allow_print=54220850)
    at lread.c:1901
#60 0x0100ee5f in Ffuncall (nargs=6, args=0x82e484) at eval.c:2788
#61 0x01071305 in exec_byte_code (bytestr=0, vector=8578180, maxdepth=24, 
    args_template=54220826, nargs=8875904, args=0x0) at bytecode.c:899
#62 0x0100ea3d in funcall_lambda (fun=18548805, nargs=<optimized out>, 
    arg_vector=0x82e610) at eval.c:3004
#63 0x0100ecf3 in Ffuncall (nargs=5, args=0x82e60c) at eval.c:2833
#64 0x0100f11a in call4 (fn=55913386, arg1=59658273, arg2=59658273, 
    arg3=54220826, arg4=54220850) at eval.c:2615
#65 0x01028245 in Fload (file=18830849, noerror=54220826, nomessage=54220850, 
    nosuffix=54220826, must_suffix=<optimized out>) at lread.c:1261
#66 0x01010449 in Fautoload_do_load (fundef=18830918, funname=55982442, 
    macro_only=54220826) at eval.c:1971
#67 0x0100ec8a in Ffuncall (nargs=1, args=0x82ebe4) at eval.c:2836
#68 0x01071305 in exec_byte_code (bytestr=0, vector=8580068, maxdepth=12, 
    args_template=54220826, nargs=8875904, args=0x17) at bytecode.c:899
#69 0x0100ea3d in funcall_lambda (fun=18661501, nargs=<optimized out>, 
    arg_vector=0x82ed58) at eval.c:3004
#70 0x0100ecf3 in Ffuncall (nargs=3, args=0x82ed54) at eval.c:2833
#71 0x01071305 in exec_byte_code (bytestr=0, vector=8580436, maxdepth=16, 
    args_template=54220826, nargs=8875904, args=0x1a) at bytecode.c:899
#72 0x010736a6 in Fbyte_code (bytestr=18661289, vector=18661317, maxdepth=16)
    at bytecode.c:474
#73 0x0100e486 in eval_sub (form=18661278) at eval.c:2143
#74 0x0100d658 in internal_catch (tag=56401354, func=0x100e006 <eval_sub>, 
    arg=18661278) at eval.c:1059
#75 0x01071978 in exec_byte_code (bytestr=0, vector=8580968, maxdepth=24, 
    args_template=54220826, nargs=8875904, args=0x82ef64) at bytecode.c:1080
#76 0x0100ea3d in funcall_lambda (fun=18660869, nargs=<optimized out>, 
    arg_vector=0x82f070) at eval.c:3004
#77 0x0100df52 in apply_lambda (fun=18660869, args=<optimized out>)
    at eval.c:2881
#78 0x0100e1af in eval_sub (form=18655582) at eval.c:2212
#79 0x01010d9f in internal_lisp_condition_case (var=56062506, 
    bodyform=18655582, handlers=18655590) at eval.c:1242
#80 0x01071cf7 in exec_byte_code (bytestr=0, vector=8581660, maxdepth=16, 
    args_template=54220826, nargs=8875904, args=0x82f214) at bytecode.c:1095
#81 0x0100ea3d in funcall_lambda (fun=18655429, nargs=<optimized out>, 
    arg_vector=0x82f398) at eval.c:3004
#82 0x0100ecf3 in Ffuncall (nargs=2, args=0x82f394) at eval.c:2833
#83 0x01071305 in exec_byte_code (bytestr=0, vector=8582036, maxdepth=20, 
    args_template=54220826, nargs=8875904, args=0x0) at bytecode.c:899
#84 0x0100ea3d in funcall_lambda (fun=18654749, nargs=<optimized out>, 
    arg_vector=0x82f518) at eval.c:3004
#85 0x0100ecf3 in Ffuncall (nargs=3, args=0x82f514) at eval.c:2833
#86 0x01071305 in exec_byte_code (bytestr=0, vector=8582420, maxdepth=12, 
    args_template=54220826, nargs=8875904, args=0x0) at bytecode.c:899
#87 0x0100ea3d in funcall_lambda (fun=18653245, nargs=<optimized out>, 
    arg_vector=0x82f688) at eval.c:3004
#88 0x0100ecf3 in Ffuncall (nargs=7, args=0x82f684) at eval.c:2833
#89 0x01071305 in exec_byte_code (bytestr=0, vector=8582788, maxdepth=32, 
    args_template=54220826, nargs=8875904, args=0x200) at bytecode.c:899
#90 0x0100ea3d in funcall_lambda (fun=18652421, nargs=<optimized out>, 
    arg_vector=0x82f818) at eval.c:3004
#91 0x0100ecf3 in Ffuncall (nargs=5, args=0x82f814) at eval.c:2833
#92 0x01071305 in exec_byte_code (bytestr=0, vector=8583188, maxdepth=24, 
    args_template=54220826, nargs=8875904, args=0x0) at bytecode.c:899
#93 0x0100ea3d in funcall_lambda (fun=18648829, nargs=<optimized out>, 
    arg_vector=0x82f998) at eval.c:3004
#94 0x0100ecf3 in Ffuncall (nargs=2, args=0x82f994) at eval.c:2833
#95 0x01071305 in exec_byte_code (bytestr=0, vector=8583572, maxdepth=8, 
    args_template=0, nargs=8875904, args=0x82fb24) at bytecode.c:899
#96 0x0100e94d in funcall_lambda (fun=61119941, nargs=0, arg_vector=0x82fb24)
    at eval.c:2938
#97 0x0100ecf3 in Ffuncall (nargs=1, args=0x82fb20) at eval.c:2833
#98 0x0100f29c in apply1 (fn=61087154, arg=54220826) at eval.c:2533
#99 0x01073a18 in Fcall_interactively (function=61087154, 
    record_flag=54220826, keys=54242221) at callint.c:377
#100 0x0100eea2 in Ffuncall (nargs=4, args=0x82fc50) at eval.c:2779
#101 0x0100f155 in call3 (fn=54332138, arg1=61087154, arg2=54220826, 
    arg3=54220826) at eval.c:2597
#102 0x010502d6 in command_loop_1 () at keyboard.c:1602
#103 0x0100d713 in internal_condition_case (bfun=0x104ffbc <command_loop_1>, 
    handlers=54271410, hfun=0x104801b <cmd_error>) at eval.c:1288
#104 0x01046c1c in command_loop_2 (ignore=54220826) at keyboard.c:1179
#105 0x0100d658 in internal_catch (tag=54261266, 
    func=0x1046bfc <command_loop_2>, arg=54220826) at eval.c:1059
#106 0x01047bd6 in command_loop () at keyboard.c:1158
#107 recursive_edit_1 () at keyboard.c:779
#108 0x01047e5e in Frecursive_edit () at keyboard.c:843
#109 0x011949b9 in main (argc=<optimized out>, argv=0xab3fe8) at emacs.c:1525
(gdb) 


================= end of log ======================================


> Date: Sat, 3 Nov 2012 16:16:01 +0200
> From: eliz@gnu.org
> Subject: Re: RE: bug#12774: RE: bug#12774: 24.2.50; EMACS 24.2.50.1 crashing‏
> To: vincent.b.1@hotmail.fr
> CC: 12774@debbugs.gnu.org
> 
> > From: Vincent Belaïche <vincent.b.1@hotmail.fr>
> > CC: <12774@debbugs.gnu.org>
> > Date: Sat, 3 Nov 2012 14:47:52 +0100
> > 
> > I did the experiment again, after a few attempts I got it crash, and typed  "thread apply all bt".
> > 
> > 
> > 
> > The output " Program received signal SIGTRAP, Trace/breakpoint trap." is printed immediately I click on "Oui" (Yes) button in the dialog that appears when the crash occurs.
> 
> If you run Emacs under GDB, you should do this:
> 
>  (gdb) break emacs_abort
>  (gdb) run
> 
> Then Emacs will stop in emacs_abort instead of popping up the abort
> dialog, and you will be able to produce a more meaningful backtrace.
 		 	   		  

[-- Attachment #2: Type: text/html, Size: 16214 bytes --]

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

* bug#12774: RE: bug#12774: RE: bug#12774: 24.2.50; EMACS 24.2.50.1 crashing‏
  2012-11-03 17:41                 ` Vincent Belaïche
@ 2012-11-03 20:07                   ` Eli Zaretskii
       [not found]                     ` <DUB102-W4349F77D26F50F97BC2D7184660@phx.gbl>
  0 siblings, 1 reply; 24+ messages in thread
From: Eli Zaretskii @ 2012-11-03 20:07 UTC (permalink / raw)
  To: Vincent Belaïche; +Cc: 12774

> From: Vincent Belaïche <vincent.b.1@hotmail.fr>
> CC: <12774@debbugs.gnu.org>
> Date: Sat, 3 Nov 2012 18:41:31 +0100
> 
> I did now exactly as you said in the first place: I launched only one instance of emacs, got its PID from the task manager, got it crashed, and then connected the gdb to it, and then got the backtrace.

Now we are cooking.  I need a recipe to reproduce this crash.

> I was not doing this way before, but rather launched emacs via `gdb --exec=...emacs'. This is because there is no systematic way to get the crash happen. Sometimes it happens, and sometimes not. It seems to have to do with some real time condition, like some race between two processes. So it seemed to me that it was easier to have it crashed when emacs is run from the debugger, rather run it, and then connect the debugger. I must say that I have no certainty about that. Indeed, the crash happens rather unpredictably. So, anyway, the only truth is the trace below.

It's not related to any race condition.  It's related to memory
allocation; specifically, memory allocation for loading a large
charset.  Can you try to remember what were you doing when Emacs
crashed?






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

* bug#12774: RE: bug#12774: RE: bug#12774: 24.2.50; EMACS 24.2.50.1 crashing‏
       [not found]                     ` <DUB102-W4349F77D26F50F97BC2D7184660@phx.gbl>
@ 2012-11-04  3:46                       ` Eli Zaretskii
  2012-11-04 16:44                       ` Eli Zaretskii
  1 sibling, 0 replies; 24+ messages in thread
From: Eli Zaretskii @ 2012-11-04  3:46 UTC (permalink / raw)
  To: Vincent Belaïche; +Cc: 12774

> From: Vincent Belaïche <vincent.b.1@hotmail.fr>
> Date: Sat, 3 Nov 2012 23:24:15 +0100
> 
> The crash can happen without my doing anything special previously except opening that attached file USING_CEDET_FROM_BZR which causes loading orgmode. Also it seems that it has to do with the size of my init.el file --- and not only to its content.
> 
> 
> 
> For instance there was in my init file some doit-1 function definition (which is some trash code which I wrote for some purpose and I don't need any longer), here is the definition:
> 
> 
> (defun doit-1 ()
>   (interactive)
>   (save-excursion
> ;  (goto-char (point-min))
>   (while (re-search-forward "--\\|\\." nil t)
>     (when (save-match-data (texmathp))
>       (cond
>        ((string= (match-string 0) "--")
> 	(replace-match "-"))
>        ((string= (match-string 0) ".")
> 	(unless (looking-back "\\\\right")
> 	  (replace-match "\\cdot " t t))))))))
> 
> 
> 
> If I comment out this definition from the init file, then I cannot re-produce the crash (or at least I could not succeed in doing it, but it may still be possible), but if I let it, then I can rather easily make the crash occur. I cannot believe that this function per se is the root cause of the problem. However the simple fact that its definition takes some memory space suffices to increase the likelihood the crash when I open that file.

Is this doit-1 function actually used somewhere in your init.el or in
your .emacs?  If it is, can you show the code that uses it?

> BTW, here is the end of my *Message* buffer when the opening of  USING_CEDET_FROM_BZR does cause any crash, this reflects what should happen when this file is visited --- the `Loading dired-x...done' is because I open  USING_CEDET_FROM_BZR from a Dired buffer, so what happens is from line    `flet' is an obsolete macro (as of 24.3); use either `cl-flet' or `cl-letf'. [2 times]. 
> 
> 
> Loading dired-x...done
> `flet' is an obsolete macro (as of 24.3); use either `cl-flet' or `cl-letf'. [2 times]
> File mode specification error: (void-function org-mode-p)
> Loading vc-bzr...done

Can you turn on debug-on-error and show the Lisp backtrace for these
messages?  Each time a backtrace appears, type "C-]" to get out of the
debugger and continue to the next error.






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

* bug#12774: RE: bug#12774: 24.2.50; EMACS 24.2.50.1 crashing
  2012-11-01  5:23 bug#12774: 24.2.50; EMACS 24.2.50.1 crashing‏ Vincent Belaïche
  2012-11-01 14:57 ` Eli Zaretskii
@ 2012-11-04  8:52 ` Vincent Belaïche
  2012-11-04 16:22   ` Eli Zaretskii
  2012-11-04 19:50 ` Vincent Belaïche
  2012-11-07 20:40 ` Vincent Belaïche
  3 siblings, 1 reply; 24+ messages in thread
From: Vincent Belaïche @ 2012-11-04  8:52 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 12774

[-- Attachment #1: Type: text/plain, Size: 3067 bytes --]



> Date: Sun, 4 Nov 2012 05:46:16 +0200
> From: eliz@gnu.org
> Subject: Re: RE: bug#12774: RE: bug#12774: 24.2.50; EMACS 24.2.50.1 crashing‏
> To: vincent.b.1@hotmail.fr
> CC: 12774@debbugs.gnu.org
> 
> > From: Vincent Belaïche <vincent.b.1@hotmail.fr>
> > Date: Sat, 3 Nov 2012 23:24:15 +0100
> > 
> > The crash can happen without my doing anything special previously except opening that attached file USING_CEDET_FROM_BZR which causes loading orgmode. Also it seems that it has to do with the size of my init.el file --- and not only to its content.
> > 
> > 
> > 
> > For instance there was in my init file some doit-1 function definition (which is some trash code which I wrote for some purpose and I don't need any longer), here is the definition:
> > 
> > 
> > (defun doit-1 ()
> > (interactive)
> > (save-excursion
> > ; (goto-char (point-min))
> > (while (re-search-forward "--\\|\\." nil t)
> > (when (save-match-data (texmathp))
> > (cond
> > ((string= (match-string 0) "--")
> > (replace-match "-"))
> > ((string= (match-string 0) ".")
> > (unless (looking-back "\\\\right")
> > (replace-match "\\cdot " t t))))))))
> > 
> > 
> > 
> > If I comment out this definition from the init file, then I cannot re-produce the crash (or at least I could not succeed in doing it, but it may still be possible), but if I let it, then I can rather easily make the crash occur. I cannot believe that this function per se is the root cause of the problem. However the simple fact that its definition takes some memory space suffices to increase the likelihood the crash when I open that file.
> 
> Is this doit-1 function actually used somewhere in your init.el or in
> your .emacs? If it is, can you show the code that uses it?
> 

No it is not used anywhere else, this is some leftover trash code...

> > BTW, here is the end of my *Message* buffer when the opening of USING_CEDET_FROM_BZR does cause any crash, this reflects what should happen when this file is visited --- the `Loading dired-x...done' is because I open USING_CEDET_FROM_BZR from a Dired buffer, so what happens is from line `flet' is an obsolete macro (as of 24.3); use either `cl-flet' or `cl-letf'. [2 times]. 
> > 
> > 
> > Loading dired-x...done
> > `flet' is an obsolete macro (as of 24.3); use either `cl-flet' or `cl-letf'. [2 times]
> > File mode specification error: (void-function org-mode-p)
> > Loading vc-bzr...done
> 
> Can you turn on debug-on-error and show the Lisp backtrace for these
> messages? Each time a backtrace appears, type "C-]" to get out of the
> debugger and continue to the next error.

For your information, to get the backtrace I had to open directly
USING_CEDET_FROM_BZR without going through Dired, because going through
Dired beforehand increases considerably the risk of trash.

When I did `C-]' I got again and again the same backtrace.

For your information also, I did not get any bracktrace for

 `flet' is an obsolete macro (as of 24.3); use either `cl-flet' or
 `cl-letf'

   Vincent.


[-- Attachment #2: backtrace_1st.txt --]
[-- Type: text/plain, Size: 10949 bytes --]

Debugger entered--Lisp error: (void-function org-mode-p)
  (org-mode-p)
  (if (org-mode-p) (setq bl nil))
  (while bl (set-buffer (car (prog1 bl (setq bl (cdr bl))))) (if (org-mode-p) (setq bl nil)))
  (save-excursion (while bl (set-buffer (car (prog1 bl (setq bl (cdr bl))))) (if (org-mode-p) (setq bl nil))) (if (org-mode-p) (progn (easy-menu-change (quote ("Org")) "File List for Agenda" (append (list ["Edit File List" (org-edit-agenda-file-list) t] ["Add/Move Current File to Front of List" org-agenda-file-to-front t] ["Remove Current File from List" org-remove-file t] ["Cycle through agenda files" org-cycle-agenda-files t] ["Occur in all agenda files" org-occur-in-agenda-files t] "--") (mapcar (quote org-file-menu-entry) (org-agenda-files t)))))))
  (let ((bl (buffer-list))) (save-excursion (while bl (set-buffer (car (prog1 bl (setq bl (cdr bl))))) (if (org-mode-p) (setq bl nil))) (if (org-mode-p) (progn (easy-menu-change (quote ("Org")) "File List for Agenda" (append (list ["Edit File List" ... t] ["Add/Move Current File to Front of List" org-agenda-file-to-front t] ["Remove Current File from List" org-remove-file t] ["Cycle through agenda files" org-cycle-agenda-files t] ["Occur in all agenda files" org-occur-in-agenda-files t] "--") (mapcar (quote org-file-menu-entry) (org-agenda-files t))))))))
  org-install-agenda-files-menu()
  (let ((delay-mode-hooks t)) (outline-mode) (setq major-mode (quote org-mode)) (setq mode-name "Org") (progn (if (get (quote outline-mode) (quote mode-class)) (put (quote org-mode) (quote mode-class) (get (quote outline-mode) (quote mode-class)))) (if (keymap-parent org-mode-map) nil (set-keymap-parent org-mode-map (current-local-map))) (let ((parent (char-table-parent org-mode-syntax-table))) (if (and parent (not (eq parent (standard-syntax-table)))) nil (set-char-table-parent org-mode-syntax-table (syntax-table)))) (if (or (abbrev-table-get org-mode-abbrev-table :parents) (eq org-mode-abbrev-table local-abbrev-table)) nil (abbrev-table-put org-mode-abbrev-table :parents (list local-abbrev-table)))) (use-local-map org-mode-map) (set-syntax-table org-mode-syntax-table) (setq local-abbrev-table org-mode-abbrev-table) (if nil (if (boundp (quote outline-mode-menu-heading)) (progn (easy-menu-remove outline-mode-menu-heading) (easy-menu-remove outline-mode-menu-show) (easy-menu-remove outline-mode-menu-hide))) (define-key org-mode-map [menu-bar headings] (quote undefined)) (define-key org-mode-map [menu-bar hide] (quote undefined)) (define-key org-mode-map [menu-bar show] (quote undefined))) (org-load-modules-maybe) (easy-menu-add org-org-menu) (easy-menu-add org-tbl-menu) (org-install-agenda-files-menu) (if org-descriptive-links (add-to-invisibility-spec (quote (org-link)))) (add-to-invisibility-spec (quote (org-cwidth))) (add-to-invisibility-spec (quote (org-hide-block . t))) (if nil (progn (org-set-local (quote line-move-ignore-invisible) t))) (org-set-local (quote outline-regexp) org-outline-regexp) (org-set-local (quote outline-level) (quote org-outline-level)) (if (and org-ellipsis (fboundp (quote set-display-table-slot)) (boundp (quote buffer-display-table)) (fboundp (quote make-glyph-code))) (progn (if org-display-table nil (setq org-display-table (make-display-table))) (set-display-table-slot org-display-table 4 (vconcat (mapcar (function (lambda ... ...)) (if (stringp org-ellipsis) org-ellipsis "...")))) (setq buffer-display-table org-display-table))) (org-set-regexps-and-options) (if (and org-tag-faces (not org-tags-special-faces-re)) (progn (org-set-tag-faces (quote org-tag-faces) org-tag-faces))) (org-set-local (quote calc-embedded-open-mode) "# ") (modify-syntax-entry 64 "w") (if org-startup-truncated (setq truncate-lines t)) (org-set-local (quote font-lock-unfontify-region-function) (quote org-unfontify-region)) (org-set-local (quote org-table-may-need-update) t) (org-add-hook (quote before-change-functions) (quote org-before-change-function) nil (quote local)) (org-add-hook (quote kill-buffer-hook) (quote org-check-running-clock) nil (quote local)) (org-set-autofill-regexps) (setq indent-line-function (quote org-indent-line-function)) (org-update-radio-target-regexp) (org-set-local (quote beginning-of-defun-function) (quote org-beginning-of-defun)) (org-set-local (quote end-of-defun-function) (quote org-end-of-defun)) (org-set-local (quote next-error-function) (quote org-occur-next-match)) (if org-enforce-todo-dependencies (add-hook (quote org-blocker-hook) (quote org-block-todo-from-children-or-siblings-or-parent)) (remove-hook (quote org-blocker-hook) (quote org-block-todo-from-children-or-siblings-or-parent))) (if org-enforce-todo-checkbox-dependencies (add-hook (quote org-blocker-hook) (quote org-block-todo-from-checkboxes)) (remove-hook (quote org-blocker-hook) (quote org-block-todo-from-checkboxes))) (org-set-local (quote comment-start) "#") (org-set-local (quote comment-padding) " ") (org-set-local (quote align-mode-rules-list) (quote ((org-in-buffer-settings (regexp . "^#\\+[A-Z_]+:\\(\\s-*\\)\\S-+") (modes quote (org-mode)))))) (org-set-local (quote imenu-create-index-function) (quote org-imenu-get-tree)) (if (or nil (not (boundp (quote outline-isearch-open-invisible-function)))) (org-add-hook (quote isearch-mode-end-hook) (quote org-isearch-end) (quote append) (quote local)) (org-set-local (quote outline-isearch-open-invisible-function) (function (lambda (&rest ignore) (org-show-context (quote isearch)))))) (and org-startup-with-beamer-mode (org-beamer-mode 1)) (set (make-local-variable (quote pcomplete-command-completion-function)) (quote org-pcomplete-initial)) (set (make-local-variable (quote pcomplete-command-name-function)) (quote org-command-at-point)) (set (make-local-variable (quote pcomplete-default-completion-function)) (quote ignore)) (set (make-local-variable (quote pcomplete-parse-arguments-function)) (quote org-parse-arguments)) (set (make-local-variable (quote pcomplete-termination-string)) "") (if (and org-insert-mode-line-in-empty-file (interactive-p) (= (point-min) (point-max))) (insert "#    -*- mode: org -*-\n\n")) ...)
  (progn (make-local-variable (quote delay-mode-hooks)) (let ((delay-mode-hooks t)) (outline-mode) (setq major-mode (quote org-mode)) (setq mode-name "Org") (progn (if (get (quote outline-mode) (quote mode-class)) (put (quote org-mode) (quote mode-class) (get (quote outline-mode) (quote mode-class)))) (if (keymap-parent org-mode-map) nil (set-keymap-parent org-mode-map (current-local-map))) (let ((parent (char-table-parent org-mode-syntax-table))) (if (and parent (not (eq parent ...))) nil (set-char-table-parent org-mode-syntax-table (syntax-table)))) (if (or (abbrev-table-get org-mode-abbrev-table :parents) (eq org-mode-abbrev-table local-abbrev-table)) nil (abbrev-table-put org-mode-abbrev-table :parents (list local-abbrev-table)))) (use-local-map org-mode-map) (set-syntax-table org-mode-syntax-table) (setq local-abbrev-table org-mode-abbrev-table) (if nil (if (boundp (quote outline-mode-menu-heading)) (progn (easy-menu-remove outline-mode-menu-heading) (easy-menu-remove outline-mode-menu-show) (easy-menu-remove outline-mode-menu-hide))) (define-key org-mode-map [menu-bar headings] (quote undefined)) (define-key org-mode-map [menu-bar hide] (quote undefined)) (define-key org-mode-map [menu-bar show] (quote undefined))) (org-load-modules-maybe) (easy-menu-add org-org-menu) (easy-menu-add org-tbl-menu) (org-install-agenda-files-menu) (if org-descriptive-links (add-to-invisibility-spec (quote (org-link)))) (add-to-invisibility-spec (quote (org-cwidth))) (add-to-invisibility-spec (quote (org-hide-block . t))) (if nil (progn (org-set-local (quote line-move-ignore-invisible) t))) (org-set-local (quote outline-regexp) org-outline-regexp) (org-set-local (quote outline-level) (quote org-outline-level)) (if (and org-ellipsis (fboundp (quote set-display-table-slot)) (boundp (quote buffer-display-table)) (fboundp (quote make-glyph-code))) (progn (if org-display-table nil (setq org-display-table (make-display-table))) (set-display-table-slot org-display-table 4 (vconcat (mapcar (function ...) (if ... org-ellipsis "...")))) (setq buffer-display-table org-display-table))) (org-set-regexps-and-options) (if (and org-tag-faces (not org-tags-special-faces-re)) (progn (org-set-tag-faces (quote org-tag-faces) org-tag-faces))) (org-set-local (quote calc-embedded-open-mode) "# ") (modify-syntax-entry 64 "w") (if org-startup-truncated (setq truncate-lines t)) (org-set-local (quote font-lock-unfontify-region-function) (quote org-unfontify-region)) (org-set-local (quote org-table-may-need-update) t) (org-add-hook (quote before-change-functions) (quote org-before-change-function) nil (quote local)) (org-add-hook (quote kill-buffer-hook) (quote org-check-running-clock) nil (quote local)) (org-set-autofill-regexps) (setq indent-line-function (quote org-indent-line-function)) (org-update-radio-target-regexp) (org-set-local (quote beginning-of-defun-function) (quote org-beginning-of-defun)) (org-set-local (quote end-of-defun-function) (quote org-end-of-defun)) (org-set-local (quote next-error-function) (quote org-occur-next-match)) (if org-enforce-todo-dependencies (add-hook (quote org-blocker-hook) (quote org-block-todo-from-children-or-siblings-or-parent)) (remove-hook (quote org-blocker-hook) (quote org-block-todo-from-children-or-siblings-or-parent))) (if org-enforce-todo-checkbox-dependencies (add-hook (quote org-blocker-hook) (quote org-block-todo-from-checkboxes)) (remove-hook (quote org-blocker-hook) (quote org-block-todo-from-checkboxes))) (org-set-local (quote comment-start) "#") (org-set-local (quote comment-padding) " ") (org-set-local (quote align-mode-rules-list) (quote ((org-in-buffer-settings (regexp . "^#\\+[A-Z_]+:\\(\\s-*\\)\\S-+") (modes quote (org-mode)))))) (org-set-local (quote imenu-create-index-function) (quote org-imenu-get-tree)) (if (or nil (not (boundp (quote outline-isearch-open-invisible-function)))) (org-add-hook (quote isearch-mode-end-hook) (quote org-isearch-end) (quote append) (quote local)) (org-set-local (quote outline-isearch-open-invisible-function) (function (lambda (&rest ignore) (org-show-context (quote isearch)))))) (and org-startup-with-beamer-mode (org-beamer-mode 1)) (set (make-local-variable (quote pcomplete-command-completion-function)) (quote org-pcomplete-initial)) (set (make-local-variable (quote pcomplete-command-name-function)) (quote org-command-at-point)) (set (make-local-variable (quote pcomplete-default-completion-function)) (quote ignore)) (set (make-local-variable (quote pcomplete-parse-arguments-function)) (quote org-parse-arguments)) (set (make-local-variable (quote pcomplete-termination-string)) "") (if (and org-insert-mode-line-in-empty-file (interactive-p) (= (point-min) (point-max))) (insert "#    -*- mode: org -*-\n\n")) ...))
  org-mode()
  set-auto-mode-0(org-mode nil)
  byte-code("\b\237\305\x19\211\x1a\203/

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

* bug#12774: RE: bug#12774: 24.2.50; EMACS 24.2.50.1 crashing
  2012-11-04  8:52 ` bug#12774: RE: bug#12774: 24.2.50; EMACS 24.2.50.1 crashing Vincent Belaïche
@ 2012-11-04 16:22   ` Eli Zaretskii
  0 siblings, 0 replies; 24+ messages in thread
From: Eli Zaretskii @ 2012-11-04 16:22 UTC (permalink / raw)
  To: Vincent Belaïche; +Cc: 12774

> From: Vincent Belaïche <vincent.b.1@hotmail.fr> 
> Cc: 12774@debbugs.gnu.org
> Date: Sun, 04 Nov 2012 09:52:02 +0100
> 
> Debugger entered--Lisp error: (void-function org-mode-p)
>   (org-mode-p)
>   (if (org-mode-p) (setq bl nil))
>   (while bl (set-buffer (car (prog1 bl (setq bl (cdr bl))))) (if (org-mode-p) (setq bl nil)))
>   (save-excursion (while bl (set-buffer (car (prog1 bl (setq bl (cdr bl))))) (if (org-mode-p) (setq bl nil))) (if (org-mode-p) (progn (easy-menu-change (quote ("Org")) "File List for Agenda" (append (list ["Edit File List" (org-edit-agenda-file-list) t] ["Add/Move Current File to Front of List" org-agenda-file-to-front t] ["Remove Current File from List" org-remove-file t] ["Cycle through agenda files" org-cycle-agenda-files t] ["Occur in all agenda files" org-occur-in-agenda-files t] "--") (mapcar (quote org-file-menu-entry) (org-agenda-files t)))))))
>   (let ((bl (buffer-list))) (save-excursion (while bl (set-buffer (car (prog1 bl (setq bl (cdr bl))))) (if (org-mode-p) (setq bl nil))) (if (org-mode-p) (progn (easy-menu-change (quote ("Org")) "File List for Agenda" (append (list ["Edit File List" ... t] ["Add/Move Current File to Front of List" org-agenda-file-to-front t] ["Remove Current File from List" org-remove-file t] ["Cycle through agenda files" org-cycle-agenda-files t] ["Occur in all agenda files" org-occur-in-agenda-files t] "--") (mapcar (quote org-file-menu-entry) (org-agenda-files t))))))))
>   org-install-agenda-files-menu()

Do you have some old org.el on your system?  The current version
doesn't have a call to org-mode-p inside
org-install-agenda-files-menu, it does this:

  (defun org-install-agenda-files-menu ()
    (let ((bl (buffer-list)))
      (save-excursion
	(while bl
	  (set-buffer (pop bl))
	  (if (derived-mode-p 'org-mode) (setq bl nil)))
	(when (derived-mode-p 'org-mode)
	  (easy-menu-change
	   '("Org") "File List for Agenda"
	   (append
	    (list
	     ["Edit File List" (org-edit-agenda-file-list) t]

As you see, it uses (derived-mode-p 'org-mode), not (org-mode-p).






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

* bug#12774: 24.2.50; EMACS 24.2.50.1 crashing‏
       [not found]                     ` <DUB102-W4349F77D26F50F97BC2D7184660@phx.gbl>
  2012-11-04  3:46                       ` Eli Zaretskii
@ 2012-11-04 16:44                       ` Eli Zaretskii
  1 sibling, 0 replies; 24+ messages in thread
From: Eli Zaretskii @ 2012-11-04 16:44 UTC (permalink / raw)
  To: Vincent Belaïche; +Cc: 12774

> From: Vincent Belaïche <vincent.b.1@hotmail.fr>
> Date: Sat, 3 Nov 2012 23:24:15 +0100
> 
> The crash can happen without my doing anything special previously except opening that attached file USING_CEDET_FROM_BZR which causes loading orgmode. Also it seems that it has to do with the size of my init.el file --- and not only to its content.

OK.  Here's what I'm asking you to do.  Start Emacs under GDB, like
this:

 c:\Documents and Settings\Vincent>gdb C:/Programme/GNU/Emacs/bin/emacs.exe

(Note: do NOT invoke Emacs via the --exec= switch, since that does not
load the symbol table and other debugging info from emacs.exe.)

Once GDB shows its prompt, type these commands:

 (gdb) break ralloc.c:353
 (gdb) break w32heap.c:141
 (gdb) break w32heap.c:155
 (gdb) run

Please verify that the 3 source lines where you set breakpoints are
the ones marked below:

 ralloc.c:

      if ((*real_morecore) (- excess) == 0)
	{
	  /* If the system didn't want that much memory back, adjust
             the end of the last heap to reflect that.  This can occur
             if break_value is still within the original data segment.  */
 >>>>>>>  last_heap->end = (char *) last_heap->end + excess;
	  /* Make sure that the result of the adjustment is accurate.
             It should be, for the else clause above; the other case,
             which returns the entire last heap to the system, seems
             unlikely to trigger this mode of failure.  */
	  if (last_heap->end != (*real_morecore) (0))
	    emacs_abort ();
	}

 w32heap.c:

      /* Sanity checks.  */
      if ((data_region_end - size) < data_region_base)
 >>>>>	return NULL;

      /* We can only decommit full pages, so allow for
	 partial deallocation [cga].  */
      new_data_region_end = (data_region_end - size);
      new_data_region_end = (unsigned char *)
	((DWORD_PTR) (new_data_region_end + syspage_mask) & ~syspage_mask);
      new_size = real_data_region_end - new_data_region_end;
      real_data_region_end = new_data_region_end;
      if (new_size > 0)
	{
	  /* Decommit size bytes from the end of the heap.  */
	  if (using_dynamic_heap
	      && !VirtualFree (real_data_region_end, new_size, MEM_DECOMMIT))
 >>>>>	    return NULL;
 	}

If your sources are different, adjust the line numbers in the "break"
commands accordingly.

Now do whatever you usually do to get Emacs to crash, and wait for one
of the breakpoints to break (they will break before the crash, so
don't expect the abort dialog).

Then please tell which of the breakpoints on the 2 "return NULL" in
w32heap.c breaks.  If it's the second one, the one after the call to
VirtualFree, please type this command:

 (gdb) print w32_last-error()

(note the parentheses: they are important) and tell what it prints.

Then please type "continue", which should stop at the breakpoint in
ralloc.c, and tell what do the following commands produce:

 (gdb) print last_heap->end
 (gdb) print last_heap->bloc_start
 (gdb) print excess
 (gdb) print sbrk(0)

Also, please type "xbacktrace" and post the Lisp-level backtrace this
produces.  If you don't invoke GDB from the src directory, you may
need to type "source /path/to/emacs/src/.gdbinit" to make "xbacktrace"
work.

Thanks.






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

* bug#12774: 24.2.50; EMACS 24.2.50.1 crashing
  2012-11-01  5:23 bug#12774: 24.2.50; EMACS 24.2.50.1 crashing‏ Vincent Belaïche
  2012-11-01 14:57 ` Eli Zaretskii
  2012-11-04  8:52 ` bug#12774: RE: bug#12774: 24.2.50; EMACS 24.2.50.1 crashing Vincent Belaïche
@ 2012-11-04 19:50 ` Vincent Belaïche
  2012-11-05 17:14   ` Eli Zaretskii
  2012-11-07 20:40 ` Vincent Belaïche
  3 siblings, 1 reply; 24+ messages in thread
From: Vincent Belaïche @ 2012-11-04 19:50 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 12774

[-- Attachment #1: Type: text/plain, Size: 4859 bytes --]



> Date: Sun, 4 Nov 2012 18:44:51 +0200
> From: eliz@gnu.org
> Subject: Re: bug#12774: 24.2.50; EMACS 24.2.50.1 crashing‏
> To: vincent.b.1@hotmail.fr
> CC: 12774@debbugs.gnu.org
> 
> > From: Vincent Belaïche <vincent.b.1@hotmail.fr>
> > Date: Sat, 3 Nov 2012 23:24:15 +0100
> > 
> > The crash can happen without my doing anything special previously
> > except opening that attached file USING_CEDET_FROM_BZR which causes
> > loading orgmode. Also it seems that it has to do with the size of my
> > init.el file --- and not only to its content.
> 
> OK. Here's what I'm asking you to do. Start Emacs under GDB, like
> this:
> 
> c:\Documents and Settings\Vincent>gdb C:/Programme/GNU/Emacs/bin/emacs.exe
> 
> (Note: do NOT invoke Emacs via the --exec= switch, since that does not
> load the symbol table and other debugging info from emacs.exe.)
> 
> Once GDB shows its prompt, type these commands:
> 
> (gdb) break ralloc.c:353
> (gdb) break w32heap.c:141
> (gdb) break w32heap.c:155
> (gdb) run
> 
> Please verify that the 3 source lines where you set breakpoints are
> the ones marked below:
> 

My ralloc.c is Bzr-110429 and the breakpoint line is 352 instead of 353

> ralloc.c:
> 
> if ((*real_morecore) (- excess) == 0)
> {
> /* If the system didn't want that much memory back, adjust
> the end of the last heap to reflect that. This can occur
> if break_value is still within the original data segment. */
> >>>>>>> last_heap->end = (char *) last_heap->end + excess;
> /* Make sure that the result of the adjustment is accurate.
> It should be, for the else clause above; the other case,
> which returns the entire last heap to the system, seems
> unlikely to trigger this mode of failure. */
> if (last_heap->end != (*real_morecore) (0))
> emacs_abort ();
> }
> 

My w32heap.c is Bzr-110429, and the breakpoint lines are 194 instead of
141, and 208 instead of 155.

> w32heap.c:
> 
> /* Sanity checks. */
> if ((data_region_end - size) < data_region_base)
> >>>>> return NULL;
> 
> /* We can only decommit full pages, so allow for
> partial deallocation [cga]. */
> new_data_region_end = (data_region_end - size);
> new_data_region_end = (unsigned char *)
> ((DWORD_PTR) (new_data_region_end + syspage_mask) & ~syspage_mask);
> new_size = real_data_region_end - new_data_region_end;
> real_data_region_end = new_data_region_end;
> if (new_size > 0)
> {
> /* Decommit size bytes from the end of the heap. */
> if (using_dynamic_heap
> && !VirtualFree (real_data_region_end, new_size, MEM_DECOMMIT))
> >>>>> return NULL;
> }
> 
> If your sources are different, adjust the line numbers in the "break"
> commands accordingly.
> 
> Now do whatever you usually do to get Emacs to crash, and wait for one
> of the breakpoints to break (they will break before the crash, so
> don't expect the abort dialog).
> 
> Then please tell which of the breakpoints on the 2 "return NULL" in
> w32heap.c breaks. If it's the second one, the one after the call to
> VirtualFree, please type this command:
> 
> (gdb) print w32_last-error()
> 

The break occurred in the 3rd breakpoint (second one in w32heap.c),
i.e. *NOT* the one after the call to VirtualFree, but one the previous
one in the same file.

> (note the parentheses: they are important) and tell what it prints.
> 
> Then please type "continue", which should stop at the breakpoint in
> ralloc.c, and tell what do the following commands produce:
> 
> (gdb) print last_heap->end
> (gdb) print last_heap->bloc_start
> (gdb) print excess
> (gdb) print sbrk(0)
> 
> Also, please type "xbacktrace" and post the Lisp-level backtrace this
> produces. If you don't invoke GDB from the src directory, you may
> need to type "source /path/to/emacs/src/.gdbinit" to make "xbacktrace"
> work.
>

Please find attached the log which I got.

Please note the following:

- at line 83 the message `Undefined command: "xbacktrace".  Try "help".'
  occurs again because I typed RET a second time.

- at line 89 `Are you sure you want to change it? (y or n) [answered Y;
  input not from terminal]' the answered was autnomously produced by
  EMACS which I am was using as a terminal --- because that makes it
  easier to save the log to a file and to recall past commands --- I
  don't know why EMACS used with `M-x shell' does not always behave well
  when you are asked interactive questions, but that is a completely
  different issue.

- At line 109 I tried print w32_last-error() to see what happens, even
  though that is not the 2nd breakpoint (1st in w32heap.c)

- At lines 111 & 112 I typed RET twice, and this is why you get the same
  error messages again `No symbol "w32_last" in current context.'

> 
> Thanks.

All thanks are to you for your kind support.

   Vincent.


[-- Attachment #2: gdb_log.txt --]
[-- Type: text/plain, Size: 3526 bytes --]



c:\msys\1.0\temp>gdb C:/Programme/GNU/Emacs/bin/emacs.exe
gdb C:/Programme/GNU/Emacs/bin/emacs.exe
GNU gdb (GDB) 7.4
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-mingw32".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from C:\Programme\GNU\Emacs\bin\emacs.exe...done.
(gdb) break ralloc.c:352
Breakpoint 1 at 0x1172ef9: file ralloc.c, line 352.
(gdb) break w32heap.c:194
Breakpoint 2 at 0x10a4035: file w32heap.c, line 194.
(gdb) break w32heap.c:208
Breakpoint 3 at 0x10a407f: file w32heap.c, line 208.
(gdb) run
Starting program: C:\Programme\GNU\Emacs\bin\emacs.exe 
[New Thread 4520.0x11d0]
[New Thread 4520.0x344]
[New Thread 4520.0x14b8]

Breakpoint 2, sbrk (increment=-892928) at w32heap.c:200
(gdb) 200	w32heap.c: No such file or directory.
continue
Continuing.

Breakpoint 3, sbrk (increment=-892928) at w32heap.c:211
211	in w32heap.c
(gdb) continue
Continuing.

Breakpoint 2, sbrk (increment=-77824) at w32heap.c:200
200	in w32heap.c
(gdb) continue
Continuing.

Breakpoint 3, sbrk (increment=-77824) at w32heap.c:211
211	in w32heap.c
(gdb) continue
Continuing.

Breakpoint 2, sbrk (increment=-77824) at w32heap.c:200
200	in w32heap.c
(gdb) continue
Continuing.

Breakpoint 3, sbrk (increment=-77824) at w32heap.c:211
211	in w32heap.c
(gdb) continue
Continuing.

Breakpoint 2, sbrk (increment=-53248) at w32heap.c:200
200	in w32heap.c
(gdb) continue
Continuing.

Breakpoint 3, sbrk (increment=-53248) at w32heap.c:211
211	in w32heap.c
(gdb) continue
Continuing.
[New Thread 4520.0xf18]

Breakpoint 2, sbrk (increment=-782336) at w32heap.c:200
200	in w32heap.c
(gdb) print last_heap->end
$1 = (POINTER) 0x3ea2000
(gdb) print last_heap->bloc_start
$2 = (POINTER) 0x3e8c000
(gdb)  print excess
(gdb) No symbol "excess" in current context.

(gdb) No symbol "excess" in current context.
print sbrk(0)
$3 = (void *) 0x3f61000
(gdb) xbacktrace
(gdb) Undefined command: "xbacktrace".  Try "help".

(gdb) Undefined command: "xbacktrace".  Try "help".
print xbacktrace
(gdb) No symbol "xbacktrace" in current context.
source c:/Programme/GNU/installation/emacs-install/trunk.old2/src/.gdbinit
Warning: c:\msys\1.0\temp/../lwlib: No such file or directory.
SIGINT is used by the debugger.
Are you sure you want to change it? (y or n) [answered Y; input not from terminal]
DISPLAY = 
TERM = emacs
Breakpoint 4 at 0x1001d29: file emacs.c, line 292.
Temporary breakpoint 5 at 0x10c76ca: file sysdep.c, line 790.
(gdb) xbacktrace
"kill-buffer" (0x82e2b8)
"byte-code" (0x82e3b8)
"load-with-code-conversion" (0x82e610)
"org-mode" (0x82ebe8)
"set-auto-mode-0" (0x82ed58)
"byte-code" (0x82ee68)
"set-auto-mode" (0x82f070)
"normal-mode" (0x82f398)
"after-find-file" (0x82f518)
"find-file-noselect-1" (0x82f688)
"find-file-noselect" (0x82f818)
"find-file" (0x82f998)
"dired-find-file" (0x82fb24)
"call-interactively" (0x82fc54)
(gdb) print w32_last-error()
(gdb) No symbol "w32_last" in current context.

(gdb) No symbol "w32_last" in current context.
(gdb) No symbol "w32_last" in current context.
quit
A debugging session is active.

	Inferior 1 [process 4520] will be killed.

Quit anyway? (y or n) [answered Y; input not from terminal]

c:\msys\1.0\temp>
Process shell<2> finished


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

* bug#12774: 24.2.50; EMACS 24.2.50.1 crashing
  2012-11-04 19:50 ` Vincent Belaïche
@ 2012-11-05 17:14   ` Eli Zaretskii
  0 siblings, 0 replies; 24+ messages in thread
From: Eli Zaretskii @ 2012-11-05 17:14 UTC (permalink / raw)
  To: Vincent Belaïche; +Cc: 12774

> From: Vincent Belaïche <vincent.b.1@hotmail.fr> 
> Cc: 12774@debbugs.gnu.org
> Date: Sun, 04 Nov 2012 20:50:10 +0100
> 
> (gdb) break ralloc.c:352
> Breakpoint 1 at 0x1172ef9: file ralloc.c, line 352.
> (gdb) break w32heap.c:194
> Breakpoint 2 at 0x10a4035: file w32heap.c, line 194.
> (gdb) break w32heap.c:208
> Breakpoint 3 at 0x10a407f: file w32heap.c, line 208.
> (gdb) run
> Starting program: C:\Programme\GNU\Emacs\bin\emacs.exe 
> [New Thread 4520.0x11d0]
> [New Thread 4520.0x344]
> [New Thread 4520.0x14b8]
> 
> Breakpoint 2, sbrk (increment=-892928) at w32heap.c:200
> (gdb) 200	w32heap.c: No such file or directory.
> continue
> Continuing.
> 
> Breakpoint 3, sbrk (increment=-892928) at w32heap.c:211
> 211	in w32heap.c
> (gdb) continue
> Continuing.

As you see, it doesn't stop at the lines where you put the
breakpoints, but on other lines.  Don't know what that means; maybe
compiler optimizations, maybe a mismatch between the sources and the
binary.

> (gdb)  print excess
> (gdb) No symbol "excess" in current context.

Since you are not in ralloc.c, the variable "excess" indeed is not
known.

> (gdb) print w32_last-error()
> (gdb) No symbol "w32_last" in current context.

That was my bad: I meant w32_last_error().

Anyway, I think I know what to do to avoid these crashes.  Thanks.







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

* bug#12774: 24.2.50; EMACS 24.2.50.1 crashing
  2012-11-01  5:23 bug#12774: 24.2.50; EMACS 24.2.50.1 crashing‏ Vincent Belaïche
                   ` (2 preceding siblings ...)
  2012-11-04 19:50 ` Vincent Belaïche
@ 2012-11-07 20:40 ` Vincent Belaïche
  2012-11-07 21:14   ` Eli Zaretskii
  3 siblings, 1 reply; 24+ messages in thread
From: Vincent Belaïche @ 2012-11-07 20:40 UTC (permalink / raw)
  To: Eli Zaretskii, 12774



[...]

> 
> It's certainly a bug: nothing Lisp does should ever crash Emacs.
> 
> Anyway, I installed a change (revision 110784 on the emacs-24 branch)
> that should fix this problem. If you can try with the old org.el,
> please do so to verify that the crashes are gone.
> 
> Thanks.

Done, I have re-built emacs-24 (revision 110804) and I have tried 5
times in vain to reproduce the crash using the old org.el.

It seems that the bug can be closed. Thank you very much for your kind
help.

   Vincent.





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

* bug#12774: 24.2.50; EMACS 24.2.50.1 crashing
  2012-11-07 20:40 ` Vincent Belaïche
@ 2012-11-07 21:14   ` Eli Zaretskii
  0 siblings, 0 replies; 24+ messages in thread
From: Eli Zaretskii @ 2012-11-07 21:14 UTC (permalink / raw)
  To: Vincent Belaïche; +Cc: 12774-done

> From: Vincent Belaïche <vincent.b.1@hotmail.fr> 
> Date: Wed, 07 Nov 2012 21:40:27 +0100
> 
> > It's certainly a bug: nothing Lisp does should ever crash Emacs.
> > 
> > Anyway, I installed a change (revision 110784 on the emacs-24 branch)
> > that should fix this problem. If you can try with the old org.el,
> > please do so to verify that the crashes are gone.
> > 
> > Thanks.
> 
> Done, I have re-built emacs-24 (revision 110804) and I have tried 5
> times in vain to reproduce the crash using the old org.el.
> 
> It seems that the bug can be closed. Thank you very much for your kind
> help.

Thanks, closing.






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

end of thread, other threads:[~2012-11-07 21:14 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-01  5:23 bug#12774: 24.2.50; EMACS 24.2.50.1 crashing‏ Vincent Belaïche
2012-11-01 14:57 ` Eli Zaretskii
     [not found]   ` <DUB102-W598866A2386D9F5F9BE37384600@phx.gbl>
2012-11-01 20:09     ` bug#12774: " Eli Zaretskii
2012-11-01 20:37   ` Vincent Belaïche
2012-11-01 20:40     ` bug#12774: " Eli Zaretskii
2012-11-01 20:47       ` Vincent Belaïche
2012-11-01 21:11         ` bug#12774: " Eli Zaretskii
2012-11-01 21:17           ` Eli Zaretskii
2012-11-03 13:47             ` Vincent Belaïche
2012-11-03 14:16               ` bug#12774: " Eli Zaretskii
2012-11-03 17:20                 ` Vincent Belaïche
2012-11-03 17:21                 ` Vincent Belaïche
2012-11-03 17:41                 ` Vincent Belaïche
2012-11-03 20:07                   ` bug#12774: " Eli Zaretskii
     [not found]                     ` <DUB102-W4349F77D26F50F97BC2D7184660@phx.gbl>
2012-11-04  3:46                       ` Eli Zaretskii
2012-11-04 16:44                       ` Eli Zaretskii
2012-11-01 20:51       ` Vincent Belaïche
2012-11-01 21:00       ` Vincent Belaïche
2012-11-04  8:52 ` bug#12774: RE: bug#12774: 24.2.50; EMACS 24.2.50.1 crashing Vincent Belaïche
2012-11-04 16:22   ` Eli Zaretskii
2012-11-04 19:50 ` Vincent Belaïche
2012-11-05 17:14   ` Eli Zaretskii
2012-11-07 20:40 ` Vincent Belaïche
2012-11-07 21:14   ` Eli Zaretskii

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).