unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#18161: 24.3.92; Crash in do_switch_frame
@ 2014-07-31 21:49 Mat Smiglarski
  2014-07-31 23:05 ` Mat Smiglarski
  2014-08-01  5:23 ` Dmitry Antipov
  0 siblings, 2 replies; 15+ messages in thread
From: Mat Smiglarski @ 2014-07-31 21:49 UTC (permalink / raw)
  To: 18161

Emacs consistently crashes soon after startup when executing a 
particular function
which happens to open a new frame.

Unfortunately I have not managed to reproduce this with emacs -Q. This 
occurs on both trunk and the latest release candidate, but I don't know 
if it is a regression.

Perhaps the backtrace has enough information, if not then let me know.

Regards,
Mat

A 300 line backtrace follows:

#0  0x000000000051db27 in x_get_focus_frame (frame=0x21924c8) at 
xfns.c:3326
         dpyinfo = 0x53f950 <FRAMEP+29>
         xfocus = 35202253
#1  0x0000000000424355 in do_switch_frame (frame=35202253, track=1, 
for_deletion=0, norecord=16393714) at frame.c:839
         focus = 9306464
         xfocus = 42949689412
         sf = 0x2089660
#2  0x00000000004245fc in Fselect_frame (frame=35202253, 
norecord=16393714) at frame.c:913
No locals.
#3  0x00000000005db67b in Ffuncall (nargs=3, args=0x7fffffffce58) at 
eval.c:2818
         fun = 9306469
         original_fun = 13055314
         funcar = 6145211
         numargs = 2
         lisp_numargs = 140737488342592
         val = 140737488342560
         internal_args = 0x7fffffffce60
         i = 5504570
#4  0x000000000061d87d in exec_byte_code (bytestr=24108321, 
vector=19119869, maxdepth=12, args_template=12869810, nargs=0, args=0x0) 
at bytecode.c:916
         targets = {0x6210bd <exec_byte_code+17422>, 0x621114 
<exec_byte_code+17509>, 0x621116 <exec_byte_code+17511>, 0x621118 
<exec_byte_code+17513>,
           0x62111a <exec_byte_code+17515>, 0x62111a 
<exec_byte_code+17515>, 0x621180 <exec_byte_code+17617>, 0x6211f0 
<exec_byte_code+17729>,
           0x61d103 <exec_byte_code+1108>, 0x61d105 
<exec_byte_code+1110>, 0x61d107 <exec_byte_code+1112>, 0x61d109 
<exec_byte_code+1114>,
           0x61d10b <exec_byte_code+1116>, 0x61d10b 
<exec_byte_code+1116>, 0x61d114 <exec_byte_code+1125>, 0x61d0ce 
<exec_byte_code+1055>,
           0x61d578 <exec_byte_code+2249>, 0x61d57a 
<exec_byte_code+2251>, 0x61d57c <exec_byte_code+2253>, 0x61d57e 
<exec_byte_code+2255>,
           0x61d580 <exec_byte_code+2257>, 0x61d580 
<exec_byte_code+2257>, 0x61d5be <exec_byte_code+2319>, 0x61d589 
<exec_byte_code+2266>,
           0x61d773 <exec_byte_code+2756>, 0x61d775 
<exec_byte_code+2758>, 0x61d777 <exec_byte_code+2760>, 0x61d779 
<exec_byte_code+2762>,
           0x61d77b <exec_byte_code+2764>, 0x61d77b 
<exec_byte_code+2764>, 0x61d724 <exec_byte_code+2677>, 0x61d73e 
<exec_byte_code+2703>,
           0x61d83b <exec_byte_code+2956>, 0x61d83d 
<exec_byte_code+2958>, 0x61d83f <exec_byte_code+2960>, 0x61d841 
<exec_byte_code+2962>,
           0x61d843 <exec_byte_code+2964>, 0x61d843 
<exec_byte_code+2964>, 0x61d7ec <exec_byte_code+2877>, 0x61d806 
<exec_byte_code+2903>,
           0x61d903 <exec_byte_code+3156>, 0x61d905 
<exec_byte_code+3158>, 0x61d907 <exec_byte_code+3160>, 0x61d909 
<exec_byte_code+3162>,
           0x61d90b <exec_byte_code+3164>, 0x61d90b 
<exec_byte_code+3164>, 0x61d8b4 <exec_byte_code+3077>, 0x61d8ce 
<exec_byte_code+3103>,
           0x61e8da <exec_byte_code+7211>, 0x61e66d 
<exec_byte_code+6590>, 0x61e661 <exec_byte_code+6578>, 0x6210bd 
<exec_byte_code+17422>,
           0x6210bd <exec_byte_code+17422>, 0x6210bd 
<exec_byte_code+17422>, 0x6210bd <exec_byte_code+17422>, 0x6210bd 
<exec_byte_code+17422>,
           0x61eb1e <exec_byte_code+7791>, 0x61ec11 
<exec_byte_code+8034>, 0x61ec6a <exec_byte_code+8123>, 0x61ecc3 
<exec_byte_code+8212>,
           0x61ed20 <exec_byte_code+8305>, 0x61d3ef 
<exec_byte_code+1856>, 0x61d465 <exec_byte_code+1974>, 0x61ed8f 
<exec_byte_code+8416>,
           0x61d34c <exec_byte_code+1693>, 0x61d4d4 
<exec_byte_code+2085>, 0x61edec <exec_byte_code+8509>, 0x61ee5b 
<exec_byte_code+8620>,
           0x61eea4 <exec_byte_code+8693>, 0x61ef13 
<exec_byte_code+8804>, 0x61ef66 <exec_byte_code+8887>, 0x61f042 
<exec_byte_code+9107>,
           0x61f08b <exec_byte_code+9180>, 0x61f0fa 
<exec_byte_code+9291>, 0x61f18c <exec_byte_code+9437>, 0x61f1d5 
<exec_byte_code+9510>,
           0x61f21e <exec_byte_code+9583>, 0x61f28d 
<exec_byte_code+9694>, 0x61f2fc <exec_byte_code+9805>, 0x61f36b 
<exec_byte_code+9916>,
           0x61f3fd <exec_byte_code+10062>, 0x61f450 
<exec_byte_code+10145>, 0x61f4a3 <exec_byte_code+10228>, 0x61f57f 
<exec_byte_code+10448>,
           0x61f611 <exec_byte_code+10594>, 0x61f6a3 
<exec_byte_code+10740>, 0x61f937 <exec_byte_code+11400>, 0x61f9ab 
<exec_byte_code+11516>,
           0x61fa1f <exec_byte_code+11632>, 0x61fa93 
<exec_byte_code+11748>, 0x61fb07 <exec_byte_code+11864>, 0x61fb5a 
<exec_byte_code+11947>,
           0x61fbf0 <exec_byte_code+12097>, 0x61fc43 
<exec_byte_code+12180>, 0x61fc96 <exec_byte_code+12263>, 0x61fce9 
<exec_byte_code+12346>,
           0x61fdfe <exec_byte_code+12623>, 0x61e4f2 
<exec_byte_code+6211>, 0x61fe61 <exec_byte_code+12722>, 0x61feaa 
<exec_byte_code+12795>,
           0x61ff7e <exec_byte_code+13007>, 0x61ffe1 
<exec_byte_code+13106>, 0x620044 <exec_byte_code+13205>, 0x62008d 
<exec_byte_code+13278>,
           0x6200df <exec_byte_code+13360>, 0x620131 
<exec_byte_code+13442>, 0x62018b <exec_byte_code+13532>, 0x6210bd 
<exec_byte_code+17422>,
           0x6201de <exec_byte_code+13615>, 0x620222 
<exec_byte_code+13683>, 0x620266 <exec_byte_code+13751>, 0x6202aa 
<exec_byte_code+13819>,
           0x6202ee <exec_byte_code+13887>, 0x620332 
<exec_byte_code+13955>, 0x61e4f2 <exec_byte_code+6211>, 0x6210bd 
<exec_byte_code+17422>,
           0x62037b <exec_byte_code+14028>, 0x6203cc 
<exec_byte_code+14109>, 0x620415 <exec_byte_code+14182>, 0x62045e 
<exec_byte_code+14255>,
           0x6204cd <exec_byte_code+14366>, 0x62053c 
<exec_byte_code+14477>, 0x620585 <exec_byte_code+14550>, 0x62067b 
<exec_byte_code+14796>,
           0x6206ea <exec_byte_code+14907>, 0x620759 
<exec_byte_code+15018>, 0x6207c8 <exec_byte_code+15129>, 0x62080c 
<exec_byte_code+15197>,
           0x6210bd <exec_byte_code+17422>, 0x61e426 
<exec_byte_code+6007>, 0x61d9a8 <exec_byte_code+3321>, 0x61d20e 
<exec_byte_code+1375>,
           0x61dab6 <exec_byte_code+3591>, 0x61dbf4 
<exec_byte_code+3909>, 0x61dd26 <exec_byte_code+4215>, 0x61e3ab 
<exec_byte_code+5884>,
           0x61e3f1 <exec_byte_code+5954>, 0x61d6cd 
<exec_byte_code+2590>, 0x61e4b3 <exec_byte_code+6148>, 0x61e524 
<exec_byte_code+6261>,
           0x61e5b1 <exec_byte_code+6402>, 0x61e5f0 
<exec_byte_code+6465>, 0x61e919 <exec_byte_code+7274>, 0x61e99b 
<exec_byte_code+7404>,
           0x61ea2d <exec_byte_code+7550>, 0x61ea97 
<exec_byte_code+7656>, 0x61d962 <exec_byte_code+3251>, 0x620855 
<exec_byte_code+15270>,
           0x6208e7 <exec_byte_code+15416>, 0x620930 
<exec_byte_code+15489>, 0x620979 <exec_byte_code+15562>, 0x6209c2 
<exec_byte_code+15635>,
           0x620a0b <exec_byte_code+15708>, 0x620a7a 
<exec_byte_code+15819>, 0x620ae9 <exec_byte_code+15930>, 0x620b58 
<exec_byte_code+16041>,
           0x620bc7 <exec_byte_code+16152>, 0x620d14 
<exec_byte_code+16485>, 0x620d83 <exec_byte_code+16596>, 0x620df2 
<exec_byte_code+16707>,
           0x620e3b <exec_byte_code+16780>, 0x620eaa 
<exec_byte_code+16891>, 0x620f13 <exec_byte_code+16996>, 0x620f64 
<exec_byte_code+17077>,
           0x620fb5 <exec_byte_code+17158>, 0x61fd3c 
<exec_byte_code+12429>, 0x61fd8f <exec_byte_code+12512>, 0x621008 
<exec_byte_code+17241>,
           0x621065 <exec_byte_code+17334>, 0x6210bd 
<exec_byte_code+17422>, 0x61de58 <exec_byte_code+4521>, 0x61df39 
<exec_byte_code+4746>,
           0x61e056 <exec_byte_code+5031>, 0x61e173 
<exec_byte_code+5316>, 0x61e28f <exec_byte_code+5600>, 0x61efb9 
<exec_byte_code+8970>,
           0x61f4f6 <exec_byte_code+10311>, 0x61fef5 
<exec_byte_code+12870>, 0x621287 <exec_byte_code+17880>, 0x6212fa 
<exec_byte_code+17995>,
           0x6210bd <exec_byte_code+17422>, 0x6210bd 
<exec_byte_code+17422>, 0x621394 <exec_byte_code+18149>, 0x6210bd 
<exec_byte_code+17422>,
           0x6210bd <exec_byte_code+17422>, 0x6210bd 
<exec_byte_code+17422>, 0x6210bd <exec_byte_code+17422>, 0x6210bd 
<exec_byte_code+17422>,
           0x6210bd <exec_byte_code+17422>, 0x6210bd 
<exec_byte_code+17422>, 0x6210bd <exec_byte_code+17422>, 0x6210bd 
<exec_byte_code+17422>,
           0x62142e <exec_byte_code+18303> <repeats 64 times>}
         count = 10
         op = 2
         vectorp = 0x123bf00
         stack = {pc = 0xd1b67f "\210\310 \311 +B\207", byte_string = 
24108321, byte_string_start = 0xd1b668 "\b\206\006", next = 
0x7fffffffd700}
         top = 0x7fffffffce58
         result = 51552477362
         type = CATCHER
#5  0x00000000005dc02f in funcall_lambda (fun=19116629, nargs=1, 
arg_vector=0x123befd) at eval.c:3049
         val = 51545634631
         syms_left = 12869810
         next = 12925490
         lexenv = 12869810
         count = 9
         i = 1
         optional = true
         rest = false
#6  0x00000000005db83d in Ffuncall (nargs=2, args=0x7fffffffd348) at 
eval.c:2864
         fun = 19116629
         original_fun = 22597378
         funcar = 12918578
         numargs = 1
         lisp_numargs = 13003728
         val = 12918576
         internal_args = 0x10
         i = 12869810
