| Summary: | Isodumper segfaults and fail to write logfile, UnicodeEncodeError | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Morgan Leijström <fri> |
| Component: | RPM Packages | Assignee: | David GEIGER <geiger.david68210> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | yvesbrungard |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | isodumper-0.51-3.mga6.src.rpm | CVE: | |
| Status comment: | |||
BTW my localisation is Sweden, swedish, and i run it in mga6 64bit KDE Konsole CC:
(none) =>
yves.brungard_mageia
David Walser
2016-06-07 22:04:51 CEST
CC:
(none) =>
luigiwalser
David Walser
2016-06-07 22:05:01 CEST
CC:
luigiwalser =>
(none) Good catch. I did other further tests. The behaviour is fine with the command LANGUAGE=C isodumper. With LC_ALL=C, the interface remains in the local language. Thus, this command is not adapted if the goal is to change the interface language, but the previous one. Thus, I think to close the report as WONTFIX, except if there is another good reason to use this prefix. OK is seem both are OK in Mageia https://wiki.mageia.org/en/How_to_report_a_bug_properly#Principles I personally just did not know about "LANGUAGE=C" Of course debugging and bug reporting would be less confusing if both worked, or it reported about incompatibility with "LC_ALL=C", but i understand you have other things to do :) so it is OK for me if you want to close it. OK, closing as won't fix Status:
NEW =>
RESOLVED |
__Test 1: 1. without an USB flash plugged in, I started isodumper in terminal by: # LC_ALL=C isodumper 2. It show dialog no suitable devices found 3. Select to abort, and it aborts but segfaults too __Test 2: 1) with USB flash plugged in, I started it as above 2) chose device, and formatted. It say it failed. (and yes it did fail formatting, but that is beyond this bug report) 3) close it, and in terminal i see lot of lines, the last per below. I also noticed it do not write isodumper.log. Traceback (most recent call last): File "/usr/lib/isodumper/isodumper.py", line 861, in <module> app.handleevent() File "/usr/lib/isodumper/isodumper.py", line 812, in handleevent self.close() File "/usr/lib/isodumper/isodumper.py", line 539, in close self.write_logfile() File "/usr/lib/isodumper/isodumper.py", line 557, in write_logfile logfile.write(self.logview.logText()) UnicodeEncodeError: 'ascii' codec can't encode character '\xe5' in position 1: ordinal not in range(128) <_M_> [ui] YUILoader.cc:104 deleteUI(): Shutting down UI <ERR> [ui] YUI.cc:94 ~YUI(): 1 open dialogs left over /usr/libexec/isodumper: line 16: 8799 Segmentation fault python3 $DIR/isodumper.py $1