Application: kile (2.0.86) KDE Platform Version: 4.6.00 (4.6.0) "release 6" Qt Version: 4.7.1 Operating System: Linux 2.6.37.1-1.2-desktop x86_64 Distribution: "openSUSE 11.4 (x86_64)" -- Information about the crash: - What I was doing when the application crashed: i was starting kile. Nothing else. No more program was running on my OS. The crash can be reproduced every time. -- Backtrace: Application: Kile (kile), signal: Segmentation fault [KCrash Handler] #6 ref (this=0xc66710, other=...) at ../../src/corelib/arch/qatomic_x86_64.h:121 #7 QString::operator= (this=0xc66710, other=...) at tools/qstring.cpp:1357 #8 0x000000000067f2c7 in KileDocument::EditorExtension::initDoubleQuotes (this=0xc666c0) at /usr/src/debug/kile-2.1b5/src/editorextension.cpp:2427 #9 0x000000000067f372 in KileDocument::EditorExtension::readConfig (this=0xc666c0) at /usr/src/debug/kile-2.1b5/src/editorextension.cpp:86 #10 0x000000000067f8c0 in KileDocument::EditorExtension::EditorExtension (this=0xc666c0, info=<value optimized out>) at /usr/src/debug/kile-2.1b5/src/editorextension.cpp:74 #11 0x00000000005cfc2c in Kile::Kile (this=0x7fffc02dc600, allowRestore=true, parent=0x0, name=<value optimized out>) at /usr/src/debug/kile-2.1b5/src/kile.cpp:140 #12 0x00000000005d3732 in main (argc=1, argv=0x7fffc02dd428) at /usr/src/debug/kile-2.1b5/src/main.cpp:144 Reported using DrKonqi
Can you please attach Kile's configuration file, kilerc, which can typically be found under ~/.kde/share/config/? Thanks.
Created attachment 59386 [details] Kile's configuration file I hope it can help you. Thanks
Are you maybe using a translated version of Kile? If so, can you maybe send a me screenshot of configuration page where you selected French quotes (LaTeX / General)? Thanks a lot.
Created attachment 59387 [details] Packages installing with Yast
Created attachment 59388 [details] Crashing message This is the only think I can see after launching Kile with Terminal
Ah, sorry, I forgot that you can't launch Kile at all... :) Anyway, I think I got an idea of where the problem lies. I'll prepare a fix in the next days, and maybe you can test it then? Thanks.
In the mean time, you should be able to use Kile normally if you start it with KDE_LANG=en kile (on one line)
Not really : benoit@MAGNAIN:/media/Magnain_500Go/article> KDE_LANG=en kile & [3] 12934 benoit@MAGNAIN:/media/Magnain_500Go/article> KCrash: Application 'kile' crashing... KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi from kdeinit sock_file=/home/benoit/.kde4/socket-MAGNAIN/kdeinit4__0
(In reply to comment #8) > Not really : Strange. Does it give you the same backtrace as before?
For me, the result is exactly the same but i am not an expert : Application: Kile (kile), signal: Segmentation fault [KCrash Handler] #6 ref (this=0xc69460, other=...) at ../../src/corelib/arch/qatomic_x86_64.h:121 #7 QString::operator= (this=0xc69460, other=...) at tools/qstring.cpp:1357 #8 0x000000000067f2c7 in KileDocument::EditorExtension::initDoubleQuotes (this=0xc69410) at /usr/src/debug/kile-2.1b5/src/editorextension.cpp:2427 #9 0x000000000067f372 in KileDocument::EditorExtension::readConfig (this=0xc69410) at /usr/src/debug/kile-2.1b5/src/editorextension.cpp:86 #10 0x000000000067f8c0 in KileDocument::EditorExtension::EditorExtension (this=0xc69410, info=<value optimized out>) at /usr/src/debug/kile-2.1b5/src/editorextension.cpp:74 #11 0x00000000005cfc2c in Kile::Kile (this=0x7fff01ba7af0, allowRestore=true, parent=0x0, name=<value optimized out>) at /usr/src/debug/kile-2.1b5/src/kile.cpp:140 #12 0x00000000005d3732 in main (argc=1, argv=0x7fff01ba8918) at /usr/src/debug/kile-2.1b5/src/main.cpp:144
(In reply to comment #6) > Ah, sorry, I forgot that you can't launch Kile at all... :) > > Anyway, I think I got an idea of where the problem lies. I'll prepare a fix in > the next days, and maybe you can test it then? Thanks. Ok, i will test it.
Git commit 81824e222af549f3731ce3e983cb581d7422d1d5 by Michel Ludwig. Committed on 29/04/2011 at 12:29. Pushed by mludwig into branch 'master'. Avoid crashes when running Kile in a non-English locale. In the EditorExtension class it was assumed that the opening and closing variants for double quotes in a given option string for inserting double quotes are always separated by two space characters. Unfortunately, this option string was also passed to an i18n function call. Hence, in some languages (e.g. French) these two spaces were sometimes not added to the translation, which could result in a crash when the opening and closing quotes were to be extracted from the option string. This has now been fixed by using two lists for internal and external (i.e. internationalised) double quote options. BUG: 271910 M +1 -1 src/dialogs/configurationdialog.cpp M +21 -11 src/editorextension.cpp M +7 -3 src/editorextension.h http://commits.kde.org/kile/81824e222af549f3731ce3e983cb581d7422d1d5
(In reply to comment #11) > Ok, i will test it. If you want, you can find compilation instructions here: http://kile.sourceforge.net/developers.php#repository Thanks.
Well, it works fine for me. Thanks