#7  0x000000000061d87d in exec_byte_code (bytestr=14719345, 
vector=19120189, maxdepth=24, args_template=12869810, nargs=0, args=0x0) 
at bytecode.c:916
         targets = {0x6210bd <exec_byte_code+17422>, 0x621114 
<exec_byte_code+17509>, 0x621116 <exec_byte_code+17511>, 0x621118 
<exec_byte_code+17513>,
           0x62111a <exec_byte_code+17515>, 0x62111a 
<exec_byte_code+17515>, 0x621180 <exec_byte_code+17617>, 0x6211f0 
<exec_byte_code+17729>,
           0x61d103 <exec_byte_code+1108>, 0x61d105 
<exec_byte_code+1110>, 0x61d107 <exec_byte_code+1112>, 0x61d109 
<exec_byte_code+1114>,
           0x61d10b <exec_byte_code+1116>, 0x61d10b 
<exec_byte_code+1116>, 0x61d114 <exec_byte_code+1125>, 0x61d0ce 
<exec_byte_code+1055>,
           0x61d578 <exec_byte_code+2249>, 0x61d57a 
<exec_byte_code+2251>, 0x61d57c <exec_byte_code+2253>, 0x61d57e 
<exec_byte_code+2255>,
           0x61d580 <exec_byte_code+2257>, 0x61d580 
<exec_byte_code+2257>, 0x61d5be <exec_byte_code+2319>, 0x61d589 
<exec_byte_code+2266>,
           0x61d773 <exec_byte_code+2756>, 0x61d775 
<exec_byte_code+2758>, 0x61d777 <exec_byte_code+2760>, 0x61d779 
<exec_byte_code+2762>,
           0x61d77b <exec_byte_code+2764>, 0x61d77b 
<exec_byte_code+2764>, 0x61d724 <exec_byte_code+2677>, 0x61d73e 
<exec_byte_code+2703>,
           0x61d83b <exec_byte_code+2956>, 0x61d83d 
<exec_byte_code+2958>, 0x61d83f <exec_byte_code+2960>, 0x61d841 
<exec_byte_code+2962>,
           0x61d843 <exec_byte_code+2964>, 0x61d843 
<exec_byte_code+2964>, 0x61d7ec <exec_byte_code+2877>, 0x61d806 
<exec_byte_code+2903>,
           0x61d903 <exec_byte_code+3156>, 0x61d905 
<exec_byte_code+3158>, 0x61d907 <exec_byte_code+3160>, 0x61d909 
<exec_byte_code+3162>,
           0x61d90b <exec_byte_code+3164>, 0x61d90b 
<exec_byte_code+3164>, 0x61d8b4 <exec_byte_code+3077>, 0x61d8ce 
<exec_byte_code+3103>,
           0x61e8da <exec_byte_code+7211>, 0x61e66d 
<exec_byte_code+6590>, 0x61e661 <exec_byte_code+6578>, 0x6210bd 
<exec_byte_code+17422>,
           0x6210bd <exec_byte_code+17422>, 0x6210bd 
<exec_byte_code+17422>, 0x6210bd <exec_byte_code+17422>, 0x6210bd 
<exec_byte_code+17422>,
           0x61eb1e <exec_byte_code+7791>, 0x61ec11 
<exec_byte_code+8034>, 0x61ec6a <exec_byte_code+8123>, 0x61ecc3 
<exec_byte_code+8212>,
           0x61ed20 <exec_byte_code+8305>, 0x61d3ef 
<exec_byte_code+1856>, 0x61d465 <exec_byte_code+1974>, 0x61ed8f 
<exec_byte_code+8416>,
           0x61d34c <exec_byte_code+1693>, 0x61d4d4 
<exec_byte_code+2085>, 0x61edec <exec_byte_code+8509>, 0x61ee5b 
<exec_byte_code+8620>,
           0x61eea4 <exec_byte_code+8693>, 0x61ef13 
<exec_byte_code+8804>, 0x61ef66 <exec_byte_code+8887>, 0x61f042 
<exec_byte_code+9107>,
           0x61f08b <exec_byte_code+9180>, 0x61f0fa 
<exec_byte_code+9291>, 0x61f18c <exec_byte_code+9437>, 0x61f1d5 
<exec_byte_code+9510>,
           0x61f21e <exec_byte_code+9583>, 0x61f28d 
<exec_byte_code+9694>, 0x61f2fc <exec_byte_code+9805>, 0x61f36b 
<exec_byte_code+9916>,
           0x61f3fd <exec_byte_code+10062>, 0x61f450 
<exec_byte_code+10145>, 0x61f4a3 <exec_byte_code+10228>, 0x61f57f 
<exec_byte_code+10448>,
           0x61f611 <exec_byte_code+10594>, 0x61f6a3 
<exec_byte_code+10740>, 0x61f937 <exec_byte_code+11400>, 0x61f9ab 
<exec_byte_code+11516>,
           0x61fa1f <exec_byte_code+11632>, 0x61fa93 
<exec_byte_code+11748>, 0x61fb07 <exec_byte_code+11864>, 0x61fb5a 
<exec_byte_code+11947>,
           0x61fbf0 <exec_byte_code+12097>, 0x61fc43 
<exec_byte_code+12180>, 0x61fc96 <exec_byte_code+12263>, 0x61fce9 
<exec_byte_code+12346>,
           0x61fdfe <exec_byte_code+12623>, 0x61e4f2 
<exec_byte_code+6211>, 0x61fe61 <exec_byte_code+12722>, 0x61feaa 
<exec_byte_code+12795>,
           0x61ff7e <exec_byte_code+13007>, 0x61ffe1 
<exec_byte_code+13106>, 0x620044 <exec_byte_code+13205>, 0x62008d 
<exec_byte_code+13278>,
           0x6200df <exec_byte_code+13360>, 0x620131 
<exec_byte_code+13442>, 0x62018b <exec_byte_code+13532>, 0x6210bd 
<exec_byte_code+17422>,
           0x6201de <exec_byte_code+13615>, 0x620222 
<exec_byte_code+13683>, 0x620266 <exec_byte_code+13751>, 0x6202aa 
<exec_byte_code+13819>,
           0x6202ee <exec_byte_code+13887>, 0x620332 
<exec_byte_code+13955>, 0x61e4f2 <exec_byte_code+6211>, 0x6210bd 
<exec_byte_code+17422>,
           0x62037b <exec_byte_code+14028>, 0x6203cc 
<exec_byte_code+14109>, 0x620415 <exec_byte_code+14182>, 0x62045e 
<exec_byte_code+14255>,
           0x6204cd <exec_byte_code+14366>, 0x62053c 
<exec_byte_code+14477>, 0x620585 <exec_byte_code+14550>, 0x62067b 
<exec_byte_code+14796>,
           0x6206ea <exec_byte_code+14907>, 0x620759 
<exec_byte_code+15018>, 0x6207c8 <exec_byte_code+15129>, 0x62080c 
<exec_byte_code+15197>,
           0x6210bd <exec_byte_code+17422>, 0x61e426 
<exec_byte_code+6007>, 0x61d9a8 <exec_byte_code+3321>, 0x61d20e 
<exec_byte_code+1375>,
           0x61dab6 <exec_byte_code+3591>, 0x61dbf4 
<exec_byte_code+3909>, 0x61dd26 <exec_byte_code+4215>, 0x61e3ab 
<exec_byte_code+5884>,
           0x61e3f1 <exec_byte_code+5954>, 0x61d6cd 
<exec_byte_code+2590>, 0x61e4b3 <exec_byte_code+6148>, 0x61e524 
<exec_byte_code+6261>,
           0x61e5b1 <exec_byte_code+6402>, 0x61e5f0 
<exec_byte_code+6465>, 0x61e919 <exec_byte_code+7274>, 0x61e99b 
<exec_byte_code+7404>,
           0x61ea2d <exec_byte_code+7550>, 0x61ea97 
<exec_byte_code+7656>, 0x61d962 <exec_byte_code+3251>, 0x620855 
<exec_byte_code+15270>,
           0x6208e7 <exec_byte_code+15416>, 0x620930 
<exec_byte_code+15489>, 0x620979 <exec_byte_code+15562>, 0x6209c2 
<exec_byte_code+15635>,
           0x620a0b <exec_byte_code+15708>, 0x620a7a 
<exec_byte_code+15819>, 0x620ae9 <exec_byte_code+15930>, 0x620b58 
<exec_byte_code+16041>,
           0x620bc7 <exec_byte_code+16152>, 0x620d14 
<exec_byte_code+16485>, 0x620d83 <exec_byte_code+16596>, 0x620df2 
<exec_byte_code+16707>,
           0x620e3b <exec_byte_code+16780>, 0x620eaa 
<exec_byte_code+16891>, 0x620f13 <exec_byte_code+16996>, 0x620f64 
<exec_byte_code+17077>,
           0x620fb5 <exec_byte_code+17158>, 0x61fd3c 
<exec_byte_code+12429>, 0x61fd8f <exec_byte_code+12512>, 0x621008 
<exec_byte_code+17241>,
           0x621065 <exec_byte_code+17334>, 0x6210bd 
<exec_byte_code+17422>, 0x61de58 <exec_byte_code+4521>, 0x61df39 
<exec_byte_code+4746>,
           0x61e056 <exec_byte_code+5031>, 0x61e173 
<exec_byte_code+5316>, 0x61e28f <exec_byte_code+5600>, 0x61efb9 
<exec_byte_code+8970>,
           0x61f4f6 <exec_byte_code+10311>, 0x61fef5 
<exec_byte_code+12870>, 0x621287 <exec_byte_code+17880>, 0x6212fa 
<exec_byte_code+17995>,
           0x6210bd <exec_byte_code+17422>, 0x6210bd 
<exec_byte_code+17422>, 0x621394 <exec_byte_code+18149>, 0x6210bd 
<exec_byte_code+17422>,
           0x6210bd <exec_byte_code+17422>, 0x6210bd 
<exec_byte_code+17422>, 0x6210bd <exec_byte_code+17422>, 0x6210bd 
<exec_byte_code+17422>,
           0x6210bd <exec_byte_code+17422>, 0x6210bd 
<exec_byte_code+17422>, 0x6210bd <exec_byte_code+17422>, 0x6210bd 
<exec_byte_code+17422>,
           0x62142e <exec_byte_code+18303> <repeats 64 times>}
         count = 8
         op = 1
         vectorp = 0x123c040
         stack = {pc = 0xd1b7d8 "\b\211\030\v\236A\206,", byte_string = 
14719345, byte_string_start = 0xd1b7c8 "\b\t>\206\t", next = 
0x7fffffffdbf0}
         top = 0x7fffffffd348
         result = 36039142
         type = CATCHER
#8  0x00000000005dc02f in funcall_lambda (fun=19120333, nargs=1, 
arg_vector=0x123c03d) at eval.c:3049
         val = 51552477362
         syms_left = 12869810
         next = 12925490
         lexenv = 12869810
         count = 7
         i = 1
         optional = false
         rest = false
#9  0x00000000005db83d in Ffuncall (nargs=2, args=0x7fffffffd858) at 
eval.c:2864
         fun = 19120333
         original_fun = 13774610
         funcar = 12918578
         numargs = 1
         lisp_numargs = 16209968
         val = 140737488345152
         internal_args = 0x10
         i = 12925488
