unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#5258: 23.1; PHP mode hangs emacs
@ 2009-12-21 14:50 Jez Austin
  2009-12-24 22:56 ` Glenn Morris
  0 siblings, 1 reply; 2+ messages in thread
From: Jez Austin @ 2009-12-21 14:50 UTC (permalink / raw)
  To: bug-gnu-emacs

PHP-mode easily hangs emacs completely, with the wrist-watch pointer.
Launched emacs-23.1-r2 with `emacs -q --no-site-file', and manually
loaded the php-mode.el. Triggered the hang by typing `function
test($one,' at which point emacs stops responding.
(note, because emacs crashes, I'm submitting this from a separate process).

It looks like a garbage collection problem.

bt full:
#0  0x00000000005333ab in mark_object (arg=<value optimized out>)
    at alloc.c:5554
	ptr = (struct Lisp_Symbol *) 0xcdf860
	obj = 13498464
#1  0x00000000005332d4 in mark_object (arg=<value optimized out>)
    at alloc.c:5660
	ptr = <value optimized out>
	obj = <value optimized out>
#2  0x00000000005332d4 in mark_object (arg=<value optimized out>)
    at alloc.c:5660
	ptr = <value optimized out>
	obj = <value optimized out>
#3  0x00000000005332d4 in mark_object (arg=<value optimized out>)
    at alloc.c:5660
	ptr = <value optimized out>
	obj = <value optimized out>
#4  0x0000000000533352 in mark_object (arg=<value optimized out>)
    at alloc.c:5548
	ptr = <value optimized out>
	obj = 13498464
#5  0x00000000005339d4 in mark_vectorlike (ptr=0x31f3e60) at alloc.c:5370
	size = 62
	i = 47
#6  0x0000000000533360 in mark_object (arg=<value optimized out>)
    at alloc.c:5549
	ptr = (struct Lisp_Symbol *) 0xcdf860
	obj = 13498464
#7  0x00000000005339d4 in mark_vectorlike (ptr=0x31fa070) at alloc.c:5370
	size = 74
	i = 28
#8  0x0000000000533360 in mark_object (arg=<value optimized out>)
    at alloc.c:5549
	ptr = (struct Lisp_Symbol *) 0xcdf860
	obj = 13498464
#9  0x00000000005335ee in mark_object (arg=<value optimized out>)
    at alloc.c:5587
	obj = <value optimized out>
#10 0x0000000000533352 in mark_object (arg=<value optimized out>)
    at alloc.c:5548
	ptr = <value optimized out>
	obj = 13498464
#11 0x00000000005332d4 in mark_object (arg=<value optimized out>)
    at alloc.c:5660
	ptr = <value optimized out>
	obj = <value optimized out>
#12 0x000000000053336e in mark_object (arg=<value optimized out>)
    at alloc.c:5550
	ptr = (struct Lisp_Symbol *) 0xcdf860
	obj = 13498464
#13 0x00000000005339d4 in mark_vectorlike (ptr=0x319de70) at alloc.c:5370
	size = 88
	i = 24
#14 0x00000000005335ee in mark_object (arg=<value optimized out>)
    at alloc.c:5587
	obj = <value optimized out>
#15 0x0000000000533352 in mark_object (arg=<value optimized out>)
    at alloc.c:5548
	ptr = <value optimized out>
	obj = 13498464
#16 0x00000000005332d4 in mark_object (arg=<value optimized out>)
    at alloc.c:5660
	ptr = <value optimized out>
	obj = <value optimized out>
#17 0x00000000005332d4 in mark_object (arg=<value optimized out>)
    at alloc.c:5660
	ptr = <value optimized out>
	obj = <value optimized out>
#18 0x0000000000533352 in mark_object (arg=<value optimized out>)
    at alloc.c:5548
	ptr = <value optimized out>
	obj = 13498464
#19 0x00000000005339d4 in mark_vectorlike (ptr=0x2fdfb10) at alloc.c:5370
	size = 6
	i = 1
#20 0x0000000000533360 in mark_object (arg=<value optimized out>)
    at alloc.c:5549
	ptr = (struct Lisp_Symbol *) 0xcdf860
	obj = 13498464
#21 0x00000000005339d4 in mark_vectorlike (ptr=0x31c5d70) at alloc.c:5370
	size = 40
	i = 39
#22 0x0000000000533360 in mark_object (arg=<value optimized out>)
    at alloc.c:5549
	ptr = (struct Lisp_Symbol *) 0xcdf860
	obj = 13498464
#23 0x00000000005339d4 in mark_vectorlike (ptr=0x31bf570) at alloc.c:5370
	size = 64
	i = 13
#24 0x0000000000533360 in mark_object (arg=<value optimized out>)
    at alloc.c:5549
	ptr = (struct Lisp_Symbol *) 0xcdf860
	obj = 13498464
#25 0x00000000005339d4 in mark_vectorlike (ptr=0x312a410) at alloc.c:5370
	size = 42
	i = 7
#26 0x00000000005332d4 in mark_object (arg=<value optimized out>)
    at alloc.c:5660
	ptr = <value optimized out>
	obj = <value optimized out>
#27 0x00000000005339d4 in mark_vectorlike (ptr=0x30b30d0) at alloc.c:5370
	size = 2
	i = 2
#28 0x0000000000533360 in mark_object (arg=<value optimized out>)
    at alloc.c:5549
	ptr = (struct Lisp_Symbol *) 0xcdf860
	obj = 13498464
#29 0x00000000005339d4 in mark_vectorlike (ptr=0x31db860) at alloc.c:5370
	size = 32
	i = 18
#30 0x00000000005332d4 in mark_object (arg=<value optimized out>)
    at alloc.c:5660
	ptr = <value optimized out>
	obj = <value optimized out>
#31 0x00000000005339d4 in mark_vectorlike (ptr=0x31db9c0) at alloc.c:5370
	size = 2
	i = 2
#32 0x0000000000533360 in mark_object (arg=<value optimized out>)
    at alloc.c:5549
	ptr = (struct Lisp_Symbol *) 0xcdf860
	obj = 13498464
#33 0x00000000005332d4 in mark_object (arg=<value optimized out>)
    at alloc.c:5660
	ptr = <value optimized out>
	obj = <value optimized out>
#34 0x00000000005332d4 in mark_object (arg=<value optimized out>)
    at alloc.c:5660
	ptr = <value optimized out>
	obj = <value optimized out>
#35 0x000000000053336e in mark_object (arg=<value optimized out>)
    at alloc.c:5550
	ptr = (struct Lisp_Symbol *) 0xcdf860
	obj = 13498464
#36 0x00000000005339d4 in mark_vectorlike (ptr=0x318fc30) at alloc.c:5370
	size = 151
	i = 1
#37 0x0000000000533352 in mark_object (arg=<value optimized out>)
    at alloc.c:5548
	ptr = <value optimized out>
	obj = 13498464
#38 0x00000000005339d4 in mark_vectorlike (ptr=0x2f293b0) at alloc.c:5370
	size = 17
	i = 17
#39 0x00000000005332d4 in mark_object (arg=<value optimized out>)
    at alloc.c:5660
	ptr = <value optimized out>
	obj = <value optimized out>
#40 0x00000000005339d4 in mark_vectorlike (ptr=0x304d620) at alloc.c:5370
	size = 2
	i = 2
#41 0x0000000000533360 in mark_object (arg=<value optimized out>)
    at alloc.c:5549
	ptr = (struct Lisp_Symbol *) 0xcdf860
	obj = 13498464
#42 0x00000000005332d4 in mark_object (arg=<value optimized out>)
    at alloc.c:5660
	ptr = <value optimized out>
	obj = <value optimized out>
#43 0x00000000005334a0 in mark_object (arg=<value optimized out>)
    at alloc.c:5495
	size = <value optimized out>
	i = 9174904
	obj = <value optimized out>
#44 0x0000000000533360 in mark_object (arg=<value optimized out>)
    at alloc.c:5549
	ptr = (struct Lisp_Symbol *) 0xcdf860
	obj = 13498464
#45 0x00000000005339d4 in mark_vectorlike (ptr=0x31f8c90) at alloc.c:5370
	size = 7
	i = 4
#46 0x0000000000533360 in mark_object (arg=<value optimized out>)
    at alloc.c:5549
	ptr = (struct Lisp_Symbol *) 0xcdf860
	obj = 13498464
#47 0x00000000005335ee in mark_object (arg=<value optimized out>)
    at alloc.c:5587
	obj = <value optimized out>
#48 0x0000000000533352 in mark_object (arg=<value optimized out>)
    at alloc.c:5548
	ptr = <value optimized out>
	obj = 13498464
#49 0x00000000005339d4 in mark_vectorlike (ptr=0x2ebb320) at alloc.c:5370
	size = 31
	i = 5
#50 0x0000000000533360 in mark_object (arg=<value optimized out>)
    at alloc.c:5549
	ptr = (struct Lisp_Symbol *) 0xcdf860
	obj = 13498464
#51 0x00000000005332d4 in mark_object (arg=<value optimized out>)
    at alloc.c:5660
	ptr = <value optimized out>
	obj = <value optimized out>
#52 0x0000000000533352 in mark_object (arg=<value optimized out>)
    at alloc.c:5548
	ptr = <value optimized out>
	obj = 13498464
#53 0x00000000005339d4 in mark_vectorlike (ptr=0x3030120) at alloc.c:5370
	size = 10
	i = 2
#54 0x0000000000533360 in mark_object (arg=<value optimized out>)
    at alloc.c:5549
	ptr = (struct Lisp_Symbol *) 0xcdf860
	obj = 13498464
#55 0x00000000005339d4 in mark_vectorlike (ptr=0x3030700) at alloc.c:5370
	size = 24
	i = 13
#56 0x0000000000533360 in mark_object (arg=<value optimized out>)
    at alloc.c:5549
	ptr = (struct Lisp_Symbol *) 0xcdf860
	obj = 13498464
#57 0x00000000005339d4 in mark_vectorlike (ptr=0x3030960) at alloc.c:5370
	size = 5
	i = 3
#58 0x0000000000533360 in mark_object (arg=<value optimized out>)
    at alloc.c:5549
	ptr = (struct Lisp_Symbol *) 0xcdf860
	obj = 13498464
#59 0x00000000005332d4 in mark_object (arg=<value optimized out>)
    at alloc.c:5660
	ptr = <value optimized out>
	obj = <value optimized out>
#60 0x0000000000533352 in mark_object (arg=<value optimized out>)
    at alloc.c:5548
	ptr = <value optimized out>
	obj = 13498464
#61 0x00000000005339d4 in mark_vectorlike (ptr=0x2f78740) at alloc.c:5370
	size = 8
	i = 2
#62 0x00000000005332d4 in mark_object (arg=<value optimized out>)
    at alloc.c:5660
	ptr = <value optimized out>
	obj = <value optimized out>
#63 0x00000000005339d4 in mark_vectorlike (ptr=0x2f787e0) at alloc.c:5370
	size = 5
	i = 3
#64 0x0000000000533360 in mark_object (arg=<value optimized out>)
    at alloc.c:5549
	ptr = (struct Lisp_Symbol *) 0xcdf860
	obj = 13498464
#65 0x00000000005339d4 in mark_vectorlike (ptr=0x3057fb0) at alloc.c:5370
	size = 26
	i = 8
#66 0x0000000000533360 in mark_object (arg=<value optimized out>)
    at alloc.c:5549
	ptr = (struct Lisp_Symbol *) 0xcdf860
	obj = 13498464
#67 0x00000000005332d4 in mark_object (arg=<value optimized out>)
    at alloc.c:5660
	ptr = <value optimized out>
	obj = <value optimized out>
#68 0x0000000000533352 in mark_object (arg=<value optimized out>)
    at alloc.c:5548
	ptr = <value optimized out>
	obj = 13498464
#69 0x00000000005339d4 in mark_vectorlike (ptr=0x3172950) at alloc.c:5370
	size = 43
	i = 6
#70 0x0000000000533360 in mark_object (arg=<value optimized out>)
    at alloc.c:5549
	ptr = (struct Lisp_Symbol *) 0xcdf860
	obj = 13498464
#71 0x00000000005339d4 in mark_vectorlike (ptr=0x31781b0) at alloc.c:5370
	size = 34
	i = 14
#72 0x0000000000533360 in mark_object (arg=<value optimized out>)
    at alloc.c:5549
	ptr = (struct Lisp_Symbol *) 0xcdf860
	obj = 13498464
#73 0x00000000005339d4 in mark_vectorlike (ptr=0x3168100) at alloc.c:5370
	size = 37
	i = 29
#74 0x0000000000533360 in mark_object (arg=<value optimized out>)
    at alloc.c:5549
	ptr = (struct Lisp_Symbol *) 0xcdf860
	obj = 13498464
#75 0x00000000005339d4 in mark_vectorlike (ptr=0x2f79ec0) at alloc.c:5370
	size = 9
	i = 3
#76 0x0000000000533360 in mark_object (arg=<value optimized out>)
    at alloc.c:5549
	ptr = (struct Lisp_Symbol *) 0xcdf860
	obj = 13498464
#77 0x00000000005339d4 in mark_vectorlike (ptr=0x3161ac0) at alloc.c:5370
	size = 21
	i = 18
#78 0x0000000000533360 in mark_object (arg=<value optimized out>)
    at alloc.c:5549
	ptr = (struct Lisp_Symbol *) 0xcdf860
	obj = 13498464
#79 0x00000000005339d4 in mark_vectorlike (ptr=0x3041c90) at alloc.c:5370
	size = 18
	i = 15
#80 0x0000000000533360 in mark_object (arg=<value optimized out>)
    at alloc.c:5549
	ptr = (struct Lisp_Symbol *) 0xcdf860
	obj = 13498464
#81 0x00000000005332d4 in mark_object (arg=<value optimized out>)
    at alloc.c:5660
	ptr = <value optimized out>
	obj = <value optimized out>
#82 0x00000000005332d4 in mark_object (arg=<value optimized out>)
    at alloc.c:5660
	ptr = <value optimized out>
	obj = <value optimized out>
#83 0x000000000053336e in mark_object (arg=<value optimized out>)
    at alloc.c:5550
	ptr = (struct Lisp_Symbol *) 0xcdf860
	obj = 13498464
#84 0x00000000005332d4 in mark_object (arg=<value optimized out>)
    at alloc.c:5660
	ptr = <value optimized out>
	obj = <value optimized out>
#85 0x0000000000533352 in mark_object (arg=<value optimized out>)
    at alloc.c:5548
	ptr = <value optimized out>
	obj = 13498464
#86 0x00000000005339d4 in mark_vectorlike (ptr=0x2fd9490) at alloc.c:5370
	size = 7
	i = 2
#87 0x0000000000533360 in mark_object (arg=<value optimized out>)
    at alloc.c:5549
	ptr = (struct Lisp_Symbol *) 0xcdf860
	obj = 13498464
#88 0x00000000005339d4 in mark_vectorlike (ptr=0x321b2e0) at alloc.c:5370
	size = 36
	i = 27
#89 0x0000000000533360 in mark_object (arg=<value optimized out>)
    at alloc.c:5549
	ptr = (struct Lisp_Symbol *) 0xcdf860
	obj = 13498464
#90 0x00000000005335ee in mark_object (arg=<value optimized out>)
    at alloc.c:5587
	obj = <value optimized out>
#91 0x0000000000533352 in mark_object (arg=<value optimized out>)
    at alloc.c:5548
	ptr = <value optimized out>
	obj = 13498464
#92 0x00000000005339d4 in mark_vectorlike (ptr=0x3171150) at alloc.c:5370
	size = 5
	i = 1
#93 0x0000000000533360 in mark_object (arg=<value optimized out>)
    at alloc.c:5549
	ptr = (struct Lisp_Symbol *) 0xcdf860
	obj = 13498464
#94 0x00000000005339d4 in mark_vectorlike (ptr=0x2f59870) at alloc.c:5370
	size = 11
	i = 6
#95 0x0000000000533360 in mark_object (arg=<value optimized out>)
    at alloc.c:5549
	ptr = (struct Lisp_Symbol *) 0xcdf860
	obj = 13498464
#96 0x00000000005332d4 in mark_object (arg=<value optimized out>)
    at alloc.c:5660
	ptr = <value optimized out>
	obj = <value optimized out>
#97 0x00000000005335ee in mark_object (arg=<value optimized out>)
    at alloc.c:5587
	obj = <value optimized out>
#98 0x0000000000533352 in mark_object (arg=<value optimized out>)
    at alloc.c:5548
	ptr = <value optimized out>
	obj = 13498464
#99 0x00000000005332d4 in mark_object (arg=<value optimized out>)
    at alloc.c:5660
	ptr = <value optimized out>
	obj = <value optimized out>
#100 0x00000000005332d4 in mark_object (arg=<value optimized out>)
    at alloc.c:5660
	ptr = <value optimized out>
	obj = <value optimized out>
#101 0x00000000005332d4 in mark_object (arg=<value optimized out>)
    at alloc.c:5660
	ptr = <value optimized out>
	obj = <value optimized out>
#102 0x00000000005332d4 in mark_object (arg=<value optimized out>)
    at alloc.c:5660
	ptr = <value optimized out>
	obj = <value optimized out>
#103 0x00000000005334a0 in mark_object (arg=<value optimized out>)
    at alloc.c:5495
	size = <value optimized out>
	i = 9174904
	obj = <value optimized out>
#104 0x0000000000533360 in mark_object (arg=<value optimized out>)
    at alloc.c:5549
	ptr = (struct Lisp_Symbol *) 0xcdf860
	obj = 13498464
#105 0x00000000005332d4 in mark_object (arg=<value optimized out>)
    at alloc.c:5660
	ptr = <value optimized out>
	obj = <value optimized out>
#106 0x00000000005332d4 in mark_object (arg=<value optimized out>)
    at alloc.c:5660
	ptr = <value optimized out>
	obj = <value optimized out>
#107 0x0000000000533352 in mark_object (arg=<value optimized out>)
    at alloc.c:5548
	ptr = <value optimized out>
	obj = 13498464
#108 0x00000000005332d4 in mark_object (arg=<value optimized out>)
    at alloc.c:5660
	ptr = <value optimized out>
	obj = <value optimized out>
#109 0x00000000005332d4 in mark_object (arg=<value optimized out>)
    at alloc.c:5660
	ptr = <value optimized out>
	obj = <value optimized out>
#110 0x00000000005332d4 in mark_object (arg=<value optimized out>)
    at alloc.c:5660
	ptr = <value optimized out>
	obj = <value optimized out>
#111 0x00000000005332d4 in mark_object (arg=<value optimized out>)
    at alloc.c:5660
	ptr = <value optimized out>
	obj = <value optimized out>
#112 0x000000000053336e in mark_object (arg=<value optimized out>)
    at alloc.c:5550
	ptr = (struct Lisp_Symbol *) 0xcdf860
	obj = 13498464
#113 0x00000000005339d4 in mark_vectorlike (ptr=0x30b7d80) at alloc.c:5370
	size = 11
	i = 9
#114 0x0000000000533360 in mark_object (arg=<value optimized out>)
    at alloc.c:5549
	ptr = (struct Lisp_Symbol *) 0xcdf860
	obj = 13498464
#115 0x00000000005339d4 in mark_vectorlike (ptr=0x3161550) at alloc.c:5370
	size = 6
	i = 1
#116 0x0000000000533360 in mark_object (arg=<value optimized out>)
    at alloc.c:5549
	ptr = (struct Lisp_Symbol *) 0xcdf860
	obj = 13498464
#117 0x00000000005332d4 in mark_object (arg=<value optimized out>)
    at alloc.c:5660
	ptr = <value optimized out>
	obj = <value optimized out>
#118 0x00000000005339d4 in mark_vectorlike (ptr=0x318f200) at alloc.c:5370
	size = 31
	i = 11
#119 0x0000000000533360 in mark_object (arg=<value optimized out>)
    at alloc.c:5549
	ptr = (struct Lisp_Symbol *) 0xcdf860
	obj = 13498464
#120 0x00000000005334a0 in mark_object (arg=<value optimized out>)
    at alloc.c:5495
	size = <value optimized out>
	i = 9174904
	obj = <value optimized out>
#121 0x0000000000533360 in mark_object (arg=<value optimized out>)
    at alloc.c:5549
	ptr = (struct Lisp_Symbol *) 0xcdf860
	obj = 13498464
#122 0x00000000005339d4 in mark_vectorlike (ptr=0x32058b0) at alloc.c:5370
	size = 22
	i = 9
#123 0x0000000000533360 in mark_object (arg=<value optimized out>)
    at alloc.c:5549
	ptr = (struct Lisp_Symbol *) 0xcdf860
	obj = 13498464
#124 0x00000000005339d4 in mark_vectorlike (ptr=0x31b24b0) at alloc.c:5370
	size = 11
	i = 7
#125 0x0000000000533360 in mark_object (arg=<value optimized out>)
    at alloc.c:5549
	ptr = (struct Lisp_Symbol *) 0xcdf860
	obj = 13498464
#126 0x00000000005332d4 in mark_object (arg=<value optimized out>)
    at alloc.c:5660
	ptr = <value optimized out>
	obj = <value optimized out>
#127 0x00000000005332d4 in mark_object (arg=<value optimized out>)
    at alloc.c:5660
	ptr = <value optimized out>
	obj = <value optimized out>
#128 0x00000000005332d4 in mark_object (arg=<value optimized out>)
    at alloc.c:5660
	ptr = <value optimized out>
	obj = <value optimized out>
#129 0x0000000000533352 in mark_object (arg=<value optimized out>)
    at alloc.c:5548
	ptr = <value optimized out>
	obj = 13498464
#130 0x00000000005339d4 in mark_vectorlike (ptr=0x3020110) at alloc.c:5370
	size = 4
	i = 2
#131 0x0000000000533360 in mark_object (arg=<value optimized out>)
    at alloc.c:5549
	ptr = (struct Lisp_Symbol *) 0xcdf860
	obj = 13498464
#132 0x00000000005339d4 in mark_vectorlike (ptr=0x3022580) at alloc.c:5370
	size = 4
	i = 2
#133 0x00000000005339d4 in mark_vectorlike (ptr=0x302c6a0) at alloc.c:5370
	size = 130
	i = 5
#134 0x0000000000533352 in mark_object (arg=<value optimized out>)
    at alloc.c:5548
	ptr = <value optimized out>
	obj = 13498464
#135 0x00000000005339d4 in mark_vectorlike (ptr=0x302d8f0) at alloc.c:5370
	size = 13
	i = 2
#136 0x0000000000533360 in mark_object (arg=<value optimized out>)
    at alloc.c:5549

... (ad nauseum)

#677 0x0000000000533352 in mark_object (arg=<value optimized out>)
    at alloc.c:5548
	ptr = <value optimized out>
	obj = 13498464
#678 0x00000000005332d4 in mark_object (arg=<value optimized out>)
    at alloc.c:5660
	ptr = <value optimized out>
	obj = <value optimized out>
#679 0x00000000005332d4 in mark_object (arg=<value optimized out>)
    at alloc.c:5660
	ptr = <value optimized out>
	obj = <value optimized out>
#680 0x000000000053336e in mark_object (arg=<value optimized out>)
    at alloc.c:5550
	ptr = (struct Lisp_Symbol *) 0xcdf860
	obj = 13498464
#681 0x0000000000533360 in mark_object (arg=<value optimized out>)
    at alloc.c:5549
	ptr = (struct Lisp_Symbol *) 0xcdf860
	obj = 13498464
#682 0x00000000005339d4 in mark_vectorlike (ptr=0xa70dd0) at alloc.c:5370
	size = 1511
	i = 1
#683 0x0000000000536d32 in Fgarbage_collect () at alloc.c:5083
	bind = <value optimized out>
	catch = <value optimized out>
	handler = <value optimized out>
	stack_top_variable = 0 '\0'
	i = 1
	message_p = 0
	total = {53375488, 5389982, 51103059, 140735950565664, 
  140735950565960, 51103059, 12884901888, 140735950565992}
	t1 = {tv_sec = 1261405907, tv_usec = 159872}
	t2 = {tv_sec = 4, tv_usec = 17191153392}
#684 0x00000000005849bb in Fbyte_code (bytestr=0, vector=8346912, 
    maxdepth=<value optimized out>) at bytecode.c:713
	count = 39
	op = 13498464
	stack = {pc = 0x993a51 ":", top = 0x7fffa4573248, 
  bottom = 0x7fffa4573240, byte_string = 9579219, 
  byte_string_start = 0x993a1a "\b\204\006", constants = 9579252, 
  next = 0x7fffa4573430}
	top = (Lisp_Object *) 0x7fffa4573248
	result = <value optimized out>
#685 0x000000000054e6af in funcall_lambda (fun=9579124, 
    nargs=<value optimized out>, arg_vector=<value optimized out>)
    at eval.c:3232
	val = <value optimized out>
	syms_left = 10946961
	next = 11367841
	i = 1
	optional = 1
	rest = 0
#686 0x000000000054c483 in Ffuncall (nargs=<value optimized out>, 
    args=0x922a70) at eval.c:3102
	fun = 0
	original_fun = 16986417
	funcar = 9174904
	numargs = 1
	val = <value optimized out>
	backtrace = {next = 0x7fffa4573540, function = 0x7fffa4573400, 
  args = 0x7fffa4573408, nargs = 1, evalargs = 0 '\0', debug_on_exit = 0 '\0'}
	internal_args = (Lisp_Object *) 0x7fffa4573408
	i = <value optimized out>
#687 0x0000000000583c2f in Fbyte_code (bytestr=<value optimized out>, 
    vector=<value optimized out>, maxdepth=<value optimized out>)
    at bytecode.c:678
	count = 38
	op = <value optimized out>
	stack = {pc = 0x993af2 "\205!", top = 0x7fffa4573408, 
  bottom = 0x7fffa4573400, byte_string = 9578899, 
  byte_string_start = 0x993ad8 "\bÅ=\203\027", constants = 9578932, 
  next = 0x7fffa45735d0}
	top = (Lisp_Object *) 0x7fffa4573400
	result = <value optimized out>
#688 0x000000000054e6af in funcall_lambda (fun=9578804, 
    nargs=<value optimized out>, arg_vector=<value optimized out>)
    at eval.c:3232
	val = <value optimized out>
	syms_left = 10946961
	next = 11367841
	i = 0
	optional = 1
	rest = 0
#689 0x000000000054c483 in Ffuncall (nargs=<value optimized out>, 
    args=0x922930) at eval.c:3102
	fun = 0
	original_fun = 11027617
	funcar = 9174904
	numargs = 0
	val = <value optimized out>
	backtrace = {next = 0x7fffa45736e0, function = 0x7fffa45735a0, 
  args = 0x7fffa45735a8, nargs = 0, evalargs = 0 '\0', debug_on_exit = 0 '\0'}
	internal_args = (Lisp_Object *) 0x7fffa45735a8
	i = <value optimized out>
#690 0x0000000000583c2f in Fbyte_code (bytestr=<value optimized out>, 
    vector=<value optimized out>, maxdepth=<value optimized out>)
    at bytecode.c:678
	count = 33
	op = <value optimized out>
	stack = {pc = 0x318500e "\210*\f\203&", top = 0x7fffa45735a0, 
  bottom = 0x7fffa45735a0, byte_string = 52195091, 
  byte_string_start = 0x3184ff8 "\212\bb\210Å\031o\2043", 
  constants = 51775572, next = 0x7fffa4573790}
	top = (Lisp_Object *) 0x7fffa45735a0
	result = <value optimized out>
#691 0x000000000054e6af in funcall_lambda (fun=14663540, 
    nargs=<value optimized out>, arg_vector=<value optimized out>)
    at eval.c:3232
	val = <value optimized out>
	syms_left = 10946961
	next = 11464161
	i = 1
	optional = 0
	rest = 0
#692 0x000000000054c483 in Ffuncall (nargs=<value optimized out>, 
    args=0xdfbf70) at eval.c:3102
	fun = 0
	original_fun = 52194161
	funcar = 9174904
	numargs = 1
	val = <value optimized out>
	backtrace = {next = 0x7fffa45738a0, function = 0x7fffa4573740, 
  args = 0x7fffa4573748, nargs = 1, evalargs = 0 '\0', debug_on_exit = 0 '\0'}
	internal_args = (Lisp_Object *) 0x7fffa4573748
	i = <value optimized out>
#693 0x0000000000583c2f in Fbyte_code (bytestr=<value optimized out>, 
    vector=<value optimized out>, maxdepth=<value optimized out>)
    at bytecode.c:678
	count = 21
	op = <value optimized out>
	stack = {
  pc = 0x3185324 "\026(É\026*Ì\026+e\b}\210\016(\203\214\003\016(\026)É\211\026&ÒÓ\217\210\016&\203\f\003\016*¢\211\0361:\203", top = 0x7fffa4573748, 
  bottom = 0x7fffa4573740, byte_string = 52195507, 
  byte_string_start = 0x3185060 "\214`\030Æ \031\n9\2032", 
  constants = 14238884, next = 0x7fffa4573940}
	top = (Lisp_Object *) 0x7fffa4573740
	result = <value optimized out>
