* bug#8574: Emacs fails to build when Emacs is configured with --enable-checking=conslist on Mac OS X
@ 2011-04-28 2:23 Ben Key
2013-02-23 3:26 ` bug#8574: Emacs fails to build when Emacs is configured with --enable-checking=conslist Dmitry Gutov
2019-06-26 10:17 ` Stefan Kangas
0 siblings, 2 replies; 3+ messages in thread
From: Ben Key @ 2011-04-28 2:23 UTC (permalink / raw
To: 8574
[-- Attachment #1: Type: text/plain, Size: 18001 bytes --]
Emacs fails to build when Emacs is configured with
--enable-checking=conslist on Mac OS X. Everything works OK until the build
process begins byte compiling the ELisp files. Emacs begins compiling
bytecomp.el but it never finishes. I have left it running all night and it
was still not finished.
Steps to reproduce:
1. Configure Emacs using the following command on Mac OS X.
./configure --enable-checking=conslist --with-ns CFLAGS='-g3 -O0'
2. Build Emacs using the following command.
make install
3. The build process works fine until it begins byte compiling
bytecomp.el. The following line is displayed.
Compiling /Users/bkey/src/emacs/trunk/lisp/emacs-lisp/bytecomp.el
4. Go away for awhile. When you return the there will be no changes.
I have spent some time debugging this problem. Every time I break into
Emacs it seems to be in the check_cons_list function on the "while (tail)"
line. I know that check_cons_list is not in an infinite loop because the
finish command does return from the check_cons_list function as expected.
The following is the output of the backtrace command obtained after breaking
into Emacs.
(gdb) backtrace
#0 0x00000001001797f5 in check_cons_list () at alloc.c:2661
#1 0x00000001001a199a in eval_sub (form=4320465398) at eval.c:2451
#2 0x000000010019cf27 in Fprogn (args=4320463878) at eval.c:372
#3 0x000000010019eb0e in Fwhile (args=4320465190) at eval.c:1131
#4 0x00000001001a130e in eval_sub (form=4320465142) at eval.c:2330
#5 0x000000010019cf27 in Fprogn (args=4320463894) at eval.c:372
#6 0x000000010019e9c4 in Flet (args=4320466886) at eval.c:1109
#7 0x00000001001a130e in eval_sub (form=4320466646) at eval.c:2330
#8 0x000000010019cf27 in Fprogn (args=4320463046) at eval.c:372
#9 0x00000001001a3b01 in funcall_lambda (fun=4320463062, nargs=2,
arg_vector=0x7fff5fbf3a30) at eval.c:3262
#10 0x00000001001a35d0 in apply_lambda (fun=4320463062, args=4320467302) at
eval.c:3146
#11 0x00000001001a197c in eval_sub (form=4320467286) at eval.c:2447
#12 0x00000001001a1557 in eval_sub (form=4321787206) at eval.c:2368
#13 0x000000010019d0d9 in Fsetq (args=4321787174) at eval.c:469
#14 0x00000001001a130e in eval_sub (form=4321787158) at eval.c:2330
#15 0x00000001001a1949 in eval_sub (form=4320467270) at eval.c:2444
#16 0x000000010019ce28 in Fif (args=4320467254) at eval.c:322
#17 0x00000001001a130e in eval_sub (form=4320467190) at eval.c:2330
#18 0x000000010019cf27 in Fprogn (args=4320467430) at eval.c:372
#19 0x000000010019e9c4 in Flet (args=4320469766) at eval.c:1109
#20 0x00000001001a130e in eval_sub (form=4320469622) at eval.c:2330
#21 0x000000010019cf27 in Fprogn (args=4320466470) at eval.c:372
#22 0x000000010019cecb in Fcond (args=4320466486) at eval.c:350
#23 0x00000001001a130e in eval_sub (form=4320472486) at eval.c:2330
#24 0x000000010019cf27 in Fprogn (args=4320466502) at eval.c:372
#25 0x00000001001a3b01 in funcall_lambda (fun=4320466518, nargs=1,
arg_vector=0x7fff5fbf4950) at eval.c:3262
#26 0x00000001001a35d0 in apply_lambda (fun=4320466518, args=4320428966) at
eval.c:3146
#27 0x00000001001a197c in eval_sub (form=4320428950) at eval.c:2447
#28 0x00000001001a1557 in eval_sub (form=4320428934) at eval.c:2368
#29 0x000000010019cf27 in Fprogn (args=4320428998) at eval.c:372
#30 0x00000001001a3b01 in funcall_lambda (fun=4320473110, nargs=1,
arg_vector=0x7fff5fbf4fd8) at eval.c:3262
#31 0x00000001001a330b in Ffuncall (nargs=2, args=0x7fff5fbf4fd0) at
eval.c:3097
#32 0x00000001001a1b3e in Fapply (nargs=2, args=0x7fff5fbf4fd0) at
eval.c:2487
#33 0x00000001001a24b1 in apply1 (fn=4320473110, arg=4345986310) at
eval.c:2778
#34 0x00000001001a1941 in eval_sub (form=4345986326) at eval.c:2444
#35 0x000000010019cf27 in Fprogn (args=4345986342) at eval.c:372
#36 0x000000010019e9c4 in Flet (args=4345988406) at eval.c:1109
#37 0x00000001001a130e in eval_sub (form=4345989926) at eval.c:2330
#38 0x000000010019cf27 in Fprogn (args=4345986358) at eval.c:372
#39 0x00000001001a3b01 in funcall_lambda (fun=4345986470, nargs=2,
arg_vector=0x7fff5fbf55f8) at eval.c:3262
#40 0x00000001001a330b in Ffuncall (nargs=3, args=0x7fff5fbf55f0) at
eval.c:3097
#41 0x00000001001a1ee9 in Fapply (nargs=2, args=0x7fff5fbf5710) at
eval.c:2540
#42 0x00000001001a24b1 in apply1 (fn=4345986486, arg=4345986710) at
eval.c:2778
#43 0x00000001001a1941 in eval_sub (form=4345986662) at eval.c:2444
#44 0x000000010019cf27 in Fprogn (args=4345985030) at eval.c:372
#45 0x00000001001a3b01 in funcall_lambda (fun=4345985078, nargs=2,
arg_vector=0x7fff5fbf5990) at eval.c:3262
#46 0x00000001001a35d0 in apply_lambda (fun=4345985094, args=4345981094) at
eval.c:3146
#47 0x00000001001a197c in eval_sub (form=4345981078) at eval.c:2447
#48 0x000000010019cf27 in Fprogn (args=4345981126) at eval.c:372
#49 0x000000010019e9c4 in Flet (args=4354141238) at eval.c:1109
#50 0x00000001001a130e in eval_sub (form=4354141254) at eval.c:2330
#51 0x000000010019cf27 in Fprogn (args=4346402550) at eval.c:372
#52 0x000000010019cecb in Fcond (args=4346426790) at eval.c:350
#53 0x00000001001a130e in eval_sub (form=4346426694) at eval.c:2330
#54 0x000000010019cf27 in Fprogn (args=4346421286) at eval.c:372
#55 0x000000010019e9c4 in Flet (args=4346421270) at eval.c:1109
#56 0x00000001001a130e in eval_sub (form=4346421254) at eval.c:2330
#57 0x000000010019ce28 in Fif (args=4346722582) at eval.c:322
#58 0x00000001001a130e in eval_sub (form=4346722566) at eval.c:2330
#59 0x000000010019cf27 in Fprogn (args=4346720406) at eval.c:372
#60 0x000000010019e9c4 in Flet (args=4346720390) at eval.c:1109
#61 0x00000001001a130e in eval_sub (form=4346720358) at eval.c:2330
#62 0x00000001001a1949 in eval_sub (form=4345984774) at eval.c:2444
#63 0x000000010019cf27 in Fprogn (args=4346015894) at eval.c:372
#64 0x000000010019ce47 in Fif (args=4345985878) at eval.c:323
#65 0x00000001001a130e in eval_sub (form=4345985670) at eval.c:2330
#66 0x000000010019cf27 in Fprogn (args=4346015910) at eval.c:372
#67 0x00000001001a3b01 in funcall_lambda (fun=4346015958, nargs=1,
arg_vector=0x7fff5fbf6c90) at eval.c:3262
#68 0x00000001001a35d0 in apply_lambda (fun=4346015974, args=4346016230) at
eval.c:3146
#69 0x00000001001a197c in eval_sub (form=4346016214) at eval.c:2447
#70 0x000000010019cf27 in Fprogn (args=4346016246) at eval.c:372
#71 0x000000010019e9c4 in Flet (args=4346016198) at eval.c:1109
#72 0x00000001001a130e in eval_sub (form=4346016134) at eval.c:2330
#73 0x000000010019cf27 in Fprogn (args=4346016262) at eval.c:372
#74 0x00000001001a3b01 in funcall_lambda (fun=4346016310, nargs=2,
arg_vector=0x7fff5fbf7290) at eval.c:3262
#75 0x00000001001a35d0 in apply_lambda (fun=4346016326, args=4339817414) at
eval.c:3146
#76 0x00000001001a197c in eval_sub (form=4339817430) at eval.c:2447
#77 0x000000010019d0d9 in Fsetq (args=4339947526) at eval.c:469
#78 0x00000001001a130e in eval_sub (form=4339947542) at eval.c:2330
#79 0x000000010019cf27 in Fprogn (args=4339817334) at eval.c:372
#80 0x00000001001a3b01 in funcall_lambda (fun=4339817046, nargs=2,
arg_vector=0x7fff5fbf77c0) at eval.c:3262
#81 0x00000001001a35d0 in apply_lambda (fun=4339817030, args=4339816742) at
eval.c:3146
#82 0x00000001001a197c in eval_sub (form=4339816758) at eval.c:2447
#83 0x00000001001a352c in apply_lambda (fun=4339935286, args=4339816710) at
eval.c:3136
#84 0x00000001001a197c in eval_sub (form=4339816774) at eval.c:2447
#85 0x000000010019cf27 in Fprogn (args=4339816694) at eval.c:372
#86 0x000000010019e9c4 in Flet (args=4339816790) at eval.c:1109
#87 0x00000001001a130e in eval_sub (form=4339816854) at eval.c:2330
#88 0x000000010019cf27 in Fprogn (args=4339816678) at eval.c:372
#89 0x00000001001a3b01 in funcall_lambda (fun=4339816630, nargs=1,
arg_vector=0x7fff5fbf8040) at eval.c:3262
#90 0x00000001001a35d0 in apply_lambda (fun=4339816614, args=4339916726) at
eval.c:3146
#91 0x00000001001a197c in eval_sub (form=4339916742) at eval.c:2447
#92 0x000000010019cf27 in Fprogn (args=4339916710) at eval.c:372
#93 0x000000010019e4ff in FletX (args=4339916918) at eval.c:1039
#94 0x00000001001a130e in eval_sub (form=4339922262) at eval.c:2330
#95 0x000000010019cf27 in Fprogn (args=4339916694) at eval.c:372
#96 0x000000010019eb0e in Fwhile (args=4339922438) at eval.c:1131
#97 0x00000001001a130e in eval_sub (form=4339934502) at eval.c:2330
#98 0x000000010019cf27 in Fprogn (args=4346953494) at eval.c:372
#99 0x000000010018c5d2 in Fsave_current_buffer (args=4346949926) at
editfns.c:1003
#100 0x00000001001a130e in eval_sub (form=4346949910) at eval.c:2330
#101 0x00000001001a1949 in eval_sub (form=4339934822) at eval.c:2444
#102 0x000000010019cf27 in Fprogn (args=4346958998) at eval.c:372
#103 0x00000001001a3b01 in funcall_lambda (fun=4346958918, nargs=0,
arg_vector=0x7fff5fbf8cc8) at eval.c:3262
#104 0x00000001001a330b in Ffuncall (nargs=1, args=0x7fff5fbf8cc0) at
eval.c:3097
#105 0x00000001001a14dc in eval_sub (form=4338177846) at eval.c:2355
#106 0x000000010019f405 in internal_lisp_condition_case (var=4346328690,
bodyform=4338177846, handlers=4338177702) at eval.c:1454
#107 0x000000010019f19f in Fcondition_case (args=4338177862) at eval.c:1395
#108 0x00000001001a130e in eval_sub (form=4338177878) at eval.c:2330
#109 0x000000010019cf27 in Fprogn (args=4338177686) at eval.c:372
#110 0x000000010019ce47 in Fif (args=4338177974) at eval.c:323
#111 0x00000001001a130e in eval_sub (form=4338177990) at eval.c:2330
#112 0x000000010019cf27 in Fprogn (args=4338177670) at eval.c:372
#113 0x000000010019e9c4 in Flet (args=4338178342) at eval.c:1109
#114 0x00000001001a130e in eval_sub (form=4338178550) at eval.c:2330
#115 0x000000010019cf27 in Fprogn (args=4338177606) at eval.c:372
#116 0x000000010019ce47 in Fif (args=4338180710) at eval.c:323
#117 0x00000001001a130e in eval_sub (form=4338180950) at eval.c:2330
#118 0x000000010019cf27 in Fprogn (args=4346959686) at eval.c:372
#119 0x000000010019e4ff in FletX (args=4346959046) at eval.c:1039
#120 0x00000001001a130e in eval_sub (form=4346959030) at eval.c:2330
#121 0x00000001001a1949 in eval_sub (form=4339934838) at eval.c:2444
#122 0x000000010019cf27 in Fprogn (args=4346873878) at eval.c:372
#123 0x000000010019e9c4 in Flet (args=4346873782) at eval.c:1109
#124 0x00000001001a130e in eval_sub (form=4346873766) at eval.c:2330
#125 0x00000001001a1949 in eval_sub (form=4339936486) at eval.c:2444
#126 0x000000010019cf27 in Fprogn (args=4339916166) at eval.c:372
#127 0x000000010019e9c4 in Flet (args=4339936502) at eval.c:1109
#128 0x00000001001a130e in eval_sub (form=4339938038) at eval.c:2330
#129 0x000000010019cf27 in Fprogn (args=4339916134) at eval.c:372
#130 0x00000001001a3b01 in funcall_lambda (fun=4339916086, nargs=1,
arg_vector=0x7fff5fbfa520) at eval.c:3262
#131 0x00000001001a35d0 in apply_lambda (fun=4339916022, args=4339786166) at
eval.c:3146
#132 0x00000001001a197c in eval_sub (form=4339786182) at eval.c:2447
#133 0x000000010019cf27 in Fprogn (args=4339786150) at eval.c:372
#134 0x000000010018c5d2 in Fsave_current_buffer (args=4339786150) at
editfns.c:1003
#135 0x00000001001a130e in eval_sub (form=4339786246) at eval.c:2330
#136 0x000000010019d0d9 in Fsetq (args=4339786262) at eval.c:469
#137 0x00000001001a130e in eval_sub (form=4339786278) at eval.c:2330
#138 0x000000010019cf27 in Fprogn (args=4339786118) at eval.c:372
#139 0x000000010019ce47 in Fif (args=4339787542) at eval.c:323
#140 0x00000001001a130e in eval_sub (form=4339787638) at eval.c:2330
#141 0x000000010019cf27 in Fprogn (args=4339946038) at eval.c:372
#142 0x000000010019e9c4 in Flet (args=4339835670) at eval.c:1109
#143 0x00000001001a130e in eval_sub (form=4339835958) at eval.c:2330
#144 0x000000010019cf27 in Fprogn (args=4339946022) at eval.c:372
#145 0x00000001001a3b01 in funcall_lambda (fun=4339945974, nargs=1,
arg_vector=0x7fff5fbfb150) at eval.c:3262
#146 0x00000001001a35d0 in apply_lambda (fun=4339945958, args=4346029526) at
eval.c:3146
#147 0x00000001001a197c in eval_sub (form=4346029510) at eval.c:2447
#148 0x000000010019f405 in internal_lisp_condition_case (var=4320887882,
bodyform=4346029510, handlers=4346027174) at eval.c:1454
#149 0x000000010019f19f in Fcondition_case (args=4346029494) at eval.c:1395
#150 0x00000001001a130e in eval_sub (form=4346029478) at eval.c:2330
#151 0x000000010019cf27 in Fprogn (args=4346027606) at eval.c:372
#152 0x000000010019ce47 in Fif (args=4346029414) at eval.c:323
#153 0x00000001001a130e in eval_sub (form=4346029398) at eval.c:2330
#154 0x000000010019cf27 in Fprogn (args=4346027622) at eval.c:372
#155 0x00000001001a3b01 in funcall_lambda (fun=4346027670, nargs=1,
arg_vector=0x7fff5fbfb9c0) at eval.c:3262
#156 0x00000001001a35d0 in apply_lambda (fun=4346027686, args=4346030758) at
eval.c:3146
#157 0x00000001001a197c in eval_sub (form=4346030710) at eval.c:2447
#158 0x00000001001a1557 in eval_sub (form=4346030694) at eval.c:2368
#159 0x000000010019cdfd in Fif (args=4346030790) at eval.c:318
#160 0x00000001001a130e in eval_sub (form=4346030678) at eval.c:2330
#161 0x000000010019ce28 in Fif (args=4346030662) at eval.c:322
#162 0x00000001001a130e in eval_sub (form=4346030198) at eval.c:2330
#163 0x000000010019cf27 in Fprogn (args=4346030886) at eval.c:372
#164 0x000000010019ce47 in Fif (args=4346031238) at eval.c:323
#165 0x00000001001a130e in eval_sub (form=4346031126) at eval.c:2330
#166 0x000000010019cf27 in Fprogn (args=4346030902) at eval.c:372
#167 0x000000010019eb0e in Fwhile (args=4346031110) at eval.c:1131
#168 0x00000001001a130e in eval_sub (form=4346036182) at eval.c:2330
#169 0x000000010019cf27 in Fprogn (args=4346031014) at eval.c:372
#170 0x000000010019e9c4 in Flet (args=4346036166) at eval.c:1109
#171 0x00000001001a130e in eval_sub (form=4346036102) at eval.c:2330
#172 0x000000010019cf27 in Fprogn (args=4346029126) at eval.c:372
#173 0x00000001001a3b01 in funcall_lambda (fun=4346029174, nargs=0,
arg_vector=0x7fff5fbfca18) at eval.c:3262
#174 0x00000001001a330b in Ffuncall (nargs=1, args=0x7fff5fbfca10) at
eval.c:3097
#175 0x00000001001a14dc in eval_sub (form=4323662646) at eval.c:2355
#176 0x000000010019cf27 in Fprogn (args=4323662678) at eval.c:372
#177 0x000000010019ce47 in Fif (args=4323662582) at eval.c:323
#178 0x00000001001a130e in eval_sub (form=4323662534) at eval.c:2330
#179 0x000000010019cf27 in Fprogn (args=4323662694) at eval.c:372
#180 0x000000010019cecb in Fcond (args=4323662710) at eval.c:350
#181 0x00000001001a130e in eval_sub (form=4323622534) at eval.c:2330
#182 0x000000010019cf27 in Fprogn (args=4323652774) at eval.c:372
#183 0x000000010019e4ff in FletX (args=4323623014) at eval.c:1039
#184 0x00000001001a130e in eval_sub (form=4323624854) at eval.c:2330
#185 0x000000010019cf27 in Fprogn (args=4323652934) at eval.c:372
#186 0x000000010019eb0e in Fwhile (args=4323624838) at eval.c:1131
#187 0x00000001001a130e in eval_sub (form=4323624822) at eval.c:2330
#188 0x000000010019cf27 in Fprogn (args=4323652950) at eval.c:372
#189 0x000000010019e9c4 in Flet (args=4323624166) at eval.c:1109
#190 0x00000001001a130e in eval_sub (form=4323625462) at eval.c:2330
#191 0x000000010019cf27 in Fprogn (args=4345893446) at eval.c:372
#192 0x00000001001a130e in eval_sub (form=4345893462) at eval.c:2330
#193 0x000000010019ce28 in Fif (args=4345893494) at eval.c:322
#194 0x00000001001a130e in eval_sub (form=4345893510) at eval.c:2330
#195 0x00000001001a1949 in eval_sub (form=4323625430) at eval.c:2444
#196 0x000000010019cf27 in Fprogn (args=4323652982) at eval.c:372
#197 0x000000010019e9c4 in Flet (args=4323625414) at eval.c:1109
#198 0x00000001001a130e in eval_sub (form=4323625286) at eval.c:2330
#199 0x000000010019cf27 in Fprogn (args=4323650886) at eval.c:372
#200 0x00000001001a3b01 in funcall_lambda (fun=4323650934, nargs=1,
arg_vector=0x7fff5fbfe070) at eval.c:3262
#201 0x00000001001a35d0 in apply_lambda (fun=4323650950, args=4321861766) at
eval.c:3146
#202 0x00000001001a197c in eval_sub (form=4321861718) at eval.c:2447
#203 0x000000010019cf27 in Fprogn (args=4321861782) at eval.c:372
#204 0x00000001001a3b01 in funcall_lambda (fun=4321996006, nargs=0,
arg_vector=0x7fff5fbfe3b0) at eval.c:3262
#205 0x00000001001a35d0 in apply_lambda (fun=4321996022, args=4320145466) at
eval.c:3146
#206 0x00000001001a197c in eval_sub (form=4323096694) at eval.c:2447
#207 0x000000010019f13f in Funwind_protect (args=4323096678) at eval.c:1360
#208 0x00000001001a130e in eval_sub (form=4323096710) at eval.c:2330
#209 0x000000010019cf27 in Fprogn (args=4323240326) at eval.c:372
#210 0x000000010019e9c4 in Flet (args=4323096726) at eval.c:1109
#211 0x00000001001a130e in eval_sub (form=4323096790) at eval.c:2330
#212 0x000000010019cf27 in Fprogn (args=4323240310) at eval.c:372
#213 0x000000010019ce47 in Fif (args=4323104566) at eval.c:323
#214 0x00000001001a130e in eval_sub (form=4323104582) at eval.c:2330
#215 0x000000010019cf27 in Fprogn (args=4323237350) at eval.c:372
#216 0x00000001001a3b01 in funcall_lambda (fun=4323237302, nargs=0,
arg_vector=0x7fff5fbfed70) at eval.c:3262
#217 0x00000001001a35d0 in apply_lambda (fun=4323237286, args=4320145466) at
eval.c:3146
#218 0x00000001001a197c in eval_sub (form=4322829510) at eval.c:2447
#219 0x00000001001a0e66 in Feval (form=4322829510, lexical=4320145466) at
eval.c:2233
#220 0x00000001000ee689 in top_level_2 () at keyboard.c:1163
#221 0x000000010019f585 in internal_condition_case (bfun=0x1000ee668
<top_level_2>, handlers=4320201578, hfun=0x1000ee131 <cmd_error>) at
eval.c:1507
#222 0x00000001000ee6d1 in top_level_1 (ignore=4320145466) at
keyboard.c:1171
#223 0x000000010019eee8 in internal_catch (tag=4320197690, func=0x1000ee68b
<top_level_1>, arg=4320145466) at eval.c:1261
#224 0x00000001000ee5cb in command_loop () at keyboard.c:1126
#225 0x00000001000edbf9 in recursive_edit_1 () at keyboard.c:754
#226 0x00000001000eddca in Frecursive_edit () at keyboard.c:818
#227 0x00000001000ebd5c in main (argc=9, argv=0x7fff5fbff508) at
emacs.c:1685
If no one else has an idea about what might be causing this bug, I can spend
some time attempting to track down when it was introduced in the next week
or so.
[-- Attachment #2: Type: text/html, Size: 19123 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-06-26 10:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-28 2:23 bug#8574: Emacs fails to build when Emacs is configured with --enable-checking=conslist on Mac OS X Ben Key
2013-02-23 3:26 ` bug#8574: Emacs fails to build when Emacs is configured with --enable-checking=conslist Dmitry Gutov
2019-06-26 10:17 ` Stefan Kangas
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.