bugWeeChat - Bugs: bug #33471, Crash under uim-fep

 
 

bug #33471: Crash under uim-fep

Submitted by:  zlkndu <zlkndu>
Submitted on:  Sat 04 Jun 2011 08:16:39 PM UTC  
 
Category:  core commands Severity:  3 - Normal
Item Group:  crash Status:  Fixed
Privacy:  Public Assigned to:  Sebastien Helleu <flashcode>
Originator Name:  Open/Closed:  Closed
Release:  0.3.5 IRC nick: 

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 02 Aug 2011 11:30:13 AM UTC, comment #1:

Looks like invalid UTF-8 chars are received by WeeChat when running under uim-fep (incomplete chars: for example WeeChat receives 2 bytes instead of 3, for a 3-bytes long UTF-8 char).
(maybe a bug in uim-fep ?)

I fixed the problem by replacing any invalid UTF-8 char by "?" in input. Then it should not crash any more.

Please test it, and confirm if fix is ok or not. Then I'll mark bug as fixed if it's ok.

Sebastien Helleu <flashcode>
Project AdministratorIn charge of this item.
Sat 04 Jun 2011 08:16:39 PM UTC, original submission:

First of all. No problems running weechat alone, no problems with irssi under uim-fep.

1. Run uim-fep without turning on convertion engines (ie direct input method)
2. Run weechat
3. Write something in russian (switching between eng/rus layout works without uim). Some letters get converted to nonprintable characters(?). Though nothing shows in input string, cursor positioning works as though there are not printed symbols.
4. Move cursor inside invisible string. Press delete/backspace a few times. Write something in english.
5. Press backspace till the beginning of input string.
6. Crash.

uim-fep is the bridge for inputting text on console applications https://code.google.com/p/uim/wiki/UIM_FEP

I don't have gdb, so here is weechat backtrace and crash log.
======= WeeChat backtrace =======
(written by weechat 0.3.5, compiled on Jun  3 2011 04:00:08)
001  ??:0 [function ??]
======= End of  backtrace =======

zlkndu <zlkndu>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #23499:  weechat_crash_20110604_9416.log.bz2 added by zlkndu (43KiB - application/x-bzip2)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by flashcode (Posted a comment)
  • -email is unavailable- added by zlkndu (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-10-22 flashcode Open/ClosedOpen => Closed
    2011-09-23 flashcode StatusReady For Test => Fixed
    2011-08-02 flashcode StatusNone => Ready For Test
        Assigned toNone => flashcode
    2011-06-04 zlkndu Attached File- => Added weechat_crash_20110604_9416.log.bz2, #23499

    Back to the top


    Powered by Savane 3.4