* Re: Crash in M$ build using msvc 7.1
@ 2008-04-24 20:14 Andrey Zhdanov
0 siblings, 0 replies; 7+ messages in thread
From: Andrey Zhdanov @ 2008-04-24 20:14 UTC (permalink / raw)
To: eliz; +Cc: emacs-devel
[-- Attachment #1: Type: text/plain, Size: 16500 bytes --]
Eli Zaretskii wrote:
> The file etc/DEBUG gives some hints on how to debug crashes inside GC,
> search for "Debugging problems which happen in GC". Near the end of
> nt/INSTALL, you will find some advice on how to use Visual Studio to
> debug an MSVC build. I hope those two will give you enough
> information to at least begin the debugging.
>
> The first task is to find out which Lisp data structure gets
> corrupted. Can you do that?
Ok, I'll try:
(I deleted emacs-devel@gnu.org from CC:
because that message contain large specific dump/debug trace)
stack trace:
00> emacs.exe!gc_sweep() alloc.c Line 6130
while (vector)
if (!VECTOR_MARKED_P (vector))
// 01009643 mov ecx,dword ptr [eax] <- access vio
// "vector" is in EAX = 0x61c42E60
// 21 steps(->next) from all_vectors:
0x01532800 4000804d 61c42e60 212fc400 212fc400 M.@`.Äa.Ä/!.Ä/!
0x01532810 21351800 212fc400 212fc400 212fc400 ..5!.Ä/!.Ä/!.Ä/!
0x01532820 212fc400 212fc400 212fc400 212fc400 .Ä/!.Ä/!.Ä/!.Ä/!
0x01532830 212fc400 212fc400 212fc400 212fc400 .Ä/!.Ä/!.Ä/!.Ä/!
....
01> emacs.exe!Fgarbage_collect() alloc.c Line 5181
unmark_byte_stack ();
// here prev = 0x212fc400 - which fills mem block above
02> emacs.exe!Ffuncall(int nargs=0x00000001, int * args=0x0082f934)
eval.c Line 2968
Fgarbage_collect ();
debug_print((original_fun))
8583476
03> emacs.exe!Fbyte_code(int bytestr=0x011d5ad4, int vector=0x811d5acc,
int maxdepth=0x00000004) bytecode.c Line 681
TOP = Ffuncall (op + 1, &TOP);
AFTER_POTENTIAL_GC ();
04> emacs.exe!funcall_lambda(int fun=0x811d5a90, int nargs=0x00000001,
int * arg_vector=0x0082fa00) eval.c Line 3221 + 0xe
val = Fbyte_code (AREF (fun, COMPILED_BYTECODE),
AREF (fun, COMPILED_CONSTANTS),
AREF (fun, COMPILED_STACK_DEPTH));
debug_print((fun))
#[(&optional parameters) "Д\b!\x10Е\bћЖЗ\bB!И\x19\x1a^[ЙЋК
!€Л
\b\"€М
!€Н
!€О
!€\v„2П
!€‚8Р
\vC\"€С\x11)
+‡" [parameters success frame visibility-spec
x-handle-named-frame-geometry visibility x-create-frame (visibility) nil
((byte-code "\b„\bВ !€В‡" [success frame delete-frame] 2))
x-setup-function-keys x-handle-reverse-video frame-set-background-mode
face-set-after-frame-default tool-bar-setup make-frame-visible
modify-frame-parameters t] 4 707761]
05>emacs.exe!Ffuncall(int nargs=0x00000001, int * args=0x21b9c3c0)
eval.c Line 3078 + 0xc
if (COMPILEDP (fun))
val = funcall_lambda (fun, numargs, args + 1);
debug_print((original_fun))
x-create-frame-with-faces
06>emacs.exe!Fbyte_code(int bytestr=0x01214f40, int vector=0x81214f38,
int maxdepth=0x00000006) Line bytecode.c 681
TOP = Ffuncall (op + 1, &TOP);
AFTER_POTENTIAL_GC ();
break;
07>emacs.exe!funcall_lambda(int fun=0x81214ef8, int nargs=0x00000001,
int * arg_vector=0x0082fad0) eval.c Line 3221 + 0xe
val = Fbyte_code (AREF (fun, COMPILED_BYTECODE),
AREF (fun, COMPILED_CONSTANTS),
AREF (fun, COMPILED_STACK_DEPTH));
debug_print((fun))
#[(&optional parameters) "Ж\bћѓ,ЗЖ\bћA!‰\x19И=ѓ\x17Й‚( Й=ѓ'КЛЖ\bћA\"‚( )‚:В\bћѓ9В\bћA‚:
‰^[\fћA\x1dМ \x1e\x16Й\x1e\x17
„PКН\v\"€ОП!€
Р\b\v\x0e\x18ћA\"!\x16\x17С\x0e\x17!€\x0e\x19Й\x1e\x1a‰\x1e^[ѓљ\x0e^[@‰\x16\x1a\bћ„‘Т\x0e\x16\x0e\x1a\"‰\x1e\x1cѓђУ\x0e\x17\x0e\x1a\x0e\x1c#€)\x0e^[A‰\x16^[„p*ФХ\x0e\x17\"€\x0e\x17,‡"
[parameters type window-system w frame-creation-function-alist
frame-creation-function terminal terminal-live-p t nil error "Terminal
%s does not exist" selected-frame "Don't know how to create a frame on
window system %s" run-hooks before-make-frame-hook append
normal-erase-is-backspace-setup-frame frame-parameter
set-frame-parameter run-hook-with-args after-make-frame-functions
oldframe frame window-system-default-frame-alist
frame-inherited-parameters param --cl-dolist-temp-- val] 6 824951 nil]
08>emacs.exe!Ffuncall(int nargs=0x00000001, int * args=0x21c56360)
eval.c Line 3078 + 0xc
if (COMPILEDP (fun))
val = funcall_lambda (fun, numargs, args + 1);
debug_print((original_fun))
make-frame
09>emacs.exe!Fbyte_code(int bytestr=0x012143e0, int vector=0x812143d8,
int maxdepth=0x00000006) Line 681
TOP = Ffuncall (op + 1, &TOP);
AFTER_POTENTIAL_GC ();
break;
10>emacs.exe!funcall_lambda(int fun=0x812143ac, int nargs=0x00000000,
int * arg_vector=0x0082fba0) Line 3221 + 0xe
val = Fbyte_code (AREF (fun, COMPILED_BYTECODE),
AREF (fun, COMPILED_CONSTANTS),
AREF (fun, COMPILED_STACK_DEPTH));
debug_print((fun))
#[nil "\b…T ?…T\bЖ=?…TЗ\x12И\vЙ \"„CК\f
Л#\x16\x15М\x0e\x15ћ„.Н\x0e\x15B\x16\x15О\bB\x0e\x15B\x16\x15П\x0e\x15!‰\x16\x16\x16\x17Р\f!\x14С\x0e\x16ТУ\vТ\"#€Ф\v!€Л‰\x13‡"
[initial-window-system noninteractive special-display-function
terminal-frame initial-frame-alist default-frame-alist pc
special-display-popup-frame delq minibuffer-frame-list append nil
horizontal-scroll-bars (horizontal-scroll-bars . t) window-system
make-frame frame-remove-geometry-params set-frame-parameter environment
frame-parameter delete-frame frame-initial-frame-alist
frame-initial-frame default-minibuffer-frame] 6 822783]
11> emacs.exe!Ffuncall(int nargs=0x00000000, int * args=0x21bbfb48)
Line 3078 + 0xc
if (COMPILEDP (fun))
val = funcall_lambda (fun, numargs, args + 1);
debug_print((original_fun))
frame-initialize
12> emacs.exe!Fbyte_code(int bytestr=0x011dc478, int vector=0x811dc470,
int maxdepth=0x00000007) Line 681 C
TOP = Ffuncall (op + 1, &TOP);
AFTER_POTENTIAL_GC ();
break;
13>emacs.exe!funcall_lambda(int fun=0x811dc448, int nargs=0x00000000,
int * arg_vector=0x0082fc74) Line 3221 + 0xe C
val = Fbyte_code (AREF (fun, COMPILED_BYTECODE),
AREF (fun, COMPILED_CONSTANTS),
AREF (fun, COMPILED_STACK_DEPTH));
that's a huge one:
debug_print((fun))
#[nil "Ж \x10 \x12ЗИ!€ЗЙ!€ЗК!€ЛМ!‰^[Н=„9\vОќѓ&П\x14‚9\vРќѓ1Н\x14‚9\vСќѓ9Т\x14)
У>ѓIФ\x16@Х\x16A‚[
Ц=ѓUЧ\x16B‚[Ч\x16BХ\x16AШЩЪЏ€ЫН!€ЬЭ\x0eCЮ
#Н\x1eD‰\x1eE„ЂЯаб\"€вб!€‚Џгд\x0eE!!\x16Dеж\x0eF\"\x16F*\x0eGA\x1eH\x0eHѓ±\x0eHз\x0eH@\x0eIП# €\x0eH‰A\x16H@€‚•)Н\x0eGA\x1eH\x1eJ\x0eK?…Ви
‰\x16LѓУ\x0eLй љѓУк\x16L\x0eJ„\x06\x02\x0eHѓ\x06\x02л\x1eM\x0eH‰A\x16H@‰\x1eN\x1eOН\x1ePмн\x0eN\"ѓ\x06\x01\x0eNо•НO\x16Pпр\x0eN\"\x16N\x0eNсљ„Q\x01т\x0eN\x0eM\"‰\x1eQП=ѓ%\x01\x0eNрНO\x16N‚P\x01\x0eQ;ѓI\x01у\x0eQ\x0eM\"‰\x1eR„=\x01Шф\x0eN\"€\x0eR@рНO\x16N)‚P\x01Н\x16P\x0eO\x16N)\x0eNхќѓd\x01Н‰\x16L\x16SП\x16T‚х\x01\x0eNцќѓz\x01П‰\x16U\x16Vч\x0eWB\x16W‚х\x01\x0eNшќѓ‡\x01Н\x16L‚х\x01\x0eNщќѓў\x01\x0eP†љ\x01\x0eH‰A\x16H@\x16LН\x16P‚х\x01\x0eNъљѓЇ\x01Н\x16S‚х\x01\x0eNыљѓј\x01П\x16X‚х\x01\x0eNьљѓМ\x01э\x0eWB\x16W‚х\x01\x0eNюќѓЬ\x01я\x0eYB\x16Y‚х\x01\x0eNЃ„ќѓл\x01П\x16U‚х\x01\x0eN\x0eHB\x16HП\x16J\x0ePѓ\x02\x02ШЃ…\x0eN\"€,‚У\x0eGѓ\x11\x02\x0eG\x0eHЎ€*Ѓ†Ѓ‡!€Ѓ€Ѓ‰!ѓ)\x02Ѓ‰
€\x0eK„P\x02\x0eV„P\x02\x0eZЃЉ>ѓM\x02Ѓ‹ЃЊЃЌ\"ЃЋќѓP\x02П\x16U\x0eK„v\x02\x0eV„v\x02\x0e[ЃЏ>ѓp\x02ЃђНЃ‘\"оX„v\x02Ѓ’р!€\x0eK„љ\x02\x0eV„љ\x02Ѓ“
ѓљ\x02ЃђНЃ\\\"оX„љ\x02Ѓ”р!€ЗЃ•!€ЗЃ–!€ЗЃ—!€ЗЃ!€ЗЃ™!€ЗЃљ!€ЗЃ›!€ЗЃњ!€ЗЃќ!€ЗЃm!€Ѓћ
€Ѓџ
€Ѓ€Ѓ !ѓ\x0e\x03Ѓ\\\x0eWћ†щ\x02Ѓ\\\x0eYћ‰\x1e\\…\v\x03\x0e\\A…\v\x03\x0e\\Aо=?\x16])\x0e^\x0e_\x0e`\x1ea\x1eb\x1ec\x0eSѓ(\x03ЃЎ\x0eSП‰#€Н\x16d\x0eLѓ„\x03мЃў\x0eL\"ѓQ\x03ЃЈЃ¤ЃҐЃ¦\x0eL\"Ѓ§#€‚„\x03ЃЁЃ©
ЃЄ=ѓe\x03Ѓ«‚k\x03Ѓ«\x0eLP!!„„\x03ЃЈЃ¤ЃҐЃ¬\x0eL\"Ѓ§#€Н‰\x0eXП=ѓ“\x03Ѓ‚•\x03\x0eX\x0ee\x1ef\x1eg\x1eh\x1ei\x0egЃ®\x1ej\x1ek\x0eXѓґ\x03\x0ej
€‚Ѕ\x03ШЃЇЃ°Џ€\x0elѓ
\x04\x0emѓ
\x04rЃ± q€\x0emѓ\f\x04\x0emЃІ=„м\x03\x0emўЃі=ѓт\x03\x0emA„т\x03Н\x16m‚\f\x04\x0emўЃі=ѓ\x01\x04\x0emA\x16mН\x16nЃ†Ѓґ!€)\x0eK„+\x04Ѓµ\x0eo!ѓ+\x04Ѓ¶\x0eo!ѓ+\x04Ѓ·\x0eo!€Н\x16p\x0ek\x0eg=„=\x04П\x16h\x0ek\x16i*\x0ehѓG\x04\x0ei\x16k\x0ee„g\x04\x0ef\x0ee=„g\x04ЃёЃ№Ѓє
\"€Ѓ»\x0eq!€,\x0erкљѓ€\x04ЛЃј!††\x04и ЃЅ\x0es†…\x04Ѓѕ Q\x16rЃїЃt!ѓѓ)ЗИ\bA@ЙК\bAAЛ##‚6ЗИ\b@МNЙН\bAЛ##О\"€ПО!€Р\x11С ‡"
[error initial-window-system princ apply concat file-error
error-conditions format "%s: %s" mapconcat #[(obj) "Б\bВ\"‡" [obj
prin1-to-string t] 3] ", " error-message #[(obj) "Б\bВ\"‡" [obj
prin1-to-string t] 3] external-debugging-output terpri nil kill-emacs]
8))) set-locale-environment locate-file "simple" get-load-suffixes princ
"Warning: Could not find simple.el nor simple.elc"
external-debugging-output terpri file-truename file-name-directory
mapcar #[(elt) "\b@;ѓ\x15В\b@!„\x15 \b@P\bAB‡\b‡" [elt lisp-dir
file-name-absolute-p] 2] decode-coding-string user-login-name
user-real-login-name "" (("--no-init-file") ("--no-site-file")
("--debug-init") ("--user") ("--iconic") ("--icon-type") ("--quick")
("--no-blinking-cursor") ("--basic-display")) string-match
"^\\(--[^=]*\\)=" 0 match-string 1 "--" try-completion assoc "Option
`%s' is ambiguous" ("-Q" "-quick") ("-D" "-basic-display")
(vertical-scroll-bars) ("-q" "-no-init-file") ("-u" "-user")
"-no-site-file" "-debug-init" "-iconic" (visibility . icon)
("-icon-type" "-i" "-itype") (icon-type . t) eol-mnemonic-unix
eol-mnemonic-mac eol-mnemonic-dos load-path lisp-dir simple-file-name
load-history command-line-args args locale-coding-system done
noninteractive init-file-user longopts argi orig-argi argval completion
elt site-run-file emacs-quick-startup no-blinking-cursor
emacs-basic-display initial-frame-alist init-file-debug
default-frame-alist window-system initial-window-system tool-bar-lines
tool-bar-originally-present scalable-fonts-allowed font-list-limit
face-ignored-fonts old-face-ignored-fonts old-font-list-limit
old-scalable-fonts-allowed inhibit-startup-screen
default-enable-multibyte-characters orig-enable-multibyte
debug-on-error-initial debug-on-error-should-be-set
debug-on-error-from-init-file inner debug-on-error deactivate-mark
transient-mark-mode mark-active abbrev-file-name abbrevs-changed
current-language-environment user-mail-address mail-host-address
font-lock-face-attributes face-attributes face-attribute face face-spec
underline-p italic-p bold-p background foreground after-init-time
--cl-dolist-temp-- major-mode initial-major-mode memory-signal-data
x-session-previous-id ("-nbc" "-no-blinking-cursor") "Option `%s'
doesn't allow an argument" run-hooks before-init-hook fboundp
frame-initialize (x w32 mac) x-get-resource "cursorBlink" "CursorBlink"
("off" "false") (x w32) frame-parameter menu-bar-lines menu-bar-mode
display-graphic-p tool-bar-mode blink-cursor-mode tooltip-mode
global-font-lock-mode mouse-wheel-down-event mouse-wheel-up-event
file-name-shadow-mode send-mail-function focus-follows-mouse
global-auto-composition-mode normal-erase-is-backspace-setup-frame
tty-register-default-colors frame-notice-user-settings load "[~/:
]" display-warning initialization format "Invalid user name %s" :error
file-directory-p expand-file-name windows-nt "~" "User %s has no home
directory" startup #[nil "\b…ѕ Ж=ѓ\x11З\bИQ‚A
Й=ѓ3КЗЛМ#ѓ#Н‚AКЗЛО#ѓ/П‚AН‚A Р=ѓ=С‚AЗ\bТQ\x1aУ\x13Ф
У‰#€\vУ=ѓiХЦЧЗ\bШQ!\"\x1cФ\fУ‰#€\vУ=ѓh
\x13)\vѓ®Щ\v!Ъљѓ®Ы\v!‰\x1dЬP\x1e$Э\x0e$!ѓЉ\x0e$‚•Э
!ѓ”
‚•Л‰\x15ѓЮ
\v\"ѓ«Яа
\v#€бв!€
\x13*\x0e%?…ЅЛ\x1e&ФгУ‰#))‡" [init-file-user system-type user-init-file-1
user-init-file otherfile source ms-dos "~" "/_emacs" windows-nt
directory-files nil "^\\.emacs\\(\\.elc?\\)?$" "~/.emacs"
"^_emacs\\(\\.elc?\\)?$" "~/_emacs" vax-vms "sys$login:.emacs" "/.emacs"
t load expand-file-name "init" file-name-as-directory "/.emacs.d"
file-name-extension "elc" file-name-sans-extension ".el" file-exists-p
file-newer-than-file-p message "Warning: %s is newer than %s" sit-for 1
"default" alt inhibit-default-init inhibit-startup-screen] 7]
(byte-code "\b €В‰\x11‡" [inner init-file-had-error nil] 2) ((error
(byte-code "Е\x18ЉЖЗ!q€ИЙК \"ЙЛ
@МN
Aѓ\x1cН‚\x1dОПР
AС#$ИТУФ±\a€)ХЦ
@МN
Aѓ;Н‚
14>emacs.exe!Ffuncall(int nargs=0x00000000, int * args=0x21bbf830) Line
3078 + 0xc
if (COMPILEDP (fun))
val = funcall_lambda (fun, numargs, args + 1);
debug_print((original_fun))
command-line
15> emacs.exe!Fbyte_code(int bytestr=0x011db7c8, int vector=0x811db7c0,
int maxdepth=0x00000006) Line 681
TOP = Ffuncall (op + 1, &TOP);
AFTER_POTENTIAL_GC ();
break;
16> emacs.exe!funcall_lambda(int fun=0x811db798, int nargs=0x00000000,
int * arg_vector=0x0082fcfc) Line 3221 + 0xe
val = Fbyte_code (AREF (fun, COMPILED_BYTECODE),
AREF (fun, COMPILED_CONSTANTS),
AREF (fun, COMPILED_STACK_DEPTH));
debug_print((fun))
#[nil "\bѓ\bЖЗ!‡И\x10 \x1arЙq€
\x11*КЛМНЛ!C#€О Пљѓ%И\x13\fР\x1a‰\x1dѓO
@‰\x12\x19СТУ!И‰‰$€)
\x19СТФ!И‰‰$€)
A‰\x15„-*\x0e(Х=„\x7fЦЧ!‰\x1e);ѓ~ШЩ\x0e)!ЪP!ШЩ !ЪP!љ„~ЫЬ\x0e)P\x0e*\"\x16*)Э !\x11Р\x1e+ЮЋЯ €*абв\"€гРд\"‰\x1e$;ѓҐе\x0e$P\x16$‚Л\x0e,Р\x1e-‰\x1e.ѓК\x0e.@\x16-жз\x0e-\"ѓБ\x0e-\x16$\x0e.A‰\x16.„°*\x0e$…ЦЫ\x0e$\x0e*\")‡"
[command-line-processed default-directory dir
backup-by-copying-when-mismatch load-path tail message "Back to top
level." t "*Messages*" put user-full-name standard-value default-value
user-uid 0 nil load expand-file-name "subdirs.el" "leim-list.el" vax-vms
getenv "PWD" file-attributes file-name-as-directory "." delete "PWD="
abbreviate-file-name ((byte-code "Ж\b!\x10 „.
ѓ.\vЗ=ѓ#ИЙ
!К\"€ЛМ
!!НP‚-МОП
Р С $!\x11\f„>ТУ!€
ѓ>ТЕ!€\x0e\x1d„T\x0e\x1eѓT\x0e\x1f„T\x0e\x1eФ=ѓhХЦ!ѓ]Ц €ХЧ!ѓhЧШ !€ХЩ!ѓqЩ €\x0e\x1aѓzТЪ!€\x0e „‡Ы ѓ‡Ь €Ж‡"
[default-directory auto-save-list-file-name auto-save-list-file-prefix
system-type inhibit-startup-hooks term-setup-hook abbreviate-file-name
ms-dos make-directory file-name-directory t make-temp-name
expand-file-name "~" format "%s%d-%s~" emacs-pid system-name run-hooks
emacs-startup-hook pc fboundp frame-notice-user-settings
frame-set-background-mode selected-frame font-menu-add-default
window-setup-hook display-popup-menus-p precompute-menubar-bindings
frame-initial-frame initial-window-system noninteractive
menubar-bindings-done] 6)) command-line setenv "TERM" "dumb"
frame-parameter display "DISPLAY=" string-match "\\`DISPLAY="
system-type pwd process-environment menubar-bindings-done
initial-environment varval --cl-dolist-temp--] 6]
17> emacs.exe!apply_lambda(int fun=0x811db798, int args=0x212fc400, int
eval_flag=0x00000001) Line 3146
backtrace_list->evalargs = 0;
tem = funcall_lambda (fun, XINT (numargs), arg_vector);
/* Do the debug-on-exit now, while arg_vector still exists. */
if (backtrace_list->debug_on_exit)
tem = call_debugger (Fcons (Qexit, Fcons (tem, Qnil)));
debug_print((fun))
#[nil "\bѓ\bЖЗ!‡И\x10 \x1arЙq€
\x11*КЛМНЛ!C#€О Пљѓ%И\x13\fР\x1a‰\x1dѓO
@‰\x12\x19СТУ!И‰‰$€)
\x19СТФ!И‰‰$€)
A‰\x15„-*\x0e(Х=„\x7fЦЧ!‰\x1e);ѓ~ШЩ\x0e)!ЪP!ШЩ !ЪP!љ„~ЫЬ\x0e)P\x0e*\"\x16*)Э !\x11Р\x1e+ЮЋЯ €*абв\"€гРд\"‰\x1e$;ѓҐе\x0e$P\x16$‚Л\x0e,Р\x1e-‰\x1e.ѓК\x0e.@\x16-жз\x0e-\"ѓБ\x0e-\x16$\x0e.A‰\x16.„°*\x0e$…ЦЫ\x0e$\x0e*\")‡"
[command-line-processed default-directory dir
backup-by-copying-when-mismatch load-path tail message "Back to top
level." t "*Messages*" put user-full-name standard-value default-value
user-uid 0 nil load expand-file-name "subdirs.el" "leim-list.el" vax-vms
getenv "PWD" file-attributes file-name-as-directory "." delete "PWD="
abbreviate-file-name ((byte-code "Ж\b!\x10 „.
ѓ.\vЗ=ѓ#ИЙ
!К\"€ЛМ
!!НP‚-МОП
Р С $!\x11\f„>ТУ!€
ѓ>ТЕ!€\x0e\x1d„T\x0e\x1eѓT\x0e\x1f„T\x0e\x1eФ=ѓhХЦ!ѓ]Ц €ХЧ!ѓhЧШ !€ХЩ!ѓqЩ €\x0e\x1aѓzТЪ!€\x0e „‡Ы ѓ‡Ь €Ж‡"
[default-directory auto-save-list-file-name auto-save-list-file-prefix
system-type inhibit-startup-hooks term-setup-hook abbreviate-file-name
ms-dos make-directory file-name-directory t make-temp-name
expand-file-name "~" format "%s%d-%s~" emacs-pid system-name run-hooks
emacs-startup-hook pc fboundp frame-notice-user-settings
frame-set-background-mode selected-frame font-menu-add-default
window-setup-hook display-popup-menus-p precompute-menubar-bindings
frame-initial-frame initial-window-system noninteractive
menubar-bindings-done] 6)) command-line setenv "TERM" "dumb"
frame-parameter display "DISPLAY=" string-match "\\`DISPLAY="
system-type pwd process-environment menubar-bindings-done
initial-environment varval --cl-dolist-temp--] 6]
18>emacs.exe!Feval(int form=0xa138a6c0) eval.c Line 2405 + 0xb
if (COMPILEDP (fun))
val = apply_lambda (fun, original_args, 1);
debug_print((original_fun))
normal-top-level
19> emacs.exe!top_level_2() Line 1378 + 0xb C
Thanks!
--
Andrey
_________________________________________________________________
In a rush? Get real-time answers with Windows Live Messenger.
http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_Refresh_realtime_042008
[-- Attachment #2: Type: text/html, Size: 19989 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Crash in M$ build using msvc 7.1
@ 2008-04-23 20:40 Andrey Zhdanov
2008-04-24 6:54 ` dhruva
0 siblings, 1 reply; 7+ messages in thread
From: Andrey Zhdanov @ 2008-04-23 20:40 UTC (permalink / raw)
To: dhruvakm; +Cc: emacs-devel
[-- Attachment #1: Type: text/plain, Size: 1020 bytes --]
dhruva wrote:
> Hello,
> i am trying to use emacs from head built with msvc compiler on xp
> with no image libraries. I have disabled all image support in the
> configure (could this cause problems?). It crashes on startup. I am
> trying to debug. Is it a known problem?
Yes, it's crashing and I reported here on Apr-14. I did try
build with/without image libs, with --disable-font-backend - nothing
helped.
Crash is in the emacs.exe!gc_sweep() Line 6124
Some how vector list become corrupted and vector->next points somewhere
0x6.... which gives us access violation.
I guess that bug was brought with massive changes in alloc/GC on
20080201. My latest working build was on 20071117 and right now I'm
building the HEAD on 20080131 to test that theory.
--
andrey
_________________________________________________________________
Spell a grand slam in this game where word skill meets World Series. Get in the game.
http://club.live.com/word_slugger.aspx?icid=word_slugger_wlhm_admod_april08
[-- Attachment #2: Type: text/html, Size: 1218 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Crash in M$ build using msvc 7.1
2008-04-23 20:40 Andrey Zhdanov
@ 2008-04-24 6:54 ` dhruva
0 siblings, 0 replies; 7+ messages in thread
From: dhruva @ 2008-04-24 6:54 UTC (permalink / raw)
To: Andrey Zhdanov; +Cc: emacs-devel
Hi,
I built with all image library support (except gif), I still get the
same crash in the GC. I will build using GCC and post the results.
-dhruva
On Thu, Apr 24, 2008 at 2:10 AM, Andrey Zhdanov <susuman@hotmail.com> wrote:
>
> dhruva wrote:
> > Hello,
>
> > i am trying to use emacs from head built with msvc compiler on xp
> > with no image libraries. I have disabled all image support in the
> > configure (could this cause problems?). It crashes on startup. I am
>
> > trying to debug. Is it a known problem?
> Yes, it's crashing and I reported here on Apr-14. I did try
> build with/without image libs, with --disable-font-backend - nothing
> helped.
> Crash is in the emacs.exe!gc_sweep() Line 6124
> Some how vector list become corrupted and vector->next points somewhere
> 0x6.... which gives us access violation.
> I guess that bug was brought with massive changes in alloc/GC on
> 20080201. My latest working build was on 20071117 and right now I'm
> building the HEAD on 20080131 to test that theory.
--
Contents reflect my personal views only!
^ permalink raw reply [flat|nested] 7+ messages in thread
* Crash in M$ build using msvc 7.1
@ 2008-04-23 19:06 dhruva
2008-04-23 20:07 ` Stefan Monnier
0 siblings, 1 reply; 7+ messages in thread
From: dhruva @ 2008-04-23 19:06 UTC (permalink / raw)
To: emacs-devel
Hello,
i am trying to use emacs from head built with msvc compiler on xp
with no image libraries. I have disabled all image support in the
configure (could this cause problems?). It crashes on startup. I am
trying to debug. Is it a known problem?
-dhruva
--
Sent from Gmail for mobile | mobile.google.com
Contents reflect my personal views only!
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Crash in M$ build using msvc 7.1
2008-04-23 19:06 dhruva
@ 2008-04-23 20:07 ` Stefan Monnier
2008-04-24 7:17 ` dhruva
0 siblings, 1 reply; 7+ messages in thread
From: Stefan Monnier @ 2008-04-23 20:07 UTC (permalink / raw)
To: dhruva; +Cc: emacs-devel
> i am trying to use emacs from head built with msvc compiler on xp
> with no image libraries. I have disabled all image support in the
> configure (could this cause problems?).
I don't know if it could cause problems, but if it could then it should
clearly tell you so at some point.
> It crashes on startup. I am trying to debug. Is it a known problem?
Doesn't look like one, tho I don't particularly keep track of
compilation issues on w32. Have you tried to compile it with Free tools?
Stefan
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Crash in M$ build using msvc 7.1
2008-04-23 20:07 ` Stefan Monnier
@ 2008-04-24 7:17 ` dhruva
2008-04-24 16:22 ` Eli Zaretskii
0 siblings, 1 reply; 7+ messages in thread
From: dhruva @ 2008-04-24 7:17 UTC (permalink / raw)
To: Stefan Monnier; +Cc: emacs-devel
Hi,
On Thu, Apr 24, 2008 at 1:37 AM, Stefan Monnier
<monnier@iro.umontreal.ca> wrote:
> > i am trying to use emacs from head built with msvc compiler on xp
> > with no image libraries. I have disabled all image support in the
> > configure (could this cause problems?).
>
> > It crashes on startup. I am trying to debug. Is it a known problem?
>
> Doesn't look like one, tho I don't particularly keep track of
> compilation issues on w32. Have you tried to compile it with Free tools?
I just built using GCC (MinGW) on XP and I do not see the crash. It
appears MSVC specific problem which is reproducible (not one of those
random occurences).
Since I know nothing about the Emacs GC, debugging would be tough. If
someone can help or needs any extra information, I can help.
-dhruva
--
Contents reflect my personal views only!
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Crash in M$ build using msvc 7.1
2008-04-24 7:17 ` dhruva
@ 2008-04-24 16:22 ` Eli Zaretskii
0 siblings, 0 replies; 7+ messages in thread
From: Eli Zaretskii @ 2008-04-24 16:22 UTC (permalink / raw)
To: dhruva; +Cc: emacs-devel
> Date: Thu, 24 Apr 2008 12:47:21 +0530
> From: dhruva <dhruvakm@gmail.com>
> Cc: emacs-devel@gnu.org
>
> I just built using GCC (MinGW) on XP and I do not see the crash. It
> appears MSVC specific problem which is reproducible (not one of those
> random occurences).
> Since I know nothing about the Emacs GC, debugging would be tough. If
> someone can help or needs any extra information, I can help.
The file etc/DEBUG gives some hints on how to debug crashes inside GC,
search for "Debugging problems which happen in GC". Near the end of
nt/INSTALL, you will find some advice on how to use Visual Studio to
debug an MSVC build. I hope those two will give you enough
information to at least begin the debugging.
The first task is to find out which Lisp data structure gets
corrupted. Can you do that?
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-04-24 20:14 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-24 20:14 Crash in M$ build using msvc 7.1 Andrey Zhdanov
-- strict thread matches above, loose matches on Subject: below --
2008-04-23 20:40 Andrey Zhdanov
2008-04-24 6:54 ` dhruva
2008-04-23 19:06 dhruva
2008-04-23 20:07 ` Stefan Monnier
2008-04-24 7:17 ` dhruva
2008-04-24 16:22 ` Eli Zaretskii
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.