Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 92735
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Heinrich Wendel (RETIRED) <lanius@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Kir Kolyshkin <kir@sacred.ru>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
slang-1.4.5-utf8-segv.patch slang patch fixing mc coredump patch Kir Kolyshkin 2005-05-15 14:17 0000 487 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 92735 depends on: Show dependency tree
Bug 92735 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-05-15 14:10 0000
I had a problem with app-misc/mc built with slang (unicode enabled). When I use
mc in utf-8 terminal with utf-8 locale (LANG=ru_RU.utf-8) it crashes on exit
leaving terminal in black-and-white state.

I took a look to slang shipped with Fedora Core 3 and found one tiny slang
patch which is missing from Gentoo's slang-1.4.9-r1.ebuild (patch name is
slang-1.4.5-utf8-segv.patch). I have created slang-1.4.9-r2 with this patch
added and found out the problem with mc is now gone. So I think it makes sense
to add this patch.

How to reproduce
----------------
1. Build slang and mc with the following USE flags:
sys-libs/slang-1.4.9-r2  -cjk +unicode
app-misc/mc-4.6.0-r13  +X -debug +gpm -ncurses +nls +samba +slang +unicode

2. Open X terminal (I used both gnome-terminal and uxterm)

3. export LANG=ru_RU.utf8
mc
(press F10 and Enter)

4. See mc crash.

Solution
--------

Rebuild slang with the attached patch.

------- Comment #1 From Kir Kolyshkin 2005-05-15 14:17:15 0000 -------
Created an attachment (id=58972) [details]
slang patch fixing mc coredump

This patch is taken from Fedora Core 3

------- Comment #2 From Kir Kolyshkin 2005-05-15 14:26:27 0000 -------
utf-8 team might be interested, as this is definitely UTF-8 related bug.

------- Comment #3 From Kir Kolyshkin 2005-05-15 14:26:51 0000 -------
You might me interested as well.

------- Comment #4 From Heinrich Wendel (RETIRED) 2005-05-16 07:48:44 0000 -------
added to slang-1.4.9-r2

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug