unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#7044: 24.0.50; Emacs crashes after calling ediff-regions-linewise
@ 2010-09-16 17:28 Stephen Berman
  2010-09-25 23:41 ` Juanma Barranquero
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Berman @ 2010-09-16 17:28 UTC (permalink / raw)
  To: 7044

[-- Attachment #1: Type: text/plain, Size: 904 bytes --]

1. emacs -Q
2. M-x ediff-regions-linewise, type RET twice to use *scratch* for both
   Ediff buffers (it doesn't matter which buffers are used).
3. Any attempt to mark a region, indeed it seems any further input at
   all, makes Emacs abort.  This is completely reproducible. Full
   backtrace attached. 

In GNU Emacs 24.0.50.7 (i686-pc-linux-gnu, GTK+ Version 2.18.6)
 of 2010-09-16 on escher
Windowing system distributor `The X.Org Foundation', version 11.0.10605000
configured using `configure  '--with-imagemagick' '--without-toolkit-scroll-bars''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=local
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t


[-- Attachment #2: backtrace --]
[-- Type: text/plain, Size: 19661 bytes --]

steve@escher:/data/steve/lib/emacs/gtk/src> gdb ./emacs
GNU gdb (GDB) SUSE (6.8.91.20090930-2.4)
Copyright (C) 2009 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 "i586-suse-linux".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /data/steve/lib/emacs/gtk/src/emacs...done.
SIGINT is used by the debugger.
Are you sure you want to change it? (y or n) [answered Y; input not from terminal]
DISPLAY = :0
TERM = dumb
Breakpoint 1 at 0x8126e96: file /data/steve/bzr/emacs/quickfixes/src/emacs.c, line 427.
Temporary breakpoint 2 at 0x8143c18: file /data/steve/bzr/emacs/quickfixes/src/sysdep.c, line 884.
(gdb) q
Breakpoint 1, abort () at /data/steve/bzr/emacs/quickfixes/src/emacs.c:427
427	  kill (getpid (), SIGABRT);
(gdb) bt full
#0  abort () at /data/steve/bzr/emacs/quickfixes/src/emacs.c:427
No locals.
#1  0x081532ed in buf_charpos_to_bytepos (b=0x8984d48, charpos=34632056)
    at /data/steve/bzr/emacs/quickfixes/src/marker.c:135
        tail = <value optimized out>
        best_above = 192
        best_above_byte = <value optimized out>
        best_below = <value optimized out>
        best_below_byte = <value optimized out>
#2  0x0818edf9 in make_buffer_string (start=191, end=34632056, props=0)
    at /data/steve/bzr/emacs/quickfixes/src/editfns.c:2349
        start_byte = 191
        end_byte = <value optimized out>
#3  0x081393a3 in command_loop_1 ()
    at /data/steve/bzr/emacs/quickfixes/src/keyboard.c:1820
        beg = 144198984
        end = 192
        cmd = <value optimized out>
        keybuf = {138553898, 138608640, 0, 137854615, 0, -1073750544, 137123072, 
    31, -1073750392, 136115169, 3, -1073750544, 138528226, 0, 138528226, 
    144210189, 138945138, 138945138, 137123145, 137123173, 20, 0, 1, 0, 
    -1073750328, 142403880, -1073750320, 0, -1073750440, 135894053}
        i = 24
        prev_modiff = 10
        prev_buffer = 0x8984d48
#4  0x08196971 in internal_condition_case (bfun=0x8138b90 <command_loop_1>, 
    handlers=138559210, hfun=0x8132df0 <cmd_error>)
    at /data/steve/bzr/emacs/quickfixes/src/eval.c:1460
        val = 144198984
        c = {
          tag = 138528226, 
          val = 138528226, 
          next = 0xbfffdf98, 
          gcpro = 0x0, 
          jmp = {{
              __jmpbuf = {142155496, 142155496, 142155832, -1073750184, 
    1764770366, -1537285807}, 
              __mask_was_saved = 0, 
              __saved_mask = {
                __val = {137123134, 138528226, 3067938884, 1, 1, 138528226, 
    138528226, 3221220484, 0, 138208184, 3, 3, 3221217176, 136706321, 137123077, 
    20, 142403886, 3221217056, 3221217016, 134857214, 2, 3221217500, 3221217036, 
    144285453, 448, 135574832, 3221217064, 135574791, 144285448, 136554840, 
    3221217176, 135889620}
              }
            }}, 
          backlist = 0xbfffe154, 
          handlerlist = 0xbfffe26c, 
          lisp_eval_depth = 6, 
          pdlcount = 24, 
          poll_suppress_count = 1, 
          interrupt_input_blocked = 0, 
          byte_stack = 0xbfffe304
        }
        h = {
          handler = 138559210, 
          var = 138528226, 
          chosen_clause = 137123046, 
          tag = 0xbfffde74, 
          next = 0xbfffe26c
        }
#5  0x08132a95 in command_loop_2 (ignore=138528226)
    at /data/steve/bzr/emacs/quickfixes/src/keyboard.c:1338
        val = 144198984
#6  0x08196a51 in internal_catch (tag=138644026, func=0x8132a70 <command_loop_2>, 
    arg=138528226) at /data/steve/bzr/emacs/quickfixes/src/eval.c:1204
        c = {
          tag = 138644026, 
          val = 138528226, 
          next = 0xbfffe1a4, 
          gcpro = 0x0, 
          jmp = {{
              __jmpbuf = {142155496, 142155496, 142155832, -1073749912, 
    1764983358, -1537681071}, 
              __mask_was_saved = 0, 
              __saved_mask = {
                __val = {138553946, 138553946, 140898976, 825242934, 3067955692, 
    3221217024, 142404430, 138674610, 138505150, 3221217384, 140898976, 
    3221217324, 138528000, 3221217352, 134627852, 3068928928, 137854666, 16, 
    138560890, 137122945, 137854616, 138528226, 8, 3221217344, 144198984, 1, 
    138212944, 3068928928, 138528226, 8, 138695978, 138695976}
              }
            }}, 
          backlist = 0xbfffe154, 
          handlerlist = 0xbfffe26c, 
          lisp_eval_depth = 6, 
          pdlcount = 24, 
          poll_suppress_count = 1, 
          interrupt_input_blocked = 0, 
          byte_stack = 0xbfffe304
        }
#7  0x08132bf7 in command_loop ()
    at /data/steve/bzr/emacs/quickfixes/src/keyboard.c:1303
        val = 144198984
#8  0x08132fda in recursive_edit_1 ()
    at /data/steve/bzr/emacs/quickfixes/src/keyboard.c:940
        val = <value optimized out>
#9  0x08133102 in Frecursive_edit ()
    at /data/steve/bzr/emacs/quickfixes/src/keyboard.c:1002
        buffer = 138528226
#10 0x08197995 in Feval (form=139058030)
    at /data/steve/bzr/emacs/quickfixes/src/eval.c:2349
        numargs = <value optimized out>
        args_left = 138528226
        i = 0
        argvals = {138528226, 138528226, 135604036, 138798712, 138648698, 
    -1073749656, 135823442, 138415488}
        fun = <value optimized out>
        val = <value optimized out>
        original_fun = 138556922
        original_args = 138528226
        funcar = <value optimized out>
        backtrace = {
          next = 0xbfffe3dc, 
          function = 0xbfffe16c, 
          args = 0xbfffe134, 
          nargs = 0, 
          evalargs = 1 '\001', 
          debug_on_exit = 0 '\000'
        }
#11 0x0819a0f2 in internal_lisp_condition_case (var=138528226, bodyform=139058030, 
    handlers=139056798) at /data/steve/bzr/emacs/quickfixes/src/eval.c:1407
        val = <value optimized out>
        c = {
          tag = 138528226, 
          val = 138528226, 
          next = 0xbfffec84, 
          gcpro = 0x0, 
          jmp = {{
              __jmpbuf = {139056792, 144117000, 11, -1073749368, 1766826558, 
    -1513342127}, 
              __mask_was_saved = 0, 
              __saved_mask = {
                __val = {142155800, 142155496, 5, 3221217808, 138528226, 
    136554840, 3221217928, 135889607, 144089013, 138528226, 4, 142152106, 2, 
    1073741824, 3221217928, 135889620, 144089013, 138528226, 138528226, 154, 57, 
    0, 35, 154, 138514710, 142350048, 135600176, 136554840, 3221217956, 1, 
    136554840, 2}
              }
            }}, 
          backlist = 0xbfffe3dc, 
          handlerlist = 0xbfffed4c, 
          lisp_eval_depth = 5, 
          pdlcount = 19, 
          poll_suppress_count = 1, 
          interrupt_input_blocked = 0, 
          byte_stack = 0xbfffe304
        }
        h = {
          handler = 139056798, 
          var = 138528226, 
          chosen_clause = -1073749344, 
          tag = 0xbfffe1a4, 
          next = 0xbfffed4c
        }
#12 0x081ce63a in Fbyte_code (bytestr=140775385, vector=144117005, maxdepth=24)
    at /data/steve/bzr/emacs/quickfixes/src/bytecode.c:869
        handlers = 192
        body = <value optimized out>
        op = 192
        stack = {
          pc = 0x897be32 "\210+\016$-\207", 
          top = 0xbfffe2a0, 
          bottom = 0xbfffe2a0, 
          byte_string = 140775385, 
          byte_string_start = 
    0x897bd78 "\306\b\t\"\307ȉ\211\032\033\034\035\211\036$\203.", 
          constants = 144117005, 
          next = 0xbfffe494
        }
        top = 0xbfffe2a0
        result = <value optimized out>
#13 0x08197dc4 in funcall_lambda (fun=<value optimized out>, 
    nargs=<value optimized out>, arg_vector=0xc0)
    at /data/steve/bzr/emacs/quickfixes/src/eval.c:3174
        val = <value optimized out>
        syms_left = 138528226
        next = <value optimized out>
        i = 2
        optional = 0
        rest = 0
#14 0x081980e3 in Ffuncall (nargs=3, args=0xbfffe420)
    at /data/steve/bzr/emacs/quickfixes/src/eval.c:3047
        fun = 144198984
        original_fun = 144076706
        funcar = <value optimized out>
        numargs = 2
        val = <value optimized out>
        backtrace = {
          next = 0xbfffe56c, 
          function = 0xbfffe420, 
          args = 0xbfffe424, 
          nargs = 2, 
          evalargs = 0 '\000', 
          debug_on_exit = 0 '\000'
        }
        internal_args = <value optimized out>
        i = <value optimized out>
#15 0x081cf3e1 in Fbyte_code (bytestr=143543449, vector=140798917, maxdepth=44)
    at /data/steve/bzr/emacs/quickfixes/src/bytecode.c:679
        op = <value optimized out>
        stack = {
          pc = 
    0x843562a "\312\t\314\"͉\211\211\032\033\034\035\031\030r\bq\210\316 \025\317 \024\rb\210\320 \210`\025\fb\210\315\177\210m\204_", 
          top = 0xbfffe428, 
          bottom = 0xbfffe420, 
          byte_string = 143543449, 
          byte_string_start = 0x84355f8 "\b\203\022", 
          constants = 140798917, 
          next = 0x0
        }
        top = 0xbfffe420
        result = <value optimized out>
#16 0x08197dc4 in funcall_lambda (fun=<value optimized out>, 
    nargs=<value optimized out>, arg_vector=0xc0)
    at /data/steve/bzr/emacs/quickfixes/src/eval.c:3174
        val = <value optimized out>
        syms_left = 138528226
        next = <value optimized out>
        i = 2
        optional = 1
        rest = 0
#17 0x081980e3 in Ffuncall (nargs=3, args=0xbfffe5b0)
    at /data/steve/bzr/emacs/quickfixes/src/eval.c:3047
        fun = 144198984
        original_fun = 139602970
        funcar = <value optimized out>
        numargs = 2
        val = <value optimized out>
        backtrace = {
          next = 0xbfffe7cc, 
          function = 0xbfffe5b0, 
          args = 0xbfffe5b4, 
          nargs = 2, 
          evalargs = 0 '\000', 
          debug_on_exit = 0 '\000'
        }
        internal_args = <value optimized out>
        i = <value optimized out>
#18 0x0819986c in Fapply (nargs=2, args=0xbfffe638)
    at /data/steve/bzr/emacs/quickfixes/src/eval.c:2506
        i = <value optimized out>
        numargs = <value optimized out>
        spread_arg = 138528226
        funcall_args = 0xbfffe5b0
        fun = <value optimized out>
        retval = <value optimized out>
        sa_must_free = 0