#10 0x000000000061d87d in exec_byte_code (bytestr=14716561, 
vector=19120453, maxdepth=12, args_template=12869810, nargs=0, args=0x0) 
at bytecode.c:916
         targets = {0x6210bd <exec_byte_code+17422>, 0x621114 
<exec_byte_code+17509>, 0x621116 <exec_byte_code+17511>, 0x621118 
<exec_byte_code+17513>,
           0x62111a <exec_byte_code+17515>, 0x62111a 
<exec_byte_code+17515>, 0x621180 <exec_byte_code+17617>, 0x6211f0 
<exec_byte_code+17729>,
           0x61d103 <exec_byte_code+1108>, 0x61d105 
<exec_byte_code+1110>, 0x61d107 <exec_byte_code+1112>, 0x61d109 
<exec_byte_code+1114>,
           0x61d10b <exec_byte_code+1116>, 0x61d10b 
<exec_byte_code+1116>, 0x61d114 <exec_byte_code+1125>, 0x61d0ce 
<exec_byte_code+1055>,
           0x61d578 <exec_byte_code+2249>, 0x61d57a 
<exec_byte_code+2251>, 0x61d57c <exec_byte_code+2253>, 0x61d57e 
<exec_byte_code+2255>,
           0x61d580 <exec_byte_code+2257>, 0x61d580 
<exec_byte_code+2257>, 0x61d5be <exec_byte_code+2319>, 0x61d589 
<exec_byte_code+2266>,
           0x61d773 <exec_byte_code+2756>, 0x61d775 
<exec_byte_code+2758>, 0x61d777 <exec_byte_code+2760>, 0x61d779 
<exec_byte_code+2762>,
           0x61d77b <exec_byte_code+2764>, 0x61d77b 
<exec_byte_code+2764>, 0x61d724 <exec_byte_code+2677>, 0x61d73e 
<exec_byte_code+2703>,
           0x61d83b <exec_byte_code+2956>, 0x61d83d 
<exec_byte_code+2958>, 0x61d83f <exec_byte_code+2960>, 0x61d841 
<exec_byte_code+2962>,
           0x61d843 <exec_byte_code+2964>, 0x61d843 
<exec_byte_code+2964>, 0x61d7ec <exec_byte_code+2877>, 0x61d806 
<exec_byte_code+2903>,
           0x61d903 <exec_byte_code+3156>, 0x61d905 
<exec_byte_code+3158>, 0x61d907 <exec_byte_code+3160>, 0x61d909 
<exec_byte_code+3162>,
           0x61d90b <exec_byte_code+3164>, 0x61d90b 
<exec_byte_code+3164>, 0x61d8b4 <exec_byte_code+3077>, 0x61d8ce 
<exec_byte_code+3103>,
           0x61e8da <exec_byte_code+7211>, 0x61e66d 
<exec_byte_code+6590>, 0x61e661 <exec_byte_code+6578>, 0x6210bd 
<exec_byte_code+17422>,
           0x6210bd <exec_byte_code+17422>, 0x6210bd 
<exec_byte_code+17422>, 0x6210bd <exec_byte_code+17422>, 0x6210bd 
<exec_byte_code+17422>,
           0x61eb1e <exec_byte_code+7791>, 0x61ec11 
<exec_byte_code+8034>, 0x61ec6a <exec_byte_code+8123>, 0x61ecc3 
<exec_byte_code+8212>,
           0x61ed20 <exec_byte_code+8305>, 0x61d3ef 
<exec_byte_code+1856>, 0x61d465 <exec_byte_code+1974>, 0x61ed8f 
<exec_byte_code+8416>,
           0x61d34c <exec_byte_code+1693>, 0x61d4d4 
<exec_byte_code+2085>, 0x61edec <exec_byte_code+8509>, 0x61ee5b 
<exec_byte_code+8620>,
           0x61eea4 <exec_byte_code+8693>, 0x61ef13 
<exec_byte_code+8804>, 0x61ef66 <exec_byte_code+8887>, 0x61f042 
<exec_byte_code+9107>,
           0x61f08b <exec_byte_code+9180>, 0x61f0fa 
<exec_byte_code+9291>, 0x61f18c <exec_byte_code+9437>, 0x61f1d5 
<exec_byte_code+9510>,
           0x61f21e <exec_byte_code+9583>, 0x61f28d 
<exec_byte_code+9694>, 0x61f2fc <exec_byte_code+9805>, 0x61f36b 
<exec_byte_code+9916>,
           0x61f3fd <exec_byte_code+10062>, 0x61f450 
<exec_byte_code+10145>, 0x61f4a3 <exec_byte_code+10228>, 0x61f57f 
<exec_byte_code+10448>,
           0x61f611 <exec_byte_code+10594>, 0x61f6a3 
<exec_byte_code+10740>, 0x61f937 <exec_byte_code+11400>, 0x61f9ab 
<exec_byte_code+11516>,
           0x61fa1f <exec_byte_code+11632>, 0x61fa93 
<exec_byte_code+11748>, 0x61fb07 <exec_byte_code+11864>, 0x61fb5a 
<exec_byte_code+11947>,
           0x61fbf0 <exec_byte_code+12097>, 0x61fc43 
<exec_byte_code+12180>, 0x61fc96 <exec_byte_code+12263>, 0x61fce9 
<exec_byte_code+12346>,
           0x61fdfe <exec_byte_code+12623>, 0x61e4f2 
<exec_byte_code+6211>, 0x61fe61 <exec_byte_code+12722>, 0x61feaa 
<exec_byte_code+12795>,
           0x61ff7e <exec_byte_code+13007>, 0x61ffe1 
<exec_byte_code+13106>, 0x620044 <exec_byte_code+13205>, 0x62008d 
<exec_byte_code+13278>,
           0x6200df <exec_byte_code+13360>, 0x620131 
<exec_byte_code+13442>, 0x62018b <exec_byte_code+13532>, 0x6210bd 
<exec_byte_code+17422>,
           0x6201de <exec_byte_code+13615>, 0x620222 
<exec_byte_code+13683>, 0x620266 <exec_byte_code+13751>, 0x6202aa 
<exec_byte_code+13819>,
           0x6202ee <exec_byte_code+13887>, 0x620332 
<exec_byte_code+13955>, 0x61e4f2 <exec_byte_code+6211>, 0x6210bd 
<exec_byte_code+17422>,
           0x62037b <exec_byte_code+14028>, 0x6203cc 
<exec_byte_code+14109>, 0x620415 <exec_byte_code+14182>, 0x62045e 
<exec_byte_code+14255>,
           0x6204cd <exec_byte_code+14366>, 0x62053c 
<exec_byte_code+14477>, 0x620585 <exec_byte_code+14550>, 0x62067b 
<exec_byte_code+14796>,
           0x6206ea <exec_byte_code+14907>, 0x620759 
<exec_byte_code+15018>, 0x6207c8 <exec_byte_code+15129>, 0x62080c 
<exec_byte_code+15197>,
           0x6210bd <exec_byte_code+17422>, 0x61e426 
<exec_byte_code+6007>, 0x61d9a8 <exec_byte_code+3321>, 0x61d20e 
<exec_byte_code+1375>,
           0x61dab6 <exec_byte_code+3591>, 0x61dbf4 
<exec_byte_code+3909>, 0x61dd26 <exec_byte_code+4215>, 0x61e3ab 
<exec_byte_code+5884>,
           0x61e3f1 <exec_byte_code+5954>, 0x61d6cd 
<exec_byte_code+2590>, 0x61e4b3 <exec_byte_code+6148>, 0x61e524 
<exec_byte_code+6261>,
           0x61e5b1 <exec_byte_code+6402>, 0x61e5f0 
<exec_byte_code+6465>, 0x61e919 <exec_byte_code+7274>, 0x61e99b 
<exec_byte_code+7404>,
           0x61ea2d <exec_byte_code+7550>, 0x61ea97 
<exec_byte_code+7656>, 0x61d962 <exec_byte_code+3251>, 0x620855 
<exec_byte_code+15270>,
           0x6208e7 <exec_byte_code+15416>, 0x620930 
<exec_byte_code+15489>, 0x620979 <exec_byte_code+15562>, 0x6209c2 
<exec_byte_code+15635>,
           0x620a0b <exec_byte_code+15708>, 0x620a7a 
<exec_byte_code+15819>, 0x620ae9 <exec_byte_code+15930>, 0x620b58 
<exec_byte_code+16041>,
           0x620bc7 <exec_byte_code+16152>, 0x620d14 
<exec_byte_code+16485>, 0x620d83 <exec_byte_code+16596>, 0x620df2 
<exec_byte_code+16707>,
           0x620e3b <exec_byte_code+16780>, 0x620eaa 
<exec_byte_code+16891>, 0x620f13 <exec_byte_code+16996>, 0x620f64 
<exec_byte_code+17077>,
           0x620fb5 <exec_byte_code+17158>, 0x61fd3c 
<exec_byte_code+12429>, 0x61fd8f <exec_byte_code+12512>, 0x621008 
<exec_byte_code+17241>,
           0x621065 <exec_byte_code+17334>, 0x6210bd 
<exec_byte_code+17422>, 0x61de58 <exec_byte_code+4521>, 0x61df39 
<exec_byte_code+4746>,
           0x61e056 <exec_byte_code+5031>, 0x61e173 
<exec_byte_code+5316>, 0x61e28f <exec_byte_code+5600>, 0x61efb9 
<exec_byte_code+8970>,
           0x61f4f6 <exec_byte_code+10311>, 0x61fef5 
<exec_byte_code+12870>, 0x621287 <exec_byte_code+17880>, 0x6212fa 
<exec_byte_code+17995>,
           0x6210bd <exec_byte_code+17422>, 0x6210bd 
<exec_byte_code+17422>, 0x621394 <exec_byte_code+18149>, 0x6210bd 
<exec_byte_code+17422>,
           0x6210bd <exec_byte_code+17422>, 0x6210bd 
<exec_byte_code+17422>, 0x6210bd <exec_byte_code+17422>, 0x6210bd 
<exec_byte_code+17422>,
           0x6210bd <exec_byte_code+17422>, 0x6210bd 
<exec_byte_code+17422>, 0x6210bd <exec_byte_code+17422>, 0x6210bd 
<exec_byte_code+17422>,
           0x62142e <exec_byte_code+18303> <repeats 64 times>}
         count = 4
         op = 1
         vectorp = 0x123c148
         stack = {pc = 0xd1b8ff "\210\rA\211\025\204\031", byte_string = 
14716561, byte_string_start = 0xd1b8e0 "\306\307 !\205,", next = 0x0}
         top = 0x7fffffffd858
         result = 36039142
         type = (CONDITION_CASE | unknown: 3139642222)
#11 0x00000000005dc02f in funcall_lambda (fun=19120549, nargs=0, 
arg_vector=0x123c145) at eval.c:3049
         val = 51575646694
         syms_left = 12869810
         next = 6134623
         lexenv = 12869810
         count = 4
         i = 0
         optional = false
         rest = false
#12 0x00000000005db83d in Ffuncall (nargs=1, args=0x7fffffffdd48) at 
eval.c:2864
         fun = 19120549
         original_fun = 13774850
         funcar = 140737488346416
         numargs = 0
         lisp_numargs = 9354953
         val = 36039142
         internal_args = 0x0
         i = 3
#13 0x00000000005daf8f in call0 (fn=13774850) at eval.c:2599
         ret_ungc_val = 36039142
         gcpro1 = {next = 0x7fffffffde20, var = 0x5fcf08 
<print_error_message+156>, nvars = 25786756866}
#14 0x00000000005477aa in safe_run_hooks_1 () at keyboard.c:1875
No locals.
#15 0x00000000005d84c4 in internal_condition_case (bfun=0x54778f 
<safe_run_hooks_1>, handlers=12869858, hfun=0x5477ac 
<safe_run_hooks_error>) at eval.c:1354
         val = 36039110
         c = 0x1411d40
#16 0x0000000000547a20 in safe_run_hook_funcall (nargs=1, 
args=0x7fffffffde88) at keyboard.c:1930
No locals.
#17 0x00000000005dae34 in run_hook_with_args (nargs=1, 
args=0x7fffffffde88, funcall=0x5479ad <safe_run_hook_funcall>) at 
eval.c:2544
         global_vals = 36044854
         sym = 12910114
         val = 31125590
         ret = 12869810
         gcpro1 = {next = 0xc651f0, var = 0xc460b2, nvars = 
140737488346848}
         gcpro2 = {next = 0xc651f0, var = 0xc460b2, nvars = 
140737488346848}
         gcpro3 = {next = 0xc651f0, var = 0xc460b2, nvars = 
140737488346848}
#18 0x0000000000547a6a in safe_run_hooks (hook=13774850) at 
keyboard.c:1947
         count = 2
#19 0x0000000000546169 in command_loop_1 () at keyboard.c:1365
         cmd = 140737488346880
         keybuf = {0, 12869810, 0, 0, 4, 16953090, 12917362, 36040534, 
9340897, 16953090, 140737488347024, 5528527, 140737488347072, 36040534, 
140737488347024, 0,
           140737488347152, 5528287, 140737488347104, 36040534, 12869810, 
12869810, 12998144, 12869810, 0, 0, 140737488347152, 6134202, 12869810, 
-4962083403581633280}
         i = 0
         prev_modiff = 0
         prev_buffer = 0x0
         already_adjusted = false
#20 0x00000000005d84c4 in internal_condition_case (bfun=0x54608b 
<command_loop_1>, handlers=12921474, hfun=0x54597a <cmd_error>) at 
eval.c:1354
         val = 21044240
         c = 0x1411c10
#21 0x0000000000545de5 in command_loop_2 (ignore=12869810) at 
keyboard.c:1177
         val = 0
#22 0x00000000005d7cd6 in internal_catch (tag=12917490, func=0x545dbf 
<command_loop_2>, arg=12869810) at eval.c:1118
         val = 12869810
         c = 0x1411ae0
#23 0x0000000000545d93 in command_loop () at keyboard.c:1156
No locals.
#24 0x0000000000545575 in recursive_edit_1 () at keyboard.c:777
         count = 1
         val = 5527290
#25 0x00000000005456e2 in Frecursive_edit () at keyboard.c:848
         count = 0
         buffer = 12869810
#26 0x00000000005436f4 in main (argc=1, argv=0x7fffffffe318) at 
emacs.c:1646
         dummy = 140737354130720
         stack_bottom_variable = 0 '\000'
         do_initial_setlocale = true
         dumping = false
         skip_args = 0
         rlim = {rlim_cur = 8720000, rlim_max = 18446744073709551615}
         no_loadup = false
         junk = 0x0
         dname_arg = 0x0
         ch_to_dir = 0xf63d4e2e <error: Cannot access memory at address 
0xf63d4e2e>
         original_pwd = 0x0


In GNU Emacs 24.3.92.8 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.8)
  of 2014-07-31 on zz
Windowing system distributor `The X.Org Foundation', version 
11.0.11501000
System Description:	Ubuntu 14.04 LTS

Configured using:
  `configure --enable-checking=glyphs --with-m17n-flt --with-libotf
  'CFLAGS=-g -O0''

Important settings:
   value of $LC_CTYPE: en_US.UTF-8
   value of $LANG: en_US.UTF-8
   value of $XMODIFIERS: @im=ibus
   locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
   eldoc-mode: t
   global-semanticdb-minor-mode: t
   global-semantic-idle-scheduler-mode: t
   electric-pair-mode: t
   desktop-save-mode: t
   semantic-mode: t
   shell-dirtrack-mode: t
   savehist-mode: t
   winner-mode: t
   tooltip-mode: t
   electric-indent-mode: t
   mouse-wheel-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   blink-cursor-mode: t
   auto-composition-mode: t
   auto-encryption-mode: t
   auto-compression-mode: t
   line-number-mode: t
   transient-mark-mode: t

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

Recent messages:
Warning: desktop file appears to be in use by PID 13887.
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:
/home/zz/.emacs.d/elpa/emms-20140529.1117/tq hides 
/home/zz/src/emacs/lisp/emacs-lisp/tq

Features:
(shadow sort gnus-util mail-extr emacsbug message rfc822 mml mml-sec
mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils
mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr
mail-utils smex ido eldoc semantic/db-mode semantic/idle elec-pair
another-package-autoloads finder-inf clojure-test-mode-autoloads
cider-autoloads clojure-mode-autoloads debbugs-autoloads
haskell-mode-autoloads htmlize-autoloads markdown-mode-autoloads
pkg-info-autoloads epl-autoloads slime-autoloads dash-autoloads info
w3m-autoloads win-switch-autoloads desktop frameset semantic/bovine/el
thingatpt semantic/format semantic/tag-ls semantic/find semantic/ctxt
semantic/db-el eieio-opt help-mode speedbar sb-image ezimage dframe
semantic/db gv eieio-base semantic/bovine semantic/util-modes
semantic/util semantic semantic/tag semantic/lex semantic/fw eieio
eieio-core mode-local cedet ob-lisp ob-java ob-python ob-ruby ob-sh
shell ob-clojure org byte-opt bytecomp byte-compile cconv advice
help-fns org-macro org-footnote org-pcomplete pcomplete org-list
org-faces org-entities noutline outline easy-mmode org-version
ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp
ob-comint comint ansi-color ob-core ob-eval org-compat org-macs
org-loaddefs format-spec find-func cal-menu easymenu calendar
cal-loaddefs edmacro kmacro cl-loaddefs cl-lib savehist winner ring
package tango-dark-theme time-date tooltip electric uniquify ediff-hook
vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image
regexp-opt fringe tabulated-list newcomment lisp-mode prog-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 nadvice
loaddefs button faces cus-face macroexp files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process dbusbind
gfilenotify dynamic-setting system-font-setting font-render-setting
move-toolbar gtk x-toolkit x multi-tty emacs)

Memory information:
((conses 16 211053 8665)
  (symbols 48 31825 0)
  (miscs 40 75 112)
  (strings 32 57174 7616)
  (string-bytes 1 1791343)
  (vectors 16 24940)
  (vector-slots 8 543570 4581)
  (floats 8 124 345)
  (intervals 56 342 0)
  (buffers 960 11)
  (heap 1024 31057 1404))






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

* bug#18161: 24.3.92; Crash in do_switch_frame
  2014-07-31 21:49 bug#18161: 24.3.92; Crash in do_switch_frame Mat Smiglarski
@ 2014-07-31 23:05 ` Mat Smiglarski
  2014-08-01  5:23 ` Dmitry Antipov
  1 sibling, 0 replies; 15+ messages in thread
From: Mat Smiglarski @ 2014-07-31 23:05 UTC (permalink / raw)
  To: 18161

Unfortunately I cannot invoke the crash from emacs -Q, so I have 
provided the following gdb output, which shows that there is a frame 
with no output_data, after calling `create-frame' with a nonsense `left' 
parameter.

93 lines of a gdb session follows:

▶ gdb ~/src/emacs/src/emacs
GNU gdb (Ubuntu 7.7-0ubuntu3.1) 7.7
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show 
copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /home/zz/src/emacs/src/emacs...done.
(gdb) set logging on
Copying output to gdb.txt.
(gdb) set height 0
(gdb) set args --execute "(make-frame '((left . unbound-symbol)))"(gdb) 
r
Starting program: /home/zz/src/emacs/src/emacs --execute "(make-frame 
'((left . unbound-symbol)))"
[Thread debugging using libthread_db enabled]
Using host libthread_db library 
"/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffeb5f3700 (LWP 19087)]
[New Thread 0x7fffea5bc700 (LWP 19088)]
[New Thread 0x7fffe9dbb700 (LWP 19089)]

Program received signal SIGSEGV, Segmentation fault.
0x000000000051db27 in x_get_focus_frame (frame=0x1e1b360) at xfns.c:3326
3326	  struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (frame);
(gdb) break x_get_focus_frame
Breakpoint 1 at 0x51db1c: file xfns.c, line 3326.
(gdb) r
The program being debugged has been started already.
Start it from the beginning? (y or n) y

Starting program: /home/zz/src/emacs/src/emacs --execute "(make-frame 
'((left . unbound-symbol)))"
[Thread debugging using libthread_db enabled]
Using host libthread_db library 
"/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffeb5f3700 (LWP 19091)]
[New Thread 0x7fffea5bc700 (LWP 19092)]
[New Thread 0x7fffe9dbb700 (LWP 19093)]

Breakpoint 1, x_get_focus_frame (frame=0x11fdb18) at xfns.c:3326
3326	  struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (frame);
(gdb) c
Continuing.

Breakpoint 1, x_get_focus_frame (frame=0x11fdb18) at xfns.c:3326
3326	  struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (frame);
(gdb) c
Continuing.

Breakpoint 1, x_get_focus_frame (frame=0x11fdb18) at xfns.c:3326
3326	  struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (frame);
(gdb) c
Continuing.

Breakpoint 1, x_get_focus_frame (frame=0x11fdb18) at xfns.c:3326
3326	  struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (frame);
(gdb) c
Continuing.

Breakpoint 1, x_get_focus_frame (frame=0x11fdb18) at xfns.c:3326
3326	  struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (frame);
(gdb) c
Continuing.

Breakpoint 1, x_get_focus_frame (frame=0x1bf68b0) at xfns.c:3326
3326	  struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (frame);
(gdb) c
Continuing.

Breakpoint 1, x_get_focus_frame (frame=0x11fdb18) at xfns.c:3326
3326	  struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (frame);
(gdb) print frame->output_data
$1 = {tty = 0xe31700, x = 0xe31700, w32 = 0xe31700, ns = 0xe31700,
   nothing = 14882560}
(gdb) c
Continuing.

Breakpoint 1, x_get_focus_frame (frame=0x1bf68b0) at xfns.c:3326
3326	  struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (frame);
(gdb) print frame->output_data
$2 = {tty = 0x0, x = 0x0, w32 = 0x0, ns = 0x0, nothing = 0}
(gdb) s

Program received signal SIGSEGV, Segmentation fault.
0x000000000051db27 in x_get_focus_frame (frame=0x1bf68b0) at xfns.c:3326
3326	  struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (frame);
(gdb) quit
A debugging session is active.


