Re: #13325: Ibus table IM & xcb/xwayland ⇒ Assertion '!this->empty()' failed in std::vector::front()

Koji Yokota yokota6 at gmail.com
Thu Jun 25 02:10:51 UTC 2026


> 2026/06/25 10:12、Koji Yokota <yokota at lyx.org>のメール:
> 
> Hi Riki,
> 
> I think fixes to the ticket below and commit 5883f50 (still below) should go in 2.5.2 IMHO. Is it OK to do?
> 
> Koji
> 
>> 2026/06/25 10:02、LyX Ticket Tracker <trac at lyx.org>のメール:
>> 
>> #13325: Ibus table IM & xcb/xwayland ⇒ Assertion '!this->empty()' failed in
>> std::vector::front()
>> --------------------------+----------------------------
>> Reporter:  Guillaume MM  |       Owner:  lasgouttes
>>    Type:  defect        |      Status:  fixedinmaster
>> Priority:  high          |   Milestone:
>> Component:  general       |     Version:  2.5.0dev
>> Severity:  major         |  Resolution:
>> Keywords:  crash         |
>> --------------------------+----------------------------
>> Changes (by Koji Yokota):
>> 
>> * status:  new => fixedinmaster
>> 
>> Comment:
>> 
>> [2ca8f530], [326154d0], [7f132ea4], [6b33482c], [eb9679b7]
>> -- 
>> Ticket URL: <https://www.lyx.org/trac/ticket/13325#comment:21>
>> The LyX Project <https://www.lyx.org/>
>> LyX -- The Document Processor
> 
> 
>> commit 5883f504887db4cde11deb2c93c37a5e2183e62f
>> Author: Koji Yokota <yokota at lyx.org>
>> Date:   Sat May 2 15:28:39 2026 +0900
>> 
>>   Make MathData::pos2x() handle no dim data
>> 
>>   Canceling preedit input while some text is selected in an math text
>>   inset creates math data without dimension, which causes SIGSEGV in
>>   MathData::pos2x(). Treat no dimension inset just to have zero x width.
> 

PS. Fixes undertaken in the ticket, i.e. [f198a38] and [7d40274], also will be included.

Koji



More information about the lyx-devel mailing list