[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Emacs-21.2 + emacs-w3m compile 時の core



  菅です。

  以前、emacs-w3m を emacs21.2 でコンパイルすると core を吐くという問題

syrinx:can% make EMACS=/opt/Emacs21/bin/emacs 
env test ! -f w3m-util.elc -o w3m-util.elc -nt w3m-util.el || make clean
env test ! -f w3m-proc.elc -o w3m-proc.elc -nt w3m-proc.el || make clean
/opt/Emacs21/bin/emacs -q -no-site-file -batch -l w3mhack.el NONE -f w3mhack-compile
:
:
Wrote /export/home/syrinx/can/work/Emacs/W3/emacs-w3m/w3m-dtree.elc
While compiling toplevel forms in file /export/home/syrinx/can/work/Emacs/W3/emacs-w3m/w3m-filter.el:
  !! End of file during parsing
Fatal error (6).*** Signal 6 - core dumped
make: Fatal error: Command failed for target `default'
syrinx:can% 

  を emacs-w3m に載せましたが、他の人は落ちていないようでした。

  そこで core を吐くので emacs 側の問題か?と、考え、Emacs 21.2 を
  最初から入れ直し、configure を

./configure --with-x --with-x-toolkit --with-x-app-default-path=/usr/openwin/lib/locale/ja/app-defaults --x-includes="/usr/openwin/include:/opt/NSUG98/include:/opt/NSUG98/X11R6.4/include" --x-libraries="/usr/openwin/lib:/opt/NSUG98/lib:/opt/local/lib:/opt/NSUG98/X11R6.4/lib" --prefix=/opt/Emacs21 --bindir=/opt/Emacs21/bin --with-pop --with-xpm  --with-jpeg  --with-tiff --with-gif --with-png --with-toolkit-scroll-bars

  で、コンパイルしてみました。が、やはり出来上がったemacs-21.2 で emacs-w3m の
  compile で core を吐きます。

gdb /opt/Emacs21/bin/emacs core

  で、立ち上げて見ると以下(最後につけます)のようになります。

  Emacs-21.2 側で何かする(パッチが足りないとか)ことがあるんでしょうか?
  Emacs-21.2 には追加したパッチは特にありません。

  因みに、 emacs-w3m で一度 core を吐いた後再度(make clean せずに) emacs-w3mを
  compile すると次はちゃんとコンパイルできてしまいます。
  
(gdb) where
#0  0xfed9c71c in ?? ()
#1  0xfed9b748 in ?? ()
#2  0x000d7d4c in abort () at emacs.c:387
#3  0x000fe228 in buf_charpos_to_bytepos (b=0x66fe00, charpos=35)
    at marker.c:141
#4  0x000fe1f4 in charpos_to_bytepos (charpos=35) at marker.c:128
#5  0x000fafa8 in move_gap (charpos=35) at insdel.c:112
#6  0x00109308 in Finsert_file_contents (filename=811986180, visit=271223812, 
    beg=0, end=42351, replace=271223812) at fileio.c:4187
#7  0x0013e2b4 in Ffuncall (nargs=-4272136, args=0xffbed098) at eval.c:2675
#8  0x0016d210 in Fbyte_code (bytestr=-4271976, vector=1076659712, maxdepth=8)
    at bytecode.c:716
#9  0x0013e964 in funcall_lambda (fun=1078784448, nargs=1, 
    arg_vector=0xffbed1c0) at eval.c:2851
#10 0x0013e5e0 in apply_lambda (fun=1078784448, args=1, eval_flag=1)
    at eval.c:2770
#11 0x0013d464 in Feval (form=1347065396) at eval.c:2055
#12 0x0013bd74 in Fcondition_case (args=271223812) at eval.c:1211
#13 0x0013d0d0 in Feval (form=1347065412) at eval.c:1960
#14 0x0013a940 in Fprogn (args=1347065340) at eval.c:431
#15 0x0013b6ac in Fwhile (args=2754560) at eval.c:897
#16 0x0013d0d0 in Feval (form=1347065428) at eval.c:1960
#17 0x0013a940 in Fprogn (args=1346047260) at eval.c:431
#18 0x0013b5f4 in Flet (args=1347061092) at eval.c:875
---Type <return> to continue, or q <return> to quit--- 
#19 0x0013d0d0 in Feval (form=1347061228) at eval.c:1960
#20 0x0013a940 in Fprogn (args=809252964) at eval.c:431
#21 0x0013e8fc in funcall_lambda (fun=1347065268, nargs=0, 
    arg_vector=0xffbedaf4) at eval.c:2844
#22 0x0013e3d8 in Ffuncall (nargs=1, args=0xffbedaf0) at eval.c:2716
#23 0x0016d210 in Fbyte_code (bytestr=-4269328, vector=1076171324, maxdepth=11)
    at bytecode.c:716
#24 0x0013e964 in funcall_lambda (fun=1076169672, nargs=1, 
    arg_vector=0xffbedcbc) at eval.c:2851
#25 0x0013e3d8 in Ffuncall (nargs=2, args=0xffbedcb8) at eval.c:2716
#26 0x0016d210 in Fbyte_code (bytestr=-4268872, vector=1076161580, maxdepth=5)
    at bytecode.c:716
#27 0x0013e964 in funcall_lambda (fun=1076160300, nargs=0, 
    arg_vector=0xffbede6c) at eval.c:2851
#28 0x0013e3d8 in Ffuncall (nargs=1, args=0xffbede68) at eval.c:2716
#29 0x0016d210 in Fbyte_code (bytestr=-4268440, vector=1076156532, maxdepth=5)
    at bytecode.c:716
#30 0x0013e964 in funcall_lambda (fun=1076156364, nargs=0, 
    arg_vector=0xffbedf88) at eval.c:2851
#31 0x0013e5e0 in apply_lambda (fun=1076156364, args=271223812, eval_flag=1)
    at eval.c:2770
#32 0x0013d464 in Feval (form=1346255604) at eval.c:2055
#33 0x000da6b8 in top_level_2 () at keyboard.c:1254
#34 0x0013be70 in internal_condition_case (bfun=0xda6a8 <top_level_2>, 
---Type <return> to continue, or q <return> to quit---
    handlers=271345860, hfun=0xda360 <cmd_error>) at eval.c:1267
#35 0x000da6fc in top_level_1 () at keyboard.c:1262
#36 0x0013b9f4 in internal_catch (tag=271298212, func=0xda6c0 <top_level_1>, 
    arg=271223812) at eval.c:1030
#37 0x000da628 in command_loop () at keyboard.c:1223
#38 0x000da0b4 in recursive_edit_1 () at keyboard.c:950
#39 0x000da220 in Frecursive_edit () at keyboard.c:1006
#40 0x000d8fc4 in main (argc=9, argv=0xffbee5ec, envp=0xffbee508)
    at emacs.c:1547
(gdb) 
-- 

					ADVANTEST corp.
					Taiji.Can@grd.advantest.co.jp