On 2014-07-31 22:49, Mat Smiglarski wrote:
> Emacs consistently crashes soon after startup when executing a
> particular function
> which happens to open a new frame.
> 
> Unfortunately I have not managed to reproduce this with emacs -Q. This
> occurs on both trunk and the latest release candidate, but I don't
> know if it is a regression.
> 
> Perhaps the backtrace has enough information, if not then let me know.
> 
> Regards,
> Mat
> 
> A 300 line backtrace follows:
> 
> #0  0x000000000051db27 in x_get_focus_frame (frame=0x21924c8) at 
> xfns.c:3326
>         dpyinfo = 0x53f950 <FRAMEP+29>
>         xfocus = 35202253
> #1  0x0000000000424355 in do_switch_frame (frame=35202253, track=1,
> for_deletion=0, norecord=16393714) at frame.c:839
>         focus = 9306464
>         xfocus = 42949689412
>         sf = 0x2089660
> #2  0x00000000004245fc in Fselect_frame (frame=35202253,
> norecord=16393714) at frame.c:913
> No locals.
> #3  0x00000000005db67b in Ffuncall (nargs=3, args=0x7fffffffce58) at 
> eval.c:2818
>         fun = 9306469
>         original_fun = 13055314
>         funcar = 6145211
>         numargs = 2
>         lisp_numargs = 140737488342592
>         val = 140737488342560
>         internal_args = 0x7fffffffce60
>         i = 5504570
> #4  0x000000000061d87d in exec_byte_code (bytestr=24108321,
> vector=19119869, maxdepth=12, args_template=12869810, nargs=0,
> args=0x0) at bytecode.c:916
>         targets = {0x6210bd <exec_byte_code+17422>, 0x621114
> <exec_byte_code+17509>, 0x621116 <exec_byte_code+17511>, 0x621118
> <exec_byte_code+17513>,
>           0x62111a <exec_byte_code+17515>, 0x62111a
> <exec_byte_code+17515>, 0x621180 <exec_byte_code+17617>, 0x6211f0
> <exec_byte_code+17729>,
>           0x61d103 <exec_byte_code+1108>, 0x61d105
> <exec_byte_code+1110>, 0x61d107 <exec_byte_code+1112>, 0x61d109
> <exec_byte_code+1114>,
>           0x61d10b <exec_byte_code+1116>, 0x61d10b
> <exec_byte_code+1116>, 0x61d114 <exec_byte_code+1125>, 0x61d0ce
> <exec_byte_code+1055>,
>           0x61d578 <exec_byte_code+2249>, 0x61d57a
> <exec_byte_code+2251>, 0x61d57c <exec_byte_code+2253>, 0x61d57e
> <exec_byte_code+2255>,
>           0x61d580 <exec_byte_code+2257>, 0x61d580
> <exec_byte_code+2257>, 0x61d5be <exec_byte_code+2319>, 0x61d589
> <exec_byte_code+2266>,
>           0x61d773 <exec_byte_code+2756>, 0x61d775
> <exec_byte_code+2758>, 0x61d777 <exec_byte_code+2760>, 0x61d779
> <exec_byte_code+2762>,
>           0x61d77b <exec_byte_code+2764>, 0x61d77b
> <exec_byte_code+2764>, 0x61d724 <exec_byte_code+2677>, 0x61d73e
> <exec_byte_code+2703>,
>           0x61d83b <exec_byte_code+2956>, 0x61d83d
> <exec_byte_code+2958>, 0x61d83f <exec_byte_code+2960>, 0x61d841
> <exec_byte_code+2962>,
>           0x61d843 <exec_byte_code+2964>, 0x61d843
> <exec_byte_code+2964>, 0x61d7ec <exec_byte_code+2877>, 0x61d806
> <exec_byte_code+2903>,
>           0x61d903 <exec_byte_code+3156>, 0x61d905
> <exec_byte_code+3158>, 0x61d907 <exec_byte_code+3160>, 0x61d909
> <exec_byte_code+3162>,
>           0x61d90b <exec_byte_code+3164>, 0x61d90b
> <exec_byte_code+3164>, 0x61d8b4 <exec_byte_code+3077>, 0x61d8ce
> <exec_byte_code+3103>,
>           0x61e8da <exec_byte_code+7211>, 0x61e66d
> <exec_byte_code+6590>, 0x61e661 <exec_byte_code+6578>, 0x6210bd
> <exec_byte_code+17422>,
>           0x6210bd <exec_byte_code+17422>, 0x6210bd
> <exec_byte_code+17422>, 0x6210bd <exec_byte_code+17422>, 0x6210bd
> <exec_byte_code+17422>,
>           0x61eb1e <exec_byte_code+7791>, 0x61ec11
> <exec_byte_code+8034>, 0x61ec6a <exec_byte_code+8123>, 0x61ecc3
> <exec_byte_code+8212>,
>           0x61ed20 <exec_byte_code+8305>, 0x61d3ef
> <exec_byte_code+1856>, 0x61d465 <exec_byte_code+1974>, 0x61ed8f
> <exec_byte_code+8416>,
>           0x61d34c <exec_byte_code+1693>, 0x61d4d4
> <exec_byte_code+2085>, 0x61edec <exec_byte_code+8509>, 0x61ee5b
> <exec_byte_code+8620>,
>           0x61eea4 <exec_byte_code+8693>, 0x61ef13
> <exec_byte_code+8804>, 0x61ef66 <exec_byte_code+8887>, 0x61f042
> <exec_byte_code+9107>,
>           0x61f08b <exec_byte_code+9180>, 0x61f0fa
> <exec_byte_code+9291>, 0x61f18c <exec_byte_code+9437>, 0x61f1d5
> <exec_byte_code+9510>,
>           0x61f21e <exec_byte_code+9583>, 0x61f28d
> <exec_byte_code+9694>, 0x61f2fc <exec_byte_code+9805>, 0x61f36b
> <exec_byte_code+9916>,
>           0x61f3fd <exec_byte_code+10062>, 0x61f450
> <exec_byte_code+10145>, 0x61f4a3 <exec_byte_code+10228>, 0x61f57f
> <exec_byte_code+10448>,
>           0x61f611 <exec_byte_code+10594>, 0x61f6a3
> <exec_byte_code+10740>, 0x61f937 <exec_byte_code+11400>, 0x61f9ab
> <exec_byte_code+11516>,
>           0x61fa1f <exec_byte_code+11632>, 0x61fa93
> <exec_byte_code+11748>, 0x61fb07 <exec_byte_code+11864>, 0x61fb5a
> <exec_byte_code+11947>,
>           0x61fbf0 <exec_byte_code+12097>, 0x61fc43
> <exec_byte_code+12180>, 0x61fc96 <exec_byte_code+12263>, 0x61fce9
> <exec_byte_code+12346>,
>           0x61fdfe <exec_byte_code+12623>, 0x61e4f2
> <exec_byte_code+6211>, 0x61fe61 <exec_byte_code+12722>, 0x61feaa
> <exec_byte_code+12795>,
>           0x61ff7e <exec_byte_code+13007>, 0x61ffe1
> <exec_byte_code+13106>, 0x620044 <exec_byte_code+13205>, 0x62008d
> <exec_byte_code+13278>,
>           0x6200df <exec_byte_code+13360>, 0x620131
> <exec_byte_code+13442>, 0x62018b <exec_byte_code+13532>, 0x6210bd
> <exec_byte_code+17422>,
>           0x6201de <exec_byte_code+13615>, 0x620222
> <exec_byte_code+13683>, 0x620266 <exec_byte_code+13751>, 0x6202aa
> <exec_byte_code+13819>,
>           0x6202ee <exec_byte_code+13887>, 0x620332
> <exec_byte_code+13955>, 0x61e4f2 <exec_byte_code+6211>, 0x6210bd
> <exec_byte_code+17422>,
>           0x62037b <exec_byte_code+14028>, 0x6203cc
> <exec_byte_code+14109>, 0x620415 <exec_byte_code+14182>, 0x62045e
> <exec_byte_code+14255>,
>           0x6204cd <exec_byte_code+14366>, 0x62053c
> <exec_byte_code+14477>, 0x620585 <exec_byte_code+14550>, 0x62067b
> <exec_byte_code+14796>,
>           0x6206ea <exec_byte_code+14907>, 0x620759
> <exec_byte_code+15018>, 0x6207c8 <exec_byte_code+15129>, 0x62080c
> <exec_byte_code+15197>,
>           0x6210bd <exec_byte_code+17422>, 0x61e426
> <exec_byte_code+6007>, 0x61d9a8 <exec_byte_code+3321>, 0x61d20e
> <exec_byte_code+1375>,
>           0x61dab6 <exec_byte_code+3591>, 0x61dbf4
> <exec_byte_code+3909>, 0x61dd26 <exec_byte_code+4215>, 0x61e3ab
> <exec_byte_code+5884>,
>           0x61e3f1 <exec_byte_code+5954>, 0x61d6cd
> <exec_byte_code+2590>, 0x61e4b3 <exec_byte_code+6148>, 0x61e524
> <exec_byte_code+6261>,
>           0x61e5b1 <exec_byte_code+6402>, 0x61e5f0
> <exec_byte_code+6465>, 0x61e919 <exec_byte_code+7274>, 0x61e99b
> <exec_byte_code+7404>,
>           0x61ea2d <exec_byte_code+7550>, 0x61ea97
> <exec_byte_code+7656>, 0x61d962 <exec_byte_code+3251>, 0x620855
> <exec_byte_code+15270>,
>           0x6208e7 <exec_byte_code+15416>, 0x620930
> <exec_byte_code+15489>, 0x620979 <exec_byte_code+15562>, 0x6209c2
> <exec_byte_code+15635>,
>           0x620a0b <exec_byte_code+15708>, 0x620a7a
> <exec_byte_code+15819>, 0x620ae9 <exec_byte_code+15930>, 0x620b58
> <exec_byte_code+16041>,
>           0x620bc7 <exec_byte_code+16152>, 0x620d14
> <exec_byte_code+16485>, 0x620d83 <exec_byte_code+16596>, 0x620df2
> <exec_byte_code+16707>,
>           0x620e3b <exec_byte_code+16780>, 0x620eaa
> <exec_byte_code+16891>, 0x620f13 <exec_byte_code+16996>, 0x620f64
> <exec_byte_code+17077>,
>           0x620fb5 <exec_byte_code+17158>, 0x61fd3c
> <exec_byte_code+12429>, 0x61fd8f <exec_byte_code+12512>, 0x621008
> <exec_byte_code+17241>,
>           0x621065 <exec_byte_code+17334>, 0x6210bd
> <exec_byte_code+17422>, 0x61de58 <exec_byte_code+4521>, 0x61df39
> <exec_byte_code+4746>,
>           0x61e056 <exec_byte_code+5031>, 0x61e173
> <exec_byte_code+5316>, 0x61e28f <exec_byte_code+5600>, 0x61efb9
> <exec_byte_code+8970>,
>           0x61f4f6 <exec_byte_code+10311>, 0x61fef5
> <exec_byte_code+12870>, 0x621287 <exec_byte_code+17880>, 0x6212fa
> <exec_byte_code+17995>,
>           0x6210bd <exec_byte_code+17422>, 0x6210bd
> <exec_byte_code+17422>, 0x621394 <exec_byte_code+18149>, 0x6210bd
> <exec_byte_code+17422>,
>           0x6210bd <exec_byte_code+17422>, 0x6210bd
> <exec_byte_code+17422>, 0x6210bd <exec_byte_code+17422>, 0x6210bd
> <exec_byte_code+17422>,
>           0x6210bd <exec_byte_code+17422>, 0x6210bd
> <exec_byte_code+17422>, 0x6210bd <exec_byte_code+17422>, 0x6210bd
> <exec_byte_code+17422>,
>           0x62142e <exec_byte_code+18303> <repeats 64 times>}
>         count = 10
>         op = 2
>         vectorp = 0x123bf00
>         stack = {pc = 0xd1b67f "\210\310 \311 +B\207", byte_string =
> 24108321, byte_string_start = 0xd1b668 "\b\206\006", next =
> 0x7fffffffd700}
>         top = 0x7fffffffce58
>         result = 51552477362
>         type = CATCHER
> #5  0x00000000005dc02f in funcall_lambda (fun=19116629, nargs=1,
> arg_vector=0x123befd) at eval.c:3049
>         val = 51545634631
>         syms_left = 12869810
>         next = 12925490
>         lexenv = 12869810
>         count = 9
>         i = 1
>         optional = true
>         rest = false
> #6  0x00000000005db83d in Ffuncall (nargs=2, args=0x7fffffffd348) at 
> eval.c:2864
>         fun = 19116629
>         original_fun = 22597378
>         funcar = 12918578
>         numargs = 1
>         lisp_numargs = 13003728
>         val = 12918576
>         internal_args = 0x10
>         i = 12869810
> #7  0x000000000061d87d in exec_byte_code (bytestr=14719345,
> vector=19120189, maxdepth=24, args_template=12869810, nargs=0,
> args=0x0) at bytecode.c:916
>         targets = {0x6210bd <exec_byte_code+17422>, 0x621114
> <exec_byte_code+17509>, 0x621116 <exec_byte_code+17511>, 0x621118
> <exec_byte_code+17513>,
>           0x62111a <exec_byte_code+17515>, 0x62111a
> <exec_byte_code+17515>, 0x621180 <exec_byte_code+17617>, 0x6211f0
> <exec_byte_code+17729>,
>           0x61d103 <exec_byte_code+1108>, 0x61d105
> <exec_byte_code+1110>, 0x61d107 <exec_byte_code+1112>, 0x61d109
> <exec_byte_code+1114>,
>           0x61d10b <exec_byte_code+1116>, 0x61d10b
> <exec_byte_code+1116>, 0x61d114 <exec_byte_code+1125>, 0x61d0ce
> <exec_byte_code+1055>,
>           0x61d578 <exec_byte_code+2249>, 0x61d57a
> <exec_byte_code+2251>, 0x61d57c <exec_byte_code+2253>, 0x61d57e
> <exec_byte_code+2255>,
>           0x61d580 <exec_byte_code+2257>, 0x61d580
> <exec_byte_code+2257>, 0x61d5be <exec_byte_code+2319>, 0x61d589
> <exec_byte_code+2266>,
>           0x61d773 <exec_byte_code+2756>, 0x61d775
> <exec_byte_code+2758>, 0x61d777 <exec_byte_code+2760>, 0x61d779
> <exec_byte_code+2762>,
>           0x61d77b <exec_byte_code+2764>, 0x61d77b
> <exec_byte_code+2764>, 0x61d724 <exec_byte_code+2677>, 0x61d73e
> <exec_byte_code+2703>,
>           0x61d83b <exec_byte_code+2956>, 0x61d83d
> <exec_byte_code+2958>, 0x61d83f <exec_byte_code+2960>, 0x61d841
> <exec_byte_code+2962>,
>           0x61d843 <exec_byte_code+2964>, 0x61d843
> <exec_byte_code+2964>, 0x61d7ec <exec_byte_code+2877>, 0x61d806
> <exec_byte_code+2903>,
>           0x61d903 <exec_byte_code+3156>, 0x61d905
> <exec_byte_code+3158>, 0x61d907 <exec_byte_code+3160>, 0x61d909
> <exec_byte_code+3162>,
>           0x61d90b <exec_byte_code+3164>, 0x61d90b
> <exec_byte_code+3164>, 0x61d8b4 <exec_byte_code+3077>, 0x61d8ce
> <exec_byte_code+3103>,
>           0x61e8da <exec_byte_code+7211>, 0x61e66d
> <exec_byte_code+6590>, 0x61e661 <exec_byte_code+6578>, 0x6210bd
> <exec_byte_code+17422>,
>           0x6210bd <exec_byte_code+17422>, 0x6210bd
> <exec_byte_code+17422>, 0x6210bd <exec_byte_code+17422>, 0x6210bd
> <exec_byte_code+17422>,
>           0x61eb1e <exec_byte_code+7791>, 0x61ec11
> <exec_byte_code+8034>, 0x61ec6a <exec_byte_code+8123>, 0x61ecc3
> <exec_byte_code+8212>,
>           0x61ed20 <exec_byte_code+8305>, 0x61d3ef
> <exec_byte_code+1856>, 0x61d465 <exec_byte_code+1974>, 0x61ed8f
> <exec_byte_code+8416>,
>           0x61d34c <exec_byte_code+1693>, 0x61d4d4
> <exec_byte_code+2085>, 0x61edec <exec_byte_code+8509>, 0x61ee5b
> <exec_byte_code+8620>,
>           0x61eea4 <exec_byte_code+8693>, 0x61ef13
> <exec_byte_code+8804>, 0x61ef66 <exec_byte_code+8887>, 0x61f042
> <exec_byte_code+9107>,
>           0x61f08b <exec_byte_code+9180>, 0x61f0fa
> <exec_byte_code+9291>, 0x61f18c <exec_byte_code+9437>, 0x61f1d5
> <exec_byte_code+9510>,
>           0x61f21e <exec_byte_code+9583>, 0x61f28d
> <exec_byte_code+9694>, 0x61f2fc <exec_byte_code+9805>, 0x61f36b
> <exec_byte_code+9916>,
>           0x61f3fd <exec_byte_code+10062>, 0x61f450
> <exec_byte_code+10145>, 0x61f4a3 <exec_byte_code+10228>, 0x61f57f
> <exec_byte_code+10448>,
>           0x61f611 <exec_byte_code+10594>, 0x61f6a3
> <exec_byte_code+10740>, 0x61f937 <exec_byte_code+11400>, 0x61f9ab
> <exec_byte_code+11516>,
>           0x61fa1f <exec_byte_code+11632>, 0x61fa93
> <exec_byte_code+11748>, 0x61fb07 <exec_byte_code+11864>, 0x61fb5a
> <exec_byte_code+11947>,
>           0x61fbf0 <exec_byte_code+12097>, 0x61fc43
> <exec_byte_code+12180>, 0x61fc96 <exec_byte_code+12263>, 0x61fce9
> <exec_byte_code+12346>,
>           0x61fdfe <exec_byte_code+12623>, 0x61e4f2
> <exec_byte_code+6211>, 0x61fe61 <exec_byte_code+12722>, 0x61feaa
> <exec_byte_code+12795>,
>           0x61ff7e <exec_byte_code+13007>, 0x61ffe1
> <exec_byte_code+13106>, 0x620044 <exec_byte_code+13205>, 0x62008d
> <exec_byte_code+13278>,
>           0x6200df <exec_byte_code+13360>, 0x620131
> <exec_byte_code+13442>, 0x62018b <exec_byte_code+13532>, 0x6210bd
> <exec_byte_code+17422>,
>           0x6201de <exec_byte_code+13615>, 0x620222
> <exec_byte_code+13683>, 0x620266 <exec_byte_code+13751>, 0x6202aa
> <exec_byte_code+13819>,
>           0x6202ee <exec_byte_code+13887>, 0x620332
> <exec_byte_code+13955>, 0x61e4f2 <exec_byte_code+6211>, 0x6210bd
> <exec_byte_code+17422>,
>           0x62037b <exec_byte_code+14028>, 0x6203cc
> <exec_byte_code+14109>, 0x620415 <exec_byte_code+14182>, 0x62045e
> <exec_byte_code+14255>,
>           0x6204cd <exec_byte_code+14366>, 0x62053c
> <exec_byte_code+14477>, 0x620585 <exec_byte_code+14550>, 0x62067b
> <exec_byte_code+14796>,
>           0x6206ea <exec_byte_code+14907>, 0x620759
> <exec_byte_code+15018>, 0x6207c8 <exec_byte_code+15129>, 0x62080c
> <exec_byte_code+15197>,
>           0x6210bd <exec_byte_code+17422>, 0x61e426
> <exec_byte_code+6007>, 0x61d9a8 <exec_byte_code+3321>, 0x61d20e
> <exec_byte_code+1375>,
>           0x61dab6 <exec_byte_code+3591>, 0x61dbf4
> <exec_byte_code+3909>, 0x61dd26 <exec_byte_code+4215>, 0x61e3ab
> <exec_byte_code+5884>,
>           0x61e3f1 <exec_byte_code+5954>, 0x61d6cd
> <exec_byte_code+2590>, 0x61e4b3 <exec_byte_code+6148>, 0x61e524
> <exec_byte_code+6261>,
>           0x61e5b1 <exec_byte_code+6402>, 0x61e5f0
> <exec_byte_code+6465>, 0x61e919 <exec_byte_code+7274>, 0x61e99b
> <exec_byte_code+7404>,
>           0x61ea2d <exec_byte_code+7550>, 0x61ea97
> <exec_byte_code+7656>, 0x61d962 <exec_byte_code+3251>, 0x620855
> <exec_byte_code+15270>,
>           0x6208e7 <exec_byte_code+15416>, 0x620930
> <exec_byte_code+15489>, 0x620979 <exec_byte_code+15562>, 0x6209c2
> <exec_byte_code+15635>,
>           0x620a0b <exec_byte_code+15708>, 0x620a7a
> <exec_byte_code+15819>, 0x620ae9 <exec_byte_code+15930>, 0x620b58
> <exec_byte_code+16041>,
>           0x620bc7 <exec_byte_code+16152>, 0x620d14
> <exec_byte_code+16485>, 0x620d83 <exec_byte_code+16596>, 0x620df2
> <exec_byte_code+16707>,
>           0x620e3b <exec_byte_code+16780>, 0x620eaa
> <exec_byte_code+16891>, 0x620f13 <exec_byte_code+16996>, 0x620f64
> <exec_byte_code+17077>,
>           0x620fb5 <exec_byte_code+17158>, 0x61fd3c
> <exec_byte_code+12429>, 0x61fd8f <exec_byte_code+12512>, 0x621008
> <exec_byte_code+17241>,
>           0x621065 <exec_byte_code+17334>, 0x6210bd
> <exec_byte_code+17422>, 0x61de58 <exec_byte_code+4521>, 0x61df39
> <exec_byte_code+4746>,
>           0x61e056 <exec_byte_code+5031>, 0x61e173
> <exec_byte_code+5316>, 0x61e28f <exec_byte_code+5600>, 0x61efb9
> <exec_byte_code+8970>,
>           0x61f4f6 <exec_byte_code+10311>, 0x61fef5
> <exec_byte_code+12870>, 0x621287 <exec_byte_code+17880>, 0x6212fa
> <exec_byte_code+17995>,
>           0x6210bd <exec_byte_code+17422>, 0x6210bd
> <exec_byte_code+17422>, 0x621394 <exec_byte_code+18149>, 0x6210bd
> <exec_byte_code+17422>,
>           0x6210bd <exec_byte_code+17422>, 0x6210bd
> <exec_byte_code+17422>, 0x6210bd <exec_byte_code+17422>, 0x6210bd
> <exec_byte_code+17422>,
>           0x6210bd <exec_byte_code+17422>, 0x6210bd
> <exec_byte_code+17422>, 0x6210bd <exec_byte_code+17422>, 0x6210bd
> <exec_byte_code+17422>,
>           0x62142e <exec_byte_code+18303> <repeats 64 times>}
>         count = 8
>         op = 1
>         vectorp = 0x123c040
>         stack = {pc = 0xd1b7d8 "\b\211\030\v\236A\206,", byte_string =
> 14719345, byte_string_start = 0xd1b7c8 "\b\t>\206\t", next =
> 0x7fffffffdbf0}
>         top = 0x7fffffffd348
>         result = 36039142
>         type = CATCHER
> #8  0x00000000005dc02f in funcall_lambda (fun=19120333, nargs=1,
> arg_vector=0x123c03d) at eval.c:3049
>         val = 51552477362
>         syms_left = 12869810
>         next = 12925490
>         lexenv = 12869810
>         count = 7
>         i = 1
>         optional = false
>         rest = false
> #9  0x00000000005db83d in Ffuncall (nargs=2, args=0x7fffffffd858) at 
> eval.c:2864
>         fun = 19120333
>         original_fun = 13774610
>         funcar = 12918578
>         numargs = 1
>         lisp_numargs = 16209968
>         val = 140737488345152
>         internal_args = 0x10
>         i = 12925488
> #10 0x000000000061d87d in exec_byte_code (bytestr=14716561,
> vector=19120453, maxdepth=12, args_template=12869810, nargs=0,
> args=0x0) at bytecode.c:916
>         targets = {0x6210bd <exec_byte_code+17422>, 0x621114
> <exec_byte_code+17509>, 0x621116 <exec_byte_code+17511>, 0x621118
> <exec_byte_code+17513>,
>           0x62111a <exec_byte_code+17515>, 0x62111a
> <exec_byte_code+17515>, 0x621180 <exec_byte_code+17617>, 0x6211f0
> <exec_byte_code+17729>,
>           0x61d103 <exec_byte_code+1108>, 0x61d105
> <exec_byte_code+1110>, 0x61d107 <exec_byte_code+1112>, 0x61d109
> <exec_byte_code+1114>,
>           0x61d10b <exec_byte_code+1116>, 0x61d10b
> <exec_byte_code+1116>, 0x61d114 <exec_byte_code+1125>, 0x61d0ce
> <exec_byte_code+1055>,
>           0x61d578 <exec_byte_code+2249>, 0x61d57a
> <exec_byte_code+2251>, 0x61d57c <exec_byte_code+2253>, 0x61d57e
> <exec_byte_code+2255>,
>           0x61d580 <exec_byte_code+2257>, 0x61d580
> <exec_byte_code+2257>, 0x61d5be <exec_byte_code+2319>, 0x61d589
> <exec_byte_code+2266>,
>           0x61d773 <exec_byte_code+2756>, 0x61d775
> <exec_byte_code+2758>, 0x61d777 <exec_byte_code+2760>, 0x61d779
> <exec_byte_code+2762>,
>           0x61d77b <exec_byte_code+2764>, 0x61d77b
> <exec_byte_code+2764>, 0x61d724 <exec_byte_code+2677>, 0x61d73e
> <exec_byte_code+2703>,
>           0x61d83b <exec_byte_code+2956>, 0x61d83d
> <exec_byte_code+2958>, 0x61d83f <exec_byte_code+2960>, 0x61d841
> <exec_byte_code+2962>,
>           0x61d843 <exec_byte_code+2964>, 0x61d843
> <exec_byte_code+2964>, 0x61d7ec <exec_byte_code+2877>, 0x61d806
> <exec_byte_code+2903>,
>           0x61d903 <exec_byte_code+3156>, 0x61d905
> <exec_byte_code+3158>, 0x61d907 <exec_byte_code+3160>, 0x61d909
> <exec_byte_code+3162>,
>           0x61d90b <exec_byte_code+3164>, 0x61d90b
> <exec_byte_code+3164>, 0x61d8b4 <exec_byte_code+3077>, 0x61d8ce
> <exec_byte_code+3103>,
>           0x61e8da <exec_byte_code+7211>, 0x61e66d
> <exec_byte_code+6590>, 0x61e661 <exec_byte_code+6578>, 0x6210bd
> <exec_byte_code+17422>,
>           0x6210bd <exec_byte_code+17422>, 0x6210bd
> <exec_byte_code+17422>, 0x6210bd <exec_byte_code+17422>, 0x6210bd
> <exec_byte_code+17422>,
>           0x61eb1e <exec_byte_code+7791>, 0x61ec11
> <exec_byte_code+8034>, 0x61ec6a <exec_byte_code+8123>, 0x61ecc3
> <exec_byte_code+8212>,
>           0x61ed20 <exec_byte_code+8305>, 0x61d3ef
> <exec_byte_code+1856>, 0x61d465 <exec_byte_code+1974>, 0x61ed8f
> <exec_byte_code+8416>,
>           0x61d34c <exec_byte_code+1693>, 0x61d4d4
> <exec_byte_code+2085>, 0x61edec <exec_byte_code+8509>, 0x61ee5b
> <exec_byte_code+8620>,
>           0x61eea4 <exec_byte_code+8693>, 0x61ef13
> <exec_byte_code+8804>, 0x61ef66 <exec_byte_code+8887>, 0x61f042
> <exec_byte_code+9107>,
>           0x61f08b <exec_byte_code+9180>, 0x61f0fa
> <exec_byte_code+9291>, 0x61f18c <exec_byte_code+9437>, 0x61f1d5
> <exec_byte_code+9510>,
>           0x61f21e <exec_byte_code+9583>, 0x61f28d
> <exec_byte_code+9694>, 0x61f2fc <exec_byte_code+9805>, 0x61f36b
> <exec_byte_code+9916>,
>           0x61f3fd <exec_byte_code+10062>, 0x61f450
> <exec_byte_code+10145>, 0x61f4a3 <exec_byte_code+10228>, 0x61f57f
> <exec_byte_code+10448>,
>           0x61f611 <exec_byte_code+10594>, 0x61f6a3
> <exec_byte_code+10740>, 0x61f937 <exec_byte_code+11400>, 0x61f9ab
> <exec_byte_code+11516>,
>           0x61fa1f <exec_byte_code+11632>, 0x61fa93
> <exec_byte_code+11748>, 0x61fb07 <exec_byte_code+11864>, 0x61fb5a
> <exec_byte_code+11947>,
>           0x61fbf0 <exec_byte_code+12097>, 0x61fc43
> <exec_byte_code+12180>, 0x61fc96 <exec_byte_code+12263>, 0x61fce9
> <exec_byte_code+12346>,
>           0x61fdfe <exec_byte_code+12623>, 0x61e4f2
> <exec_byte_code+6211>, 0x61fe61 <exec_byte_code+12722>, 0x61feaa
> <exec_byte_code+12795>,
>           0x61ff7e <exec_byte_code+13007>, 0x61ffe1
> <exec_byte_code+13106>, 0x620044 <exec_byte_code+13205>, 0x62008d
> <exec_byte_code+13278>,
>           0x6200df <exec_byte_code+13360>, 0x620131
> <exec_byte_code+13442>, 0x62018b <exec_byte_code+13532>, 0x6210bd
> <exec_byte_code+17422>,
>           0x6201de <exec_byte_code+13615>, 0x620222
> <exec_byte_code+13683>, 0x620266 <exec_byte_code+13751>, 0x6202aa
> <exec_byte_code+13819>,
>           0x6202ee <exec_byte_code+13887>, 0x620332
> <exec_byte_code+13955>, 0x61e4f2 <exec_byte_code+6211>, 0x6210bd
> <exec_byte_code+17422>,
>           0x62037b <exec_byte_code+14028>, 0x6203cc
> <exec_byte_code+14109>, 0x620415 <exec_byte_code+14182>, 0x62045e
> <exec_byte_code+14255>,
>           0x6204cd <exec_byte_code+14366>, 0x62053c
> <exec_byte_code+14477>, 0x620585 <exec_byte_code+14550>, 0x62067b
> <exec_byte_code+14796>,
>           0x6206ea <exec_byte_code+14907>, 0x620759
> <exec_byte_code+15018>, 0x6207c8 <exec_byte_code+15129>, 0x62080c
> <exec_byte_code+15197>,
>           0x6210bd <exec_byte_code+17422>, 0x61e426
> <exec_byte_code+6007>, 0x61d9a8 <exec_byte_code+3321>, 0x61d20e
> <exec_byte_code+1375>,
>           0x61dab6 <exec_byte_code+3591>, 0x61dbf4
> <exec_byte_code+3909>, 0x61dd26 <exec_byte_code+4215>, 0x61e3ab
> <exec_byte_code+5884>,
>           0x61e3f1 <exec_byte_code+5954>, 0x61d6cd
> <exec_byte_code+2590>, 0x61e4b3 <exec_byte_code+6148>, 0x61e524
> <exec_byte_code+6261>,
>           0x61e5b1 <exec_byte_code+6402>, 0x61e5f0
> <exec_byte_code+6465>, 0x61e919 <exec_byte_code+7274>, 0x61e99b
> <exec_byte_code+7404>,
>           0x61ea2d <exec_byte_code+7550>, 0x61ea97
> <exec_byte_code+7656>, 0x61d962 <exec_byte_code+3251>, 0x620855
> <exec_byte_code+15270>,
>           0x6208e7 <exec_byte_code+15416>, 0x620930
> <exec_byte_code+15489>, 0x620979 <exec_byte_code+15562>, 0x6209c2
> <exec_byte_code+15635>,
>           0x620a0b <exec_byte_code+15708>, 0x620a7a
> <exec_byte_code+15819>, 0x620ae9 <exec_byte_code+15930>, 0x620b58
> <exec_byte_code+16041>,
>           0x620bc7 <exec_byte_code+16152>, 0x620d14
> <exec_byte_code+16485>, 0x620d83 <exec_byte_code+16596>, 0x620df2
> <exec_byte_code+16707>,
>           0x620e3b <exec_byte_code+16780>, 0x620eaa
> <exec_byte_code+16891>, 0x620f13 <exec_byte_code+16996>, 0x620f64
> <exec_byte_code+17077>,
>           0x620fb5 <exec_byte_code+17158>, 0x61fd3c
> <exec_byte_code+12429>, 0x61fd8f <exec_byte_code+12512>, 0x621008
> <exec_byte_code+17241>,
>           0x621065 <exec_byte_code+17334>, 0x6210bd
> <exec_byte_code+17422>, 0x61de58 <exec_byte_code+4521>, 0x61df39
> <exec_byte_code+4746>,
>           0x61e056 <exec_byte_code+5031>, 0x61e173
> <exec_byte_code+5316>, 0x61e28f <exec_byte_code+5600>, 0x61efb9
> <exec_byte_code+8970>,
>           0x61f4f6 <exec_byte_code+10311>, 0x61fef5
> <exec_byte_code+12870>, 0x621287 <exec_byte_code+17880>, 0x6212fa
> <exec_byte_code+17995>,
>           0x6210bd <exec_byte_code+17422>, 0x6210bd
> <exec_byte_code+17422>, 0x621394 <exec_byte_code+18149>, 0x6210bd
> <exec_byte_code+17422>,
>           0x6210bd <exec_byte_code+17422>, 0x6210bd
> <exec_byte_code+17422>, 0x6210bd <exec_byte_code+17422>, 0x6210bd
> <exec_byte_code+17422>,
>           0x6210bd <exec_byte_code+17422>, 0x6210bd
> <exec_byte_code+17422>, 0x6210bd <exec_byte_code+17422>, 0x6210bd
> <exec_byte_code+17422>,
>           0x62142e <exec_byte_code+18303> <repeats 64 times>}
>         count = 4
>         op = 1
>         vectorp = 0x123c148
>         stack = {pc = 0xd1b8ff "\210\rA\211\025\204\031", byte_string
> = 14716561, byte_string_start = 0xd1b8e0 "\306\307 !\205,", next =
> 0x0}
>         top = 0x7fffffffd858
>         result = 36039142
>         type = (CONDITION_CASE | unknown: 3139642222)
> #11 0x00000000005dc02f in funcall_lambda (fun=19120549, nargs=0,
> arg_vector=0x123c145) at eval.c:3049
>         val = 51575646694
>         syms_left = 12869810
>         next = 6134623
>         lexenv = 12869810
>         count = 4
>         i = 0
>         optional = false
>         rest = false
> #12 0x00000000005db83d in Ffuncall (nargs=1, args=0x7fffffffdd48) at 
> eval.c:2864
>         fun = 19120549
>         original_fun = 13774850
>         funcar = 140737488346416
>         numargs = 0
>         lisp_numargs = 9354953
>         val = 36039142
>         internal_args = 0x0
>         i = 3
> #13 0x00000000005daf8f in call0 (fn=13774850) at eval.c:2599
>         ret_ungc_val = 36039142
>         gcpro1 = {next = 0x7fffffffde20, var = 0x5fcf08
> <print_error_message+156>, nvars = 25786756866}
> #14 0x00000000005477aa in safe_run_hooks_1 () at keyboard.c:1875
> No locals.
> #15 0x00000000005d84c4 in internal_condition_case (bfun=0x54778f
> <safe_run_hooks_1>, handlers=12869858, hfun=0x5477ac
> <safe_run_hooks_error>) at eval.c:1354
>         val = 36039110
>         c = 0x1411d40
> #16 0x0000000000547a20 in safe_run_hook_funcall (nargs=1,
> args=0x7fffffffde88) at keyboard.c:1930
> No locals.
> #17 0x00000000005dae34 in run_hook_with_args (nargs=1,
> args=0x7fffffffde88, funcall=0x5479ad <safe_run_hook_funcall>) at
> eval.c:2544
>         global_vals = 36044854
>         sym = 12910114
>         val = 31125590
>         ret = 12869810
>         gcpro1 = {next = 0xc651f0, var = 0xc460b2, nvars = 
> 140737488346848}
>         gcpro2 = {next = 0xc651f0, var = 0xc460b2, nvars = 
> 140737488346848}
>         gcpro3 = {next = 0xc651f0, var = 0xc460b2, nvars = 
> 140737488346848}
> #18 0x0000000000547a6a in safe_run_hooks (hook=13774850) at 
> keyboard.c:1947
>         count = 2
> #19 0x0000000000546169 in command_loop_1 () at keyboard.c:1365
>         cmd = 140737488346880
>         keybuf = {0, 12869810, 0, 0, 4, 16953090, 12917362, 36040534,
> 9340897, 16953090, 140737488347024, 5528527, 140737488347072,
> 36040534, 140737488347024, 0,
>           140737488347152, 5528287, 140737488347104, 36040534,
> 12869810, 12869810, 12998144, 12869810, 0, 0, 140737488347152,
> 6134202, 12869810, -4962083403581633280}
>         i = 0
>         prev_modiff = 0
>         prev_buffer = 0x0
>         already_adjusted = false
> #20 0x00000000005d84c4 in internal_condition_case (bfun=0x54608b
> <command_loop_1>, handlers=12921474, hfun=0x54597a <cmd_error>) at
> eval.c:1354
>         val = 21044240
>         c = 0x1411c10
> #21 0x0000000000545de5 in command_loop_2 (ignore=12869810) at 
> keyboard.c:1177
>         val = 0
> #22 0x00000000005d7cd6 in internal_catch (tag=12917490, func=0x545dbf
> <command_loop_2>, arg=12869810) at eval.c:1118
>         val = 12869810
>         c = 0x1411ae0
> #23 0x0000000000545d93 in command_loop () at keyboard.c:1156
> No locals.
> #24 0x0000000000545575 in recursive_edit_1 () at keyboard.c:777
>         count = 1
>         val = 5527290
> #25 0x00000000005456e2 in Frecursive_edit () at keyboard.c:848
>         count = 0
>         buffer = 12869810
> #26 0x00000000005436f4 in main (argc=1, argv=0x7fffffffe318) at 
> emacs.c:1646
>         dummy = 140737354130720
>         stack_bottom_variable = 0 '\000'
>         do_initial_setlocale = true
>         dumping = false
>         skip_args = 0
>         rlim = {rlim_cur = 8720000, rlim_max = 18446744073709551615}
>         no_loadup = false
>         junk = 0x0
>         dname_arg = 0x0
>         ch_to_dir = 0xf63d4e2e <error: Cannot access memory at address
> 0xf63d4e2e>
>         original_pwd = 0x0
> 
> 
> In GNU Emacs 24.3.92.8 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.8)
>  of 2014-07-31 on zz
> Windowing system distributor `The X.Org Foundation', version 
> 11.0.11501000
> System Description:	Ubuntu 14.04 LTS
> 
> Configured using:
>  `configure --enable-checking=glyphs --with-m17n-flt --with-libotf
>  'CFLAGS=-g -O0''
> 
> Important settings:
>   value of $LC_CTYPE: en_US.UTF-8
>   value of $LANG: en_US.UTF-8
>   value of $XMODIFIERS: @im=ibus
>   locale-coding-system: utf-8-unix
> 
> Major mode: Lisp Interaction
> 
> Minor modes in effect:
>   eldoc-mode: t
>   global-semanticdb-minor-mode: t
>   global-semantic-idle-scheduler-mode: t
>   electric-pair-mode: t
>   desktop-save-mode: t
>   semantic-mode: t
>   shell-dirtrack-mode: t
>   savehist-mode: t
>   winner-mode: t
>   tooltip-mode: t
>   electric-indent-mode: t
>   mouse-wheel-mode: t
>   file-name-shadow-mode: t
>   global-font-lock-mode: t
>   font-lock-mode: t
>   blink-cursor-mode: t
>   auto-composition-mode: t
>   auto-encryption-mode: t
>   auto-compression-mode: t
>   line-number-mode: t
>   transient-mark-mode: t
> 
> Recent input:
> n M-x r e p o <return>
> 
> Recent messages:
> Warning: desktop file appears to be in use by PID 13887.
> 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:
> /home/zz/.emacs.d/elpa/emms-20140529.1117/tq hides
> /home/zz/src/emacs/lisp/emacs-lisp/tq
> 
> Features:
> (shadow sort gnus-util mail-extr emacsbug message rfc822 mml mml-sec
> mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils
> mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr
> mail-utils smex ido eldoc semantic/db-mode semantic/idle elec-pair
> another-package-autoloads finder-inf clojure-test-mode-autoloads
> cider-autoloads clojure-mode-autoloads debbugs-autoloads
> haskell-mode-autoloads htmlize-autoloads markdown-mode-autoloads
> pkg-info-autoloads epl-autoloads slime-autoloads dash-autoloads info
> w3m-autoloads win-switch-autoloads desktop frameset semantic/bovine/el
> thingatpt semantic/format semantic/tag-ls semantic/find semantic/ctxt
> semantic/db-el eieio-opt help-mode speedbar sb-image ezimage dframe
> semantic/db gv eieio-base semantic/bovine semantic/util-modes
> semantic/util semantic semantic/tag semantic/lex semantic/fw eieio
> eieio-core mode-local cedet ob-lisp ob-java ob-python ob-ruby ob-sh
> shell ob-clojure org byte-opt bytecomp byte-compile cconv advice
> help-fns org-macro org-footnote org-pcomplete pcomplete org-list
> org-faces org-entities noutline outline easy-mmode org-version
> ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys 
> ob-exp
> ob-comint comint ansi-color ob-core ob-eval org-compat org-macs
> org-loaddefs format-spec find-func cal-menu easymenu calendar
> cal-loaddefs edmacro kmacro cl-loaddefs cl-lib savehist winner ring
> package tango-dark-theme time-date tooltip electric uniquify ediff-hook
> vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image
> regexp-opt fringe tabulated-list newcomment lisp-mode prog-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 nadvice
> loaddefs button faces cus-face macroexp files text-properties overlay
> sha1 md5 base64 format env code-pages mule custom widget
> hashtable-print-readable backquote make-network-process dbusbind
> gfilenotify dynamic-setting system-font-setting font-render-setting
> move-toolbar gtk x-toolkit x multi-tty emacs)
> 
> Memory information:
> ((conses 16 211053 8665)
>  (symbols 48 31825 0)
>  (miscs 40 75 112)
>  (strings 32 57174 7616)
>  (string-bytes 1 1791343)
>  (vectors 16 24940)
>  (vector-slots 8 543570 4581)
>  (floats 8 124 345)
>  (intervals 56 342 0)
>  (buffers 960 11)
>  (heap 1024 31057 1404))





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