#694 0x000000000054e6af in funcall_lambda (fun=14546788, 
    nargs=<value optimized out>, arg_vector=<value optimized out>)
    at eval.c:3232
	val = <value optimized out>
	syms_left = 10946961
	next = 52194257
	i = 0
	optional = 0
	rest = 1
#695 0x000000000054c483 in Ffuncall (nargs=<value optimized out>, 
    args=0xddf760) at eval.c:3102
	fun = 0
	original_fun = 52194257
	funcar = 9174904
	numargs = 0
	val = <value optimized out>
	backtrace = {next = 0x7fffa4573a50, function = 0x7fffa4573908, 
  args = 0x7fffa4573910, nargs = 0, evalargs = 0 '\0', debug_on_exit = 0 '\0'}
	internal_args = (Lisp_Object *) 0x7fffa4573910
	i = <value optimized out>
#696 0x0000000000583c2f in Fbyte_code (bytestr=<value optimized out>, 
    vector=<value optimized out>, maxdepth=<value optimized out>)
    at bytecode.c:678
	count = 6
	op = <value optimized out>
	stack = {
  pc = 0x31b7662 "!\020Ì\b!\021.\nÍÎ\016&!!\210\016'\205\024\001\t?\205\024\001\016&?\205\024\001\016(\203T", top = 0x7fffa4573908, bottom = 0x7fffa4573900, 
  byte_string = 52206323, 
  byte_string_start = 0x31b7638 "Æ\211\030\031Æ\032`\033Æ\034Ç \035È\211\036\036\036\037È\036 Æ\211\036!\036\"Æ\211\036#\036$Æ\036%É\216ÊË !\020Ì\b!\021.\nÍÎ\016&!!\210\016'\205\024\001\t?\205\024\001\016&?\205\024\001\016(\203T", 
  constants = 52237700, next = 0x0}
	top = (Lisp_Object *) 0x7fffa4573908
	result = <value optimized out>
