[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::digital_unix

Title:DIGITAL UNIX(FORMERLY KNOWN AS DEC OSF/1)
Notice:Welcome to the Digital UNIX Conference
Moderator:SMURF::DENHAM
Created:Thu Mar 16 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:10068
Total number of notes:35879

9236.0. "Stack overflow when echo korean character in .profile" by NETRIX::"[email protected]" (Seung-Joo Lee) Thu Mar 20 1997 08:48

With Unix4.0A and Unix4.0B, I tried to echo korean character in
.profile file. 
Korn Shell always produced memory fault(coredump).

Sequence:
0. Install UNIX4.0A or B and WORLDWIDE(korean).
1. Add a user with /bin/ksh.
2. Edit user/.profile the following contents. (ex, vi .profile)
   LANG=ko_KR
   export LANG
   echo ��      -----> This Korean character �� is pronounced "Ga" in korean.
3. Login as the username. (ex, su - username)
4. Then, ksh display the following message and is gone.
   Stack overflow: pid 28177, proc ksh, addr 0x11fdffff8, pc 0x120020710
   Memory fault(coredump)

Born Shell has no problem with the same environment.
Any korean character have the same fault.
English echo character has no problem.
Ladebug(where) say very long trace..;
  >0 0x120020710 in /bin/ksh
  #1 0x1200206dc in /bin/ksh
  #2 0x120024134 in /bin/ksh
   ..................

Seung-Joo Lee
TS DEK
[Posted by WWW Notes gateway]
T.RTitleUserPersonal
Name
DateLines
9236.1SMURF::DENHAMDigital UNIX KernelThu Mar 20 1997 11:011
    Sounds like QAR against ksh would be approriate here.
9236.2QAR reported.MIPSBX::"[email protected]"Seung-Joo LeeMon Apr 14 1997 06:227
The ksh problem was reported to QAR #52248.
If you have the same problem 
See http://webster.zk3.dec.com/webqar?1+osf_live+52248

Seung-Joo Lee
TS Digital Korea.
[Posted by WWW Notes gateway]