Segfault on loading of non existent syntax file
Leonard den Ottolander
leonard at den.ottolander.nl
Thu Feb 2 19:33:35 UTC 2006
Hi,
Ran mc from a temporary build dir and copied Syntax to ~/.mc/cedit/ .
Tried editing a file and saw a segfault when the non existent syntax
file is attempted to be loaded.
#0 edit_get_rule (edit=0x92e8dc0, byte_index=-1) at syntax.c:285
#1 0x080a4161 in edit_free_syntax_rules (edit=0x92e8dc0) at
syntax.c:977
#2 0x080a55ff in edit_load_syntax (edit=0x92e8dc0, pnames=0x0,
type=0x0)
at syntax.c:1201
#3 0x08097ff9 in edit_init (edit=0x92e8dc0, lines=38, columns=80,
filename=0x92e06b8 "Makefile.am", line=0) at edit.c:547
#4 0x080a00ca in edit_file (_file=0x92e06b8 "Makefile.am", line=0)
at editwidget.c:194
#5 0x0805c3ce in do_edit_at_line (what=0x92e06b8 "Makefile.am",
start_line=0)
at cmd.c:270
#6 0x0805c41a in do_edit (what=Variable "what" is not available.
) at cmd.c:289
#7 0x0809347f in buttonbar_call (bb=Variable "bb" is not available.
) at widget.c:2282
#8 0x0809366d in buttonbar_callback (w=0x92e89b8, msg=WIDGET_HOTKEY,
parm=1004) at widget.c:2304
#9 0x08061d77 in dlg_process_event (h=0x92d2b50, key=1004,
event=0xbfe6b404)
at dialog.c:614
#10 0x08062134 in run_dlg (h=0x92d2b50) at dialog.c:785
#11 0x08076a5b in main (argc=1, argv=0xbfe6c5c4) at main.c:1680
Leonard.
--
mount -t life -o ro /dev/dna /genetic/research
More information about the mc-devel
mailing list