[Bug 572794] New: Aspell crashes when I type non-ASCII chars to replace words
http://bugzilla.novell.com/show_bug.cgi?id=572794 http://bugzilla.novell.com/show_bug.cgi?id=572794#c0 Summary: Aspell crashes when I type non-ASCII chars to replace words Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: x86-64 OS/Version: openSUSE 11.2 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: pcgomes@ig.com.br QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; pt-BR; rv:1.9.1.6) Gecko/20091201 SUSE/3.5.6-1.1.1 Firefox/3.5.6 Aspell always crash when I try to type a word containing non-ASCII characters to replace a misspelled word. I have already tried files either UTF8 or ISO-5589-1 encoded, and it crashes at both situations. Reproducible: Always Steps to Reproduce: 1.Start aspell with the following command: aspell -c -d pt_BR my_text.txt 2.When aspell detects the first misspelled word, press 'r' choose to replace. 3.Aspell will prompt to a new word. Type any non-ASCII char, such as á, é, ã, ç, à,ü. Actual Results: Aspell crashes as the first non-ASCII character is entered by keyboard. Expected Results: Aspell should have received my input word without crash and after I press "enter", it should replace the misspelled word by the input word. ---> My computer's configuration: pcgomes@ospirata:~/tmp/bug> uname -a; free -m; cat /proc/cpuinfo | grep "model name" Linux ospirata 2.6.31.8-0.1-desktop #1 SMP PREEMPT 2009-12-15 23:55:40 +0100 x86_64 x86_64 x86_64 GNU/Linux total used free shared buffers cached Mem: 988 852 135 0 12 319 -/+ buffers/cache: 520 467 Swap: 1027 319 708 model name : Intel(R) Pentium(R) Dual CPU T2310 @ 1.46GHz model name : Intel(R) Pentium(R) Dual CPU T2310 @ 1.46GHz ---> My environment_variables: COLORFGBG="15;0" COLORTERM="1" CPU="x86_64" CSHEDIT="emacs" CVS_RSH="ssh" DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-CPhLNERwYY,guid=25717af7c6de5967917702414b5891d1" DESKTOP_SESSION="kde4" DISPLAY=":0.0" DM_CONTROL="/var/run/xdmctl" ENV="/etc/bash.bashrc" FROM_HEADER="" GPG_AGENT_INFO="/tmp/gpg-hkZLua/S.gpg-agent:2151:1" GS_LIB="/home/pcgomes/.fonts" GTK2_RC_FILES="/etc/gtk-2.0/gtkrc:/usr/share/themes//QtCurve/gtk-2.0/gtkrc:/home/pcgomes/.gtkrc-2.0-qtengine:/home/pcgomes/.gtkrc-2.0:/home/pcgomes/kde4/share/config/gtkrc-2.0" GTK_IM_MODULE="cedilla" GTK_RC_FILES="/etc/gtk/gtkrc:/home/pcgomes/.gtkrc::/home/pcgomes/.kde4/share/config/gtkrc" G_BROKEN_FILENAMES="1" G_FILENAME_ENCODING="@locale,UTF-8,ISO-8859-1,CP1252" HISTSIZE="1000" HOME="/home/pcgomes" HOST="ospirata" HOSTNAME="ospirata" HOSTTYPE="x86_64" INPUTRC="/home/pcgomes/.inputrc" JAVA_BINDIR="/usr/lib64/jvm/java/bin" JAVA_HOME="/usr/lib64/jvm/java" JAVA_ROOT="/usr/lib64/jvm/java" JDK_HOME="/usr/lib64/jvm/java" JRE_HOME="/usr//jvm/jre" KDE_FULL_SESSION="true" KDE_MULTIHEAD="false" KDE_NO_IPV6="1" KDE_SESSION_UID="1000" KDE_SESSION_VERSION="4" KONSOLE_DBUS_SERVICE=":1.61" KONSOLE_DBUS_SESSION="/Sessions/3" LANG="pt_BR.UTF-8" LANGUAGE="" LD_LIBRARY_PATH="/usr/lib64/mpi/gcc/openmpi/lib64:/home/pcgomes/mestrado/paa/ns2/otcl-1.13:/home/pcgomes/mestrado/paa/ns2/lib:/home/pcgomes/mestrado/paa/ns2/otcl-1.13:/home/pcgomes/mestrado/paa/ns2/lib" LESS="-M -I" LESSCLOSE="lessclose.sh %s %s" LESSKEY="/etc/lesskey.bin" LESSOPEN="lessopen.sh %s" LESS_ADVANCED_PREPROCESSOR="no" LOGNAME="pcgomes" LS_COLORS="no=00:fi=00:di=01;34:ln=00;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=41;33;01:ex=00;32:*.cmd=00;32:*.exe=01;32:*.com=01;32:*.bat=01;32:*.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz=00;31:*.tgz=00;31:*.rpm=00;31:*.deb=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.lzma=00;31:*.zip=00;31:*.zoo=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tb2=00;31:*.tz2=00;31:*.tbz2=00;31:*.xz=00;31:*.avi=01;35:*.bmp=01;35:*.fli=01;35:*.gif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mng=01;35:*.mov=01;35:*.mpg=01;35:*.pcx=01;35:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.ppm=01;35:*.tga=01;35:*.tif=01;35:*.xbm=01;35:*.xpm=01;35:*.dl=01;35:*gl=01;35:*.wmv=01;35:*.aiff=00;32:*.au=00;32:*.mid=00;32:*.mp3=00;32:*.ogg=00;32:*.voc=00;32:*.wav=00;32:" LS_OPTIONS="-N --color=tty -T 0" MACHTYPE="x86_64-suse-linux" MAIL="/var/spool/mail/pcgomes" MALLOC_CHECK_="3" MANPATH="/usr/lib64/mpi/gcc/openmpi/share/man:/usr/local/man:/usr/share/man" MINICOM="-c on" MORE="-sl" NNTPSERVER="news" OLDPWD="/home/pcgomes/tmp" OPERADIR="/usr/share/opera" OSTYPE="linux" PAGER="less" PATH="/usr/lib64/mpi/gcc/openmpi/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/kde3/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/local/stow/RealPlayer:/home/pcgomes/mestrado/paa/ns2/bin:/home/pcgomes/mestrado/paa/ns2/tcl8.4.14/unix:/home/pcgomes/mestrado/paa/ns2/tk8.414/unix:/home/pcgomes/mestrado/paa/ns2/bin:/home/pcgomes/mestrado/paa/ns2/tcl8.4.14/unix:/home/pcgomes/mestrado/paa/ns2/tk8.4.14/unix" PROFILEHOME="" PROFILEREAD="true" PWD="/home/pcgomes/tmp/bug" PYTHONSTARTUP="/etc/pythonstart" QT_IM_MODULE="xim" QT_IM_SWITCHER="imsw-multi" QT_PLUGIN_PATH="/home/pcgomes/.kde4/lib64/kde4/plugins/:/usr/lib64/kde4/plugins/" QT_SYSTEM_DIR="/usr/share/desktop-data" SDK_HOME="/usr/lib64/jvm/java" SESSION_MANAGER="local/ospirata:@/tmp/.ICE-unix/2485,unix/ospirata:/tmp/.ICE-unix/2485" SHELL="/bin/bash" SHLVL="2" SSH_AGENT_PID="2152" SSH_ASKPASS="/usr/lib64/ssh/x11-ssh-askpass" QT_IM_SWITCHER="imsw-multi" QT_PLUGIN_PATH="/home/pcgomes/.kde4/lib64/kde4/plugins/:/usr/lib64/kde4/plugins/" QT_SYSTEM_DIR="/usr/share/desktop-data" SDK_HOME="/usr/lib64/jvm/java" SESSION_MANAGER="local/ospirata:@/tmp/.ICE-unix/2485,unix/ospirata:/tmp/.ICE-unix/2485" SHELL="/bin/bash" SHLVL="2" SSH_AGENT_PID="2152" SSH_ASKPASS="/usr/lib64/ssh/x11-ssh-askpass" SSH_AUTH_SOCK="/tmp/ssh-ZmGXj2004/agent.2004" TCL_LIBRARY="/home/pcgomes/mestrado/paa/ns2/tcl8.4.14/library" TERM="xterm" TMPDIR="/tmp" USER="pcgomes" USE_FAM="" WINDOWID="62914597" WINDOWMANAGER="/usr/bin/startkde" WINDOWPATH="7" XAUTHLOCALHOSTNAME="ospirata" XCURSOR_THEME="DMZ" XDG_CONFIG_DIRS="/etc/xdg" XDG_DATA_DIRS="/usr/local/share:/usr/share:/etc/opt/kde3/share:/opt/kde3/share" XDG_SESSION_COOKIE="00ae16e1b7de5857b484b7014aef75cb-1264095691.825278-1606932966" XDM_MANAGED="method=classic,auto" XKEYSYMDB="/usr/share/X11/XKeysymDB" XMODIFIERS="@im=local" XNLSPATH="/usr/share/X11/nls" XSESSION_IS_UP="yes" ---> GDB backtrace #0 0x00007f30008a7cc2 in ?? () from /lib64/libc.so.6 #1 0x00007f300090b7b9 in mbrtowc () from /lib64/libc.so.6 #2 0x00007f30011d7b74 in _nc_build_wch () from /lib64/libncursesw.so.5 #3 0x00007f30011df354 in _nc_insert_ch () from /lib64/libncursesw.so.5 #4 0x00007f30011df5b6 in _nc_insert_ch () from /lib64/libncursesw.so.5 #5 0x00007f30011df5b6 in _nc_insert_ch () from /lib64/libncursesw.so.5 #6 0x00007f30011df5b6 in _nc_insert_ch () from /lib64/libncursesw.so.5 #7 0x00007f30011df5b6 in _nc_insert_ch () from /lib64/libncursesw.so.5 #8 0x00007f30011df5b6 in _nc_insert_ch () from /lib64/libncursesw.so.5 #9 0x00007f30011df5b6 in _nc_insert_ch () from /lib64/libncursesw.so.5 #10 0x00007f30011df5b6 in _nc_insert_ch () from /lib64/libncursesw.so.5 #11 0x00007f30011df5b6 in _nc_insert_ch () from /lib64/libncursesw.so.5 #12 0x00007f30011df5b6 in _nc_insert_ch () from /lib64/libncursesw.so.5 #13 0x00007f30011df5b6 in _nc_insert_ch () from /lib64/libncursesw.so.5 #14 0x00007f30011df5b6 in _nc_insert_ch () from /lib64/libncursesw.so.5 #15 0x00007f30011df5b6 in _nc_insert_ch () from /lib64/libncursesw.so.5 #16 0x00007f30011df5b6 in _nc_insert_ch () from /lib64/libncursesw.so.5 #17 0x00007f30011df5b6 in _nc_insert_ch () from /lib64/libncursesw.so.5 #18 0x00007f30011df5b6 in _nc_insert_ch () from /lib64/libncursesw.so.5 #19 0x00007f30011df5b6 in _nc_insert_ch () from /lib64/libncursesw.so.5 #20 0x00007f30011df5b6 in _nc_insert_ch () from /lib64/libncursesw.so.5 #21 0x00007f30011df5b6 in _nc_insert_ch () from /lib64/libncursesw.so.5 #22 0x00007f30011df5b6 in _nc_insert_ch () from /lib64/libncursesw.so.5 #23 0x00007f30011df5b6 in _nc_insert_ch () from /lib64/libncursesw.so.5 #24 0x00007f30011df5b6 in _nc_insert_ch () from /lib64/libncursesw.so.5 #25 0x00007f30011df5b6 in _nc_insert_ch () from /lib64/libncursesw.so.5 #26 0x00007f30011df5b6 in _nc_insert_ch () from /lib64/libncursesw.so.5 #27 0x00007f30011df5b6 in _nc_insert_ch () from /lib64/libncursesw.so.5 ---Type <return> to continue, or q <return> to quit--- -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=572794
http://bugzilla.novell.com/show_bug.cgi?id=572794#c
yang xiaoyu
http://bugzilla.novell.com/show_bug.cgi?id=572794
http://bugzilla.novell.com/show_bug.cgi?id=572794#c
Petr Gajdos
http://bugzilla.novell.com/show_bug.cgi?id=572794
http://bugzilla.novell.com/show_bug.cgi?id=572794#c1
Petr Gajdos
http://bugzilla.novell.com/show_bug.cgi?id=572794
http://bugzilla.novell.com/show_bug.cgi?id=572794#c2
--- Comment #2 from Petr Gajdos
http://bugzilla.novell.com/show_bug.cgi?id=572794
http://bugzilla.novell.com/show_bug.cgi?id=572794#c3
--- Comment #3 from Petr Gajdos
http://bugzilla.novell.com/show_bug.cgi?id=572794
http://bugzilla.novell.com/show_bug.cgi?id=572794#c4
--- Comment #4 from Pedro Gomes
http://bugzilla.novell.com/show_bug.cgi?id=572794
http://bugzilla.novell.com/show_bug.cgi?id=572794#c5
Petr Gajdos
The newest OpenSuse available é is 11.2. I do not have (at least now) any 11.3 RC. I have tested also at 11.0 and 11.1. The same crash happens at 11.1.
You can download it here http://software.opensuse.org/developer/cs or you can wait a half of month to 11.3.
It does not crash at 11.0, but it does not work as well. For example, if I want to replace a word that contains the "é" char, I should type the following key combination to produce it: "'" + "e". If I do that, it inputs two white spaces. In consequence the word is replaced at the file with two white spaces in stead of "é".
I am afraid it doesn't work for 11.3 RC1 either, but there is no crash. First, I will examine the crash for 11.1 and 11.2. I will probably not fix aspell -c in 11.0, but hopefully I will have time to look into it for upcomming 11.3. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=572794
http://bugzilla.novell.com/show_bug.cgi?id=572794#c6
--- Comment #6 from Petr Gajdos
http://bugzilla.novell.com/show_bug.cgi?id=572794
http://bugzilla.novell.com/show_bug.cgi?id=572794#c7
--- Comment #7 from Petr Gajdos
http://bugzilla.novell.com/show_bug.cgi?id=572794
http://bugzilla.novell.com/show_bug.cgi?id=572794#c8
Petr Gajdos
http://bugzilla.novell.com/show_bug.cgi?id=572794
http://bugzilla.novell.com/show_bug.cgi?id=572794#c9
Dr. Werner Fink
http://bugzilla.novell.com/show_bug.cgi?id=572794
http://bugzilla.novell.com/show_bug.cgi?id=572794#c10
Petr Gajdos
http://bugzilla.novell.com/show_bug.cgi?id=572794
http://bugzilla.novell.com/show_bug.cgi?id=572794#c11
Dr. Werner Fink
http://bugzilla.novell.com/show_bug.cgi?id=572794
http://bugzilla.novell.com/show_bug.cgi?id=572794#c12
Petr Gajdos
This is not that simple as 5.7-20100109 is definitly not comparable with ncurses-5.6-20080804 ... there have been heavy changes between this two source trees. Is this really required as 11.3 seems to work and will be shipped now?
Not required from my side. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=572794
http://bugzilla.novell.com/show_bug.cgi?id=572794#c13
Dr. Werner Fink
http://bugzilla.novell.com/show_bug.cgi?id=572794
http://bugzilla.novell.com/show_bug.cgi?id=572794#c14
--- Comment #14 from Pedro Gomes
http://bugzilla.novell.com/show_bug.cgi?id=572794
http://bugzilla.novell.com/show_bug.cgi?id=572794#c15
Dr. Werner Fink
participants (1)
-
bugzilla_noreply@novell.com