From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Ranjan Maitra Newsgroups: gmane.emacs.bugs Subject: bug#26531: Emacs crashes with adding space character Date: Sat, 15 Apr 2017 22:18:56 -0500 Message-ID: <20170415221856.4c8c32c6f25c35109d7cdbe8@gmx.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Multipart=_Sat__15_Apr_2017_22_18_56_-0500_AayYWoJaBHh/TJ5f" X-Trace: blaine.gmane.org 1492315880 32113 195.159.176.226 (16 Apr 2017 04:11:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 16 Apr 2017 04:11:20 +0000 (UTC) To: 26531@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Apr 16 06:11:16 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1czbWr-0008Bs-0a for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 Apr 2017 06:11:13 +0200 Original-Received: from localhost ([::1]:59048 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1czbWw-0006al-Pu for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 Apr 2017 00:11:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43363) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1czbWm-0006ZD-Ts for bug-gnu-emacs@gnu.org; Sun, 16 Apr 2017 00:11:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1czbWh-0007W6-VM for bug-gnu-emacs@gnu.org; Sun, 16 Apr 2017 00:11:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51445) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1czbWh-0007W0-Rn for bug-gnu-emacs@gnu.org; Sun, 16 Apr 2017 00:11:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1czbWh-00031B-Mi for bug-gnu-emacs@gnu.org; Sun, 16 Apr 2017 00:11:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ranjan Maitra Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Apr 2017 04:11:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 26531 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.149231585811573 (code B ref -1); Sun, 16 Apr 2017 04:11:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 Apr 2017 04:10:58 +0000 Original-Received: from localhost ([127.0.0.1]:49642 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1czbWb-00030b-Up for submit@debbugs.gnu.org; Sun, 16 Apr 2017 00:10:58 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46445) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1czaiY-0001qu-4W for submit@debbugs.gnu.org; Sat, 15 Apr 2017 23:19:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1czaiR-0002WG-CE for submit@debbugs.gnu.org; Sat, 15 Apr 2017 23:19:08 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:47081) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1czaiR-0002W8-8Z for submit@debbugs.gnu.org; Sat, 15 Apr 2017 23:19:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37415) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1czaiQ-0001PT-1i for bug-gnu-emacs@gnu.org; Sat, 15 Apr 2017 23:19:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1czaiM-0002VJ-Tc for bug-gnu-emacs@gnu.org; Sat, 15 Apr 2017 23:19:06 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:62230) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1czaiM-0002V2-Ia for bug-gnu-emacs@gnu.org; Sat, 15 Apr 2017 23:19:02 -0400 Original-Received: from alakananda.stat.iastate.edu ([173.28.184.156]) by mail.gmx.com (mrgmx003 [212.227.17.184]) with ESMTPSA (Nemesis) id 0M2cYX-1c9y682zaf-00sRBz for ; Sun, 16 Apr 2017 05:18:58 +0200 X-Mailer: Sylpheed 3.5.0 (GTK+ 2.24.31; x86_64-redhat-linux-gnu) X-Provags-ID: V03:K0:1d6rVnoowvj+Cn+FOFq2ViQfgE7Mut0RSez74XD8eEZ4W7q4oYS ph7WVxYSVZFKbn9Aui79rcdRYZXNMELheBGXv/VQc+yGuFocE0DR01lNXThA51bM31J2JYv Dlk2yqA8OU2qqq4vbU3kEQCw3ro5xVQqbCDJreBUhbO5MMX6OAQ1i4XOpPrgXrCSeSRRr87 591Qu6bIsgZBJaAS8LAag== X-UI-Out-Filterresults: notjunk:1;V01:K0:5ZgQl7jZkls=:V/miUG3rnha+QY900gP0H2 XQcqQIxOW9xlXCFYPRhmnlOeqV0lUa0CfweCIi0AAh51I0nrRXoixdFpa+vAeWnSnfs3FOxlL Z9Fm0NhHAjAOF23CVWwnPzciNzF/zNdwwk+71daH0rA3DHin3SDY5XyPjq4XQzT1+W0HL3Shz doOzA8aBU3wIbZT+hsyKqPc8wYBOe8284fW1boafsWzhX+S/uG0prxVu018QNjWLK0yFgnMU5 Cpk84RGjOY5x3J7b/1n1OZK32A28jT7CPgyJdbhtjfKgXBUh404LtxfEjKmMEG2RillXFHh7k KjASEvypV/rEB62cvK4ovltWvToMqf4vu4AWcf7pYvQGJ9+WbzXqcSXywei23T1K7RZBviQNV /azA49rORroch209eNhsRVNi9hd74MCuT+qgOqM8gFHVcuTLQDj/e1Ybd5DmuOHJ+TQexcKTa 7+FmrIoEcEffp2zRZ6Pod7tzdTIRrh6SnOuI18lorylXJpZN/vqfRCg1a4LiPz/cZTMQ/a2wS iKoG8Yz3+OU4PMUnDH3Je/KyPh1+rvYrLK3eipSgYZiz2tgHfrnFw2N/2WxR8HDI2RrDngTKS wesMKzOU1I3Oa6s1uegjlwBMEQfycJSI50oNG5ABLIyYtSLvppn218K0xHH2zEHil/gKNLrLA L/NHVWLfuzI9nCxX71XOA+EPoHn7HR+h+8//Ob/lap3+kPDSKCW/6JyDQEndNh7tlYiCWlW8g hAOcR8rFqX65ZHxqXFz8knHxSsBfVFdPVWSBiQoCeiIw8kxA35Bo3HZU1nI= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Sun, 16 Apr 2017 00:10:56 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:131635 Archived-At: This is a multi-part message in MIME format. --Multipart=_Sat__15_Apr_2017_22_18_56_-0500_AayYWoJaBHh/TJ5f Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hello, I am running emacs 25.1 on a fully updated Fedora 25 linux. I have stumbled upon the bug when editing the attached file and I can not figure out the issues. In the above file, if I go to before "Usage..." and start typing anything, including whitespace, emacs crashes. Here is gdb output with bt full and backtrace. (gdb) bt full #0 0x000000000053af6b in re_match_2_internal () #1 0x000000000053850a in fast_looking_at () #2 0x00000000004a983b in bidi_at_paragraph_end () #3 0x00000000004ada9f in bidi_move_to_visually_next () #4 0x00000000004446b0 in set_iterator_to_next () #5 0x000000000044eafe in display_line () #6 0x0000000000451268 in try_window () #7 0x000000000046544e in redisplay_window () #8 0x000000000046852b in redisplay_window_0 () #9 0x00000000005644be in internal_condition_case_1 () #10 0x000000000043227d in redisplay_windows () #11 0x0000000000454dd9 in redisplay_internal () #12 0x00000000004fb44b in read_char () #13 0x00000000004fdf3d in read_key_sequence.constprop () #14 0x00000000004ffb84 in command_loop_1 () #15 0x0000000000564432 in internal_condition_case () #16 0x00000000004f1614 in command_loop_2 () #17 0x00000000005643d3 in internal_catch () #18 0x00000000004f15d0 in command_loop () #19 0x00000000004f5dd7 in recursive_edit_1 () #20 0x00000000004f6128 in Frecursive_edit () #21 0x0000000000419d52 in main () (gdb) backtrace #0 0x000000000053af6b in re_match_2_internal () #1 0x000000000053850a in fast_looking_at () #2 0x00000000004a983b in bidi_at_paragraph_end () #3 0x00000000004ada9f in bidi_move_to_visually_next () #4 0x00000000004446b0 in set_iterator_to_next () #5 0x000000000044eafe in display_line () #6 0x0000000000451268 in try_window () #7 0x000000000046544e in redisplay_window () #8 0x000000000046852b in redisplay_window_0 () #9 0x00000000005644be in internal_condition_case_1 () #10 0x000000000043227d in redisplay_windows () #11 0x0000000000454dd9 in redisplay_internal () #12 0x00000000004fb44b in read_char () #13 0x00000000004fdf3d in read_key_sequence.constprop () #14 0x00000000004ffb84 in command_loop_1 () #15 0x0000000000564432 in internal_condition_case () #16 0x00000000004f1614 in command_loop_2 () #17 0x00000000005643d3 in internal_catch () #18 0x00000000004f15d0 in command_loop () #19 0x00000000004f5dd7 in recursive_edit_1 () #20 0x00000000004f6128 in Frecursive_edit () #21 0x0000000000419d52 in main () Note that I have no command for xbacktrace. (gdb) xbacktrace Undefined command: "xbacktrace". Try "help". This has really been a major block for me. So, I was wondering if anyone can help track down the error. Please feel free to ask questions if something is not clear. Thanks again! Best wishes, Ranjan -- Ranjan Maitra --Multipart=_Sat__15_Apr_2017_22_18_56_-0500_AayYWoJaBHh/TJ5f Content-Type: text/plain; name="temp.c" Content-Disposition: attachment; filename="temp.c" Content-Transfer-Encoding: 7bit #include #include void usage(char *s) { fprintf(stderr, "Usage: %s [-v] -i input file \n [-o] output files suffix \n -n number of records/observations \n -m number of features/dimensions \n -k minimum number of groups \n -K maximum number of groups \n [-I] maximum number of iterations \n [-t] number of tries in the random initialization \n [-s] number of short iterations \n [-r] robust scale estimate \n [-a] alpha value \n", s); } --Multipart=_Sat__15_Apr_2017_22_18_56_-0500_AayYWoJaBHh/TJ5f--