#19 0x08199a9d in apply1 (fn=139602970, arg=139511870)
    at /data/steve/bzr/emacs/quickfixes/src/eval.c:2763
        args = {139602970, 139511870}
#20 0x08193d6f in Fcall_interactively (function=139602970, record_flag=138528250, 
    keys=138556405) at /data/steve/bzr/emacs/quickfixes/src/callint.c:376
        specs = 139511870
        filter_specs = <value optimized out>
        teml = <value optimized out>
        up_event = 138528226
        enable = 138528226
        next_event = <value optimized out>
        prefix_arg = <value optimized out>
        string = <value optimized out>
        tem = <value optimized out>
        i = 138528226
        j = <value optimized out>
        foo = 138528226
        prompt1 = 
    "\005\000\000\000\000\000\000\000\002\000\000\000\004\000\000\000\004\000\000\000\000\000\000\000\003\b\000\000\000\000\000\000F\200|\bP\000\000\000\000\263\026\bH\347\377\277\032\263\026\bF\200|\b\372\305A\b\000\000\000\000\342\305A\bP\000\000\000\360_\031\b\230\347\377\277\316\\\031\bF\200|\b\344\024\222L\000\000\000\000\021\317~L"
        arg_from_tty = 138528226
        key_count = <value optimized out>
        record_then_fail = <value optimized out>
        save_this_command = 139602970
        save_last_command = 139047370
        save_this_original_command = 139047586
        save_real_this_command = 139602970
