Segmentation failed if trying to change language (on Ubuntu)

This forum is for all bugs and errors concerning the current SVN snapshot.
Note that all bugs concerning the final releases should be posted on the KeePassX project page
Boris_Brodski
KPX user
Posts: 23
Joined: 03 Mar 2009, 18:17

Segmentation failed if trying to change language (on Ubuntu)

Postby Boris_Brodski » 18 Mar 2009, 11:12

Change language with the current trunk (286) compiled with Qt 4.3.4 and GCC 4.2.4 on Ubuntu 8.04 cause "segmentation failed".
Workaround:

In ui_SettingsDlg.h change

Code: Select all

    listSelectLanguage->clear();

to

Code: Select all

    // listSelectLanguage->clear();

debfx
Admin
Posts: 116
Joined: 28 Jan 2008, 22:11

Re: Segmentation failed if trying to change language (on Ubuntu)

Postby debfx » 18 Mar 2009, 11:29

Can't reproduce the crash.
Also the listSelectLanguage->clear() call isn't generated in ui_SettingsDlg.h for me.

Maybe completely rebuilding helps:
make distclean
qmake-qt4
make

or it's because of different qt versions. I'll do some testing.

Boris_Brodski
KPX user
Posts: 23
Joined: 03 Mar 2009, 18:17

Re: Segmentation failed if trying to change language (on Ubuntu)

Postby Boris_Brodski » 18 Mar 2009, 12:21

Just tried that. Still getting:

Code: Select all

Segmentation fault

debfx
Admin
Posts: 116
Joined: 28 Jan 2008, 22:11

Re: Segmentation failed if trying to change language (on Ubuntu)

Postby debfx » 18 Mar 2009, 12:35

Could you please attach the whole ui_SettingsDlg.h file to this topic.

Boris_Brodski
KPX user
Posts: 23
Joined: 03 Mar 2009, 18:17

Re: Segmentation failed if trying to change language (on Ubuntu)

Postby Boris_Brodski » 18 Mar 2009, 13:51

Here it is. (Original. Without my fix.)

Thank you for support!!
Attachments
ui_SettingsDlg.h
ui_SettingsDlg.h
(49.21 KiB) Downloaded 419 times

debfx
Admin
Posts: 116
Joined: 28 Jan 2008, 22:11

Re: Segmentation failed if trying to change language (on Ubuntu)

Postby debfx » 18 Mar 2009, 14:50

Should be fixed in svn trunk.

Boris_Brodski
KPX user
Posts: 23
Joined: 03 Mar 2009, 18:17

Re: Segmentation failed if trying to change language (on Ubuntu)

Postby Boris_Brodski » 18 Mar 2009, 15:15

It works! :D

Thank you very much!


Return to “Bugs (SVN release)”

Who is online

Users browsing this forum: No registered users and 2 guests