Opened 16 years ago

Closed 16 years ago

#4390 closed defect (fixed)

Crash / assertion at startup on LANG=pt_BR.utf8

Reported by: sven@… Owned by: lasgouttes
Priority: high Milestone: 1.5.3
Component: general Version: 1.5.2
Severity: major Keywords: crash
Cc:

Description

Hi,
this is a forward from the Debian BTS
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=453520

Original report:
"""
Running lyx on my machine causes this error:

Assertion triggered in const std::string lyx::to_ascii(const
lyx::docstring&) by failing check "ucs4[i] < 0x80" in file
../../../src/support/docstring.cpp:55
Abortado

(Abortado is the portuguese for "aborted").

It runs fine if I force LC_ALL=C . A few versions ago it worked fine (I
think the last I tried was 1.5.0 or something).
"""

We will finaly switch from always enabled assertions to your default with the
next upload of the LyX package to Debian so this problem might go away then anyway.

Change History (1)

comment:1 by lasgouttes, 16 years ago

Keywords: crash added
Milestone: 1.5.3
Resolution: fixed
Severity: normalmajor
Status: newclosed

I can confirm this problem. This is related to a bad handling of the
feature in pt.po, joint with bad code of mine in message translations.

The actual bug is already fixed in code, and I will fix the portuguese
translation problem.

Note: See TracTickets for help on using tickets.