! 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 !
Mousepad git Segmentation fault: Never init.
Status:
RESOLVED: FIXED
Product:
Mousepad
Component:
General

Comments

Description Matias De lellis 2012-10-08 19:25:55 CEST
Created attachment 4650 
Backtrace of mousepad.

* Compile Mousepad from git with:
[matias@HP mousepad]$./autogen.sh --enable-debug --prefix=/usr --libdir=/usr/lib64 & make -j4 & sudo make install

* Launch mousepad:
[matias@HP mousepad]$ mousepad
Violación de segmento

* Debug: Attached the backtrace
Comment 1 Matthew Brush editbugs 2012-10-09 09:01:06 CEST
What's your locale? Seems at a glance it could be related to the translation used in a string format where the backtrace points to.

You could test to see if it still crashes with something like:

  $ LC_ALL=C mousepad
Comment 2 Matias De lellis 2012-10-09 15:02:15 CEST
Hi,
Thanks.
Yes. setting LC_ALL starts successfully.

My location is es_AR..
Comment 3 Matthew Brush editbugs 2012-10-09 16:49:42 CEST
Yep it's an error in the format string in es.po translation file:

http://git.xfce.org/apps/mousepad/tree/po/es.po#n492

It's using string %s instead of signed int %d. I hope someone who knows how to do translations stuff reads this.
Comment 4 Matias De lellis 2012-10-09 20:11:15 CEST
Ohh.. Thank you very much!.

I never thought to see the translations.. ;)

Tomorrow I will register as a translator and try to fix it..

Regards,
Matias.
Comment 5 Matias De lellis 2012-10-10 13:04:34 CEST
Fixed in last commit.
I close the bug as fixed .. I do not know if it is right in these cases..
Thanks you!.

Regards,
Matias

p.s.: I register, I translated, send it to review, and finally, two guys commit another translation.. I reminded them that existed Mousepad.. haha.

Bug #9359

Reported by:
Matias De lellis
Reported on: 2012-10-08
Last modified on: 2012-10-10

People

Assignee:
Matthew Brush
CC List:
2 users

Version

Target Milestone:
Mousepad 0.2.x

Attachments

Backtrace of mousepad. (3.86 KB, application/octet-stream)
2012-10-08 19:25 CEST , Matias De lellis
no flags

Additional information