GNU bug report logs - #8790
24.0.50; abort

Previous Next

Package: emacs;

Reported by: sds <at> gnu.org

Date: Thu, 2 Jun 2011 19:02:02 UTC

Severity: normal

Found in version 24.0.50

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 8790 in the body.
You can then email your comments to 8790 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8790; Package emacs. (Thu, 02 Jun 2011 19:02:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to sds <at> gnu.org:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 02 Jun 2011 19:02:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Sam Steingold <sds <at> gnu.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.50; abort
Date: Thu, 02 Jun 2011 15:01:08 -0400
In GNU Emacs 24.0.50.7 (x86_64-unknown-linux-gnu, X toolkit)
 of 2011-05-31 on tbox
Windowing system distributor `Colin Harrison', version 11.0.60900031
configured using `configure  '--exec-prefix=/opt/emacs/lucid' '--prefix=/opt/emacs' '--with-x-toolkit=lucid''

during cut/paste:

-- #0  0x0000003b42e306f7 in kill () from /lib64/libc.so.6
#1  0x00000000004e7d55 in abort ()
    at /home/sds/src/emacs/trunk/src/emacs.c:375
#2  0x000000000055e436 in internal_condition_case_n (
    bfun=0x55cb60 <Ffuncall>, nargs=3, args=0x7fffafd40470, 
    handlers=11763538, hfun=0x435920 <safe_eval_handler>)
    at /home/sds/src/emacs/trunk/src/eval.c:1625
#3  0x000000000042caa2 in safe_call (nargs=3, args=0x7fffafd40470)
    at /home/sds/src/emacs/trunk/src/xdisp.c:2156
#4  0x00000000004897fc in encode_coding_object (coding=0x7fffafd404f0, 
    src_object=550680817, from=0, from_byte=0, to=65, to_byte=65, 
    dst_object=11763538) at /home/sds/src/emacs/trunk/src/coding.c:7826
#5  0x000000000048a748 in code_convert_string (string=550680817, 
    coding_system=12117666, dst_object=11763538, encodep=1, 
    nocopy=<value optimized out>, norecord=1)
    at /home/sds/src/emacs/trunk/src/coding.c:8940
#6  0x000000000055cf09 in Ffuncall (nargs=3, args=<value optimized out>)
    at /home/sds/src/emacs/trunk/src/eval.c:3050
#7  0x0000000000591052 in exec_byte_code (bytestr=<value optimized out>, 
    vector=0, maxdepth=209, args_template=11763490, nargs=0, args=0x0)
    at /home/sds/src/emacs/trunk/src/bytecode.c:783
#8  0x000000000055ca80 in funcall_lambda (fun=9764845, nargs=3, 
    arg_vector=0x7fffafd40a48) at /home/sds/src/emacs/trunk/src/eval.c:3272
#9  0x000000000055cd77 in Ffuncall (nargs=4, args=<value optimized out>)
    at /home/sds/src/emacs/trunk/src/eval.c:3100
#10 0x000000000055d174 in call3 (fn=<value optimized out>, 
    arg1=<value optimized out>, arg2=5153, arg3=-1)
    at /home/sds/src/emacs/trunk/src/eval.c:2838
#11 0x00000000004ca18d in x_get_local_selection (selection_symbol=11805298, 
    target_type=5153, local_request=0, dpyinfo=<value optimized out>)
    at /home/sds/src/emacs/trunk/src/xselect.c:400
#12 0x00000000004ca47b in x_convert_selection (event=0x7fffafd40cb0, 
    selection_symbol=5153, target_symbol=6, property=226, 
    for_multiple=4413728, dpyinfo=0x1)
    at /home/sds/src/emacs/trunk/src/xselect.c:885
#13 0x00000000004cafa0 in x_handle_selection_request (event=0x7fffafd40cb0)
    at /home/sds/src/emacs/trunk/src/xselect.c:839
#14 x_handle_selection_event (event=0x7fffafd40cb0)
    at /home/sds/src/emacs/trunk/src/xselect.c:999
#15 0x00000000004f3acc in swallow_events (do_display=0)
    at /home/sds/src/emacs/trunk/src/keyboard.c:4170
#16 0x0000000000597845 in wait_reading_process_output (time_limit=20, 
    microsecs=0, read_kbd=0, do_display=0, wait_for_cell=12050566, 
    wait_proc=0x0, just_wait_proc=0)
    at /home/sds/src/emacs/trunk/src/process.c:4651
#17 0x00000000004c96bc in x_get_foreign_selection (
    selection_symbol=<value optimized out>, target_type=12117138, 
    time_stamp=<value optimized out>, frame=<value optimized out>)
    at /home/sds/src/emacs/trunk/src/xselect.c:1263
#18 0x000000000055cf09 in Ffuncall (nargs=3, args=<value optimized out>)
    at /home/sds/src/emacs/trunk/src/eval.c:3050
#19 0x0000000000591052 in exec_byte_code (bytestr=<value optimized out>, 
    vector=0, maxdepth=11, args_template=11763490, nargs=0, args=0x0)
    at /home/sds/src/emacs/trunk/src/bytecode.c:783
#20 0x000000000055ca80 in funcall_lambda (fun=9763005, nargs=2, 
    arg_vector=0x7fffafd41428) at /home/sds/src/emacs/trunk/src/eval.c:3272
#21 0x000000000055cd77 in Ffuncall (nargs=3, args=<value optimized out>)
    at /home/sds/src/emacs/trunk/src/eval.c:3100
