Bug 100670 - vi crash with LANG=fr_FR.UTF8
Summary: vi crash with LANG=fr_FR.UTF8
Alias: None
Product: Red Hat Linux Beta
Classification: Retired
Component: vim   
(Show other bugs)
Version: beta1
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Karsten Hopp
QA Contact: David Lawrence
Depends On:
Blocks: CambridgeBlocker
TreeView+ depends on / blocked
Reported: 2003-07-24 07:09 UTC by Féliciano Matias
Modified: 2007-04-18 16:56 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-10-22 15:42:25 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
/var/log/messages (46.27 KB, text/plain)
2003-07-24 13:46 UTC, Féliciano Matias
no flags Details
strace vi /var/log/message (19.14 KB, text/plain)
2003-07-24 13:48 UTC, Féliciano Matias
no flags Details
ltrace vi /var/log/messages (the last 150 lines) (18.89 KB, text/plain)
2003-07-24 13:53 UTC, Féliciano Matias
no flags Details

Description Féliciano Matias 2003-07-24 07:09:46 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.7 (X11; Linux i686; U;) Gecko/20030131

Description of problem:
vi (/bin/vi from vim-minimal) segfault with LANG=fr_FR.UTF8.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. set LANG to fr_FR.UTF8
2. Open a file (for example /root/install.log)
3. scroll in the file with <ctrl>-D and <ctrl>-U

Actual Results:  Segfault
Vim: Caught deadly signal SEGV
Vim: Finished.
Erreur de segmentation

Expected Results:  No segmentation fault.

Additional info:
Platform is set to i386 but i use an athlon.

Comment 1 Karsten Hopp 2003-07-24 12:34:37 UTC
I cannot reproduce it here on a freshly installed Beta1 with random scrolling in 
the install.log file. Do you have a another reproducable way to make vi segfault? 

Comment 2 Féliciano Matias 2003-07-24 13:46:15 UTC
Created attachment 93104 [details]

Comment 3 Féliciano Matias 2003-07-24 13:48:39 UTC
Created attachment 93105 [details]
strace vi /var/log/message

Comment 4 Féliciano Matias 2003-07-24 13:53:35 UTC
Created attachment 93106 [details]
ltrace vi /var/log/messages  (the last 150 lines)

Comment 5 Féliciano Matias 2003-07-24 13:59:02 UTC
> Do you have a another reproducable way to make vi segfault?

easy :
# echo $LANG
fr_FR.UTF-8  <== UTF-8 and not UTF8. vi also crash with UTF8.
# vi /var/log/messages 
Vim: Caught deadly signal SEGV
Vim: Finished.
Erreur de segmentation

Instant segfault :-)

# env LANG=C vi /var/log/message

I do this with RH9 and a "chroot /mnt/severn". I can do a test under severn in
one hour.

Have you a "alias vi=vim" ?

Comment 6 Féliciano Matias 2003-07-24 14:27:03 UTC
Sorry i can reproduce under severn.
But this bug append in rescue mode (CD1 severn)!

I do a "rpm -V -a" and everything seems fine.

Comment 7 Karsten Hopp 2003-07-24 14:35:24 UTC
I got the segfault now, too and will send a detailled bugreport to the vim maintainers in a few 

Comment 8 Féliciano Matias 2003-07-24 14:48:05 UTC
> i can reproduce under severn.

I can *NOT* reproduce under severn (i have a very poor english :-)).

in rescue mode, i do a "chroot /mnt/sysimage".

Comment 9 Peter van Egdom 2003-07-27 17:45:14 UTC
I experience this bug too. As root, doing "vi /root/install.log" results in:
  Vim: Caught deadly signal SEGV
  Vim: Finished.
  Segmentatie fout

100% reproducable with :
"vim-6.2.18-2" (Severn)
"vim-6.2.21-2" (Raw Hide)

I also experience it with a normal user account when editing in some text files.

Comment 10 Aleksey Nogin 2003-07-28 23:08:20 UTC
I see this too, with ru_RU.UTF-8.

Comment 11 Karsten Hopp 2003-07-29 12:14:58 UTC
vim-6.2.57 should fix this, please verify with the packages from 

Comment 12 Peter van Egdom 2003-07-29 16:30:24 UTC
For me, the described problems seem fixed with package vim-6.2.57-1.

Comment 13 Aleksey Nogin 2003-07-29 20:33:10 UTC
Fixed my problems too.

Comment 14 Féliciano Matias 2003-07-30 17:47:32 UTC
work to me.

Comment 15 Dave Habben 2003-10-22 14:56:31 UTC
Can this be marked as RAWHIDE/CLOSED?

The current version in rawhide is:
$ rpm -q vim-minimal

Comment 16 Karsten Hopp 2003-10-22 15:42:25 UTC
yes, I think so. The latest reports indicate that this has been fixed. 

Note You need to log in before you can comment on or make changes to this bug.