id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
2856	mceditor 4.8.4 segfaults in RHEL 6.3 when aspell (en) dictionary is not installed	birdie	slavazanko	"I have built Midght Commander from mc-4.8.4-2.fc18.src.rpm ( libssh2-1.4.2-2.fc18.src.rpm also needs to be installed, because this library in RHEL/CentOS is too old ).

Now when I try to edit any file in MC I get this error:

{{{
                                                                      
       ┌─────────────────────── Error ────────────────────────┐       
       │ No word lists can be found for the language ""en_US"". │       
       │                                                      │       
       │                     [ Dismiss ]                      │       
       └──────────────────────────────────────────────────────┘       
                                                                      
}}}

Here's a backtrace:

{{{

#0  0x0000000000000021 in ?? ()
#1  0x00000000004aeb3a in aspell_clean () at spell.c:329
#2  0x00000000004a42c9 in edit_dlg_deinit (h=0x81f190, sender=<value optimized out>, msg=<value optimized out>, parm=<value optimized out>, data=<value optimized out>) at editwidget.c:129
#3  edit_dialog_callback (h=0x81f190, sender=<value optimized out>, msg=<value optimized out>, parm=<value optimized out>, data=<value optimized out>) at editwidget.c:981
#4  0x000000000043150a in dlg_run_done (h=0x81f190) at dialog.c:1272
#5  0x0000000000432377 in run_dlg (h=0x81f190) at dialog.c:1292
#6  0x00000000004a4f2b in edit_files (files=<value optimized out>) at editwidget.c:1139
#7  0x00000000004a51cb in edit_file (file_vpath=<value optimized out>, line=<value optimized out>) at editwidget.c:1079
#8  0x0000000000463a27 in do_edit_at_line (what_vpath=0x827620, internal=<value optimized out>, start_line=<value optimized out>) at cmd.c:761
#9  0x0000000000463cc0 in do_edit () at cmd.c:169
#10 edit_cmd () at cmd.c:796
#11 0x0000000000478f74 in midnight_execute_cmd (sender=0x7f9530, command=42) at midnight.c:1180
#12 0x000000000042e805 in buttonbar_call (w=0x7f9530, msg=<value optimized out>, parm=1004) at buttonbar.c:153
#13 buttonbar_callback (w=0x7f9530, msg=<value optimized out>, parm=1004) at buttonbar.c:175
#14 0x0000000000431ece in send_message (h=0x7ed120, key=1004, event=<value optimized out>) at ../../lib/widget/widget-common.h:136
#15 dlg_try_hotkey (h=0x7ed120, key=1004, event=<value optimized out>) at dialog.c:465
#16 dlg_key_event (h=0x7ed120, key=1004, event=<value optimized out>) at dialog.c:510
#17 dlg_process_event (h=0x7ed120, key=1004, event=<value optimized out>) at dialog.c:1259
#18 0x0000000000432324 in frontend_run_dlg (h=0x7ed120) at dialog.c:569
#19 run_dlg (h=0x7ed120) at dialog.c:1291
#20 0x000000000047a962 in create_panels_and_run_mc () at midnight.c:962
#21 do_nc () at midnight.c:1778
#22 0x00000000004138dc in main (argc=1, argv=0x7fffffffe668) at main.c:567
}}}

MC 4.8.3 works just fine here.

{{{
$ mc -V
GNU Midnight Commander 4.8.4
Built with GLib 2.22.5
Using the S-Lang library with terminfo database
With builtin Editor
With subshell support as default
With support for background operations
With mouse support on xterm and Linux console
With internationalization support
With multiple codepages support
Virtual File Systems: cpiofs, tarfs, sfs, extfs, ftpfs, sftpfs, fish, smbfs
Data types: char: 8; int: 32; long: 64; void *: 64; size_t: 64; off_t: 64;

$ gcc --version
gcc (GCC) 4.4.6 20120305 (Red Hat 4.4.6-4)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

rpmbuild CFLAGS=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wno-strict-aliasing
}}}

"	defect	closed	blocker	4.8.5	mcedit	4.8.4	fixed					merged	committed-master