#22 0x0000000000591052 in exec_byte_code (bytestr=<value optimized out>, 
    vector=10069597, maxdepth=3, args_template=11763490, nargs=0, args=0x0)
    at /home/sds/src/emacs/trunk/src/bytecode.c:783
#23 0x000000000055c367 in eval_sub (form=<value optimized out>)
    at /home/sds/src/emacs/trunk/src/eval.c:2392
#24 0x000000000055ecef in internal_lisp_condition_case (var=11763490, 
    bodyform=10069518, handlers=<value optimized out>)
    at /home/sds/src/emacs/trunk/src/eval.c:1454
#25 0x0000000000591d37 in exec_byte_code (bytestr=<value optimized out>, 
    vector=0, maxdepth=41, args_template=11763490, nargs=0, args=0x0)
    at /home/sds/src/emacs/trunk/src/bytecode.c:979
#26 0x000000000055ca80 in funcall_lambda (fun=10069293, nargs=1, 
---Type <return> to continue, or q <return> to quit---
    arg_vector=0x7fffafd41908) at /home/sds/src/emacs/trunk/src/eval.c:3272
#27 0x000000000055cd77 in Ffuncall (nargs=2, args=<value optimized out>)
    at /home/sds/src/emacs/trunk/src/eval.c:3100
#28 0x0000000000591052 in exec_byte_code (bytestr=<value optimized out>, 
    vector=0, maxdepth=71, args_template=11763490, nargs=0, args=0x0)
    at /home/sds/src/emacs/trunk/src/bytecode.c:783
#29 0x000000000055ca80 in funcall_lambda (fun=10069789, nargs=0, 
    arg_vector=0x7fffafd41ab8) at /home/sds/src/emacs/trunk/src/eval.c:3272
#30 0x000000000055cd77 in Ffuncall (nargs=1, args=<value optimized out>)
    at /home/sds/src/emacs/trunk/src/eval.c:3100
#31 0x0000000000591052 in exec_byte_code (bytestr=<value optimized out>, 
    vector=0, maxdepth=73, args_template=11763490, nargs=0, args=0x0)
    at /home/sds/src/emacs/trunk/src/bytecode.c:783
#32 0x000000000055ca80 in funcall_lambda (fun=9316725, nargs=3, 
    arg_vector=0x7fffafd41c88) at /home/sds/src/emacs/trunk/src/eval.c:3272
#33 0x000000000055cd77 in Ffuncall (nargs=4, args=<value optimized out>)
    at /home/sds/src/emacs/trunk/src/eval.c:3100
#34 0x0000000000591052 in exec_byte_code (bytestr=<value optimized out>, 
    vector=0, maxdepth=27, args_template=11763490, nargs=0, args=0x0)
    at /home/sds/src/emacs/trunk/src/bytecode.c:783
#35 0x000000000055c367 in eval_sub (form=<value optimized out>)
    at /home/sds/src/emacs/trunk/src/eval.c:2392
#36 0x000000000055ecef in internal_lisp_condition_case (var=11763490, 
    bodyform=9318078, handlers=<value optimized out>)
    at /home/sds/src/emacs/trunk/src/eval.c:1454
#37 0x0000000000591d37 in exec_byte_code (bytestr=<value optimized out>, 
    vector=0, maxdepth=12, args_template=11763490, nargs=0, args=0x0)
    at /home/sds/src/emacs/trunk/src/bytecode.c:979
#38 0x000000000055ca80 in funcall_lambda (fun=9317877, nargs=2, 
    arg_vector=0x7fffafd42168) at /home/sds/src/emacs/trunk/src/eval.c:3272
#39 0x000000000055cd77 in Ffuncall (nargs=3, args=<value optimized out>)
    at /home/sds/src/emacs/trunk/src/eval.c:3100
#40 0x0000000000591052 in exec_byte_code (bytestr=<value optimized out>, 
    vector=9341205, maxdepth=3, args_template=11763490, nargs=0, args=0x0)
    at /home/sds/src/emacs/trunk/src/bytecode.c:783
#41 0x000000000055ca80 in funcall_lambda (fun=9341109, nargs=1, 
    arg_vector=0x7fffafd42318) at /home/sds/src/emacs/trunk/src/eval.c:3272
#42 0x000000000055cd77 in Ffuncall (nargs=2, args=<value optimized out>)
    at /home/sds/src/emacs/trunk/src/eval.c:3100
#43 0x0000000000591052 in exec_byte_code (bytestr=<value optimized out>, 
    vector=9341301, maxdepth=2, args_template=11763490, nargs=0, args=0x0)
    at /home/sds/src/emacs/trunk/src/bytecode.c:783
#44 0x000000000055ca80 in funcall_lambda (fun=9341237, nargs=1, 
    arg_vector=0x7fffafd42508) at /home/sds/src/emacs/trunk/src/eval.c:3272
#45 0x000000000055cd77 in Ffuncall (nargs=2, args=<value optimized out>)
    at /home/sds/src/emacs/trunk/src/eval.c:3100
#46 0x00000000005597ac in Fcall_interactively (function=13439682, 
    record_flag=11763490, keys=539881957)
    at /home/sds/src/emacs/trunk/src/callint.c:852
#47 0x000000000055ceee in Ffuncall (nargs=4, args=<value optimized out>)
    at /home/sds/src/emacs/trunk/src/eval.c:3046
#48 0x000000000055d174 in call3 (fn=<value optimized out>, 
    arg1=<value optimized out>, arg2=5153, arg3=-1)
    at /home/sds/src/emacs/trunk/src/eval.c:2838
#49 0x00000000004fb90a in command_loop_1 ()
    at /home/sds/src/emacs/trunk/src/keyboard.c:1561
#50 0x000000000055e991 in internal_condition_case (
    bfun=0x4fb570 <command_loop_1>, handlers=11815714, 
    hfun=0x4f8c50 <cmd_error>) at /home/sds/src/emacs/trunk/src/eval.c:1507
#51 0x00000000004f887a in command_loop_2 (ignore=<value optimized out>)
    at /home/sds/src/emacs/trunk/src/keyboard.c:1156
#52 0x000000000055ea88 in internal_catch (tag=<value optimized out>, 
    func=0x4f8860 <command_loop_2>, arg=11763490)
    at /home/sds/src/emacs/trunk/src/eval.c:1261
#53 0x00000000004f8e49 in command_loop ()
    at /home/sds/src/emacs/trunk/src/keyboard.c:1121
#54 recursive_edit_1 () at /home/sds/src/emacs/trunk/src/keyboard.c:756
#55 0x0000000000519775 in read_minibuf (map=11744054, initial=554769633, 
    prompt=<value optimized out>, backup_n=<value optimized out>, expflag=0, 
    histvar=11825410, histpos=0, defalt=535398017, allow_props=0, 
---Type <return> to continue, or q <return> to quit---
    inherit_input_method=0) at /home/sds/src/emacs/trunk/src/minibuf.c:659
#56 0x0000000000519eac in Fcompleting_read_default (prompt=8740793, 
    collection=<value optimized out>, predicate=<value optimized out>, 
    require_match=<value optimized out>, initial_input=554769633, 
    hist=11825410, def=535398017, inherit_input_method=11763490)
    at /home/sds/src/emacs/trunk/src/minibuf.c:1743
#57 0x000000000055cfaa in Ffuncall (nargs=9, args=<value optimized out>)
    at /home/sds/src/emacs/trunk/src/eval.c:3072
#58 0x0000000000517dbe in Fcompleting_read (prompt=<value optimized out>, 
    collection=<value optimized out>, predicate=5153, require_match=-1, 
    initial_input=4413728, hist=1, def=535398017, 
    inherit_input_method=11763490)
    at /home/sds/src/emacs/trunk/src/minibuf.c:1689
#59 0x000000000055cfaa in Ffuncall (nargs=8, args=<value optimized out>)
    at /home/sds/src/emacs/trunk/src/eval.c:3072
#60 0x0000000000591052 in exec_byte_code (bytestr=<value optimized out>, 
    vector=0, maxdepth=135, args_template=6148, nargs=6, args=0x0)
    at /home/sds/src/emacs/trunk/src/bytecode.c:783
#61 0x000000000055cd77 in Ffuncall (nargs=7, args=<value optimized out>)
    at /home/sds/src/emacs/trunk/src/eval.c:3100
#62 0x0000000000591052 in exec_byte_code (bytestr=<value optimized out>, 
    vector=0, maxdepth=5, args_template=6148, nargs=4, args=0x7fffafd43228)
    at /home/sds/src/emacs/trunk/src/bytecode.c:783
#63 0x000000000055cd77 in Ffuncall (nargs=5, args=<value optimized out>)
    at /home/sds/src/emacs/trunk/src/eval.c:3100
#64 0x0000000000591052 in exec_byte_code (bytestr=<value optimized out>, 
    vector=8788733, maxdepth=5, args_template=11763490, nargs=0, args=0x0)
    at /home/sds/src/emacs/trunk/src/bytecode.c:783
#65 0x000000000055ca80 in funcall_lambda (fun=8788637, nargs=2, 
    arg_vector=0x7fffafd433c8) at /home/sds/src/emacs/trunk/src/eval.c:3272
#66 0x000000000055cd77 in Ffuncall (nargs=3, args=<value optimized out>)
    at /home/sds/src/emacs/trunk/src/eval.c:3100
#67 0x0000000000591052 in exec_byte_code (bytestr=<value optimized out>, 
    vector=8789157, maxdepth=3, args_template=11763490, nargs=0, args=0x0)
    at /home/sds/src/emacs/trunk/src/bytecode.c:783
#68 0x000000000055c367 in eval_sub (form=<value optimized out>)
    at /home/sds/src/emacs/trunk/src/eval.c:2392
#69 0x000000000055c63d in Feval (form=8789078, lexical=<value optimized out>)
    at /home/sds/src/emacs/trunk/src/eval.c:2236
#70 0x000000000055813e in Fcall_interactively (function=12258418, 
    record_flag=11763490, keys=539881957)
    at /home/sds/src/emacs/trunk/src/callint.c:346
#71 0x000000000055ceee in Ffuncall (nargs=4, args=<value optimized out>)
    at /home/sds/src/emacs/trunk/src/eval.c:3046
#72 0x000000000055d174 in call3 (fn=<value optimized out>, 
    arg1=<value optimized out>, arg2=5153, arg3=-1)
    at /home/sds/src/emacs/trunk/src/eval.c:2838
#73 0x00000000004fb90a in command_loop_1 ()
    at /home/sds/src/emacs/trunk/src/keyboard.c:1561
#74 0x000000000055e991 in internal_condition_case (
    bfun=0x4fb570 <command_loop_1>, handlers=11815714, 
    hfun=0x4f8c50 <cmd_error>) at /home/sds/src/emacs/trunk/src/eval.c:1507