#697 0x000000000054e6af in funcall_lambda (fun=52238324, 
    nargs=<value optimized out>, arg_vector=<value optimized out>)
    at eval.c:3232
	val = <value optimized out>
	syms_left = 10946961
	next = 11367841
	i = 1
	optional = 0
	rest = 0
#698 0x000000000054c483 in Ffuncall (nargs=<value optimized out>, 
    args=0x31d17f0) at eval.c:3102
	fun = 0
	original_fun = 51895441
	funcar = 9174904
	numargs = 1
	val = <value optimized out>
	backtrace = {next = 0x7fffa4573cc0, function = 0x7fffa4573b00, 
  args = 0x7fffa4573b08, nargs = 1, evalargs = 0 '\0', debug_on_exit = 0 '\0'}
	internal_args = (Lisp_Object *) 0x7fffa4573b08
	i = <value optimized out>
#699 0x0000000000549f3f in Fcall_interactively (
    function=<value optimized out>, record_flag=<value optimized out>, 
    keys=<value optimized out>) at callint.c:868
	val = <value optimized out>
	specs = <value optimized out>
	filter_specs = <value optimized out>
	teml = <value optimized out>
	up_event = 10946961
	enable = 0
	speccount = 3
	next_event = -1537787200
	prefix_arg = <value optimized out>
	string = (unsigned char *) 0x4 <Address 0x4 out of bounds>
	tem = (unsigned char *) 0x4 <Address 0x4 out of bounds>
	i = 2
	j = 1
	foo = <value optimized out>
	prompt1 = '\0' <repeats 99 times>
	arg_from_tty = 0
	key_count = <value optimized out>
	record_then_fail = -1537787136
	save_this_command = 51895441
	save_last_command = 11004001
	save_this_original_command = 51895441
	save_real_this_command = 51895441
