Crash in mccolorer when choosing old syntax highlighting



Hi,

(The patch by Pavel Tsekov did not fix the issue I was seeing, but then
I didn't yet report what it was exactly.)

How to reproduce:
Edit a file
Choose options->general menu
Disable colorer
Choose options->syntax highlighting
boom

(Backtrace is for mccolorer with Pavel's patch applied.)

I suppose the switching to the menu's necessary for the old syntax
highlighting doesn't yet work correctly.

#0  0x080aaf1e in colorer_get_handle (edit=0x0) at
syntax-colorer-wrapper.c:50
#1  0x080a97ab in colorer_free_syntax_rules (edit=0x0)
    at syntax-colorer.cpp:493
#2  0x080a7839 in edit_load_syntax (edit=0x0, pnames=0xbfaee638,
type=0x0)
    at syntax.c:1203
#3  0x080a8ca5 in edit_syntax_dialog () at choosesyntax.c:66
#4  0x0807952c in menubar_execute (menubar=Variable "menubar" is not
available.
) at menu.c:242
#5  0x08079d98 in menubar_callback (w=0x9697268, msg=WIDGET_HOTKEY,
parm=10)
    at menu.c:326
#6  0x08063ebe in dlg_process_event (h=0x96722b8, key=10,
event=0xbfaee6e4)
    at dialog.c:603
#7  0x080640d4 in run_dlg (h=0x96722b8) at dialog.c:785
#8  0x080a25f5 in edit_file (_file=0x9667908 "Makefile", line=0)
    at editwidget.c:217
#9  0x0805e39a in do_edit_at_line (what=0x9667908 "Makefile",
start_line=0)
    at cmd.c:270
#10 0x0805e3e6 in do_edit (what=Variable "what" is not available.
) at cmd.c:289
#11 0x08095643 in buttonbar_call (bb=Variable "bb" is not available.
) at widget.c:2279
#12 0x08095831 in buttonbar_callback (w=0x966e0a8, msg=WIDGET_HOTKEY, 
    parm=1004) at widget.c:2301
#13 0x08063d17 in dlg_process_event (h=0x9658298, key=1004,
event=0xbfaee804)
    at dialog.c:614
#14 0x080640d4 in run_dlg (h=0x9658298) at dialog.c:785
#15 0x08078c16 in main (argc=1, argv=0xbfaefa24) at main.c:1675

Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]