Crash on hexediting empty file



Hi,

Try F3 -> F4 -> F2 on an empty file. Boom, ouch. (Might be that if you
still are in edit mode you need to try after getting back in view mode.)

Happens with an (apart from acinclude.m4) unpatched version from a
couple of days ago (20060129), but also with a patched (but not with
acinclude.m4) version a couple of weeks old (20051207).

(gdb) bt
#0  0x00000000 in ?? ()
#1  0x08092edd in buttonbar_call (bb=Variable "bb" is not available.
) at widget.c:2285
#2  0x080930b9 in buttonbar_callback (w=0x93b1290, msg=WIDGET_HOTKEY,
    parm=1002) at widget.c:2304
#3  0x08061c2b in dlg_process_event (h=0x93b0e90, key=1002,
event=0xbf923854)
    at dialog.c:614
#4  0x08061fe8 in run_dlg (h=0x93b0e90) at dialog.c:785
#5  0x08090d69 in mc_internal_viewer (command=0x0, file=0x93aa310
"exit",
    move_dir_p=0xbf923918, start_line=0) at view.c:3304
#6  0x0805be11 in view_file_at_line (filename=0x93aa310 "exit",
plain_view=0,
    internal=1, start_line=0) at cmd.c:125
#7  0x0805bf32 in view_file (filename=0x93aa310 "exit", plain_view=0,
    internal=1) at cmd.c:150
#8  0x0805bfb3 in do_view_cmd (normal=0) at cmd.c:208
#9  0x08092ecb in buttonbar_call (bb=Variable "bb" is not available.
) at widget.c:2282
#10 0x080930b9 in buttonbar_callback (w=0x93b0cd8, msg=WIDGET_HOTKEY,
    parm=1003) at widget.c:2304
#11 0x08061c2b in dlg_process_event (h=0x939ad58, key=1003,
event=0xbf923a14)
    at dialog.c:614
#12 0x08061fe8 in run_dlg (h=0x939ad58) at dialog.c:785
#13 0x080768e3 in main (argc=1, argv=0xbf924bd4) at main.c:1674

Leonard.

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





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