unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Sam Steingold <sds@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 8790@debbugs.gnu.org
Subject: bug#8790: 24.0.50; abort
Date: Fri, 3 Jun 2011 18:10:30 -0400	[thread overview]
Message-ID: <BANLkTikFQBL+1jAqk9p0356CpqM7VfxudQ@mail.gmail.com> (raw)
In-Reply-To: <83zkm0djz8.fsf@gnu.org>

On Thu, Jun 2, 2011 at 5:03 PM, Eli Zaretskii <eliz@gnu.org> wrote:
>> From: Sam Steingold <sds@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>





  reply	other threads:[~2011-06-03 22:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-02 19:01 bug#8790: 24.0.50; abort Sam Steingold
2011-06-02 21:03 ` Eli Zaretskii
2011-06-03 22:10   ` Sam Steingold [this message]
2011-06-04  7:21     ` Eli Zaretskii
2011-06-04 22:10     ` Chong Yidong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BANLkTikFQBL+1jAqk9p0356CpqM7VfxudQ@mail.gmail.com \
    --to=sds@gnu.org \
    --cc=8790@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).