bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#15364: 24.3; git emacs segfault on loading local wubi phrases


From: Eric Abrahamsen
Subject: bug#15364: 24.3; git emacs segfault on loading local wubi phrases
Date: Fri, 13 Sep 2013 15:35:58 +0800
User-agent: Notmuch/0.16+60~gf3dc5be (http://notmuchmail.org) Emacs/24.3.1 (i686-pc-linux-gnu)

I'm sending this report from emacs as it exists in archlinux's package
system, but it's actually for the git version of emacs (updated "Fri Sep
13 15:21:28 2013")

I find that git emacs segfaults when loading a local phrase file for the
wubi input method, which is an alternate Chinese-language input method
you can find here: http://daiyuwen.freeshell.org/gb/wubi/wubi.html

I am using the most recent version of the library found at that link.

Loading the library works fine, but wubi provides for keeping your own
file of input phrases, so as to customize input. In my case the file
looks like this:

;;;; Generated by Wubi input method. Please don't modify it.

(wubi-batch-add nil
"派出所"
"外国人"
"工期"
...
"心里有数"
"纠结"
"拍摄"

)

The file is 12,934 lines long, all of those lines contained within the
one sexp.

I'm not very familiar with the gdb debugger, but what I did was:

1. use my installed arch emacs as a "controlling" emacs
2. open a dired buffer on the src/ directory of the git emacs repository
3. run M-x gud-gdb
4. elect to run bootstrap-emacs with the -Q option
5. get the new emacs instance
6. load wubi, then load my local wubi files (by setting
`wubi-phrases-file-el' and then calling (wubi-load-local-phrases))
7. bootstrap-emacs hangs, segfault notice in the controlling emacs
8. call "backtrace" in the controlling emacs, get backtrace
9. post backtrace here: http://paste.lisp.org/+2Z7O

I'll also post the full backtrace below, in case that's easier.

Anyway, I hope that's enough. Feel free to contact me if more info is
necessary.

Thanks,
Eric


#0  0xb6788fa6 in free () from /usr/lib/libc.so.6
#1  0x081682db in xfree (block=<optimized out>) at alloc.c:694
#2  free_save_value (save=156799600) at alloc.c:3449
#3  0x08181847 in unbind_to (count=45, value=138824258) at eval.c:3350
#4  0x08181b34 in apply_lambda (fun=<optimized out>, args=<optimized out>) at 
eval.c:2974
#5  0x08181e04 in eval_sub (address@hidden) at eval.c:2301
#6  0x081a2ffd in readevalloop (address@hidden, address@hidden, 
sourcename=150342985, address@hidden, 
    printflag=false, address@hidden, readfun=138824258, start=138824258, 
end=138824258) at lread.c:1876
#7  0x081a40ab in Feval_buffer (buffer=151547637, printflag=138824258, 
filename=150345625, unibyte=138824258, do_allow_print=138824282) at lread.c:1937
#8  0x08182a66 in Ffuncall (nargs=6, args=0xbfffeba4) at eval.c:2872
#9  0x081b4c63 in exec_byte_code (bytestr=0, vector=-1459075518, maxdepth=24, 
args_template=138824258, address@hidden, args=0xbfffebac)
    at bytecode.c:905
#10 0x0818257d in funcall_lambda (fun=136815701, address@hidden, 
address@hidden) at eval.c:3090
#11 0x081828ab in Ffuncall (address@hidden, address@hidden) at eval.c:2917
#12 0x0818441f in call4 (fn=140650794, address@hidden, address@hidden, 
arg3=138824258, arg4=138824258) at eval.c:2704
#13 0x081a3ddd in Fload (file=148537361, noerror=138824258, 
nomessage=138824258, nosuffix=138824258, must_suffix=138824258) at lread.c:1294
#14 0x08182a66 in Ffuncall (nargs=2, args=0xbfffeeb8) at eval.c:2872
#15 0x081b4c63 in exec_byte_code (bytestr=0, vector=-1459075518, maxdepth=12, 
address@hidden, address@hidden, args=0x1)
    at bytecode.c:905
#16 0x081825fe in funcall_lambda (fun=136911261, address@hidden, 
address@hidden) at eval.c:3024
#17 0x081828ab in Ffuncall (nargs=2, args=0xbfffefd4) at eval.c:2917
#18 0x081b4c63 in exec_byte_code (bytestr=0, vector=-1459075518, maxdepth=12, 
args_template=138824258, address@hidden, args=0xbfffefd0)
    at bytecode.c:905
#19 0x0818257d in funcall_lambda (address@hidden, address@hidden, 
address@hidden) at eval.c:3090
#20 0x08181b04 in apply_lambda (fun=<optimized out>, args=<optimized out>) at 
eval.c:2965
#21 0x08181e04 in eval_sub (address@hidden) at eval.c:2301
#22 0x08185184 in Feval (form=142694910, lexical=138824258) at eval.c:2044
#23 0x08182ac0 in Ffuncall (nargs=3, args=0xbffff1f8) at eval.c:2859
#24 0x081b4c63 in exec_byte_code (bytestr=0, vector=-1459075518, maxdepth=16, 
args_template=138824258, address@hidden, args=0xbffff1f0)
    at bytecode.c:905
#25 0x0818257d in funcall_lambda (fun=137482253, address@hidden, 
address@hidden) at eval.c:3090
#26 0x081828ab in Ffuncall (nargs=2, args=0xbffff324) at eval.c:2917
#27 0x081b4c63 in exec_byte_code (bytestr=0, vector=-1459075518, maxdepth=12, 
args_template=138824258, address@hidden, args=0xbffff320)
    at bytecode.c:905
#28 0x0818257d in funcall_lambda (fun=137482693, address@hidden, 
address@hidden) at eval.c:3090
#29 0x081828ab in Ffuncall (address@hidden, address@hidden) at eval.c:2917
#30 0x0817f0d1 in Fcall_interactively (function=140622058, 
record_flag=138824258, keys=138855333) at callint.c:836
#31 0x08182aa9 in Ffuncall (nargs=4, args=0xbffff5bc) at eval.c:2863
#32 0x081b4c63 in exec_byte_code (bytestr=0, vector=-1459075518, maxdepth=52, 
address@hidden, address@hidden, 
    args=0xbffff5b8) at bytecode.c:905
#33 0x081825fe in funcall_lambda (fun=137173413, address@hidden, 
address@hidden) at eval.c:3024
#34 0x081828ab in Ffuncall (address@hidden, address@hidden) at eval.c:2917
#35 0x08182c27 in call1 (fn=138855074, arg1=140622058) at eval.c:2655
#36 0x08120fdf in command_loop_1 () at keyboard.c:1562
#37 0x08181082 in internal_condition_case (address@hidden <command_loop_1>, 
handlers=138861698, address@hidden <cmd_error>)
    at eval.c:1339
#38 0x08114245 in command_loop_2 (ignore=138824258) at keyboard.c:1163
#39 0x08180fa7 in internal_catch (tag=138859722, address@hidden 
<command_loop_2>, arg=138824258) at eval.c:1113
#40 0x08118222 in command_loop () at keyboard.c:1142
#41 recursive_edit_1 () at keyboard.c:781
#42 0x081184e3 in Frecursive_edit () at keyboard.c:845
#43 0x08059418 in main (argc=<optimized out>, argv=0xbffffb54) at emacs.c:1570





reply via email to

[Prev in Thread] Current Thread [Next in Thread]