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 commandsSeverity: 3 - Normal
Item Group: crashStatus: Fixed
Privacy: PublicAssigned to: Sebastien Helleu <flashcode>
Originator Name: Open/Closed: Closed
Release: 0.3.5IRC 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 File(s):
   
   
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
  • -unavailable- added by flashcode (Posted a comment)
  • -unavailable- added by zlkndu (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 22 Oct 2011 10:47:36 AM UTCflashcodeOpen/ClosedOpen=>Closed
    Fri 23 Sep 2011 05:11:53 PM UTCflashcodeStatusReady For Test=>Fixed
    Tue 02 Aug 2011 11:30:13 AM UTCflashcodeStatusNone=>Ready For Test
      Assigned toNone=>flashcode
    Sat 04 Jun 2011 08:16:39 PM UTCzlknduAttached File-=>Added weechat_crash_20110604_9416.log.bz2, #23499

    Back to the top


    Powered by Savane 3.1-cleanup1