Bug 555283 - [patch] crash on startup
Summary: [patch] crash on startup
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: minicom
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Miroslav Lichvar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 525722 562422 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-01-14 09:53 UTC by Stas Sergeev
Modified: 2010-04-09 03:54 UTC (History)
5 users (show)

Fixed In Version: minicom-2.4-1.fc13
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-04-09 01:40:18 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
the fix (525 bytes, patch)
2010-01-14 09:53 UTC, Stas Sergeev
no flags Details | Diff

Description Stas Sergeev 2010-01-14 09:53:09 UTC
Created attachment 383642 [details]
the fix

Description of problem:
minicom crashes on startup.

Version-Release number of selected component (if applicable):
minicom-2.3-6.fc12.i686

How reproducible:
Always

Steps to Reproduce:
1. Set locale to ru_RU.UTF-8
2. minicom
  
Actual results:
crash

Expected results:
work

Additional info:
The attached patch fixes the problem.
The comments inside the patch says everything.

Comment 1 Jan Görig 2010-03-09 13:15:28 UTC
*** Bug 562422 has been marked as a duplicate of this bug. ***

Comment 2 Jan Görig 2010-03-09 13:16:47 UTC
*** Bug 525722 has been marked as a duplicate of this bug. ***

Comment 3 Fedora Update System 2010-03-10 16:06:34 UTC
minicom-2.4-1.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/minicom-2.4-1.fc13

Comment 4 Fedora Update System 2010-03-11 13:28:13 UTC
minicom-2.4-1.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update minicom'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/minicom-2.4-1.fc13

Comment 5 Artem Prokshin 2010-03-11 19:53:37 UTC
I'm sorry, the suggested command "yum --enablerepo=updates-testing update minicom" does not work for me.

[root@localhost ~]# yum --enablerepo=updates-testing update minicom
Loaded plugins: refresh-packagekit
updates-testing/metalink                                 | 5.9 kB     00:00     
updates-testing                                          | 4.4 kB     00:00     
updates-testing/primary_db                               | 1.0 MB     00:16     
Setting up Update Process
No Packages marked for Update

[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.31.12-174.2.22.fc12.x86_64 #1 SMP Fri Feb 19 18:55:03 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux

Comment 6 Ondrej Vasik 2010-03-12 10:14:45 UTC
(In reply to comment #5)
> I'm sorry, the suggested command "yum --enablerepo=updates-testing update
> minicom" does not work for me.

Submitted update is for Fedora 13 - your machine needs F-12 update. AFAIK that update is being prepared at the moment - so please wait for that one.

Comment 7 Artem Prokshin 2010-03-13 09:18:59 UTC
I've downloaded minicom-2.4-1.fc13.x86_64.rpm from http://koji.fedoraproject.org/koji/buildinfo?buildID=161178

"LANG=ru_RU.UTF-8 minicom" works for me 

[artem@localhost ~]$ rpm -qa | grep minicom
minicom-2.4-1.fc13.x86_64

Comment 8 Artem Prokshin 2010-03-13 10:12:21 UTC
I am not sure how it will be looked here, but I could not attach file. The end of each line of menu in Russian is apeared as double unreadable characters.
The snapshot is from 80x25 gnome-terminal.

Добро+-------------------------------------------------------------------+
     |          Команды могут быть вызваны наж�|
ПАРАМ|�тием CTRL-A <клавиша>                                  |
Дата |               Основные функции Прочие фун�|
Port |�ции                                                            |
     | Телефонная книга...D  Запустить скрип|
Нажми|т...G | Очистить экран.....C                         |
     | Отправить файлы....S  Принять файлы.....|       
�}W�[|.R | Конфигурация.......O                              |
     | Параметры порта....P  Добавлять LF.......A |    
     || Приостановить......J                                |
     | Захват вкл/выкл....L  Повесить трубку..|
     |..H | Выход и сброс......X                              |
     | Отправить break....F  Инициа| Cкроллинг н�|
     |�зад....Bд без сброса...Q                             |
     | Настр. терминала...T  Запустить Kermit...K |
     || РеВыберите функцию или нажмите Enter �|
     |�ля выхода�ор - Miquel van Smoorenburg 1991-1995 вк/в�|
     |�к.E | Эк�Некоторые добавления - Jukka Lahtin|
     |en 1997-2000�Интернационализация - Arnaldo Carva|
     |lho de Melo 1998                                                   |
     +-------------------------------------------------------------------+

Comment 9 Jan Görig 2010-03-15 11:44:43 UTC
I have tried Czech, Russian and English version and it looks fine.
http://jgorig.fedorapeople.org/minicom/minicom.txt

Other console applications are OK? What font are you using?

Comment 10 Artem Prokshin 2010-03-15 20:00:55 UTC
I get the cause of the problem. I have RS-232 with only 3 wires connected RxD, TxD and GND. I use this to direct connect to Atmel box. When I start minicom, it always shows some junk chars on the screen like below:
quote>

Нажмите CTRL-A Z для получения подсказки по клавишам                          
                                                                              
�}W�[�����[����o��W��_���{��u��]�  

>end of quote
In this case if I run menu I'll get wrong menu picture.
I remove my RS-232 cable and the picture is fine in Russian.

Ok, I get it. But how about this: pretend that modem has got bad handshaking connection, so I'll get junk on screen. so the menu will be messed up.

Comment 11 Fedora Update System 2010-03-16 13:38:35 UTC
minicom-2.3-8.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/minicom-2.3-8.fc12

Comment 12 Fedora Update System 2010-03-18 03:17:23 UTC
minicom-2.3-8.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update minicom'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/minicom-2.3-8.fc12

Comment 13 Fedora Update System 2010-04-09 01:40:08 UTC
minicom-2.3-8.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 14 Fedora Update System 2010-04-09 03:54:21 UTC
minicom-2.4-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.


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