A bug



Hi!
 
I've found a bug in mc that results in segfault. Here is what I do to get this error:
Go to '/proc/N' (N = a pid that you have read permission to it) -> Go to 'mapped_base' and press F3 or "Ctrl-x q", and you get a segfault.
 
`mc -V` =
GNU Midnight Commander 4.6.0
Virtual File System: tarfs, extfs, cpiofs, ftpfs, fish
With builtin Editor
Using system-installed S-Lang library with terminfo database
With subshell support as default
With support for background operations
With mouse support on xterm and Linux console
With support for X11 events
With internationalization support
With multiple codepages support
`gdb mc` ... backtrace:
F3:
#0 0x08088481 in do_view_init ()
#1 0x0808c19d in view ()
#2 0x08052270 in view_file_at_line ()
#3 0x08052307 in view_file ()
#4 0x0805259e in do_view_cmd ()
#5 0x080525c2 in view_cmd ()
#6 0x0808ffcb in buttonbar_callback ()
#7 0x0805abad in dlg_try_hotkey ()
#8 0x0805acf5 in dlg_key_event ()
#9 0x0805b08f in dlg_process_event ()
#10 0x0805b1b1 in run_dlg ()
#11 0x080715dd in setup_panels_and_run_mc ()
#12 0x080717c2 in do_nc ()
#13 0x080720df in main ()
 
quickview:
#0 0x08088481 in do_view_init ()
#1 0x0808c299 in view_hook ()
#2 0x080856c8 in execute_hooks ()
#3 0x0807c1d5 in panel_callback ()
#4 0x0805ad16 in dlg_key_event ()
#5 0x0805b08f in dlg_process_event ()
#6 0x0805b1b1 in run_dlg ()
#7 0x080715dd in setup_panels_and_run_mc ()
#8 0x080717c2 in do_nc ()
#9 0x080720df in main ()
 


Do you Yahoo!?
Yahoo! Mail - Easier than ever with enhanced search. Learn more.

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