#75 0x00000000004f887a in command_loop_2 (ignore=<value optimized out>)
    at /home/sds/src/emacs/trunk/src/keyboard.c:1156
#76 0x000000000055ea88 in internal_catch (tag=<value optimized out>, 
    func=0x4f8860 <command_loop_2>, arg=11763490)
    at /home/sds/src/emacs/trunk/src/eval.c:1261
#77 0x00000000004f8edc in command_loop ()
    at /home/sds/src/emacs/trunk/src/keyboard.c:1135
#78 recursive_edit_1 () at /home/sds/src/emacs/trunk/src/keyboard.c:756
#79 0x00000000004f901f in Frecursive_edit ()
    at /home/sds/src/emacs/trunk/src/keyboard.c:820
#80 0x00000000004e8d82 in main (argc=2, argv=0x7fffafd440a8)
    at /home/sds/src/emacs/trunk/src/emacs.c:1693

Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031
http://truepeace.org http://ffii.org http://mideasttruth.com
http://honestreporting.com http://jihadwatch.org
Is there another word for synonym?




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8790; Package emacs. (Thu, 02 Jun 2011 21:04:01 GMT) Full text and rfc822 format available.

Message #8 received at 8790 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: sds <at> gnu.org
Cc: 8790 <at> debbugs.gnu.org
Subject: Re: bug#8790: 24.0.50; abort
Date: Fri, 03 Jun 2011 00:03:23 +0300
> From: Sam Steingold <sds <at> gnu.org>
> Date: Thu, 02 Jun 2011 15:01:08 -0400
> 
> during cut/paste:
> 
> -- #0  0x0000003b42e306f7 in kill () from /lib64/libc.so.6
> #1  0x00000000004e7d55 in abort ()
>     at /home/sds/src/emacs/trunk/src/emacs.c:375
> #2  0x000000000055e436 in internal_condition_case_n (
>     bfun=0x55cb60 <Ffuncall>, nargs=3, args=0x7fffafd40470, 
>     handlers=11763538, hfun=0x435920 <safe_eval_handler>)
>     at /home/sds/src/emacs/trunk/src/eval.c:1625
> #3  0x000000000042caa2 in safe_call (nargs=3, args=0x7fffafd40470)
>     at /home/sds/src/emacs/trunk/src/xdisp.c:2156
> #4  0x00000000004897fc in encode_coding_object (coding=0x7fffafd404f0, 
>     src_object=550680817, from=0, from_byte=0, to=65, to_byte=65, 
>     dst_object=11763538) at /home/sds/src/emacs/trunk/src/coding.c:7826
> #5  0x000000000048a748 in code_convert_string (string=550680817, 
>     coding_system=12117666, dst_object=11763538, encodep=1, 
>     nocopy=<value optimized out>, norecord=1)
>     at /home/sds/src/emacs/trunk/src/coding.c:8940

Is this session still available?  If so, what is the value of
coding_system (use "xsymbol" to see it)?

According to the backtrace (if it doesn't lie, this being an optimized
build), the crash was the result of x_catching_errors on line 1624 of
eval.c, which according to my reading means there were some X errors
before that.  Could some X expert take a look?  Could this be due to
the latest changes wrt X selections?




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8790; Package emacs. (Fri, 03 Jun 2011 22:11:02 GMT) Full text and rfc822 format available.

Message #11 received at 8790 <at> debbugs.gnu.org (full text, mbox):

From: Sam Steingold <sds <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 8790 <at> debbugs.gnu.org
Subject: Re: bug#8790: 24.0.50; abort
Date: Fri, 3 Jun 2011 18:10:30 -0400
On Thu, Jun 2, 2011 at 5:03 PM, Eli Zaretskii <eliz <at> gnu.org> wrote:
>> From: Sam Steingold <sds <at> gnu.org>
>> Date: Thu, 02 Jun 2011 15:01:08 -0400
>>
>> during cut/paste:
>>
>> -- #0  0x0000003b42e306f7 in kill () from /lib64/libc.so.6
>> #1  0x00000000004e7d55 in abort ()
>>     at /home/sds/src/emacs/trunk/src/emacs.c:375
>> #2  0x000000000055e436 in internal_condition_case_n (
>>     bfun=0x55cb60 <Ffuncall>, nargs=3, args=0x7fffafd40470,
>>     handlers=11763538, hfun=0x435920 <safe_eval_handler>)
>>     at /home/sds/src/emacs/trunk/src/eval.c:1625
>> #3  0x000000000042caa2 in safe_call (nargs=3, args=0x7fffafd40470)
>>     at /home/sds/src/emacs/trunk/src/xdisp.c:2156
>> #4  0x00000000004897fc in encode_coding_object (coding=0x7fffafd404f0,
>>     src_object=550680817, from=0, from_byte=0, to=65, to_byte=65,
>>     dst_object=11763538) at /home/sds/src/emacs/trunk/src/coding.c:7826
>> #5  0x000000000048a748 in code_convert_string (string=550680817,
>>     coding_system=12117666, dst_object=11763538, encodep=1,
>>     nocopy=<value optimized out>, norecord=1)
>>     at /home/sds/src/emacs/trunk/src/coding.c:8940
>
> Is this session still available?  If so, what is the value of
> coding_system (use "xsymbol" to see it)?

same crash (C-k), new session and new build.