#700 0x000000000054c63c in Ffuncall (nargs=<value optimized out>, 
    args=<value optimized out>) at eval.c:3051
	fun = <value optimized out>
	original_fun = <value optimized out>
	funcar = <value optimized out>
	numargs = 3
	val = <value optimized out>
	backtrace = {next = 0x0, function = 0x7fffa4573d20, 
  args = 0x7fffa4573d28, nargs = 3, evalargs = 0 '\0', debug_on_exit = 0 '\0'}
	internal_args = (Lisp_Object *) 0x7fffa4573d28
	i = 3
#701 0x000000000054c854 in call3 (fn=<value optimized out>, 
    arg1=<value optimized out>, arg2=9174904, arg3=13498464) at eval.c:2871
	ret_ungc_val = 9174904
	args = {11209153, 51895441, 10946961, 10946961}
#702 0x00000000004eb4c8 in command_loop_1 () at keyboard.c:1901
	cmd = <value optimized out>
	lose = <value optimized out>
	nonundocount = 4
	keybuf = {352, 392, 10946961, 10946961, 11034161, 1, 140735950568928, 
  5680835, 1, 11157571, 140735950569088, 16625333, 10946961, 10946961, 1, 0, 
  0, 5124314, 140597437847944, 140735950568992, 140597374460544, 11710192, 
  16625333, 5124675, 0, 140735950569032, 140735950568784, 0, 10946961, 
  12761089}
	i = 1
	prev_modiff = 1013
	prev_buffer = (struct buffer *) 0x2f58000
	already_adjusted = <value optimized out>