#21 0x081982b3 in Ffuncall (nargs=4, args=0xbfffe810)
    at /data/steve/bzr/emacs/quickfixes/src/eval.c:2996
        fun = <value optimized out>
        original_fun = <value optimized out>
        funcar = <value optimized out>
        numargs = 3
        val = <value optimized out>
        backtrace = {
          next = 0xbfffe8cc, 
          function = 0xbfffe810, 
          args = 0xbfffe814, 
          nargs = 3, 
          evalargs = 0 '\000', 
          debug_on_exit = 0 '\000'
        }
        internal_args = 0xbfffe814
        i = 192
#22 0x08198561 in call3 (fn=138653242, arg1=139602970, arg2=138528250, arg3=
    138528226) at /data/steve/bzr/emacs/quickfixes/src/eval.c:2820
        ret_ungc_val = 144198984
        args = {138653242, 139602970, 138528250, 138528226}
#23 0x0812c97d in Fexecute_extended_command (prefixarg=138528226)
    at /data/steve/bzr/emacs/quickfixes/src/keyboard.c:10425
        function = 139602970
        saved_last_point_position = 192
        saved_keys = <value optimized out>
        saved_last_point_position_buffer = 138547981
        bindings = 138528226
        value = <value optimized out>
        hstarted = <value optimized out>
#24 0x081982d4 in Ffuncall (nargs=2, args=0xbfffe960)
    at /data/steve/bzr/emacs/quickfixes/src/eval.c:2990
        fun = <value optimized out>
        original_fun = <value optimized out>
        funcar = <value optimized out>
        numargs = 1
        val = <value optimized out>
        backtrace = {
          next = 0xbfffeafc, 
          function = 0xbfffe960, 
          args = 0xbfffe964, 
          nargs = 1, 
          evalargs = 0 '\000', 
          debug_on_exit = 0 '\000'
        }
        internal_args = 0xbfffe964
        i = 192
#25 0x08194ee0 in Fcall_interactively (function=138557498, record_flag=138528226, 
    keys=138556405) at /data/steve/bzr/emacs/quickfixes/src/callint.c:849
        val = <value optimized out>
        specs = 138528226
        filter_specs = <value optimized out>
        teml = <value optimized out>
        up_event = 138528226
        enable = 0
        next_event = <value optimized out>
        prefix_arg = <value optimized out>
        string = 0x1 <Address 0x1 out of bounds>
        tem = 0x1 <Address 0x1 out of bounds>
        i = -1073747680
        j = 1
        foo = 0
        prompt1 = '\000' <repeats 99 times>
        arg_from_tty = 0
        key_count = <value optimized out>
        record_then_fail = <value optimized out>
        save_this_command = 138557498
        save_last_command = 138528226
        save_this_original_command = 138557498
        save_real_this_command = 138557498