Breakpoint 1, abort () at /home/sds/src/emacs/trunk/src/emacs.c:374
374     {
(gdb) where
#0  abort () at /home/sds/src/emacs/trunk/src/emacs.c:374
#1  0x000000000055eae6 in internal_condition_case_n (
    bfun=0x55d210 <Ffuncall>, nargs=3, args=0x7fffbed6d3d0,
    handlers=11763538, hfun=0x435920 <safe_eval_handler>)
    at /home/sds/src/emacs/trunk/src/eval.c:1625
#2  0x000000000042ca92 in safe_call (nargs=3, args=0x7fffbed6d3d0)
    at /home/sds/src/emacs/trunk/src/xdisp.c:2156
#3  0x0000000000489cdc in encode_coding_object (coding=0x7fffbed6d450,
    src_object=185324785, from=0, from_byte=0, to=9, to_byte=9,
    dst_object=11763538) at /home/sds/src/emacs/trunk/src/coding.c:7826
#4  0x000000000048ac28 in code_convert_string (string=185324785,
    coding_system=12118818, dst_object=11763538, encodep=1,
    nocopy=<value optimized out>, norecord=1)
    at /home/sds/src/emacs/trunk/src/coding.c:8940
#5  0x000000000055d5b9 in Ffuncall (nargs=3, args=<value optimized out>)
    at /home/sds/src/emacs/trunk/src/eval.c:3050
#6  0x0000000000591762 in exec_byte_code (bytestr=<value optimized out>,
    vector=0, maxdepth=209, args_template=11763490, nargs=0, args=0x0)
    at /home/sds/src/emacs/trunk/src/bytecode.c:783
#7  0x000000000055d130 in funcall_lambda (fun=9769845, nargs=3,
    arg_vector=0x7fffbed6d9a8) at /home/sds/src/emacs/trunk/src/eval.c:3272
#8  0x000000000055d427 in Ffuncall (nargs=4, args=<value optimized out>)
    at /home/sds/src/emacs/trunk/src/eval.c:3100
#9  0x000000000055d824 in call3 (fn=<value optimized out>,
    arg1=<value optimized out>, arg2=140736395138000, arg3=11763538)
    at /home/sds/src/emacs/trunk/src/eval.c:2838
#10 0x00000000004ca6cd in x_get_local_selection (selection_symbol=11805298,
    target_type=140736395138000, local_request=0,
    dpyinfo=<value optimized out>)
    at /home/sds/src/emacs/trunk/src/xselect.c:400
#11 0x00000000004ca9bb in x_convert_selection (event=0x7fffbed6dc10,
    selection_symbol=5624336, target_symbol=3, property=226,
    for_multiple=4413728, dpyinfo=0x1)
    at /home/sds/src/emacs/trunk/src/xselect.c:885
#12 0x00000000004cb4e0 in x_handle_selection_request (event=0x7fffbed6dc10)
    at /home/sds/src/emacs/trunk/src/xselect.c:839
#13 x_handle_selection_event (event=0x7fffbed6dc10)
    at /home/sds/src/emacs/trunk/src/xselect.c:999
#14 0x00000000004f408c in swallow_events (do_display=0)
    at /home/sds/src/emacs/trunk/src/keyboard.c:4170
#15 0x0000000000597f55 in wait_reading_process_output (time_limit=20,
    microsecs=0, read_kbd=0, do_display=0, wait_for_cell=12044550,
    wait_proc=0x0, just_wait_proc=0)
    at /home/sds/src/emacs/trunk/src/process.c:4651
#16 0x00000000004c9bfc in x_get_foreign_selection (
    selection_symbol=<value optimized out>, target_type=12118210,
    time_stamp=<value optimized out>, frame=<value optimized out>)
    at /home/sds/src/emacs/trunk/src/xselect.c:1263
#17 0x000000000055d5b9 in Ffuncall (nargs=3, args=<value optimized out>)
    at /home/sds/src/emacs/trunk/src/eval.c:3050
#18 0x0000000000591762 in exec_byte_code (bytestr=<value optimized out>,
    vector=0, maxdepth=11, args_template=11763490, nargs=0, args=0x0)
    at /home/sds/src/emacs/trunk/src/bytecode.c:783
#19 0x000000000055d130 in funcall_lambda (fun=9768005, nargs=2,
    arg_vector=0x7fffbed6e388) at /home/sds/src/emacs/trunk/src/eval.c:3272
#20 0x000000000055d427 in Ffuncall (nargs=3, args=<value optimized out>)
    at /home/sds/src/emacs/trunk/src/eval.c:3100
#21 0x0000000000591762 in exec_byte_code (bytestr=<value optimized out>,
    vector=10074893, maxdepth=3, args_template=11763490, nargs=0, args=0x0)
    at /home/sds/src/emacs/trunk/src/bytecode.c:783
#22 0x000000000055ca17 in eval_sub (form=<value optimized out>)
    at /home/sds/src/emacs/trunk/src/eval.c:2392
#23 0x000000000055f39f in internal_lisp_condition_case (var=11763490,
    bodyform=10074814, handlers=<value optimized out>)
    at /home/sds/src/emacs/trunk/src/eval.c:1454
#24 0x0000000000592447 in exec_byte_code (bytestr=<value optimized out>,
    vector=0, maxdepth=41, args_template=11763490, nargs=0, args=0x0)
    at /home/sds/src/emacs/trunk/src/bytecode.c:979
#25 0x000000000055d130 in funcall_lambda (fun=10074589, nargs=1,
    arg_vector=0x7fffbed6e868) at /home/sds/src/emacs/trunk/src/eval.c:3272
