all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#11583: 24.0.97; 24 pretest Emacs.app crashes closing frames
@ 2012-05-29 18:48 Steven Parkes
  2012-05-29 20:55 ` bug#11584: " Steven Parkes
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: Steven Parkes @ 2012-05-29 18:48 UTC (permalink / raw)
  To: 11583

Occasionally when I close frames in the 24 pretest (from a fairly recent pull from the git mirror), emacs crashes. I tend to have a lot of extra frames open and if I clean up a bunch, emacs often crashes.

I've append the "bt full" from running in gdb. I can forward the Apple diagnostics if they help when it happens again (couldn't get them when running under GDB).


In GNU Emacs 24.0.97.4 (x86_64-apple-darwin11.3.0, NS apple-appkit-1138.32)
 of 2012-05-24 on smp15.esseff.org
Windowing system distributor `Apple', version 10.3.1138
Configured using:
 `configure '--with-ns''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  yas/global-mode: t
  shell-dirtrack-mode: t
  change-cursor-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  size-indication-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-x r e p o r <tab> <return> C-g C-x b m a C-g M-x 
m a i <tab> <return> C-x b m a <tab> i l <tab> M-x 
m a i <tab> - <backspace> <tab> <tab> <help-echo> C-g 
C-x k <return> C-x b r e p o r <tab> C-g M-x r e p 
o <tab> r t - e m <tab> <return>

Recent messages:
ECB 2.40 uses CEDET 1.0 (contains semantic 2.0, eieio 1.3, speedbar 1.0.3).
Loading /Users/smparkes/.emacs.d/sbt.el (source)...done
Loading /Users/smparkes/.emacs.d/init.el (source)...done
Loading /Users/smparkes/.emacs.d/custom.el (source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Package sregex is obsolete!
Quit [2 times]
Making completion list...
Quit [2 times]
Making completion list...

Load-path shadows:
~/.emacs.d/ruby/inf-ruby hides ~/.emacs.d/inf-ruby
/Users/smparkes/.emacs.d/cedet/speedbar/speedbar hides /Users/smparkes/scm/emacs/emacs/emacs-24/nextstep/Emacs.app/Contents/Resources/lisp/speedbar
/Users/smparkes/.emacs.d/cedet/speedbar/sb-image hides /Users/smparkes/scm/emacs/emacs/emacs-24/nextstep/Emacs.app/Contents/Resources/lisp/sb-image
~/.emacs.d/json hides /Users/smparkes/scm/emacs/emacs/emacs-24/nextstep/Emacs.app/Contents/Resources/lisp/json
/Users/smparkes/.emacs.d/cedet/common/ezimage hides /Users/smparkes/scm/emacs/emacs/emacs-24/nextstep/Emacs.app/Contents/Resources/lisp/ezimage
/Users/smparkes/.emacs.d/cedet/speedbar/dframe hides /Users/smparkes/scm/emacs/emacs/emacs-24/nextstep/Emacs.app/Contents/Resources/lisp/dframe
~/.emacs.d/custom hides /Users/smparkes/scm/emacs/emacs/emacs-24/nextstep/Emacs.app/Contents/Resources/lisp/custom
~/.emacs.d/ansi-color hides /Users/smparkes/scm/emacs/emacs/emacs-24/nextstep/Emacs.app/Contents/Resources/lisp/ansi-color
~/.emacs.d/rst hides /Users/smparkes/scm/emacs/emacs/emacs-24/nextstep/Emacs.app/Contents/Resources/lisp/textmodes/rst
~/.emacs.d/ruby/ruby-mode hides /Users/smparkes/scm/emacs/emacs/emacs-24/nextstep/Emacs.app/Contents/Resources/lisp/progmodes/ruby-mode
/Users/smparkes/.emacs.d/cedet/eieio/eieio hides /Users/smparkes/scm/emacs/emacs/emacs-24/nextstep/Emacs.app/Contents/Resources/lisp/emacs-lisp/eieio
/Users/smparkes/.emacs.d/cedet/eieio/eieio-speedbar hides /Users/smparkes/scm/emacs/emacs/emacs-24/nextstep/Emacs.app/Contents/Resources/lisp/emacs-lisp/eieio-speedbar
/Users/smparkes/.emacs.d/cedet/eieio/eieio-opt hides /Users/smparkes/scm/emacs/emacs/emacs-24/nextstep/Emacs.app/Contents/Resources/lisp/emacs-lisp/eieio-opt
/Users/smparkes/.emacs.d/cedet/eieio/eieio-datadebug hides /Users/smparkes/scm/emacs/emacs/emacs-24/nextstep/Emacs.app/Contents/Resources/lisp/emacs-lisp/eieio-datadebug
/Users/smparkes/.emacs.d/cedet/eieio/eieio-custom hides /Users/smparkes/scm/emacs/emacs/emacs-24/nextstep/Emacs.app/Contents/Resources/lisp/emacs-lisp/eieio-custom
/Users/smparkes/.emacs.d/cedet/eieio/eieio-base hides /Users/smparkes/scm/emacs/emacs/emacs-24/nextstep/Emacs.app/Contents/Resources/lisp/emacs-lisp/eieio-base
/Users/smparkes/.emacs.d/cedet/eieio/chart hides /Users/smparkes/scm/emacs/emacs/emacs-24/nextstep/Emacs.app/Contents/Resources/lisp/emacs-lisp/chart
/Users/smparkes/.emacs.d/cedet/srecode/srecode hides /Users/smparkes/scm/emacs/emacs/emacs-24/nextstep/Emacs.app/Contents/Resources/lisp/cedet/srecode
/Users/smparkes/.emacs.d/cedet/semantic/semantic hides /Users/smparkes/scm/emacs/emacs/emacs-24/nextstep/Emacs.app/Contents/Resources/lisp/cedet/semantic
/Users/smparkes/.emacs.d/cedet/common/pulse hides /Users/smparkes/scm/emacs/emacs/emacs-24/nextstep/Emacs.app/Contents/Resources/lisp/cedet/pulse
/Users/smparkes/.emacs.d/cedet/common/mode-local hides /Users/smparkes/scm/emacs/emacs/emacs-24/nextstep/Emacs.app/Contents/Resources/lisp/cedet/mode-local
/Users/smparkes/.emacs.d/cedet/common/inversion hides /Users/smparkes/scm/emacs/emacs/emacs-24/nextstep/Emacs.app/Contents/Resources/lisp/cedet/inversion
/Users/smparkes/.emacs.d/cedet/ede/ede hides /Users/smparkes/scm/emacs/emacs/emacs-24/nextstep/Emacs.app/Contents/Resources/lisp/cedet/ede
/Users/smparkes/.emacs.d/cedet/common/data-debug hides /Users/smparkes/scm/emacs/emacs/emacs-24/nextstep/Emacs.app/Contents/Resources/lisp/cedet/data-debug
/Users/smparkes/.emacs.d/cedet/common/cedet hides /Users/smparkes/scm/emacs/emacs/emacs-24/nextstep/Emacs.app/Contents/Resources/lisp/cedet/cedet
/Users/smparkes/.emacs.d/cedet/common/cedet-idutils hides /Users/smparkes/scm/emacs/emacs/emacs-24/nextstep/Emacs.app/Contents/Resources/lisp/cedet/cedet-idutils
/Users/smparkes/.emacs.d/cedet/common/cedet-global hides /Users/smparkes/scm/emacs/emacs/emacs-24/nextstep/Emacs.app/Contents/Resources/lisp/cedet/cedet-global
/Users/smparkes/.emacs.d/cedet/common/cedet-files hides /Users/smparkes/scm/emacs/emacs/emacs-24/nextstep/Emacs.app/Contents/Resources/lisp/cedet/cedet-files
/Users/smparkes/.emacs.d/cedet/common/cedet-cscope hides /Users/smparkes/scm/emacs/emacs/emacs-24/nextstep/Emacs.app/Contents/Resources/lisp/cedet/cedet-cscope

Features:
(shadow sort mail-extr help-mode view emacsbug message rfc822 mml
mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader semantic-el semantic-bovine bovine-debug
semantic-debug coffee-mode nginx-mode ecb ecb-symboldef ecb-analyse
ecb-compatibility ecb-winman-support ecb-autogen autoload ecb-tod
ecb-cycle ecb-eshell ecb-help ecb-jde ecb-method-browser hideshow
ecb-file-browser ecb-layout ecb-create-layout ecb-compilation
ecb-speedbar ecb-common-browser ecb-cedet-wrapper semanticdb-mode
semanticdb-find semanticdb-ref ecb-navigate ecb-mode-line ecb-face
tree-buffer ecb-upgrade ecb-util silentcomp jde jde-annotations
jde-open-source jde-bsh jde-parse-expr etags jde-class jde-parse-class
jde-import semantic-find jde-java-font-lock jde-which-method
jde-java-grammar jde-wiz jde-complete semantic-idle senator which-func
eldoc jde-plugins browse-url jde-gen tempo jde-run jde-jdb jde-bug
jde-dbs jde-dbo regress jde-db jde-parse sregex jde-imenu semantic-imenu
semantic-java semantic-doc avl-tree semantic-sb jde-compile cus-edit
cus-start cus-load jde-help jde-widgets tree-widget beanshell jde-custom
jde-project-file jde-util arc-mode archive-mode efc jde-autoload cedet
cedet-contrib-load contrib-loaddefs cogre-load cogre-loaddefs
speedbar-load speedbar-loaddefs ede-load ede-loaddefs ede-speedbar
ede-files ede ede-base ede-auto eieio-speedbar semantic-ia-sb
semantic-analyze semantic-scope semantic-analyze-fcn semantic-sort
semanticdb-el semanticdb semantic-ctxt semantic-format
semantic-util-modes semantic-util semantic semantic-lex semantic-tag
working fame speedbar sb-image ezimage dframe eieio-custom ede-source
eieio-base srecode-load srecode srecode-loaddefs semantic-load
semantic-fw semantic-loaddefs mode-local find-func eieio-load
eieio-loaddefs cedet-load cedet-compat cedet-loaddefs inversion
yasnippet dropdown-list scala-mode-auto ebuild-mode gentoo-syntax
skeleton sh-script executable js2-highlight-vars js2-mode warnings
cc-langs erlang-start tramp tramp-compat auth-source eieio assoc
gnus-util password-cache shell pcomplete format-spec tramp-loaddefs rst
compile comint ansi-color ring yaml-mode sass-mode haml-mode derived js
byte-opt bytecomp byte-compile cconv macroexp json imenu thingatpt
javascript-mode newcomment cc-mode cc-fonts cc-guess cc-menus cc-cmds
cc-styles cc-align cc-engine cc-vars cc-defs css-mode advice help-fns
advice-preload ruby-electric easy-mmode ruby-mode cursor-chg
color-theme-mnmlst color-theme edmacro kmacro wid-edit cl sendmail
regexp-opt rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils
reporter easymenu word-count ido time-date tooltip ediff-hook vc-hooks
lisp-float-type mwheel ns-win tool-bar dnd fontset image fringe
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 loaddefs button faces cus-face files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process dbusbind ns
multi-tty emacs)

(gdb) bt full
#0  0x00007fff87eae38d in objc_msgSend_vtable14 ()
No symbol table info available.
#1  0x00000001001a5c4d in x_free_frame_resources (f=0xb000000010c00638) at nsterm.m:1164
	dpyinfo = (struct ns_display_info *) 0x101a198f0
#2  0x00000001001a2069 in x_destroy_window (f=0xb000000010c00638) at nsterm.m:1180
No locals.
#3  0x00000001000129f9 in delete_frame (frame=4499729557, force=140734799794816) at frame.c:1343
	kb = (struct kboard *) 0x10058c8b0
	f = (struct frame *) 0x10c346c90
#4  0x000000010012b4dd in Ffuncall (nargs=-5764607522753214920, args=0x10012b598) at eval.c:2984
	numargs = 2
	val = 4499731520
	lisp_numargs = 4499731520
	backtrace = {next = 0x7fff5fbfd438, function = 0x7fff5fbfd310, args = 0x7fff5fbfd318, nargs = 2, debug_on_exit = 0}
	original_fun = 4296193432
#5  0x0000000100165655 in exec_byte_code (bytestr=4499731520, vector=4298310864, maxdepth=140734799794960, args_template=4328534074, nargs=140734799794952, args=0x0) at bytecode.c:785
	count = 79
	stack = {pc = 0x10049f7a0 "?I", byte_string = 4298310833, byte_string_start = 0x10049f75c "\b?\030:?\r", constants = 4298310869, next = 0x7fff5fbfd4d8}
	result = 4499731520
#6  0x000000010012df9a in funcall_lambda (fun=140734799795216, nargs=140734799795216, arg_vector=0x7fff5fbfd410) at eval.c:3233
	count = 78
	val = 4499731520
	syms_left = 4298310768
#7  0x000000010012b4c4 in Ffuncall (nargs=3, args=0x102038c1a) at eval.c:3051
	numargs = 1
	val = 4499731520
	lisp_numargs = 140734799795368
	backtrace = {next = 0x7fff5fbfd5b8, function = 0x7fff5fbfd4a0, args = 0x7fff5fbfd4a8, nargs = 1, debug_on_exit = 0}
	original_fun = 4328754202
#8  0x0000000100165655 in exec_byte_code (bytestr=4499731520, vector=4440987616, maxdepth=140734799795360, args_template=4328534074, nargs=140734799795352, args=0x0) at bytecode.c:785
	count = 76
	stack = {pc = 0x104415fb3 "*?", byte_string = 4438298593, byte_string_start = 0x104415f88 "? ? \030?\031?\036", constants = 4440987621, next = 0x7fff5fbfe2c8}
	result = 4499731520
#9  0x000000010012df9a in funcall_lambda (fun=140734799795600, nargs=140734799795600, arg_vector=0x7fff5fbfd590) at eval.c:3233
	count = 75
	val = 4499731520
	syms_left = 4440987824
#10 0x000000010012b4c4 in Ffuncall (nargs=2, args=0x10399f302) at eval.c:3051
	numargs = 1
	val = 4499731520
	lisp_numargs = 140734799795784
	backtrace = {next = 0x7fff5fbfd778, function = 0x7fff5fbfd640, args = 0x7fff5fbfd648, nargs = 1, debug_on_exit = 0}
	original_fun = 4355388162
#11 0x0000000100127dd9 in Fcall_interactively (function=140734799796048, record_flag=140734799796048, keys=140734799796048) at callint.c:852
	val = 4499731520
	key_count = 1606408016
	save_real_this_command = 4328534074
	save_this_command = 4328534074
	save_last_command = 4328821658
	prefix_arg = 4328534074
	enable = 4499731520
	save_this_original_command = 4328534074
	speccount = 73
#12 0x000000010012b403 in Ffuncall (nargs=2, args=0x10012b598) at eval.c:3009
	numargs = 3
	val = 4499731520
	lisp_numargs = 140734799795784
	backtrace = {next = 0x7fff5fbfe158, function = 0x7fff5fbfd7e0, args = 0x7fff5fbfd7e8, nargs = 3, debug_on_exit = 0}
	original_fun = 4296193432
#13 0x000000010012e386 in call3 (fn=4, arg1=1, arg2=140734799795784, arg3=144944) at eval.c:2802
	ret_ungc_val = 4499731520
	args = {4328660426, 4355388162, 4328534074, 4651679269}
#14 0x00000001000c16d4 in read_char (commandflag=1606408848, nmaps=140734799796880, maps=0x7fff5fbfda90, prev_event=4651679269, used_mouse_menu=0x7fff5fbfda90, end_time=0x7fff5fbfda90) at keyboard.c:2888
	previous_echo_area_message = 4328534074
	reread = 0
	polling_stopped_here = 0
	local_getcjmp = {70892544, 1, 1606408848, 32767, 1606408208, 32767, 33566778, 1, 0, 0, 70894880, 1, 33566778, 1, 791846, 1, 1, 1606408688, 8098, 1115007, 1, 1606408768, 32767, 28260176, 1, 67317762, 1, 5829344, 1, 1606408720, 32767, 1156969, 1, 1606408352, 32767, 
  34807184, 1}
	key_already_recorded = 0
	c = 4633206246
	save_jump = {70892544, 1, 1606404848, 32767, 1606404208, 32767, 0, 0, 1, 0, 70896896, 1, 0, 0, 791846, 1, 1, -1, 8098, 895, 0, 25188688, 1, 52640584, 1, 25548465, 1, 52640568, 1, 25188693, 1, 186768016, 1, 88, 0, 1, 0}
	also_record = 4328534074
	orig_kboard = (struct kboard *) 0x101a1a370
#15 0x00000001000c4ff7 in read_key_sequence () at keyboard.c:2832
No symbol table info available.
#16 0x00000001000c6b8a in command_loop_1 () at keyboard.c:1449
	keybuf = {4, 76, 4540968112, 4297160913, -1, -7883680857272914124, 4328534074, 4297160913, 4328534074, 4328534122, 4328534074, 140734799797696, 4296323424, 8389758799651299683, 7311146993687032421, 140734799772012, 4296323070, 4645644534, 4328591018, 
  -7883680857272914124, 140734799797768, 4328534074, 4328534074, 4645644534, 4300801160, 140734799797744, 4295782334, 1, 4645644534, 4300796640}
#17 0x000000010012ebb3 in internal_condition_case (bfun=0x1000c5680 <command_loop_1>, handlers=4328590234, hfun=0x1000c6c20 <cmd_error>) at eval.c:1515
	c = {tag = 4328534074, val = 4328534074, next = 0x7fff5fbfdfe0, gcpro = 0x0, jmp = {814112, 1, 1606410144, 32767, 1606409856, 32767, 5833864, 1, 2167040, 1, 33622938, 1, 808576, 1, 1239870, 1, 203015848, 1, 8098, 895, 1, 0, 203015840, 1, 203015848, 1, 1606410096, 
    32767, -1, -1, 2, 0, 2167040, 1, 19966464, 1, 33618216}, backlist = 0x7fff5fbfe158, handlerlist = 0x7fff5fbfedf0, lisp_eval_depth = 6, pdlcount = 73, poll_suppress_count = 0, interrupt_input_blocked = 0, byte_stack = 0x7fff5fbfe2c8}
	h = {handler = 4328590234, var = 4328534074, chosen_clause = 4328534122, tag = 0x7fff5fbfdea8, next = 0x7fff5fbfedf0}
	val = 4499731520
#18 0x00000001000c565e in command_loop_2 (ignore=140734799797496) at keyboard.c:1160
No locals.
#19 0x000000010012ecb8 in internal_catch (tag=140734799797496, func=0x1000c5620 <command_loop_2>, arg=140734799797496) at eval.c:1272
	c = {tag = 4328644106, val = 4328534074, next = 0x7fff5fbfee18, gcpro = 0x0, jmp = {33566778, 1, 1606410448, 32767, 1606410208, 32767, 2, 0, 2167040, 1, 808480, 1, 33618216, 1, 1240229, 1, 2, 0, 8098, 895, 19951616, 1, 33618216, 1, 1606410384, 32767, -1918708792, 
    32767, 204490816, 1, 16, 0, 27370352, 1, 33566778, 1, 1606410448}, backlist = 0x7fff5fbfe158, handlerlist = 0x7fff5fbfedf0, lisp_eval_depth = 6, pdlcount = 73, poll_suppress_count = 0, interrupt_input_blocked = 0, byte_stack = 0x7fff5fbfe2c8}
#20 0x00000001000c71bd in command_loop [inlined] () at /Users/smparkes/scm/emacs/emacs/emacs-24/src/keyboard.c:1125
	val = 4328585512
	count = 33676810
	val = 4328585512
#21 0x00000001000c71bd in recursive_edit_1 () at keyboard.c:759
	val = 4328585512
	count = 33676810
	val = 4328585512
#22 0x00000001000b6f3c in Frecursive_edit () at keyboard.c:823
	count = 68
	buffer = 4499731520
#23 0x000000010012b3d7 in Ffuncall (nargs=4328644106, args=0x10012b598) at eval.c:2999
	numargs = 0
	val = 4499731520
	lisp_numargs = 313532612608
	backtrace = {next = 0x7fff5fbfe3a8, function = 0x7fff5fbfe1c0, args = 0x7fff5fbfe1c8, nargs = 0, debug_on_exit = 0}
	original_fun = 4296193432
#24 0x0000000100165655 in exec_byte_code (bytestr=4499731520, vector=4444726128, maxdepth=140734799798720, args_template=4328534074, nargs=140734799798712, args=0x10f8d379f) at bytecode.c:785
	count = 15
	stack = {pc = 0x10f8d32a0 "?.\031\016E\024\016D\025\016C\026&\016B\026'\016A\026(\016@\026)\016?\026*\016>\026+\016=\026,\016<\026-\016;\026.\016:\026/\0169\0260\0168\0261\0167\0262\0166\020\0165\0263\016I\026X\t.\034?", byte_string = 4444564545, 
  byte_string_start = 0x10f8d3158 "\b?\006", constants = 4444726133, next = 0x7fff5fbfe788}
	result = 4499731520
#25 0x000000010012df9a in funcall_lambda (fun=140734799799168, nargs=140734799799168, arg_vector=0x7fff5fbfe380) at eval.c:3233
	count = 14
	val = 4499731520
	syms_left = 4499601616
#26 0x000000010012b4c4 in Ffuncall (nargs=1, args=0x10201df5a) at eval.c:3051
	numargs = 2
	val = 4499731520
	lisp_numargs = 140734799799320
	backtrace = {next = 0x7fff5fbfe6e8, function = 0x7fff5fbfe410, args = 0x7fff5fbfe418, nargs = 2, debug_on_exit = 0}
	original_fun = 4328644442
#27 0x000000010012afc6 in Fapply (nargs=140734799799424, args=0x7fff5fbfe480) at eval.c:2507
	fun = 4499731520
	spread_arg = 4328534074
	sa_count = 14
	numargs = 2
	retval = 4499731520
#28 0x000000010012dbc0 in apply1 [inlined] () at /Users/smparkes/scm/emacs/emacs/emacs-24/src/eval.c:2745
	args = {4328644442, 4569131382}
	ret_ungc_val = 4499731520
	ret_ungc_val = 4499731520
	old_max = 4300801160
	count = 10
	debug_while_redisplaying = 0
#29 0x000000010012dbc0 in call_debugger (arg=140734799799520) at eval.c:227
	args = {4328644442, 4569131382}
	ret_ungc_val = 4499731520
	ret_ungc_val = 4499731520
	old_max = 4300801160
	count = 10
	debug_while_redisplaying = 0
#30 0x000000010012a6a3 in maybe_call_debugger [inlined] () at /Users/smparkes/scm/emacs/emacs/emacs-24/src/eval.c:1930
	combined_data = 4499731520
	conditions = 4499731520
	bp = (struct backtrace *) 0x7fff5fbfe418
	string = 4499731520
#31 0x000000010012a6a3 in Fsignal (error_symbol=4569131382, data=140734799799648) at eval.c:1752
	combined_data = 4499731520
	conditions = 4499731520
	bp = (struct backtrace *) 0x7fff5fbfe418
	string = 4499731520
#32 0x000000010012e419 in xsignal (error_symbol=4328590586, data=4569131078) at eval.c:1786
No locals.
#33 0x000000010012d7bf in xsignal1 (error_symbol=<value temporarily unavailable, due to optimizations>, arg=<value temporarily unavailable, due to optimizations>) at eval.c:1801
No locals.
#34 0x00000001001172c9 in Fsymbol_value (symbol=<value temporarily unavailable, due to optimizations>) at data.c:1059
	val = 4499731520
#35 0x000000010012cc18 in eval_sub (form=4641613202) at eval.c:2232
	lex_binding = 4499731520
	original_args = 4329147226
	original_fun = 4328534074
	backtrace = {next = 0x10037fee5, function = 0x7fff5fbfe788, args = 0x92978a07a3b36f34, nargs = 4298636920, debug_on_exit = 0}
#36 0x000000010012abed in Feval (form=4641613202, lexical=4569131078) at eval.c:2204
	count = 9
#37 0x000000010012b4dd in Ffuncall (nargs=4328590586, args=0x10012b598) at eval.c:2984
	numargs = 2
	val = 4499731520
	lisp_numargs = 140734799799320
	backtrace = {next = 0x7fff5fbfe868, function = 0x7fff5fbfe758, args = 0x7fff5fbfe760, nargs = 2, debug_on_exit = 0}
	original_fun = 4296193432
#38 0x0000000100165655 in exec_byte_code (bytestr=4499731520, vector=4298636456, maxdepth=140734799800152, args_template=4328534074, nargs=140734799800136, args=0x1004841ba) at bytecode.c:785
	count = 8
	stack = {pc = 0x1004841c4 "!)?", byte_string = 4298636425, byte_string_start = 0x1004841b2 "\b?\b", constants = 4298636461, next = 0x7fff5fbfe908}
	result = 4499731520
#39 0x000000010012df9a in funcall_lambda (fun=140734799800384, nargs=140734799800384, arg_vector=0x7fff5fbfe840) at eval.c:3233
	count = 7
	val = 4499731520
	syms_left = 4298636352
#40 0x000000010012b4c4 in Ffuncall (nargs=3, args=0x10248bfba) at eval.c:3051
	numargs = 1
	val = 4499731520
	lisp_numargs = 140734799800536
	backtrace = {next = 0x7fff5fbfe9e8, function = 0x7fff5fbfe8d0, args = 0x7fff5fbfe8d8, nargs = 1, debug_on_exit = 0}
	original_fun = 4333289402
#41 0x0000000100165655 in exec_byte_code (bytestr=4499731520, vector=4298637304, maxdepth=140734799800528, args_template=4328534074, nargs=140734799800520, args=0x1004840b2) at bytecode.c:785
	count = 6
	stack = {pc = 0x1004840b7 "\v)B?\034A\n=?\033", byte_string = 4298637273, byte_string_start = 0x1004840aa "\b?\b", constants = 4298637309, next = 0x0}
	result = 4499731520
#42 0x000000010012df9a in funcall_lambda (fun=140734799800768, nargs=140734799800768, arg_vector=0x7fff5fbfe9c0) at eval.c:3233
	count = 5
	val = 4499731520
	syms_left = 4298637208
#43 0x000000010012b4c4 in Ffuncall (nargs=2, args=0x10206cd6a) at eval.c:3051
	numargs = 1
	val = 4499731520
	lisp_numargs = 140734799800952
	backtrace = {next = 0x7fff5fbfeba8, function = 0x7fff5fbfea70, args = 0x7fff5fbfea78, nargs = 1, debug_on_exit = 0}
	original_fun = 4328967530
#44 0x0000000100127dd9 in Fcall_interactively (function=140734799801216, record_flag=140734799801216, keys=140734799801216) at callint.c:852
	val = 4499731520
	key_count = 1606413184
	save_real_this_command = 4328967530
	save_this_command = 4328967530
	save_last_command = 4328821658
	prefix_arg = 4328534074
	enable = 4499731520
	save_this_original_command = 4328967530
	speccount = 3
#45 0x000000010012b403 in Ffuncall (nargs=2, args=0x10012b598) at eval.c:3009
	numargs = 3
	val = 4499731520
	lisp_numargs = 140734799800952
	backtrace = {next = 0x0, function = 0x7fff5fbfec10, args = 0x7fff5fbfec18, nargs = 3, debug_on_exit = 0}
	original_fun = 4296193432
#46 0x000000010012e386 in call3 (fn=4, arg1=1, arg2=140734799800952, arg3=1) at eval.c:2802
	ret_ungc_val = 4499731520
	args = {4328660426, 4328967530, 4328534074, 4328534074}
#47 0x00000001000c5cc5 in command_loop_1 () at keyboard.c:1572
	keybuf = {96, 20, 4296303834, 2, 5901380984, 4328534122, 4652742832, 4297160113, -1, -7883680857272914124, 4328534074, 4297160113, 4328534074, 4328534122, 4328534074, 140734799801648, 4296323424, 4624666950, 4328590282, -7883680857272914124, 140734799801720, 
  4328534074, 4328534074, 4624666950, 4300801160, 140734799801696, 4295782334, 140734800051648, 4624666950, 4300796640}
#48 0x000000010012ebb3 in internal_condition_case (bfun=0x1000c5680 <command_loop_1>, handlers=4328590234, hfun=0x1000c6c20 <cmd_error>) at eval.c:1515
	c = {tag = 4328534074, val = 4328534074, next = 0x7fff5fbfef50, gcpro = 0x0, jmp = {814112, 1, 1606414096, 32767, 1606413808, 32767, 5833864, 1, 5824692, 1, 33622938, 1, 808576, 1, 1239870, 1, 5824692, 1, 8098, 895, 768032, 1, 1239870, 1, 73, 0, 8096, 895, 3, 0, 0, 0, 
    0, 16711680, 1128353093, 1330011987, 1281315918}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 0, interrupt_input_blocked = 0, byte_stack = 0x0}
	h = {handler = 4328590234, var = 4328534074, chosen_clause = 4328534122, tag = 0x7fff5fbfee18, next = 0x0}
	val = 4499731520
#49 0x00000001000c565e in command_loop_2 (ignore=4328660426) at keyboard.c:1160
No locals.
#50 0x000000010012ecb8 in internal_catch (tag=4328660426, func=0x1000c5620 <command_loop_2>, arg=4328660426) at eval.c:1272
	c = {tag = 4328586250, val = 4328534074, next = 0x0, gcpro = 0x0, jmp = {33566778, 1, 1606414400, 32767, 1606414160, 32767, 5825160, 1, 5824692, 1, 808480, 1, 808480, 1, 1240229, 1, 19951616, 1, 8098, 895, 1606414304, 32767, -1918705244, 32767, 0, 0, 1529136, 1, 
    1606414448, 32767, 1606414456, 32767, 1910496, 1, 33566778, 1, 1606414400}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 0, interrupt_input_blocked = 0, byte_stack = 0x0}
#51 0x00000001000c7180 in command_loop [inlined] () at /Users/smparkes/scm/emacs/emacs/emacs-24/src/keyboard.c:1139
	val = 4295775776
	count = 33618954
	val = 4295775776
#52 0x00000001000c7180 in recursive_edit_1 () at keyboard.c:759
	val = 4295775776
	count = 33618954
	val = 4295775776
#53 0x00000001000b6f3c in Frecursive_edit () at keyboard.c:823
	count = 0
	buffer = 4499731520
#54 0x00000001000b39f9 in main (argc=33618954, argv=0x7fff5fbff210) at emacs.c:1715
	stack_bottom_variable = 0 '\0'
	dummy = 0
	junk = 0x0
	skip_args = 0
	rlim = {rlim_cur = 8720000, rlim_max = 67104768}
	dname_arg = 0x0
	dname_arg2 = '\0' <repeats 12 times>, "\001", '\0' <repeats 19 times>, " \a?_?\000\0000\a?_?\000\000\000\000\000\000\001\000\000\0000?_?\000\0004o??\a???\000\000\000\000\000\000\000"
	ch_to_dir = 0x0
(gdb) 







^ permalink raw reply	[flat|nested] 18+ messages in thread
* bug#7879: 24.0.50; Wish: Make c-defun-name recognize objc-methods.
@ 2011-01-21  9:07 Jan Djärv
  0 siblings, 0 replies; 18+ messages in thread
From: Jan Djärv @ 2011-01-21  9:07 UTC (permalink / raw)
  To: 7879

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your report will be posted to the bug-gnu-emacs@gnu.org mailing list
and the gnu.emacs.bug news group, and at http://debbugs.gnu.org.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug.  If you can, give
a recipe starting from `emacs -Q':

