From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#18668: 24.3.94; Assertion violation in add_text_properties_1 Date: Thu, 09 Oct 2014 16:58:54 +0300 Message-ID: <83ppe1bazl.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1412863244 18493 80.91.229.3 (9 Oct 2014 14:00:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Oct 2014 14:00:44 +0000 (UTC) To: 18668@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 09 16:00:37 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XcEGi-0007Zc-FK for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Oct 2014 16:00:36 +0200 Original-Received: from localhost ([::1]:42689 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XcEGi-0007pB-3d for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Oct 2014 10:00:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49877) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XcEGN-0007p4-AL for bug-gnu-emacs@gnu.org; Thu, 09 Oct 2014 10:00:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XcEGD-000519-Cd for bug-gnu-emacs@gnu.org; Thu, 09 Oct 2014 10:00:15 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47708) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XcEGD-0004zZ-AF for bug-gnu-emacs@gnu.org; Thu, 09 Oct 2014 10:00:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XcEGB-0007xG-Un for bug-gnu-emacs@gnu.org; Thu, 09 Oct 2014 10:00:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Oct 2014 14:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 18668 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.141286315330482 (code B ref -1); Thu, 09 Oct 2014 14:00:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 Oct 2014 13:59:13 +0000 Original-Received: from localhost ([127.0.0.1]:39272 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XcEFL-0007vX-Ma for submit@debbugs.gnu.org; Thu, 09 Oct 2014 09:59:12 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47925) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XcEFI-0007vL-Uy for submit@debbugs.gnu.org; Thu, 09 Oct 2014 09:59:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XcEF8-0004fk-Oc for submit@debbugs.gnu.org; Thu, 09 Oct 2014 09:59:08 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:43537) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XcEF8-0004fg-Lf for submit@debbugs.gnu.org; Thu, 09 Oct 2014 09:58:58 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49619) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XcEF1-0007cz-0T for bug-gnu-emacs@gnu.org; Thu, 09 Oct 2014 09:58:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XcEEq-0004dA-RY for bug-gnu-emacs@gnu.org; Thu, 09 Oct 2014 09:58:50 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:44153) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XcEEq-0004d4-Dm for bug-gnu-emacs@gnu.org; Thu, 09 Oct 2014 09:58:40 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0ND600A00JK2PN00@a-mtaout20.012.net.il> for bug-gnu-emacs@gnu.org; Thu, 09 Oct 2014 16:58:39 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0ND600ATIK5QJ120@a-mtaout20.012.net.il> for bug-gnu-emacs@gnu.org; Thu, 09 Oct 2014 16:58:39 +0300 (IDT) X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:94336 I was editing a C source file, when Emacs 24.3.94 hit an assertion violation. Here's the backtrace and some data: Breakpoint 1, terminate_due_to_signal (sig=sig@entry=22, backtrace_limit=backtrace_limit@entry=2147483647) at emacs.c:350 350 { (gdb) up #1 0x0117096e in die ( msg=msg@entry=0x14bf05a "modified", file=file@entry=0x14bef95 "textprop.c", line=line@entry=1259) at alloc.c:6833 6833 terminate_due_to_signal (SIGABRT, INT_MAX); (gdb) #2 0x012044f0 in add_text_properties_1 (start=start@entry=310800, end=end@entry=310804, properties=, properties@entry=139616918, object=76471301, object@entry=66533410, set_type=set_type@entry=TEXT_PROPERTY_REPLACE) at textprop.c:1259 1259 eassert (modified); (gdb) p modified $1 = false (gdb) up #3 0x012046a4 in Fadd_text_properties (start=310800, end=310804, properties=139616918, object=66533410) at textprop.c:1303 1303 return add_text_properties_1 (start, end, properties, object, (gdb) down #2 0x012044f0 in add_text_properties_1 (start=start@entry=310800, end=end@entry=310804, properties=, properties@entry=139616918, object=76471301, object@entry=66533410, set_type=set_type@entry=TEXT_PROPERTY_REPLACE) at textprop.c:1259 1259 eassert (modified); (gdb) l 1254 { 1255 if (BUFFERP (object)) 1256 signal_after_change (XINT (start), XINT (end) - XINT (st art), 1257 XINT (end) - XINT (start)); 1258 1259 eassert (modified); 1260 return Qt; 1261 } 1262 1263 if (LENGTH (i) == len) (gdb) p start $2 = 310800 (gdb) p end $3 = 310804 (gdb) p i $4 = (INTERVAL) 0x860472c (gdb) bt #0 terminate_due_to_signal (sig=sig@entry=22, backtrace_limit=backtrace_limit@entry=2147483647) at emacs.c:350 #1 0x0117096e in die ( msg=msg@entry=0x14bf05a "modified", file=file@entry=0x14bef95 "textprop.c", line=line@entry=1259) at alloc.c:6833 #2 0x012044f0 in add_text_properties_1 (start=start@entry=310800, end=end@entry=310804, properties=, properties@entry=139616918, object=76471301, object@entry=66533410, set_type=set_type@entry=TEXT_PROPERTY_REPLACE) at textprop.c:1259 #3 0x012046a4 in Fadd_text_properties (start=310800, end=310804, properties=139616918, object=66533410) at textprop.c:1303 #4 0x0119689b in Ffuncall (nargs=nargs@entry=4, args=args@entry=0x82ee7c) at eval.c:2823 #5 0x011e44dd in exec_byte_code (bytestr=, vector=19534661, maxdepth=44, args_template=args_template@entry=3084, nargs=nargs@entry=3, args=, args@entry=0x82f01c) at bytecode.c:916 #6 0x01195e1a in funcall_lambda (fun=19534621, nargs=nargs@entry=3, arg_vector=arg_vector@entry=0x82f01c) at eval.c:2979 #7 0x01196ad7 in Ffuncall (nargs=nargs@entry=4, args=args@entry=0x82f018) at eval.c:2861 #8 0x011e44dd in exec_byte_code (bytestr=, vector=19534093, maxdepth=52, args_template=args_template@entry=2056, nargs=nargs@entry=2, args=, args@entry=0x82f1ac) at bytecode.c:916 #9 0x01195e1a in funcall_lambda (fun=19534053, nargs=nargs@entry=2, arg_vector=arg_vector@entry=0x82f1ac) at eval.c:2979 #10 0x01196ad7 in Ffuncall (nargs=nargs@entry=3, args=args@entry=0x82f1a8) at eval.c:2861 #11 0x011e44dd in exec_byte_code (bytestr=, vector=19534301, maxdepth=40, args_template=args_template@entry=1028, nargs=nargs@entry=1, args=, args@entry=0x82f32c) at bytecode.c:916 #12 0x01195e1a in funcall_lambda (fun=19534261, nargs=nargs@entry=1, arg_vector=arg_vector@entry=0x82f32c) at eval.c:2979 #13 0x01196ad7 in Ffuncall (nargs=nargs@entry=2, args=args@entry=0x82f328) at eval.c:2861 #14 0x011e44dd in exec_byte_code (bytestr=, vector=19534221, maxdepth=24, args_template=args_template@entry=1028, nargs=nargs@entry=1, args=, args@entry=0x82f4ac) at bytecode.c:916 #15 0x01195e1a in funcall_lambda (fun=19534181, nargs=nargs@entry=1, arg_vector=arg_vector@entry=0x82f4ac) at eval.c:2979 #16 0x01196ad7 in Ffuncall (nargs=nargs@entry=2, args=args@entry=0x82f4a8) at eval.c:2861 #17 0x011e44dd in exec_byte_code (bytestr=, vector=19944917, maxdepth=20, args_template=args_template@entry=1024, nargs=nargs@entry=1, args=, args@entry=0x82f674) at bytecode.c:916 #18 0x01195e1a in funcall_lambda (fun=19944869, nargs=nargs@entry=1, arg_vector=arg_vector@entry=0x82f674) at eval.c:2979 #19 0x01196ad7 in Ffuncall (nargs=nargs@entry=2, args=args@entry=0x82f670) at eval.c:2861 #20 0x011924cc in Fcall_interactively (function=68492130, record_flag=66533410, keys=66554741) at callint.c:836 #21 0x01196833 in Ffuncall (nargs=nargs@entry=4, args=args@entry=0x82f7bc) at eval.c:2819 #22 0x011e44dd in exec_byte_code (bytestr=, vector=19931909, maxdepth=52, args_template=args_template@entry=4100, nargs=nargs@entry=1, args=, args@entry=0x82f94c) at bytecode.c:916 #23 0x01195e1a in funcall_lambda (fun=19931869, nargs=nargs@entry=1, arg_vector=arg_vector@entry=0x82f94c) at eval.c:2979 #24 0x01196ad7 in Ffuncall (nargs=nargs@entry=2, args=args@entry=0x82f948) at eval.c:2861 #25 0x01196cb5 in call1 (fn=66579618, arg1=68492130) at eval.c:2611 #26 0x011148fa in command_loop_1 () at keyboard.c:1559 #27 0x01193fa9 in internal_condition_case ( bfun=bfun@entry=0x111415d , handlers=66584930, hfun=hfun@entry=0x110678b ) at eval.c:1348 #28 0x010feb07 in command_loop_2 (ignore=66533410) at keyboard.c:1177 #29 0x01193ec4 in internal_catch (tag=66580290, func=func@entry=0x10feae7 , arg=66533410) at eval.c:1112 #30 0x010fea99 in command_loop () at keyboard.c:1156 #31 0x01106247 in recursive_edit_1 () at keyboard.c:777 #32 0x011066aa in Frecursive_edit () at keyboard.c:848 #33 0x010fe5d3 in main (argc=, argv=0xa43fe8) at emacs.c:1646 Lisp Backtrace: "add-text-properties" (0x82ee80) "yank-handle-category-property" (0x82f01c) "remove-yank-excluded-properties" (0x82f1ac) "insert-for-yank-1" (0x82f32c) "insert-for-yank" (0x82f4ac) "yank" (0x82f674) "call-interactively" (0x82f7c0) "command-execute" (0x82f94c) In GNU Emacs 24.3.94.1 (i686-pc-mingw32) of 2014-10-04 on HOME-C4E4A596F7 Windowing system distributor `Microsoft Corp.', version 5.1.2600 Configured using: `configure --prefix=/d/usr --enable-checking=yes,glyphs 'CFLAGS=-Og -g3'' Important settings: value of $LANG: ENU locale-coding-system: cp1255 Major mode: Mail Minor modes in effect: diff-auto-refine-mode: t flyspell-mode: t desktop-save-mode: t show-paren-mode: t display-time-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t temp-buffer-resize-mode: t line-number-mode: t auto-fill-function: mail-mode-auto-fill abbrev-mode: t Recent input: C-x C-s M-u M-u M-d M-l M-u M-u C-z C-z C-z C-z C-z C-z C-z C-z C-z ( ) SPC SPC SPC ( ) ( ) M-u ( ) SPC SPC SPC C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-x C-s C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z P U S H _ B P M-/ SPC ( b p a _ s p , SPC e m b e M-/ , SPC l a s t _ s M-/ ) ; C-SPC C-w C-x C-s M-x r e p o r t - e m a c s - b u Recent messages: Making completion list... Saving file d:/gnu/bzr/emacs/test/src/bidi.c... Wrote d:/gnu/bzr/emacs/test/src/bidi.c Saving file d:/gnu/bzr/emacs/test/src/bidi.c... Wrote d:/gnu/bzr/emacs/test/src/bidi.c Saving file d:/gnu/bzr/emacs/test/src/bidi.c... Wrote d:/gnu/bzr/emacs/test/src/bidi.c Mark set Saving file d:/gnu/bzr/emacs/test/src/bidi.c... Wrote d:/gnu/bzr/emacs/test/src/bidi.c Load-path shadows: None found. Features: (shadow mailalias emacsbug sendmail dabbrev help-mode ld-script tcl conf-mode org-element org-rmail org-mhe org-irc org-info org-gnus gnus-util org-docview doc-view image-mode dired-x dired org-bibtex bibtex org-bbdb org-w3m org byte-opt bytecomp byte-compile cconv advice org-macro org-footnote org-pcomplete pcomplete org-list org-faces org-entities org-version ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp ob-comint ob-core ob-eval org-compat org-macs org-loaddefs find-func cal-menu calendar cal-loaddefs arc-mode archive-mode parse-time diff-mode sh-script smie executable generic jka-compr vc-cvs make-mode autorevert filenotify bat-mode gud comint ansi-color ring flyspell noutline outline easy-mmode info vc-bzr cc-langs qp rmailsum rmailmm message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader mail-parse rfc2231 rmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils desktop frameset warnings server filecache mairix cus-edit cus-start cus-load wid-edit cl-loaddefs cl-lib saveplace midnight ispell generic-x cc-mode cc-fonts easymenu cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs paren battery time time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp w32-common-fns disp-table w32-win w32-vars tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process w32notify w32 multi-tty emacs) Memory information: ((conses 8 627415 94254) (symbols 32 39542 0) (miscs 32 2927 2752) (strings 16 96216 10380) (string-bytes 1 2791428) (vectors 8 29703) (vector-slots 4 811758 11860) (floats 8 160 493) (intervals 28 57349 168) (buffers 508 298))