---Type <return> to continue, or q <return> to quit---
#26 0x000000000055d427 in Ffuncall (nargs=2, args=<value optimized out>)
    at /home/sds/src/emacs/trunk/src/eval.c:3100
#27 0x0000000000591762 in exec_byte_code (bytestr=<value optimized out>,
    vector=0, maxdepth=71, args_template=11763490, nargs=0, args=0x0)
    at /home/sds/src/emacs/trunk/src/bytecode.c:783
#28 0x000000000055d130 in funcall_lambda (fun=10075085, nargs=0,
    arg_vector=0x7fffbed6ea18) at /home/sds/src/emacs/trunk/src/eval.c:3272
#29 0x000000000055d427 in Ffuncall (nargs=1, args=<value optimized out>)
    at /home/sds/src/emacs/trunk/src/eval.c:3100
#30 0x0000000000591762 in exec_byte_code (bytestr=<value optimized out>,
    vector=0, maxdepth=73, args_template=11763490, nargs=0, args=0x0)
    at /home/sds/src/emacs/trunk/src/bytecode.c:783
#31 0x000000000055d130 in funcall_lambda (fun=9321365, nargs=3,
    arg_vector=0x7fffbed6ebe8) at /home/sds/src/emacs/trunk/src/eval.c:3272
#32 0x000000000055d427 in Ffuncall (nargs=4, args=<value optimized out>)
    at /home/sds/src/emacs/trunk/src/eval.c:3100
#33 0x0000000000591762 in exec_byte_code (bytestr=<value optimized out>,
    vector=0, maxdepth=27, args_template=11763490, nargs=0, args=0x0)
    at /home/sds/src/emacs/trunk/src/bytecode.c:783
#34 0x000000000055ca17 in eval_sub (form=<value optimized out>)
    at /home/sds/src/emacs/trunk/src/eval.c:2392
#35 0x000000000055f39f in internal_lisp_condition_case (var=11763490,
    bodyform=9322718, handlers=<value optimized out>)
    at /home/sds/src/emacs/trunk/src/eval.c:1454
#36 0x0000000000592447 in exec_byte_code (bytestr=<value optimized out>,
    vector=0, maxdepth=12, args_template=11763490, nargs=0, args=0x0)
    at /home/sds/src/emacs/trunk/src/bytecode.c:979
#37 0x000000000055d130 in funcall_lambda (fun=9322517, nargs=2,
    arg_vector=0x7fffbed6f0c8) at /home/sds/src/emacs/trunk/src/eval.c:3272
#38 0x000000000055d427 in Ffuncall (nargs=3, args=<value optimized out>)
    at /home/sds/src/emacs/trunk/src/eval.c:3100
#39 0x0000000000591762 in exec_byte_code (bytestr=<value optimized out>,
    vector=0, maxdepth=62, args_template=11763490, nargs=0, args=0x0)
    at /home/sds/src/emacs/trunk/src/bytecode.c:783
#40 0x000000000055d130 in funcall_lambda (fun=9326605, nargs=1,
    arg_vector=0x7fffbed6f2d8) at /home/sds/src/emacs/trunk/src/eval.c:3272
#41 0x000000000055d427 in Ffuncall (nargs=2, args=<value optimized out>)
    at /home/sds/src/emacs/trunk/src/eval.c:3100
#42 0x0000000000559e5c in Fcall_interactively (function=12500802,
    record_flag=11763490, keys=192964805)
    at /home/sds/src/emacs/trunk/src/callint.c:852
#43 0x000000000055d59e in Ffuncall (nargs=4, args=<value optimized out>)
    at /home/sds/src/emacs/trunk/src/eval.c:3046
#44 0x000000000055d824 in call3 (fn=<value optimized out>,
    arg1=<value optimized out>, arg2=140736395138000, arg3=11763538)
    at /home/sds/src/emacs/trunk/src/eval.c:2838
#45 0x00000000004fbeda in command_loop_1 ()
    at /home/sds/src/emacs/trunk/src/keyboard.c:1561
#46 0x000000000055f041 in internal_condition_case (
    bfun=0x4fbb40 <command_loop_1>, handlers=11815714,
    hfun=0x4f9220 <cmd_error>) at /home/sds/src/emacs/trunk/src/eval.c:1507
#47 0x00000000004f8e4a in command_loop_2 (ignore=<value optimized out>)
    at /home/sds/src/emacs/trunk/src/keyboard.c:1156
#48 0x000000000055f138 in internal_catch (tag=<value optimized out>,
    func=0x4f8e30 <command_loop_2>, arg=11763490)
    at /home/sds/src/emacs/trunk/src/eval.c:1261
#49 0x00000000004f94ac in command_loop ()
    at /home/sds/src/emacs/trunk/src/keyboard.c:1135
#50 recursive_edit_1 () at /home/sds/src/emacs/trunk/src/keyboard.c:756
#51 0x00000000004f95ef in Frecursive_edit ()
    at /home/sds/src/emacs/trunk/src/keyboard.c:820
#52 0x00000000004e9312 in main (argc=2, argv=0x7fffbed6fe18)
    at /home/sds/src/emacs/trunk/src/emacs.c:1693

