Bug 320914

Summary: Crash when passed non-existing files from the command line
Product: [Applications] lokalize Reporter: Marta Rybczyńska <kde-i18n>
Component: generalAssignee: Nick Shaforostoff <shafff>
Status: RESOLVED DUPLICATE    
Severity: crash CC: adaptee, adrian
Priority: NOR    
Version First Reported In: 1.4   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Marta Rybczyńska 2013-06-08 16:59:22 UTC
When I pass a file list to Lokalize and some files on this list do not exist, Lokalize first shows an error message and then crashes (sometimes taking much resources for some time before).

Reproducible: Always

Steps to Reproduce:
1. lokalize somefile.po somefile2.po
2. Close the error windows
3. Crash
Comment 1 Jekyll Wu 2013-06-09 09:45:52 UTC
Can confirm the crash, but please always provide the backtrace for crash reports.
Comment 2 Adrián Chaves (Gallaecio) 2013-12-01 12:27:24 UTC
I cannot reproduce this with the latest Git.

I open the sources on KDevelop, have a lauch configuration with a KDE environment, configure the arguments to be two (an absolute path to an existing path and a relative path, “asdf”, to an unexisting file).

When I run Lokalize, I get an error message about the second file not existing, and the fist file opens successfully. However, no crash.

Can anyone reproduce this with the latest Git? Are the steps to reproduce different than what I did?
Comment 3 Jekyll Wu 2013-12-01 13:19:32 UTC
See https://bugs.kde.org/show_bug.cgi?id=325180#add_comment

Note, the crash happens after closing lokalize, not the error dialog.

*** This bug has been marked as a duplicate of bug 325180 ***