#703 0x000000000054b98f in internal_condition_case (
    bfun=<value optimized out>, handlers=<value optimized out>, 
    hfun=<value optimized out>) at eval.c:1512
	val = 9174904
	c = {tag = 10946961, val = 10946961, next = 0x7fffa4574020, 
  gcpro = 0x0, jmp = {{__jmpbuf = {11710192, 1737748349171924500, 11710224, 
        140735950570584, 1, 0, -1737561379932865004, 1737748606423137812}, 
      __mask_was_saved = 0, __saved_mask = {__val = {5202145, 140597374432128, 
          140597437847944, 4294967296, 4294967295, 140597377849536, 0, 
          11710224, 140735950570584, 1, 0, 8303136, 140597435928707, 1, 0, 
          1}}}}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, 
  pdlcount = 2, poll_suppress_count = 1, interrupt_input_blocked = 0, 
  byte_stack = 0x0}
	h = {handler = 11034113, var = 10946961, chosen_clause = 10947057, 
  tag = 0x7fffa4573eb0, next = 0x0}
#704 0x00000000004e257e in command_loop_2 () at keyboard.c:1359
	val = 9174904
#705 0x000000000054baba in internal_catch (tag=<value optimized out>, 
    func=<value optimized out>, arg=<value optimized out>) at eval.c:1248
	c = {tag = 11015505, val = 10946961, next = 0x0, gcpro = 0x0, jmp = {{
      __jmpbuf = {11710192, 1737748349171924500, 11710224, 140735950570584, 1, 
        0, -1737561380150968812, 1737748606470848020}, __mask_was_saved = 0, 
      __saved_mask = {__val = {0, 0, 0, 0, 0, 0, 0, 0, 10946961, 11369345, 
          10987216, 10947009, 11361264, 1, 5492682, 11369345}}}}, 
  backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, 
  poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x0}