* bug#18161: 24.3.92; Crash in do_switch_frame
  2014-07-31 21:49 bug#18161: 24.3.92; Crash in do_switch_frame Mat Smiglarski
  2014-07-31 23:05 ` Mat Smiglarski
@ 2014-08-01  5:23 ` Dmitry Antipov
  2014-08-02 15:05   ` Mat Smiglarski
  1 sibling, 1 reply; 15+ messages in thread
From: Dmitry Antipov @ 2014-08-01  5:23 UTC (permalink / raw)
  To: Mat Smiglarski; +Cc: 18161

On 08/01/2014 01:49 AM, Mat Smiglarski wrote:

> Emacs consistently crashes soon after startup when executing a particular function
> which happens to open a new frame.

Hm, I can't reproduce this on trunk, as well as on emacs-24 branch.

> Perhaps the backtrace has enough information, if not then let me know.

You should include Lisp backtrace as well.  Read etc/DEBUG on how to obtain it.

Dmitry






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

* bug#18161: 24.3.92; Crash in do_switch_frame
  2014-08-01  5:23 ` Dmitry Antipov
@ 2014-08-02 15:05   ` Mat Smiglarski
  2014-08-02 17:22     ` Dmitry Antipov
  2014-08-02 19:19     ` Eli Zaretskii
  0 siblings, 2 replies; 15+ messages in thread
From: Mat Smiglarski @ 2014-08-02 15:05 UTC (permalink / raw)
  To: Dmitry Antipov; +Cc: 18161

On 2014-08-01 06:23, Dmitry Antipov wrote:
> You should include Lisp backtrace as well.  Read etc/DEBUG on how to 
> obtain it.

Lisp Backtrace:
"select-frame" (0xffffd9c0)
"winner-configuration" (0xffffdb60)
"winner-insert-if-new" (0xffffdd20)
"winner-save-old-configurations" (0xffffdec0)

#0  0x00000000004bcb48 in x_get_focus_frame 
(frame=frame@entry=0x1cd10f0)
     at xfns.c:3326
#1  0x000000000041f2a5 in do_switch_frame (frame=30216437, 
track=track@entry=1,
     for_deletion=for_deletion@entry=0, norecord=15520354) at frame.c:839
#2  0x000000000041f525 in Fselect_frame (frame=<optimized out>,
     norecord=<optimized out>) at frame.c:913
#3  0x000000000053e55c in Ffuncall (nargs=nargs@entry=3,
     args=args@entry=0x7fffffffd9b8) at eval.c:2818
#4  0x000000000056de91 in exec_byte_code (bytestr=<optimized out>,
     vector=18244613, maxdepth=<optimized out>, args_template=<optimized 
out>,
     nargs=nargs@entry=0, args=<optimized out>, args@entry=0x0) at 
bytecode.c:916
#5  0x000000000053e2ce in funcall_lambda (fun=18244701, 
nargs=nargs@entry=1,
     arg_vector=arg_vector@entry=0x7fffffffdb60) at eval.c:3049
#6  0x000000000053e684 in Ffuncall (nargs=nargs@entry=2,
     args=args@entry=0x7fffffffdb58) at eval.c:2864
#7  0x000000000056de91 in exec_byte_code (bytestr=<optimized out>,
     vector=18244973, maxdepth=<optimized out>, args_template=<optimized 
out>,
     nargs=nargs@entry=0, args=<optimized out>, args@entry=0x0) at 
bytecode.c:916
#8  0x000000000053e2ce in funcall_lambda (fun=18245117, 
nargs=nargs@entry=1,
     arg_vector=arg_vector@entry=0x7fffffffdd20) at eval.c:3049
#9  0x000000000053e684 in Ffuncall (nargs=nargs@entry=2,
     args=args@entry=0x7fffffffdd18) at eval.c:2864
#10 0x000000000056de91 in exec_byte_code (bytestr=<optimized out>,
     vector=18248437, maxdepth=<optimized out>, args_template=<optimized 
out>,
     nargs=nargs@entry=0, args=<optimized out>, args@entry=0x0) at 
bytecode.c:916
#11 0x000000000053e2ce in funcall_lambda (fun=18248533, 
nargs=nargs@entry=0,
     arg_vector=arg_vector@entry=0x7fffffffdec0) at eval.c:3049
#12 0x000000000053e684 in Ffuncall (nargs=nargs@entry=1,
     args=args@entry=0x7fffffffdeb8) at eval.c:2864
#13 0x000000000053e801 in call0 (fn=15013026) at eval.c:2599
#14 0x00000000004d7293 in safe_run_hooks_1 () at keyboard.c:1875
#15 0x000000000053cd4b in internal_condition_case (
     bfun=bfun@entry=0x4d727f <safe_run_hooks_1>, handlers=12001506,
     hfun=hfun@entry=0x4d8758 <safe_run_hooks_error>) at eval.c:1354
#16 0x00000000004d72db in safe_run_hook_funcall (nargs=<optimized out>,
     args=<optimized out>) at keyboard.c:1930
#17 0x000000000053d2b6 in run_hook_with_args (nargs=nargs@entry=1,
     args=args@entry=0x7fffffffdf68,
     funcall=funcall@entry=0x4d7298 <safe_run_hook_funcall>) at 
eval.c:2544
#18 0x00000000004dbe6c in safe_run_hooks (hook=15013026) at 
keyboard.c:1947
#19 0x00000000004e37dd in command_loop_1 () at keyboard.c:1365
#20 0x000000000053cd4b in internal_condition_case (
     bfun=bfun@entry=0x4e3754 <command_loop_1>, handlers=12053026,
     hfun=hfun@entry=0x4dbcd4 <cmd_error>) at eval.c:1354
#21 0x00000000004d708f in command_loop_2 (ignore=ignore@entry=12001458)
     at keyboard.c:1177
#22 0x000000000053cc2c in internal_catch (tag=12048962,
     func=func@entry=0x4d7075 <command_loop_2>, arg=12001458) at 
eval.c:1118
#23 0x00000000004d7027 in command_loop () at keyboard.c:1156
#24 0x00000000004db94a in recursive_edit_1 () at keyboard.c:777
#25 0x00000000004dbc1a in Frecursive_edit () at keyboard.c:848
#26 0x00000000004d6aba in main (argc=<optimized out>, 
argv=0x7fffffffe2b8)
     at emacs.c:1646

(gdb) print frame->output_data
$1 = {
   tty = 0x0,
   x = 0x0,
   w32 = 0x0,
   ns = 0x0,
   nothing = 0
}






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

* bug#18161: 24.3.92; Crash in do_switch_frame
  2014-08-02 15:05   ` Mat Smiglarski
