all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#26531: Emacs crashes with adding space character
@ 2017-04-16  3:18 Ranjan Maitra
  2017-04-16  4:38 ` bug#26531: Further information (Emacs crashes with adding space character) Ranjan Maitra
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Ranjan Maitra @ 2017-04-16  3:18 UTC (permalink / raw)
  To: 26531

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

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 <maitra@gmx.com>

[-- Attachment #2: temp.c --]
[-- Type: text/plain, Size: 460 bytes --]

#include <getopt.h>
#include <ctype.h>

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);
}


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

end of thread, other threads:[~2017-04-17 13:54 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-16  3:18 bug#26531: Emacs crashes with adding space character Ranjan Maitra
2017-04-16  4:38 ` bug#26531: Further information (Emacs crashes with adding space character) Ranjan Maitra
2017-04-16  5:43 ` bug#26531: Emacs crashes with adding space character Paul Eggert
2017-04-16  6:41   ` Eli Zaretskii
2017-04-16 19:21     ` Paul Eggert
2017-04-16 13:43   ` Ranjan Maitra
2017-04-16 19:24     ` Paul Eggert
2017-04-16 20:08       ` Eli Zaretskii
2017-04-17  0:06         ` Ranjan Maitra
2017-04-17  5:43           ` Eli Zaretskii
2017-04-17 13:54             ` Ranjan Maitra
2017-04-17 12:34           ` npostavs
2017-04-16 13:44   ` Ranjan Maitra
2017-04-16 16:57     ` Eli Zaretskii
2017-04-16 18:29       ` Ranjan Maitra
2017-04-16 18:32       ` Ranjan Maitra
2017-04-16  6:37 ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.