#706 0x00000000004e2f81 in command_loop () at keyboard.c:1338
No locals.
#707 0x00000000004e334c in recursive_edit_1 () at keyboard.c:953
	val = <value optimized out>
#708 0x00000000004e3486 in Frecursive_edit () at keyboard.c:1015
	buffer = 10946961
#709 0x00000000004d9900 in main (argc=0, argv=0x7fffa4574598) at emacs.c:1852
	dummy = 0
	stack_bottom_variable = 0 '\0'
	do_initial_setlocale = <value optimized out>
	skip_args = 0
	rlim = {rlim_cur = 8720000, rlim_max = 18446744073709551615}
	no_loadup = 0
	junk = 0x0
	dname_arg = 0x0




In GNU Emacs 23.1.1 (x86_64-pc-linux-gnu, GTK+ Version 2.18.3)
 of 2009-12-09 on harrison
Windowing system distributor `The X.Org Foundation', version 11.0.10703901
configured using `configure  '--prefix=/usr' '--build=x86_64-pc-linux-gnu' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--libdir=/usr/lib64' '--program-suffix=-emacs-23' '--infodir=/usr/share/info/emacs-23' '--with-sound' '--with-x' '--without-toolkit-scroll-bars' '--without-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xpm' '--with-xft' '--without-libotf' '--without-m17n-flt' '--with-x-toolkit=gtk' '--without-hesiod' '--without-kerberos' '--without-kerberos5' '--without-gpm' '--with-dbus' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-march=native -O2 -pipe -ggdb' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed''

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_GB.utf-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction
(PHP-mode in crash)

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

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

Recent messages:
Loading /usr/share/emacs/site-lisp/site-gentoo.el (source)...done
Loading /usr/share/emacs/site-lisp/color-theme/themes/color-theme-example.el (source)...done
Loading /usr/share/emacs/site-lisp/color-theme/themes/color-theme-library.el (source)...done
Loading /home/jra/.emacs.d/js2...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Making completion list...

Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

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

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:









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

* bug#5258: 23.1; PHP mode hangs emacs
  2009-12-21 14:50 bug#5258: 23.1; PHP mode hangs emacs Jez Austin
@ 2009-12-24 22:56 ` Glenn Morris
  0 siblings, 0 replies; 2+ messages in thread
From: Glenn Morris @ 2009-12-24 22:56 UTC (permalink / raw)
  To: Jez Austin; +Cc: 5258

Jez Austin wrote:

> PHP-mode easily hangs emacs completely, with the wrist-watch pointer.
> Launched emacs-23.1-r2 with `emacs -q --no-site-file', and manually
> loaded the php-mode.el. Triggered the hang by typing `function
> test($one,' at which point emacs stops responding.
> (note, because emacs crashes, I'm submitting this from a separate process).

Like many hangs, this one can be interrupted with ctrl-g.
If you do M-x toggle-debug-on-quit beforehand, you can get a more
useful backtrace.

Anyway, although php-mode is not part of Emacs, this seems to be fixed
by cc-mode changes in the current trunk.






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

end of thread, other threads:[~2009-12-24 22:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-21 14:50 bug#5258: 23.1; PHP mode hangs emacs Jez Austin
2009-12-24 22:56 ` Glenn Morris

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