#26 0x081982b3 in Ffuncall (nargs=4, args=0xbfffeb40)
    at /data/steve/bzr/emacs/quickfixes/src/eval.c:2996
        fun = <value optimized out>
        original_fun = <value optimized out>
        funcar = <value optimized out>
        numargs = 3
        val = <value optimized out>
        backtrace = {
          next = 0x0, 
          function = 0xbfffeb40, 
          args = 0xbfffeb44, 
          nargs = 3, 
          evalargs = 0 '\000', 
          debug_on_exit = 0 '\000'
        }
        internal_args = 0xbfffeb44
        i = 192
#27 0x08198561 in call3 (fn=138653242, arg1=138557498, arg2=138528226, arg3=
    138528226) at /data/steve/bzr/emacs/quickfixes/src/eval.c:2820
        ret_ungc_val = 144198984
        args = {138653242, 138557498, 138528226, 138528226}
#28 0x08138f0a in command_loop_1 ()
    at /data/steve/bzr/emacs/quickfixes/src/keyboard.c:1737
        cmd = <value optimized out>
        keybuf = {536871392, -1227454012, 40, 70, -1208051908, 7, -1208052788, 
    -1227393311, 134549777, 135434720, 0, 1, 0, 0, -1208028976, 2, -1207963660, 
    -1227458156, 40, 0, -1073746900, -1073747104, 0, 0, 138528226, 139673522, 0, 
    0, 0, 138797896}
        i = <value optimized out>
        prev_modiff = 10
        prev_buffer = 0x8421308
#29 0x08196971 in internal_condition_case (bfun=0x8138b90 <command_loop_1>, 
    handlers=138559210, hfun=0x8132df0 <cmd_error>)
    at /data/steve/bzr/emacs/quickfixes/src/eval.c:1460
        val = 144198984
        c = {
          tag = 138528226, 
          val = 138528226, 
          next = 0xbfffeda8, 
          gcpro = 0x0, 
          jmp = {{
              __jmpbuf = {138797896, 138797896, 138797912, -1073746584, 
    1767137854, -1537285807}, 
              __mask_was_saved = 0, 
              __saved_mask = {
                __val = {1, 0, 1, 0, 0, 3221220248, 1, 5000, 1918989871, 
    1853190703, 1668509231, 3087005312, 0, 3221220704, 3221220640, 3221220652, 0, 
    3067573985, 134548805, 3068923892, 3068576478, 1, 142126384, 45, 3086938320, 
    2, 3087003636, 3067513284, 3067530708, 3069701480, 3221220976, 4294967295}
              }
            }}, 
          backlist = 0x0, 
          handlerlist = 0x0, 
          lisp_eval_depth = 0, 
          pdlcount = 2, 
          poll_suppress_count = 1, 
          interrupt_input_blocked = 0, 
          byte_stack = 0x0
        }
        h = {
          handler = 138559210, 
          var = 138528226, 
          chosen_clause = 0, 
          tag = 0xbfffec84, 
          next = 0x0
        }
#30 0x08132a95 in command_loop_2 (ignore=138528226)
    at /data/steve/bzr/emacs/quickfixes/src/keyboard.c:1338
        val = 144198984
#31 0x08196a51 in internal_catch (tag=138557282, func=0x8132a70 <command_loop_2>, 
    arg=138528226) at /data/steve/bzr/emacs/quickfixes/src/eval.c:1204
        c = {
          tag = 138557282, 
          val = 138528226, 
          next = 0x0, 
          gcpro = 0x0, 
          jmp = {{
              __jmpbuf = {138797896, 138797896, 138797912, -1073746312, 
    1767350846, -1537681071}, 
              __mask_was_saved = 0, 
              __saved_mask = {
                __val = {3221220964, 3221221112, 135472866, 3221220976, 
    0 <repeats 16 times>, 3067955692, 0, 0, 0, 138547976, 1, 138212944, 0, 14, 
    3221221068, 138695978, 138695976}
              }
            }}, 
          backlist = 0x0, 
          handlerlist = 0x0, 
          lisp_eval_depth = 0, 
          pdlcount = 2, 
          poll_suppress_count = 1, 
          interrupt_input_blocked = 0, 
          byte_stack = 0x0
        }
