! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
wrong Russian translation causes segfault
Status:
RESOLVED: FIXED
Product:
Xfce4-power-manager
Component:
General

Comments

Description Alexey Radkov 2012-04-04 21:51:59 CEST
Created attachment 4296 
patch for po/ru.po

Hi.

I use Fedora 16 with Russian locale and XFCE environment. My xfce4-power-manager application (version 1.0.10) regularly fell to segfault when plug/unplug power supply and sometimes just on startup. I decided eventually to debug this and got core dump with stack ... that i already lost, sorry... But the problem was in gettext translations to Russian where number of '%s' were sometimes not balanced (see attached patch).

I fixed my translations locally (for 1.0.10), tested it, and now segfaults went away. Then i downloaded latest version (1.0.11) and found that it had the issue as well. I attached the patch with corrected translations against version 1.0.11. Please regard to accept them, segfaults are bad.

Cheers, Alexey.
Comment 1 Constantin 2012-04-23 13:16:09 CEST
I confirm. Gentoo amd64, xpm 1.1.0. After merging Alexey's patch all works good.
Comment 2 Lionel Le Folgoc 2012-04-26 14:16:56 CEST
Yes, I had some crash reports on Xubuntu with Russian locale and came to the same conclusion, so I contacted the Russian translator directly, and this should be fixed in git master already.

Bug #8635

Reported by:
Alexey Radkov
Reported on: 2012-04-04
Last modified on: 2012-04-26

People

Assignee:
Ali Abdallah
CC List:
3 users

Version

Version:
1.0.11

Attachments

patch for po/ru.po (1.49 KB, patch)
2012-04-04 21:51 CEST , Alexey Radkov
no flags

Additional information