Lisp Backtrace:
"encode-coding-string" (0xbed6d7e8)
"xselect-convert-to-string" (0xbed6d9a8)
"x-get-selection-internal" (0xbed6e1b8)
"x-get-selection" (0xbed6e388)
"byte-code" (0xbed6e480)
---Type <return> to continue, or q <return> to quit---
"x-selection-value-internal" (0xbed6e868)
"x-selection-value" (0xbed6ea18)
"kill-new" (0xbed6ebe8)
"byte-code" (0xbed6ecf0)
"kill-region" (0xbed6f0c8)
"kill-line" (0xbed6f2d8)
"call-interactively" (0xbed6f508)
(gdb) up
#1  0x000000000055eae6 in internal_condition_case_n (
    bfun=0x55d210 <Ffuncall>, nargs=3, args=0x7fffbed6d3d0,
    handlers=11763538, hfun=0x435920 <safe_eval_handler>)
    at /home/sds/src/emacs/trunk/src/eval.c:1625
1625        abort ();
(gdb) p coding_s
coding_set_destination      coding_system
coding_set_source           coding_system_charset_list
(gdb) p coding_system
No symbol "coding_system" in current context.
(gdb) xsymbol coding_system
The history is empty.
(gdb) down
#0  abort () at /home/sds/src/emacs/trunk/src/emacs.c:374
374     {
(gdb) down
Bottom (innermost) frame selected; you cannot go down.
(gdb) xsymbol coding_system
The history is empty.
(gdb) p coding_system
No symbol "coding_system" in current context.
(gdb) local
Undefined command: "local".  Try "help".
(gdb) up
#1  0x000000000055eae6 in internal_condition_case_n (
    bfun=0x55d210 <Ffuncall>, nargs=3, args=0x7fffbed6d3d0,
    handlers=11763538, hfun=0x435920 <safe_eval_handler>)
    at /home/sds/src/emacs/trunk/src/eval.c:1625
1625        abort ();
(gdb) up
#2  0x000000000042ca92 in safe_call (nargs=3, args=0x7fffbed6d3d0)
    at /home/sds/src/emacs/trunk/src/xdisp.c:2156
2156          val = internal_condition_case_n (Ffuncall, nargs, args, Qt,
(gdb) up
#3  0x0000000000489cdc in encode_coding_object (coding=0x7fffbed6d450,
    src_object=185324785, from=0, from_byte=0, to=9, to_byte=9,
    dst_object=11763538) at /home/sds/src/emacs/trunk/src/coding.c:7826
7826            safe_call (3, args);
(gdb) p coding
$1 = (struct coding_system *) 0x7fffbed6d450
(gdb) p *coding
$2 = {
  id = 126,
  common_flags = 7683,
  mode = 2,
  spec = {
    iso_2022 = {
      flags = 1048695,
      current_invocation = {0, 1},
      current_designation = {0, 5, -1, -1},
      single_shifting = 0,
      bol = 1,
      ctext_extended_segment_len = 0,
      embedded_utf_8 = 0,
      cmp_status = {
        state = COMPOSING_NO,
        method = COMPOSITION_NO,
        old_form = 0,
        length = 0,
        nchars = 0,
        ncomps = -1093216144,
        carryover = {32767, 1164151645, 59, -1093216144, 32767, 142018704,
          0, -1093216144, 32767, 4957193, 0, 2, 59, 4839905, 0, 0, 0,
          141369376, 0, 12643959, 0, 90, 0, 0, 0, -1518426828, 0, 104, 249,
          1268, 295, 0, 38, 1, 0, 0, 0, 1024, 0, 193, 0, 184124624, 0,
          1125465000, 59, 1125464632, 59, 1125464632, 59, 170971952, 0, 1,
          7, 1088, 0, 64, 0, 193421632, 0, 0, 0, 0, 0, 0, 0, 142018704, 0,
          -1093216144}
      }
    },
    ccl = 0x100077,
    utf_16 = {
      bom = 1048695,
      endian = utf_16_big_endian,
      surrogate = 1
    },
    utf_8_bom = 1048695,
    emacs_mule = {
      full_support = 1048695,
      cmp_status = {
        state = COMPOSING_NO,
        method = COMPOSITION_WITH_RULE,
        old_form = 0,
        length = 5,
        nchars = -1,
        ncomps = -1,
        carryover = {0, 1, 0, 0, 0, 4, 0, 0, 0, -1093216144, 32767,
          1164151645, 59, -1093216144, 32767, 142018704, 0, -1093216144,
          32767, 4957193, 0, 2, 59, 4839905, 0, 0, 0, 141369376, 0,
          12643959, 0, 90, 0, 0, 0, -1518426828, 0, 104, 249, 1268, 295, 0,
          38, 1, 0, 0, 0, 1024, 0, 193, 0, 184124624, 0, 1125465000, 59,
          1125464632, 59, 1125464632, 59, 170971952, 0, 1, 7, 1088, 0, 64,
          0, 193421632}
      }
    }
  },
  max_charset_id = 148,
  safe_charsets = 0x88d3fb8 "",
  src_multibyte = 0,
  dst_multibyte = 0,
  head_ascii = -1,
  produced = 5191109,
  produced_char = 11763490,
  consumed = 5557266,
  consumed_char = 11763538,
  errors = 5614119,
  error_positions = 0x1,
  result = CODING_RESULT_INSUFFICIENT_SRC,
  src_pos = 192155584,
  src_pos_byte = 11736832,
  src_chars = 9,
---Type <return> to continue, or q <return> to quit---
  src_bytes = 9,
  src_object = 12140853,
  source = 0x44040d "\351\256\357\377\377H\213\065gUn",
  dst_pos = 0,
  dst_pos_byte = 0,
  dst_bytes = 206725024,
  dst_object = 25769803777,
  destination = 0x2 <Address 0x2 out of bounds>,
  chars_at_source = 0,
  charbuf = 0xffffffff00000001,
  charbuf_size = 1,
  charbuf_used = 0,
  annotated = 1751,
  carryover = "\000\000\000\000\326\006\000\000\000\000\000\000$",
'\000' <repeats 11 times>,
"(\000\000\000\000\327\326\276\377\177\000\000\371\260N\000\000\000\000\000\322\240o\b\000\000\000\000\320\002\343B;\000\000\000\000\000\000",
  carryover_bytes = 0,
  default_char = 32,
  detector = 0x478540 <detect_coding_iso_2022>,
  decoder = 0x476540 <decode_coding_iso_2022>,
  encoder = 0x486340 <encode_coding_iso_2022>
}