@ 2014-08-02 17:22     ` Dmitry Antipov
  2014-08-02 17:40       ` Mat Smiglarski
  2014-08-02 19:19     ` Eli Zaretskii
  1 sibling, 1 reply; 15+ messages in thread
From: Dmitry Antipov @ 2014-08-02 17:22 UTC (permalink / raw)
  To: Mat Smiglarski; +Cc: 18161

On 08/02/2014 07:05 PM, Mat Smiglarski wrote:

> Lisp Backtrace:
> "select-frame" (0xffffd9c0)
> "winner-configuration" (0xffffdb60)
> "winner-insert-if-new" (0xffffdd20)
> "winner-save-old-configurations" (0xffffdec0)

OK.  So the problem is caused by winner-mode.  Since this bug's "Recent input"
isn't too informative, I should ask about how you're running winner-mode.
Do you have it enabled in your .emacs?

Dmitry






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

* bug#18161: 24.3.92; Crash in do_switch_frame
  2014-08-02 17:22     ` Dmitry Antipov
@ 2014-08-02 17:40       ` Mat Smiglarski
  2014-08-02 19:00         ` Mat Smiglarski
  2014-08-02 19:02         ` Eli Zaretskii
  0 siblings, 2 replies; 15+ messages in thread
From: Mat Smiglarski @ 2014-08-02 17:40 UTC (permalink / raw)
  To: Dmitry Antipov; +Cc: 18161

On 2014-08-02 18:22, Dmitry Antipov wrote:
> On 08/02/2014 07:05 PM, Mat Smiglarski wrote:
> 
>> Lisp Backtrace:
>> "select-frame" (0xffffd9c0)
>> "winner-configuration" (0xffffdb60)
>> "winner-insert-if-new" (0xffffdd20)
>> "winner-save-old-configurations" (0xffffdec0)
> 
> OK.  So the problem is caused by winner-mode.  Since this bug's "Recent 
> input"
> isn't too informative, I should ask about how you're running 
> winner-mode.
> Do you have it enabled in your .emacs?

Here is my .emacs and this should be enough to reproduce the segfault at 
startup.

(winner-mode)
(make-frame '((left . unbound-symbol)))

Here is a better backtrace:

(gdb) bt full 4
#0  0x000000000051b898 in x_get_focus_frame (frame=0x12639d8) at 
xfns.c:3326
         dpyinfo = 0x53d676 <FRAMEP+29>
         xfocus = 19282397
#1  0x0000000000423dab in do_switch_frame (frame=19282397, track=1, 
for_deletion=0,
     norecord=16355938) at frame.c:839
         focus = 9294128
         xfocus = 42959566609
         sf = 0x11f32d8
#2  0x0000000000424052 in Fselect_frame (frame=19282397, 
norecord=16355938) at frame.c:913
No locals.
#3  0x00000000005d93a1 in Ffuncall (nargs=3, args=0x7fffffffce08) at 
eval.c:2818
         fun = 9294133
         original_fun = 13019330
         funcar = 6136289
         numargs = 2
         lisp_numargs = 140737488342512
         val = 140737488342480
         internal_args = 0x7fffffffce10
         i = 5495648
(More stack frames follow...)

Lisp Backtrace:
"select-frame" (0xffffce10)
"winner-configuration" (0xffffd300)
"winner-insert-if-new" (0xffffd810)
"winner-save-old-configurations" (0xffffdd00)







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

* bug#18161: 24.3.92; Crash in do_switch_frame
  2014-08-02 17:40       ` Mat Smiglarski