#32 0x08132c41 in command_loop ()
    at /data/steve/bzr/emacs/quickfixes/src/keyboard.c:1317
No locals.
#33 0x08132fda in recursive_edit_1 ()
    at /data/steve/bzr/emacs/quickfixes/src/keyboard.c:940
        val = <value optimized out>
#34 0x08133102 in Frecursive_edit ()
    at /data/steve/bzr/emacs/quickfixes/src/keyboard.c:1002
        buffer = 138528226
#35 0x08127e61 in main (argc=<value optimized out>, argv=<value optimized out>)
    at /data/steve/bzr/emacs/quickfixes/src/emacs.c:1708
        dummy = 2
        stack_bottom_variable = 8 '\b'
        do_initial_setlocale = 138797896
        skip_args = 0
        rlim = {
          rlim_cur = 8388608, 
          rlim_max = 18446744073709551615
        }
        no_loadup = 0
        junk = 0x0
        dname_arg = 0x0
        ch_to_dir = 0xb6cff4a9 "\201\303K\233"

Lisp Backtrace:
"recursive-edit" (0xbfffe134)
"ediff-clone-buffer-for-region-comparison" (0xbfffe424)
"ediff-regions-linewise" (0xbfffe5b4)
"call-interactively" (0xbfffe814)
"execute-extended-command" (0xbfffe964)
"call-interactively" (0xbfffeb44)

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

* bug#7044: 24.0.50; Emacs crashes after calling ediff-regions-linewise
  2010-09-16 17:28 bug#7044: 24.0.50; Emacs crashes after calling ediff-regions-linewise Stephen Berman
@ 2010-09-25 23:41 ` Juanma Barranquero
  2010-10-03  1:00   ` Chong Yidong
  0 siblings, 1 reply; 3+ messages in thread
From: Juanma Barranquero @ 2010-09-25 23:41 UTC (permalink / raw)
  To: Stephen Berman; +Cc: 7044

> 1. emacs -Q
> 2. M-x ediff-regions-linewise, type RET twice to use *scratch* for both
>   Ediff buffers (it doesn't matter which buffers are used).
> 3. Any attempt to mark a region, indeed it seems any further input at
>   all, makes Emacs abort.  This is completely reproducible. Full
>   backtrace attached.

On keyboard.c:command_loop, line 1789,

  current_buffer->mark_active => t
  Vtransient_mark_mode => t
  Vdeactivate_mark => nil
  Vselect_active_regions => t

When line 1814 is reached, current_buffer->mark contains a marker that
points to no buffer

  (gdb) p current_buffer->mark
  $8 = 48498715
  (gdb) pr
  #<marker in no buffer>

so

  Fmarker_position (current_buffer->mark)

returns nil, and so beg is assigned XINT (nil), which is a bug.

Now, shouldn't current_buffer->mark_active be nil if the mark points nowhere?

    Juanma





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

* bug#7044: 24.0.50; Emacs crashes after calling ediff-regions-linewise
  2010-09-25 23:41 ` Juanma Barranquero
@ 2010-10-03  1:00   ` Chong Yidong
  0 siblings, 0 replies; 3+ messages in thread
From: Chong Yidong @ 2010-10-03  1:00 UTC (permalink / raw)
  To: Juanma Barranquero; +Cc: Stephen Berman, 7044

Juanma Barranquero <lekktu@gmail.com> writes:

>   Fmarker_position (current_buffer->mark)
>
> returns nil, and so beg is assigned XINT (nil), which is a bug.
>
> Now, shouldn't current_buffer->mark_active be nil if the mark points
> nowhere?

No; it's possible that the buffer-local variable mark-active has been
set but the actual marker hasn't been assigned yet.  This was an
oversight on my part, and I've now checked in a fix.

Thanks.





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

end of thread, other threads:[~2010-10-03  1:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-16 17:28 bug#7044: 24.0.50; Emacs crashes after calling ediff-regions-linewise Stephen Berman
2010-09-25 23:41 ` Juanma Barranquero
2010-10-03  1:00   ` Chong Yidong

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).