mc randomly segfaults after opening a file to edit (backtrace)

Frédéric L. W. Meunier lists2006 at pervalidus.net
Wed Mar 4 06:21:47 UTC 2009


Is this a bug ? It happens sometimes after closing a file I opened to 
edit. I don't need to change its contents to make it happen.

This is with latest CVS (not git).

Program terminated with signal 11, Segmentation fault.
[New process 20418]
#0  0x08075a23 in midnight_callback (h=0x80fb640, msg=DLG_KEY, parm=260)
     at /usr/local/src/links/mc/src/main.c:1532
1532                } else if (!command_prompt || !cmdline->buffer[0]) {
(gdb) where
#0  0x08075a23 in midnight_callback (h=0x80fb640, msg=DLG_KEY, parm=260)
     at /usr/local/src/links/mc/src/main.c:1532
#1  0x0805fc9b in dlg_process_event (h=0x80fb640, key=260, event=0xbffa7100)
     at /usr/local/src/links/mc/src/dialog.c:649
#2  0x080600dd in run_dlg (h=0x80fb640)
     at /usr/local/src/links/mc/src/dialog.c:786
#3  0x080740a8 in do_nc () at /usr/local/src/links/mc/src/main.c:1672
#4  0x08074ab5 in main (argc=Cannot access memory at address 0x1) at /usr/local/src/links/mc/src/main.c:2268



More information about the mc-devel mailing list