Bug 102122 - Kbabel constantly crashes on all operations
Summary: Kbabel constantly crashes on all operations
Status: RESOLVED WORKSFORME
Alias: None
Product: kbabel
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Stanislav Visnovsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-21 19:50 UTC by Haris Kouzinopoulos
Modified: 2005-07-02 10:36 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Haris Kouzinopoulos 2005-03-21 19:50:08 UTC
Version:            (using KDE KDE 3.4.0)
Installed from:    Gentoo Packages

kbabel that comes with kde 3.4.0 crashes all the time doing various jobs, most often when pasting text to msgstr. The strangest thing is that kbabel crashes without a crash dialog appearing. Even when i execute kbabel from konsole i don't get any message. This crash makes kbabel highly unstable for work (it crashes once in every 5-10 minutes)
Comment 1 Stanislav Visnovsky 2005-04-06 20:56:03 UTC
Could you, please, start KBabel from a konsole with --nofork parameter.

Are there any messages shown on the konsole before KBabel crashes?
Comment 2 Haris Kouzinopoulos 2005-04-06 21:19:02 UTC
Ok, i started kbabel with --nofork, and in the first untranslated message i pressed ctrl-space (copy). Kbabel crashed and it printed the following message:

kbabel: WARNING: KGenericFactory: instance requested but no instance name or about data passed to the constructor!
Σφάλμα κατάτμησης (segmentation fault)
Comment 3 Stanislav Visnovsky 2005-05-29 15:04:44 UTC
:(

Next try - would it be possible to start it in gdb?
Comment 4 Stanislav Visnovsky 2005-07-02 10:35:55 UTC
SVN commit 430777 by nanulo:

reinitialize plural form number for each entry when searching

CCMAIL: 102122-done@bugs.kde.org



 M  +4 -0      catalog.cpp  


--- branches/KDE/3.4/kdesdk/kbabel/common/catalog.cpp #430776:430777
@@ -2514,6 +2514,7 @@
 						else
 						{
 							docPos.item++;
+							docPos.form = 0;
 						}
 					}
 					break;
@@ -2545,6 +2546,7 @@
 						else
 						{
 							docPos.item++;
+							docPos.form = 0;
 						}
 					}
 					break;
@@ -2558,6 +2560,7 @@
 						{
 							docPos.part = Msgid;
 							docPos.item++;
+							docPos.form = 0;
 						}
 					}
 					else if(findOpts->inMsgstr){
@@ -2580,6 +2583,7 @@
 						else
 						{
 							docPos.item++;
+							docPos.form = 0;
 						}
 					}
 					break;
Comment 5 Stanislav Visnovsky 2005-07-02 10:36:49 UTC
Please, reopen, if still happens.