-- 
Sam Steingold <http://sds.podval.org>




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8790; Package emacs. (Sat, 04 Jun 2011 07:22:02 GMT) Full text and rfc822 format available.

Message #14 received at 8790 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Sam Steingold <sds <at> gnu.org>
Cc: 8790 <at> debbugs.gnu.org
Subject: Re: bug#8790: 24.0.50; abort
Date: Sat, 04 Jun 2011 10:21:11 +0300
> Date: Fri, 3 Jun 2011 18:10:30 -0400
> From: Sam Steingold <sds <at> gnu.org>
> Cc: 8790 <at> debbugs.gnu.org
> 
> (gdb) up
> #1  0x000000000055eae6 in internal_condition_case_n (
>     bfun=0x55d210 <Ffuncall>, nargs=3, args=0x7fffbed6d3d0,
>     handlers=11763538, hfun=0x435920 <safe_eval_handler>)
>     at /home/sds/src/emacs/trunk/src/eval.c:1625
> 1625        abort ();
> (gdb) p coding_s
> coding_set_destination      coding_system
> coding_set_source           coding_system_charset_list
> (gdb) p coding_system
> No symbol "coding_system" in current context.
> (gdb) xsymbol coding_system
> The history is empty.
> (gdb) down
> #0  abort () at /home/sds/src/emacs/trunk/src/emacs.c:374
> 374     {
> (gdb) down
> Bottom (innermost) frame selected; you cannot go down.
> (gdb) xsymbol coding_system
> The history is empty.
> (gdb) p coding_system
> No symbol "coding_system" in current context.
> (gdb) local
> Undefined command: "local".  Try "help".
> (gdb) up
> #1  0x000000000055eae6 in internal_condition_case_n (
>     bfun=0x55d210 <Ffuncall>, nargs=3, args=0x7fffbed6d3d0,
>     handlers=11763538, hfun=0x435920 <safe_eval_handler>)
>     at /home/sds/src/emacs/trunk/src/eval.c:1625
> 1625        abort ();
> (gdb) up
> #2  0x000000000042ca92 in safe_call (nargs=3, args=0x7fffbed6d3d0)
>     at /home/sds/src/emacs/trunk/src/xdisp.c:2156
> 2156          val = internal_condition_case_n (Ffuncall, nargs, args, Qt,
> (gdb) up
> #3  0x0000000000489cdc in encode_coding_object (coding=0x7fffbed6d450,
>     src_object=185324785, from=0, from_byte=0, to=9, to_byte=9,
>     dst_object=11763538) at /home/sds/src/emacs/trunk/src/coding.c:7826
> 7826            safe_call (3, args);
> (gdb) p coding
> $1 = (struct coding_system *) 0x7fffbed6d450

No, I mean the Lisp object (a symbol) that specifies the
coding-system.  In this crash, it's in frame #4:

> #4  0x000000000048ac28 in code_convert_string (string=185324785,
>     coding_system=12118818, dst_object=11763538, encodep=1,
>     nocopy=<value optimized out>, norecord=1)
>     at /home/sds/src/emacs/trunk/src/coding.c:8940

Use "p coding_system" followed by "xsymbol".

Also, can you show the value of x_error_message->string?  That seems
to be the immediate cause of the crash, because Emacs aborts here:

  if (x_catching_errors ())
    abort ();




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8790; Package emacs. (Sat, 04 Jun 2011 22:12:02 GMT) Full text and rfc822 format available.

Message #17 received at 8790 <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Sam Steingold <sds <at> gnu.org>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 8790 <at> debbugs.gnu.org
Subject: Re: bug#8790: 24.0.50; abort
Date: Sat, 04 Jun 2011 18:10:58 -0400
Sam Steingold <sds <at> gnu.org> writes:

> same crash (C-k), new session and new build.
>
> Breakpoint 1, abort () at /home/sds/src/emacs/trunk/src/emacs.c:374
> 374     {
> (gdb) where
> #0  abort () at /home/sds/src/emacs/trunk/src/emacs.c:374
> #1  0x000000000055eae6 in internal_condition_case_n (
>     bfun=0x55d210 <Ffuncall>, nargs=3, args=0x7fffbed6d3d0,
>     handlers=11763538, hfun=0x435920 <safe_eval_handler>)
>     at /home/sds/src/emacs/trunk/src/eval.c:1625

Thanks.  I've committed a fix.




bug closed, send any further explanations to 8790 <at> debbugs.gnu.org and sds <at> gnu.org Request was from Chong Yidong <cyd <at> stupidchicken.com> to control <at> debbugs.gnu.org. (Sat, 04 Jun 2011 22:12:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 03 Jul 2011 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 360 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.