Bug 320914 - Crash when passed non-existing files from the command line
Summary: Crash when passed non-existing files from the command line
Status: RESOLVED DUPLICATE of bug 325180
Alias: None
Product: lokalize
Classification: Applications
Component: general (other bugs)
Version First Reported In: 1.4
Platform: Debian unstable Linux
: NOR crash
Target Milestone: ---
Assignee: Nick Shaforostoff
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-08 16:59 UTC by Marta Rybczyńska
Modified: 2013-12-01 13:19 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***