@ 2014-08-02 19:00         ` Mat Smiglarski
  2014-08-02 19:08           ` Eli Zaretskii
  2014-08-02 19:02         ` Eli Zaretskii
  1 sibling, 1 reply; 15+ messages in thread
From: Mat Smiglarski @ 2014-08-02 19:00 UTC (permalink / raw)
  To: Mat Smiglarski; +Cc: Dmitry Antipov, 18161

Here is a similar segfault but without the winner-mode dependency. 
`crash-frames' is analogous to `winner-modified-list'.

1. Start emacs

$ emacs -Q

2. Type the following into the scratch buffer:

(defvar crash-frame-list nil)

(defun debug-hook-post-command ()
   (dolist (frame crash-frame-list)
     (print (frame-parameters frame) #'external-debugging-output)))

(defun debug-hook-window-configuration-change ()
   (push (selected-frame) crash-frame-list))

(add-hook 'post-command-hook 'debug-hook-post-command)
(add-hook 'window-configuration-change-hook 
'debug-hook-window-configuration-change)

(make-frame '((left . unbound-symbol)))

3. M-x eval-buffer

A segfault now occurs with the following trace

(gdb) set args -Q
(gdb) r
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /home/zz/src/emacs/src/emacs -Q
[Thread debugging using libthread_db enabled]
Using host libthread_db library 
"/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffeb5f3700 (LWP 3426)]
[New Thread 0x7fffea56c700 (LWP 3427)]
[New Thread 0x7fffe9d1b700 (LWP 3428)]

Program received signal SIGSEGV, Segmentation fault.
0x0000000000428cc4 in x_report_frame_params (f=0x1273ad8, 
alistptr=0x7fffffffd510)
     at frame.c:3142
(gdb) bt full 3
#0  0x0000000000428cc4 in x_report_frame_params (f=0x1273ad8, 
alistptr=0x7fffffffd510)
     at frame.c:3142
         tem = 0
         w = 12837042
         buf = 
"\302\232\306\000\000\000\000\000\020\325\377\377\377\177\000\000~\325S\000"
#1  0x0000000000426abc in Fframe_parameters (frame=19348189) at 
frame.c:2231
         alist = 16730822
         f = 0x1273ad8
         height = 35
         width = 80
         gcpro1 = {
           next = 0xff4ac6,
           var = 0x5dca93 <Flength+351>,
           nvars = 9295184
         }
#2  0x00000000005d7f34 in eval_sub (form=16694998) at eval.c:2185
         numargs = 4
         args_left = 12837042
         i = 1
         maxargs = 1
         argvals = {19348189, 140737488344624, 12837042, 12837042, 
140737488344672, 6146707,
           12229408, 16694934}
         fun = 9295189
         val = 0
         original_fun = 13020274
         original_args = 16694950
         funcar = 2
         gcpro1 = {
           next = 0x1273add,
           var = 0x7fffffffd630,
           nvars = 12837042
         }
         gcpro2 = {
           next = 0x1273add,
           var = 0x7fffffffd630,
           nvars = 12837042
         }
         gcpro3 = {
           next = 0x7fffffffd600,
           var = 0x7fffffffd610,
           nvars = 1
         }
(More stack frames follow...)

Lisp Backtrace:
"frame-parameters" (0xffffd610)
"print" (0xffffd6a0)
"while" (0xffffd860)
"let" (0xffffdaa0)
"debug-hook-post-command" (0xffffdcf0)



On 2014-08-02 18:40, Mat Smiglarski wrote:
> On 2014-08-02 18:22, Dmitry Antipov wrote:
>> On 08/02/2014 07:05 PM, Mat Smiglarski wrote:
>> 
>>> Lisp Backtrace:
>>> "select-frame" (0xffffd9c0)
>>> "winner-configuration" (0xffffdb60)
>>> "winner-insert-if-new" (0xffffdd20)
>>> "winner-save-old-configurations" (0xffffdec0)
>> 
>> OK.  So the problem is caused by winner-mode.  Since this bug's 
>> "Recent input"
>> isn't too informative, I should ask about how you're running 
>> winner-mode.
>> Do you have it enabled in your .emacs?
> 
> Here is my .emacs and this should be enough to reproduce the segfault
> at startup.
> 
> (winner-mode)
> (make-frame '((left . unbound-symbol)))
> 
> Here is a better backtrace:
> 
> (gdb) bt full 4
> #0  0x000000000051b898 in x_get_focus_frame (frame=0x12639d8) at 
> xfns.c:3326
>         dpyinfo = 0x53d676 <FRAMEP+29>
>         xfocus = 19282397
> #1  0x0000000000423dab in do_switch_frame (frame=19282397, track=1,
> for_deletion=0,
>     norecord=16355938) at frame.c:839
>         focus = 9294128
>         xfocus = 42959566609
>         sf = 0x11f32d8
> #2  0x0000000000424052 in Fselect_frame (frame=19282397,
> norecord=16355938) at frame.c:913
> No locals.
> #3  0x00000000005d93a1 in Ffuncall (nargs=3, args=0x7fffffffce08) at 
> eval.c:2818
>         fun = 9294133
>         original_fun = 13019330
>         funcar = 6136289
>         numargs = 2
>         lisp_numargs = 140737488342512
>         val = 140737488342480
>         internal_args = 0x7fffffffce10
>         i = 5495648
> (More stack frames follow...)
> 
> Lisp Backtrace:
> "select-frame" (0xffffce10)
> "winner-configuration" (0xffffd300)
> "winner-insert-if-new" (0xffffd810)
> "winner-save-old-configurations" (0xffffdd00)





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

* bug#18161: 24.3.92; Crash in do_switch_frame
  2014-08-02 17:40       ` Mat Smiglarski
  2014-08-02 19:00         ` Mat Smiglarski
@ 2014-08-02 19:02         ` Eli Zaretskii
  1 sibling, 0 replies; 15+ messages in thread
From: Eli Zaretskii @ 2014-08-02 19:02 UTC (permalink / raw)
  To: Mat Smiglarski; +Cc: dmantipov, 18161

> Date: Sat, 02 Aug 2014 18:40:59 +0100
> From: Mat Smiglarski <penthief@SDF.ORG>
> Cc: 18161@debbugs.gnu.org
> 
> Here is my .emacs and this should be enough to reproduce the segfault at 
> startup.
> 
> (winner-mode)
> (make-frame '((left . unbound-symbol)))

FWIW, I cannot reproduce the problem with this .emacs.  I get a
*Warnings* window saying

  Warning (initialization): An error occurred while loading `/foo/bar/.emacs':

  Wrong type argument: integerp, unbound-symbol

  To ensure normal operation, you should investigate and remove the
  cause of the error in your initialization file.  Start Emacs with
  the `--debug-init' option to view a complete error backtrace.





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

* bug#18161: 24.3.92; Crash in do_switch_frame
  2014-08-02 19:00         ` Mat Smiglarski
@ 2014-08-02 19:08           ` Eli Zaretskii
  2014-08-03  7:22             ` Dmitry Antipov
  0 siblings, 1 reply; 15+ messages in thread
From: Eli Zaretskii @ 2014-08-02 19:08 UTC (permalink / raw)
  To: Mat Smiglarski; +Cc: dmantipov, 18161

> Date: Sat, 02 Aug 2014 20:00:16 +0100
> From: Mat Smiglarski <penthief@SDF.ORG>
> Cc: Dmitry Antipov <dmantipov@yandex.ru>, 18161@debbugs.gnu.org
> 
> $ emacs -Q
> 
> 2. Type the following into the scratch buffer:
> 
> (defvar crash-frame-list nil)
> 
> (defun debug-hook-post-command ()
>    (dolist (frame crash-frame-list)
>      (print (frame-parameters frame) #'external-debugging-output)))
> 
> (defun debug-hook-window-configuration-change ()
>    (push (selected-frame) crash-frame-list))
> 
> (add-hook 'post-command-hook 'debug-hook-post-command)
> (add-hook 'window-configuration-change-hook 
> 'debug-hook-window-configuration-change)
> 
> (make-frame '((left . unbound-symbol)))
> 
> 3. M-x eval-buffer
> 
> A segfault now occurs with the following trace

I still see no crash, only an error message about wrong-type-argument.





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

* bug#18161: 24.3.92; Crash in do_switch_frame
  2014-08-02 15:05   ` Mat Smiglarski
  2014-08-02 17:22     ` Dmitry Antipov
@ 2014-08-02 19:19     ` Eli Zaretskii
  1 sibling, 0 replies; 15+ messages in thread
From: Eli Zaretskii @ 2014-08-02 19:19 UTC (permalink / raw)
  To: Mat Smiglarski; +Cc: dmantipov, 18161

Btw, this part of one of your backtraces:

> (gdb) print frame->output_data
> $1 = {
>    tty = 0x0,
>    x = 0x0,
>    w32 = 0x0,
>    ns = 0x0,
>    nothing = 0
> }

seems to hint that either 'frame' is an initial frame, or (more
likely) it is a deleted frame.





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

* bug#18161: 24.3.92; Crash in do_switch_frame
  2014-08-02 19:08           ` Eli Zaretskii
@ 2014-08-03  7:22             ` Dmitry Antipov
  2014-08-03  9:08               ` martin rudalics
  0 siblings, 1 reply; 15+ messages in thread
From: Dmitry Antipov @ 2014-08-03  7:22 UTC (permalink / raw)
  To: Mat Smiglarski; +Cc: 18161

On 08/02/2014 11:08 PM, Eli Zaretskii wrote:

> I still see no crash, only an error message about wrong-type-argument.

Reproduced.  This is X-specific so you don't see a crash on MS-Windows.
Should be fixed in emacs-24 in r117423.

Dmitry






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

* bug#18161: 24.3.92; Crash in do_switch_frame
  2014-08-03  7:22             ` Dmitry Antipov
@ 2014-08-03  9:08               ` martin rudalics
  2014-08-03  9:34                 ` martin rudalics
  2014-08-03 20:34                 ` Glenn Morris
  0 siblings, 2 replies; 15+ messages in thread
From: martin rudalics @ 2014-08-03  9:08 UTC (permalink / raw)
  To: Dmitry Antipov, Mat Smiglarski; +Cc: 18161

> Reproduced.  This is X-specific so you don't see a crash on MS-Windows.
> Should be fixed in emacs-24 in r117423.

Thanks Dmitry.  I fixed this for the Windows build and forgot about X.

Can you please mark this so it doesn't get merged to trunk?  There
f->official nil should prevent calling hooks at this stage.

Thanks again, martin









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

* bug#18161: 24.3.92; Crash in do_switch_frame
  2014-08-03  9:08               ` martin rudalics
@ 2014-08-03  9:34                 ` martin rudalics
  2014-08-03 20:34                 ` Glenn Morris
  1 sibling, 0 replies; 15+ messages in thread
From: martin rudalics @ 2014-08-03  9:34 UTC (permalink / raw)
  To: Dmitry Antipov, Mat Smiglarski; +Cc: 18161

> Thanks Dmitry.  I fixed this for the Windows build and forgot about X.
>
> Can you please mark this so it doesn't get merged to trunk?  There
> f->official nil should prevent calling hooks at this stage.
               ^^^
               false

> Thanks again, martin






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

* bug#18161: 24.3.92; Crash in do_switch_frame
  2014-08-03  9:08               ` martin rudalics
  2014-08-03  9:34                 ` martin rudalics
@ 2014-08-03 20:34                 ` Glenn Morris
  2014-08-04 17:22                   ` martin rudalics
  1 sibling, 1 reply; 15+ messages in thread
From: Glenn Morris @ 2014-08-03 20:34 UTC (permalink / raw)
  To: martin rudalics; +Cc: Mat Smiglarski, Dmitry Antipov, 18161

martin rudalics wrote:

> Can you please mark this so it doesn't get merged to trunk?

There's no way to do that after the fact (except by merging up to that
revision yourself, so that someone else does not have to sort it out).
I did as you asked, hope the results make sense.





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

* bug#18161: 24.3.92; Crash in do_switch_frame
  2014-08-03 20:34                 ` Glenn Morris
@ 2014-08-04 17:22                   ` martin rudalics
  0 siblings, 0 replies; 15+ messages in thread
From: martin rudalics @ 2014-08-04 17:22 UTC (permalink / raw)
  To: Glenn Morris; +Cc: Mat Smiglarski, Dmitry Antipov, 18161

 >> Can you please mark this so it doesn't get merged to trunk?
 >
 > There's no way to do that after the fact (except by merging up to that
 > revision yourself, so that someone else does not have to sort it out).
 > I did as you asked, hope the results make sense.

Looks good.  Thank you very much.

martin





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

end of thread, other threads:[~2014-08-04 17:22 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-31 21:49 bug#18161: 24.3.92; Crash in do_switch_frame Mat Smiglarski
2014-07-31 23:05 ` Mat Smiglarski
2014-08-01  5:23 ` Dmitry Antipov
2014-08-02 15:05   ` Mat Smiglarski
2014-08-02 17:22     ` Dmitry Antipov
2014-08-02 17:40       ` Mat Smiglarski
2014-08-02 19:00         ` Mat Smiglarski
2014-08-02 19:08           ` Eli Zaretskii
2014-08-03  7:22             ` Dmitry Antipov
2014-08-03  9:08               ` martin rudalics
2014-08-03  9:34                 ` martin rudalics
2014-08-03 20:34                 ` Glenn Morris
2014-08-04 17:22                   ` martin rudalics
2014-08-02 19:02         ` Eli Zaretskii
2014-08-02 19:19     ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).