Hello.

bug-cc-mode seems to be dead, so I send here instead.

It always annoyed me that add-log always put objc-methods as "-".
Internally add-log uses c-defun-name, so I'd like that defun to be
changed so it recognizes objc-names.  I have run with this for a while,
it handles all cases I've seen, but I'm sure some constructs make it
fail.  At least it is better than returning "-".

=== modified file 'lisp/progmodes/cc-cmds.el'
--- lisp/progmodes/cc-cmds.el	2010-10-31 11:54:02 +0000
+++ lisp/progmodes/cc-cmds.el	2010-12-02 09:03:09 +0000
@@ -1724,6 +1724,14 @@
   	    ;; DEFFLAGSET(syslog_opt_flags,LOG_PID ...) ==> syslog_opt_flags
   	    (match-string-no-properties 1))

+	   ((and (derived-mode-p 'objc-mode)
+		 (looking-at "[-+]\s*("))
+	    (when (c-syntactic-re-search-forward ")\s*" nil t)
+	      (c-forward-token-2)
+	      (setq name-end (point))
+	      (c-backward-token-2)
+	      (buffer-substring-no-properties (point) name-end)))
+
   	   (t
   	    ;; Normal function or initializer.
   	    (when (c-syntactic-re-search-forward "[{(]" nil t)



	Jan D.



If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
     `bt full' and `xbacktrace'.
For information about debugging Emacs, please read the file
/Users/jhd/src/emacs/current/nextstep/Emacs.app/Contents/Resources/etc/DEBUG.


In GNU Emacs 24.0.50.1 (x86_64-apple-darwin10.6.0, NS apple-appkit-1038.35)
  of 2011-01-21 on zeplin
Windowing system distributor `Apple', version 10.3.1038
configured using `configure  '--verbose' '--enable-asserts' '--with-ns' 
'--without-x' 'CFLAGS=-g''

Important settings:
   value of $LC_ALL: nil
   value of $LC_COLLATE: C
   value of $LC_CTYPE: nil
   value of $LC_MESSAGES: nil
   value of $LC_MONETARY: nil
   value of $LC_NUMERIC: nil
   value of $LC_TIME: nil
   value of $LANG: sv_SE.UTF-8
   value of $XMODIFIERS: nil
   locale-coding-system: utf-8-unix
   default enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
   desktop-save-mode: t
   delete-selection-mode: t
   icomplete-mode: t
   display-time-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
   auto-composition-mode: t
   auto-encryption-mode: t
   auto-compression-mode: t
   line-number-mode: t
   transient-mark-mode: t

Recent input:
n M-x r e p o r t - e m <tab> <return>

Recent messages:
Loading /Users/jhd/lib/elisp/BAK-file.el (source)...done
Loading /Users/jhd/lib/elisp/ccsetup.el (source)...done
Loading icomplete...done
Loading desktop...done
Warning: desktop file appears to be in use by PID 29264.
Using it may cause conflicts.  Use it anyway? (y or n)  n
Desktop file in use; not loaded.
For information about GNU Emacs and the GNU system, type C-h C-a.

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr message rfc822 mml mml-sec mm-decode
mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader emacsbug
desktop cus-start cus-load msb delsel advice help-fns advice-preload
icomplete cc-mode cc-fonts easymenu cc-menus cc-cmds cc-styles cc-align
cc-engine cc-vars cc-defs regexp-opt time tooltip ediff-hook vc-hooks
lisp-float-type mwheel ns-win tool-bar dnd fontset image fringe
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
loaddefs button minibuffer faces cus-face files text-properties overlay
md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process ns multi-tty
emacs)





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

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

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-29 18:48 bug#11583: 24.0.97; 24 pretest Emacs.app crashes closing frames Steven Parkes
2012-05-29 20:55 ` bug#11584: " Steven Parkes
     [not found]   ` <handler.11584.B.133834111624627.ack@debbugs.gnu.org>
2012-05-30  1:27     ` bug#11584: Acknowledgement (24.0.97; 24 pretest Emacs.app crashes closing frames) Steven Parkes
2012-05-30  2:52 ` bug#11583: 24.0.97; 24 pretest Emacs.app crashes closing frames Eli Zaretskii
2012-05-30  3:07   ` Steven Parkes
2012-05-30 15:11     ` Eli Zaretskii
2012-05-30 15:45       ` Steven Parkes
2012-06-03  2:05   ` Steven Parkes
2012-06-03 14:54     ` Eli Zaretskii
2012-06-04 20:30       ` Steven Parkes
2012-06-04 21:09         ` Jan Djärv
2012-06-04 21:11           ` Steven Parkes
2012-06-11 16:57             ` Jan Djärv
2012-06-11 17:31               ` Andreas Schwab
2012-06-12  2:52               ` Steven Parkes
2012-07-14  9:10         ` bug#7879: 24.0.50; Wish: Make c-defun-name recognize objc-methods Jan Djärv
     [not found] ` <handler.11583.B.133834111324619.ack@debbugs.gnu.org>
2012-07-02 20:43   ` bug#11583: (24.0.97; 24 pretest Emacs.app crashes closing frames) Steven Parkes
  -- strict thread matches above, loose matches on Subject: below --
2011-01-21  9:07 bug#7879: 24.0.50; Wish: Make c-defun-name recognize objc-methods Jan Djärv

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.